Редакция 131 | Редакция 143 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 131 | Редакция 132 | ||
---|---|---|---|
Строка 24... | Строка 24... | ||
24 | require_once dirname(__FILE__)."/lib/init.php"; |
24 | require_once dirname(__FILE__)."/lib/init.php"; |
25 | $status = abs(intval($_GET["step"])); |
25 | $status = abs(intval($_GET["step"])); |
26 | $dist = abs(intval($_GET["d"])); |
26 | $dist = abs(intval($_GET["d"])); |
27 | $vers = abs(intval($_GET["v"])); |
27 | $vers = abs(intval($_GET["v"])); |
28 | 28 | ||
29 | $query =& $db->query("SELECT * FROM settings WHERE opt LIKE 'version'"); |
- | |
30 | $query->fetchInto($antv, DB_FETCHMODE_ASSOC); |
- | |
31 | $antversion = $antv["optvalue"]; |
- | |
32 | - | ||
33 | $query =& $db->query("SELECT * FROM distribution"); |
29 | $query =& $db->query("SELECT * FROM distribution"); |
34 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
30 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
35 | $linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'><span class='".stripslashes($data["distua"])."'>".stripslashes($data["distname"])."</span></p>\n"; |
31 | $linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'><span class='".stripslashes($data["distua"])."'>".stripslashes($data["distname"])."</span></p>\n"; |
36 | }
|
32 | }
|
37 | 33 | ||
Строка 67... | Строка 63... | ||
67 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
63 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
68 | $smarty->assign('status',$status); |
64 | $smarty->assign('status',$status); |
69 | $smarty->assign('linux',$linux); |
65 | $smarty->assign('linux',$linux); |
70 | $smarty->assign('version',$distvers); |
66 | $smarty->assign('version',$distvers); |
71 | $smarty->assign('result',$result); |
67 | $smarty->assign('result',$result); |
72 | $smarty->assign('antversion',$antversion); |
68 | $smarty->assign('antversion',$core->getSetting('version',$db)); |
- | 69 | $smarty->assign('title',$core->getSetting('codename',$db)); |
|
73 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
70 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
74 | $smarty->assign('style',$core->getCSSList($db)); |
71 | $smarty->assign('style',$core->getCSSList($db)); |
75 | 72 | ||
76 | $smarty->display('classic.tpl'); |
73 | $smarty->display('classic.tpl'); |
77 | 74 |