Хранилища Subversion ant

Редакция

Редакция 45 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 45 Редакция 51
Строка 30... Строка 30...
30
$query->fetchInto($antv, DB_FETCHMODE_ASSOC);
30
$query->fetchInto($antv, DB_FETCHMODE_ASSOC);
31
$antversion = $antv["optvalue"];
31
$antversion = $antv["optvalue"];
32
32
33
$query =& $db->query("SELECT * FROM distribution");
33
$query =& $db->query("SELECT * FROM distribution");
34
while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) {
34
while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) {
35
        $linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."' />".stripslashes($data["distname"])."</p>\n";
35
        $linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'>".stripslashes($data["distname"])."</p>\n";
36
}
36
}
37
37
38
if (!isset($status)) { $status = 0; };
38
if (!isset($status)) { $status = 0; };
39
39
40
if (isset($dist)) {
40
if (isset($dist)) {
41
        $query =& $db->query("SELECT * FROM version v JOIN distribution d ON d.dist_id=v.dist_id WHERE v.dist_id='$dist'");
41
        $query =& $db->query("SELECT * FROM version v JOIN distribution d ON d.dist_id=v.dist_id WHERE v.dist_id='$dist'");
42
        $distvers = "<p><input type='hidden' name='d' value='".$dist."' /></p>\n";
42
        $distvers = "<p><input type='hidden' name='d' value='".$dist."'></p>\n";
43
        while ($query->fetchInto($version, DB_FETCHMODE_ASSOC)) {
43
        while ($query->fetchInto($version, DB_FETCHMODE_ASSOC)) {
44
                if ($version["vname"]!="") {
44
                if ($version["vname"]!="") {
45
                        $distname = "&#8220;".stripslashes($version["vname"])."&#8221;";
45
                        $distname = "&#8220;".stripslashes($version["vname"])."&#8221;";
46
                } else {
46
                } else {
47
                        $distname = "";
47
                        $distname = "";
Строка 90... Строка 90...
90
90
91
$smarty->assign('status',$status);
91
$smarty->assign('status',$status);
92
$smarty->assign('linux',$linux);
92
$smarty->assign('linux',$linux);
93
$smarty->assign('version',$distvers);
93
$smarty->assign('version',$distvers);
94
$smarty->assign('result',$result);
94
$smarty->assign('result',$result);
-
 
95
$smarty->assign('antversion',$antversion);
95
$smarty->assign('antversion',$antversion." &bull; <a href='./modern.php'>Современный интерфейс</a>");
96
$smarty->assign('interface'," &bull; <a href='./modern.php'>Современный интерфейс</a>");
96
97
97
$smarty->display('classic.tpl');
98
$smarty->display('classic.tpl');
98
99
99
?>
100
?>