Редакция 70 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 70 | Редакция 83 | ||
---|---|---|---|
Строка 93... | Строка 93... | ||
93 | });
|
93 | });
|
94 | "; |
94 | "; |
95 | 95 | ||
96 | $query =& $db->query("SELECT * FROM distribution"); |
96 | $query =& $db->query("SELECT * FROM distribution"); |
97 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
97 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
98 | $linux .= "<option value='".$data["dist_id"]."'>".stripslashes($data["distname"])."</option>\n"; |
98 | $linux .= "<option value='".$data["dist_id"]."' class='".stripslashes($data["distua"])."'>".stripslashes($data["distname"])."</option>\n"; |
99 | }
|
99 | }
|
100 | 100 | ||
101 | $modern .= "<h2>Генератор sources.list</h2>"; |
101 | $modern .= "<h2>Генератор sources.list</h2>"; |
102 | $modern .= "<div class='border'>"; |
102 | $modern .= "<div class='border'>"; |
103 | $modern .= "<label>Дистрибутив</label><br>"; |
103 | $modern .= "<label>Дистрибутив</label><br>"; |
Строка 112... | Строка 112... | ||
112 | 112 | ||
113 | $smarty->assign('modern',$modern); |
113 | $smarty->assign('modern',$modern); |
114 | $smarty->assign('scripts',$scripts); |
114 | $smarty->assign('scripts',$scripts); |
115 | $smarty->assign('antversion',$antversion); |
115 | $smarty->assign('antversion',$antversion); |
116 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
116 | $smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
- | 117 | $smarty->assign('style',$core->getCSSList($db)); |
|
117 | 118 | ||
118 | $smarty->display('modern.tpl'); |
119 | $smarty->display('modern.tpl'); |
119 | 120 | ||
120 | ?>
|
121 | ?>
|