View file load/settings.php

File size: 2.1Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
include("func.php");
include("set.php");
include("start.php");
include("modul/head.php");

if($ver=='wml') print ""; else print "<div class=\"c\">Настройка<br/></div><br/>";

if($mode=='change')
{
  
}
else
{
  if($ver!='wml') print "<form action=\"index.php\">
         <input name=\"did\" type=\"hidden\" value=\"$did\"/>
         <input name=\"pg\" type=\"hidden\" value=\"$pg\"/>";

  print "Количество файлов на страницу:<br/>
         <input name=\"dfp\" class=\"itext\" value=\"$set_files_page\" size=\"2\"/><br/>
         Предпросмотр:<br/>
         <select name=\"preview\">
         <option value=\"net\">Нет</option>
         <option value=\"40\">40x40</option>
         <option value=\"50\">50x50</option>
         <option value=\"60\">60x60</option>
         <option value=\"70\">70x70</option>
         <option value=\"80\">80x80</option>
         </select><br/>
         Расширение страницы:<br/>
         <select name=\"version\">
         <option value=\"xhtml\">xHTML</option>
         <option value=\"wml\">WML</option>
         </select><br/>
         Сортировать по:<br/>
         <select name=\"srt\">
         <option value=\"name\">Названию</option>
         <option value=\"date\">Дате</option>
         <option value=\"top\">Популярности</option>
         </select><br/>";
  if($ver!="wml") print "<input type=\"submit\" class=\"ibutton\" value=\"Готово\"/><br/></form>";
  else print "<anchor>Готово<go href=\"index.php\">
              <postfield name=\"did\" value=\"$did\"/>
              <postfield name=\"fid\" value=\"$fid\"/>
              <postfield name=\"pg\" value=\"$pg\"/>
              <postfield name=\"dfp\" value=\"$(dfp)\"/>
              <postfield name=\"preview\" value=\"$(preview)\"/>
              <postfield name=\"version\" value=\"$(version)\"/>
              <postfield name=\"srt\" value=\"$(srt)\"/>
              </go></anchor><br/>
              ";
}

include("modul/foot.php");
?>