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'); |
|