id);
if(!empty($furl)){
?>
" />
k_body;
$afiles = Mknowledge::getAttachedFile($knowledge->id);
if(count($afiles)>0){
?>
full_path);
$isImage=substr(strtolower($type),0,3)=="ima";
$afileName=strlen($f->file)>15?substr($f->file,0,3)."..".substr($f->file,-10):$f->file;
$icolor="#a6b2b5";
$iclass="";
if($isImage){
$icolor="#47bdd4";
$typeTitle=$type;
$iclass="fa-image";
}elseif($type=="application/x-zip-compressed" || $type=="application/zip"){
$typeTitle="Zip File";
$iclass="fa-file-zip-o";
$icolor="#fbb847";
}elseif($type=="application/vnd.openxmlformats-officedocument.wordprocessingml.document" ||$type=="application/msword"){
$typeTitle="Word File";
$iclass="fa-file-word-o";
$icolor="#2C5990";
}elseif($type=="application/pdf"){
$typeTitle="PDF File";
$iclass="fa-file-pdf-o";
$icolor="#E42101";
}else{
$iclass="fa-file-o";
$typeTitle=$type;
$icolor="#CCCCCC";
}
$fileurl=urlencode($f->file);
?>
(full_path)/1048576) ; ?>)