بسم الله الرحمن الرحيم
تعديل بسيط علي القالب عشان الناس الي هتستخدمة ممكن تستخدم تعدد الغات في قوم بعمل التالي
افتح ملف الكلاي وغير الكو ده
كود PHP:
function assign($key,$value)
{
if(is_array($value))
$this->Loop_temp[$key]=$value;
else
$this->var_temp[$key]=$value;
}
بال الكود ده
كود PHP:
function assign($key,$value)
{
if(is_array($value))
{
$this->Loop_temp[$key]=$value;
$this->var_temp[$key]=$value;
}
else
$this->var_temp[$key]=$value;
}
ثما الكود ده
كود PHP:
function display($file)
{
$this->load_file($file);
$this->Replaces();
$chache=$this->Make_Chache($file);
ob_start();
include($chache);
$page=ob_get_contents();
ob_end_clean();
return $page;
}
بالكود ده
كود PHP:
function display($file)
{
$this->load_file($file);
$this->Replaces();
$chache=$this->Make_Chache($file);
ob_start();
include($chache);
$page=ob_get_contents();
ob_end_clean();
unset($this->var_temp,$this->Loop_temp);
return $page;
}
بتوفيق اخواني الكرام اخوكم محمد هلال