23,10 → 23,6 |
|
require_once dirname(__FILE__)."/lib/init.php"; |
|
$query =& $db->query("SELECT * FROM settings WHERE opt LIKE 'version'"); |
$query->fetchInto($antv, DB_FETCHMODE_ASSOC); |
$antversion = $antv["optvalue"]; |
|
$scripts = " |
(function($){ |
// очищаем select |
113,7 → 109,8 |
$smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
$smarty->assign('modern',$modern); |
$smarty->assign('scripts',$scripts); |
$smarty->assign('antversion',$antversion); |
$smarty->assign('antversion',$core->getSetting('version',$db)); |
$smarty->assign('title',$core->getSetting('codename',$db)); |
$smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
$smarty->assign('style',$core->getCSSList($db)); |
|