/trunk/index.php |
---|
94,18 → 94,19 |
$modern .= "<h2>Генератор sources.list</h2>"; |
$modern .= "<div class='border'>"; |
$modern .= "<label>Дистрибутив</label><br />"; |
$modern .= "<label>Дистрибутив</label><br>"; |
$modern .= "<select id='distro'>\n<option value=''>Выбрать дистрибутив</option>\n"; |
$modern .= $linux."</select>"; |
$modern .= "</div><div class='border'>"; |
$modern .= "<label>Версия дистрибутива</label><br />"; |
$modern .= "<select id='distver' disabled='disabled'>\n"; |
$modern .= "<label>Версия дистрибутива</label><br>"; |
$modern .= "<select id='distver' disabled='disabled'><option></option>"; |
$modern .= "</select></div>"; |
$modern .= "<pre id='replist'></pre></div>"; |
$modern .= "<pre id='replist'></pre>"; |
$smarty->assign('modern',$modern); |
$smarty->assign('scripts',$scripts); |
$smarty->assign('antversion',$antversion." • <a href='./classic.php'>Классический интерфейс</a>"); |
$smarty->assign('antversion',$antversion); |
$smarty->assign('interface'," • <a href='./classic.php'>Классический интерфейс</a>"); |
$smarty->display('modern.tpl'); |
/trunk/templates/footer.tpl |
---|
1,12 → 1,12 |
<p> |
<a href="http://validator.w3.org/check?uri=referer"><img |
src="http://www.w3.org/Icons/valid-xhtml10-blue" |
alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a> |
<a href="http://validator.w3.org/check?uri=referer"><img |
src="http://www.w3.org/Icons/valid-html401-blue" |
alt="Valid HTML 4.01 Strict" height="31" width="88"></a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer"> |
<img style="border:0;width:88px;height:31px" |
src="http://jigsaw.w3.org/css-validator/images/vcss-blue" |
alt="Правильный CSS!" /> |
alt="Правильный CSS!"> |
</a> |
</p> |
/trunk/classic.php |
---|
32,7 → 32,7 |
$query =& $db->query("SELECT * FROM distribution"); |
while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
$linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."' />".stripslashes($data["distname"])."</p>\n"; |
$linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'>".stripslashes($data["distname"])."</p>\n"; |
} |
if (!isset($status)) { $status = 0; }; |
39,7 → 39,7 |
if (isset($dist)) { |
$query =& $db->query("SELECT * FROM version v JOIN distribution d ON d.dist_id=v.dist_id WHERE v.dist_id='$dist'"); |
$distvers = "<p><input type='hidden' name='d' value='".$dist."' /></p>\n"; |
$distvers = "<p><input type='hidden' name='d' value='".$dist."'></p>\n"; |
while ($query->fetchInto($version, DB_FETCHMODE_ASSOC)) { |
if ($version["vname"]!="") { |
$distname = "“".stripslashes($version["vname"])."”"; |
92,7 → 92,8 |
$smarty->assign('linux',$linux); |
$smarty->assign('version',$distvers); |
$smarty->assign('result',$result); |
$smarty->assign('antversion',$antversion." • <a href='./modern.php'>Современный интерфейс</a>"); |
$smarty->assign('antversion',$antversion); |
$smarty->assign('interface'," • <a href='./modern.php'>Современный интерфейс</a>"); |
$smarty->display('classic.tpl'); |
/trunk/modern.php |
---|
94,18 → 94,19 |
$modern .= "<h2>Генератор sources.list</h2>"; |
$modern .= "<div class='border'>"; |
$modern .= "<label>Дистрибутив</label><br />"; |
$modern .= "<label>Дистрибутив</label><br>"; |
$modern .= "<select id='distro'>\n<option value=''>Выбрать дистрибутив</option>\n"; |
$modern .= $linux."</select>"; |
$modern .= "</div><div class='border'>"; |
$modern .= "<label>Версия дистрибутива</label><br />"; |
$modern .= "<select id='distver' disabled='disabled'>\n"; |
$modern .= "<label>Версия дистрибутива</label><br>"; |
$modern .= "<select id='distver' disabled='disabled'><option></option>"; |
$modern .= "</select></div>"; |
$modern .= "<pre id='replist'></pre></div>"; |
$modern .= "<pre id='replist'></pre>"; |
$smarty->assign('modern',$modern); |
$smarty->assign('scripts',$scripts); |
$smarty->assign('antversion',$antversion." • <a href='./classic.php'>Классический интерфейс</a>"); |
$smarty->assign('antversion',$antversion); |
$smarty->assign('interface'," • <a href='./classic.php'>Классический интерфейс</a>"); |
$smarty->display('modern.tpl'); |