system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Direktori : /home/pfhr/public_html/Bin/ |
Current File : /home/pfhr/public_html/Bin/Template.php |
<?php class Bin_Template { function createTemplate($file,$data='') { $smarty = new Smarty(); @$data = array_merge($data,$_SESSION); if(is_array($data)) { foreach($data as $key=>$item) $smarty->assign($key,$item); } $smarty->display($file); } } ?>