Forum Moderators: coopster
this is the error and this is the code and marked in yellow
if (strlen($arTmp[1])<=0 ¦¦ DoubleVal($arTmp[1])<mktime())
return true;
}
else
{
if(!@include($path))
return true;
if(DoubleVal($dateexpire)mktime())
return true;
}
return false;
}
}
class CPageCache
{
var $filename;
var $folder;
var $content;
var $TTL;
var $bStarted = false;
var $uniq_str = false;
var $init_dir = false;
function GetPath($uniq_str)
{
$un = md5($uniq_str);
return substr($un, 0, 2)."/".$un.".html";
}
function Clean($uniq_str, $initdir = false)
{
$cache_file = $_SERVER["DOCUMENT_ROOT"].BX_ROOT."/cache/".$initdir."/".CPageCache::GetPath($uniq_str);
$res = false;
if (file_exists($cache_file))
{
@chmod($cache_file, BX_FILE_PERMISSIONS);
if (@unlink($cache_file)) $res = true;
}
return $res;
}
function InitCache($TTL, $uniq_str, $initdir = false)
<input class=\"".$button_class."\" type=\"button\" name=\"FindUser\" OnClick=\"window.open('".$search_page."lang=".LANGUAGE_ID."&FN=".$form_name."&FC=".$tag_name."', '', '','','','','scrollbars=yes,resizable=yes,width=760,height=500,top='+ Math.floor((screen.height - 560)/2-14)+ ',left='+ Math.floor((screen.width - 760)/2-5));\" value=\"".$button_value."\">
This appears to be a partial code structure echoing out an <input> element with JavaScript attributes.
<added>
Just noticed the thread has been continued here ... [webmasterworld.com]
</added>