Редакция 224 | Редакция 231 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 224 | Редакция 230 | ||
---|---|---|---|
Строка 77... | Строка 77... | ||
77 | }
|
77 | }
|
78 | }
|
78 | }
|
79 | $result = $info.$result."<p><a href='./get.php?id=".$dist.",".$vers.",".$getreps."'>Получить sources.list файлом</a></p>"; |
79 | $result = $info.$result."<p><a href='./get.php?id=".$dist.",".$vers.",".$getreps."'>Получить sources.list файлом</a></p>"; |
80 | }
|
80 | }
|
81 | 81 | ||
- | 82 | if ($status==3){$link='<div align="right"><a title="Ссылка на этот source.list" href='.$_SERVER['php_self'].'>#</a></div>';} |
|
82 | $steps='<a href="classic.php">Шаг 1</a> ::'; |
83 | $steps='<a href="classic.php">Шаг 1</a> ::'; |
83 | if ($status>0){ $steps.='<a href="classic.php?step=1&d='.$dist.'"> Шаг 2</a> ::';} else{$steps.=' Шаг 2 ::';} |
84 | if ($status>0){ $steps.='<a href="classic.php?step=1&d='.$dist.'"> Шаг 2</a> ::';} else{$steps.=' Шаг 2 ::';} |
84 | if ($status>1){ $steps.='<a href="classic.php?step=2&d='.$dist.'&v='.$vers.'"> Шаг 3</a> ::';} else{$steps.=' Шаг 3 ::';} |
85 | if ($status>1){ $steps.='<a href="classic.php?step=2&d='.$dist.'&v='.$vers.'"> Шаг 3</a> ::';} else{$steps.=' Шаг 3 ::';} |
85 | if ($status==3){ $steps.='<a href="'.$_SERVER['php_self'].'"> Шаг 4</a>';} else{$steps.=' Шаг 4';} |
86 | if ($status==3){ $steps.='<a href="'.$_SERVER['php_self'].'"> Шаг 4</a>';} else{$steps.=' Шаг 4';} |
86 | 87 | ||
87 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
88 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
- | 89 | $smarty->assign('link',$link); |
|
88 | $smarty->assign('status',$status); |
90 | $smarty->assign('status',$status); |
89 | $smarty->assign('linux',$linux); |
91 | $smarty->assign('linux',$linux); |
90 | $smarty->assign('steps',$steps); |
92 | $smarty->assign('steps',$steps); |
91 | $smarty->assign('repos',$repos); |
93 | $smarty->assign('repos',$repos); |
92 | $smarty->assign('version',$distvers); |
94 | $smarty->assign('version',$distvers); |