Редакция 65 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 65 | Редакция 70 | ||
---|---|---|---|
Строка 19... | Строка 19... | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
20 | *
|
20 | *
|
21 | */
|
21 | */
|
22 | 22 | ||
23 | 23 | ||
24 | include "lib/init.php"; |
24 | require_once "lib/init.php"; |
25 | 25 | ||
26 | $query =& $db->query("SELECT * FROM settings WHERE opt LIKE 'version'"); |
26 | $query =& $db->query("SELECT * FROM settings WHERE opt LIKE 'version'"); |
27 | $query->fetchInto($antv, DB_FETCHMODE_ASSOC); |
27 | $query->fetchInto($antv, DB_FETCHMODE_ASSOC); |
28 | $antversion = $antv["optvalue"]; |
28 | $antversion = $antv["optvalue"]; |
29 | 29 | ||
Строка 53... | Строка 53... | ||
53 | $telepathy .= "</p>"; |
53 | $telepathy .= "</p>"; |
54 | }; |
54 | }; |
55 | 55 | ||
56 | $smarty->assign('modern',$telepathy); |
56 | $smarty->assign('modern',$telepathy); |
57 | $smarty->assign('antversion',$antversion); |
57 | $smarty->assign('antversion',$antversion); |
58 | $smarty->assign('interface'," • <a href='./classic.php'>Классический интерфейс</a> • <a href='./modern.php'>Современный интерфейс</a>"); |
58 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
59 | 59 | ||
60 | $smarty->display('modern.tpl'); |
60 | $smarty->display('modern.tpl'); |
61 | 61 | ||
62 | ?>
|
62 | ?>
|