"; $posthref=""; $newcontent = str_replace($prehref,$posthref,$newcontent); if (CheckSubFolder($full_file_path.$_user['user_id'].".t.html")==0) { $newcontent = ReplaceImgTag($newcontent); } } else { //my_delete($full_file_path.$_user['user_id'].".t.html"); $newcontent = $content; } WriteFileCont($full_file_path.$_user['user_id'].".t.html",$newcontent); /* $prehref="javascript:void(0);"; $posthref=$_configuration['root_web']."main/exercice/Hpdownload.php?doc_url=".$doc_url."&cid=".$cid."&uid=".$uid; $newcontent = str_replace($prehref,$posthref,$newcontent); $prehref="class=\"GridNum\" onclick="; $posthref="class=\"GridNum\" onMouseover="; $newcontent = str_replace($prehref,$posthref,$newcontent); */ $doc_url = GetFolderPath($doc_url).urlencode(GetFileName($doc_url)); // echo $documentWebPath.$doc_url.$_user['user_id'].".t.html"; // exit; ?>