Редакция 131 | Редакция 143 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 131 | Редакция 132 | ||
---|---|---|---|
Строка 21... | Строка 21... | ||
21 | */
|
21 | */
|
22 | 22 | ||
23 | 23 | ||
24 | require_once dirname(__FILE__)."/lib/init.php"; |
24 | require_once dirname(__FILE__)."/lib/init.php"; |
25 | 25 | ||
26 | $query =& $db->query("SELECT * FROM settings WHERE opt LIKE 'version'"); |
- | |
27 | $query->fetchInto($antv, DB_FETCHMODE_ASSOC); |
- | |
28 | $antversion = $antv["optvalue"]; |
- | |
29 | - | ||
30 | $scripts = " |
26 | $scripts = " |
31 | (function($){
|
27 | (function($){
|
32 | // очищаем select
|
28 | // очищаем select
|
33 | $.fn.clearSelect = function() {
|
29 | $.fn.clearSelect = function() {
|
34 | return this.each(function(){
|
30 | return this.each(function(){
|
Строка 111... | Строка 107... | ||
111 | $modern .= "<p id='getfile'></p>"; |
107 | $modern .= "<p id='getfile'></p>"; |
112 | 108 | ||
113 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
109 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
114 | $smarty->assign('modern',$modern); |
110 | $smarty->assign('modern',$modern); |
115 | $smarty->assign('scripts',$scripts); |
111 | $smarty->assign('scripts',$scripts); |
116 | $smarty->assign('antversion',$antversion); |
112 | $smarty->assign('antversion',$core->getSetting('version',$db)); |
- | 113 | $smarty->assign('title',$core->getSetting('codename',$db)); |
|
117 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
114 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
118 | $smarty->assign('style',$core->getCSSList($db)); |
115 | $smarty->assign('style',$core->getCSSList($db)); |
119 | 116 | ||
120 | $smarty->display('modern.tpl'); |
117 | $smarty->display('modern.tpl'); |
121 | 118 |