ACC SHELL

Path : /srv/www/vhosts/bubbagump/
File Upload :
Current File : /srv/www/vhosts/bubbagump/adminconfig.php

<h2 style="text-align:center;">Výchozí kofigurace webových stránek</h2>
<p style="color: #c00; text-align: center;">!!! Neprovádějte změny bez předchozí zálohy, pokud již web běží na ostré verzi, mohlo by dojít ke ztrátě některých dat !!!</p><br>
<form action="scripty/admin_config_save.php" method="post">
	<table width="100%" border="0" class="adminW">
    <tr>
      <th align="right" width="180" valign="top">Layout</th>
      <td>
        <input type="radio" name="layout" style="margin-left: 15px" value="1"<?php if($CONF['LAYOUT']==1) echo " checked=\"checked\""; ?> />&nbsp;<img align="middle" src="design/layout/layout1.jpg" alt="levý i pravý sloupec" title="levý i pravý sloupec" border="0" height="58" width="82" />
        <input type="radio" name="layout" style="margin-left: 15px" value="2"<?php if($CONF['LAYOUT']==2) echo " checked=\"checked\""; ?> />&nbsp;<img align="middle" src="design/layout/layout2.jpg" alt="levý sloupec" title="levý sloupec" border="0" height="58" width="82" />
        <input type="radio" name="layout" style="margin-left: 15px" value="3"<?php if($CONF['LAYOUT']==3) echo " checked=\"checked\""; ?> />&nbsp;<img align="middle" src="design/layout/layout3.jpg" alt="pravý sloupec" title="pravý sloupec" border="0" height="58" width="82" />
        <input type="radio" name="layout" style="margin-left: 15px" value="4"<?php if($CONF['LAYOUT']==4) echo " checked=\"checked\""; ?> />&nbsp;<img align="middle" src="design/layout/layout4.jpg" alt="bez sloupců" title="bez sloupců" border="0" height="58" width="82" />
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit spodní část</th>
      <td>
        <input type="radio" name="spodnicast" style="margin-left: 15px" value="1"<?php if($CONF['SPODNICAST']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="spodnicast" style="margin-left: 15px" value="0"<?php if($CONF['SPODNICAST']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit menu nahoře</th>
      <td>
        <input type="radio" name="hornimenu" style="margin-left: 15px" value="1"<?php if($CONF['MENU']['HORNI']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="hornimenu" style="margin-left: 15px" value="0"<?php if($CONF['MENU']['HORNI']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit menu dole</th>
      <td>
				<input type="radio" name="dolnimenu" style="margin-left: 15px" value="1"<?php if($CONF['MENU']['DOLNI']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="dolnimenu" style="margin-left: 15px" value="0"<?php if($CONF['MENU']['DOLNI']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit podmenu vlevo</th>
      <td>
        <input type="radio" name="levepodmenu" style="margin-left: 15px" value="1"<?php if($CONF['PODMENU']['LEVA']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="levepodmenu" style="margin-left: 15px" value="0"<?php if($CONF['PODMENU']['LEVA']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit podmenu vpravo</th>
      <td>
        <input type="radio" name="pravepodmenu" style="margin-left: 15px" value="1"<?php if($CONF['PODMENU']['PRAVA']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="pravepodmenu" style="margin-left: 15px" value="0"<?php if($CONF['PODMENU']['PRAVA']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit nadpis sekce</th>
      <td>
        <input type="radio" name="napissekce" style="margin-left: 15px" value="1"<?php if($CONF['NAPISSEKCE']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="napissekce" style="margin-left: 15px" value="0"<?php if($CONF['NAPISSEKCE']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Zobrazit drobečkovou navigaci</th>
      <td>
        <input type="radio" name="nachazitese" style="margin-left: 15px" value="1"<?php if($CONF['NACHAZITESE']==1) echo " checked=\"checked\""; ?> />&nbsp;Ano
        <input type="radio" name="nachazitese" style="margin-left: 15px" value="0"<?php if($CONF['NACHAZITESE']==0) echo " checked=\"checked\""; ?> />&nbsp;Ne
			</td>
		</tr>
    <tr>
      <th align="right">Jazykové verze</th>
      <td>
        <input type="checkbox" id="jazykcz" name="jazyk[]" style="margin-left: 15px" value="cz"<?php if(in_array("cz",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/cz.png" class="mouseHand" alt="CZ" title="CZ" border="0" onclick="if($('#jazykcz').attr('checked')=='checked'){$('#jazykcz').removeAttr('checked');} else {$('#jazykcz').attr('checked','checked');}" />
        <input type="checkbox" id="jazyken" name="jazyk[]" style="margin-left: 15px" value="en"<?php if(in_array("en",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/en.png" class="mouseHand" alt="EN" title="EN" border="0" onclick="if($('#jazyken').attr('checked')=='checked'){$('#jazyken').removeAttr('checked');} else {$('#jazyken').attr('checked','checked');}" />
        <input type="checkbox" id="jazykru" name="jazyk[]" style="margin-left: 15px" value="ru"<?php if(in_array("ru",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/ru.png" class="mouseHand" alt="RU" title="RU" border="0" onclick="if($('#jazykru').attr('checked')=='checked'){$('#jazykru').removeAttr('checked');} else {$('#jazykru').attr('checked','checked');}" />
        <input type="checkbox" id="jazykde" name="jazyk[]" style="margin-left: 15px" value="de"<?php if(in_array("de",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/de.png" class="mouseHand" alt="DE" title="DE" border="0" onclick="if($('#jazykde').attr('checked')=='checked'){$('#jazykde').removeAttr('checked');} else {$('#jazykde').attr('checked','checked');}" />
        <input type="checkbox" id="jazykpl" name="jazyk[]" style="margin-left: 15px" value="pl"<?php if(in_array("pl",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/pl.png" class="mouseHand" alt="PL" title="PL" border="0" onclick="if($('#jazykpl').attr('checked')=='checked'){$('#jazykpl').removeAttr('checked');} else {$('#jazykpl').attr('checked','checked');}" />
        <input type="checkbox" id="jazyksp" name="jazyk[]" style="margin-left: 15px" value="sp"<?php if(in_array("sp",$CONF['JAZYKVERZE'])) echo " checked=\"checked\""; ?> />&nbsp;<img src="design/flags/sp.png" class="mouseHand" alt="SP" title="SP" border="0" onclick="if($('#jazyksp').attr('checked')=='checked'){$('#jazyksp').removeAttr('checked');} else {$('#jazyksp').attr('checked','checked');}" />
			</td>
		</tr>
    <tr>
      <th align="right" valign="top">Šablony</th>
      <td>


<?php
	  $d = opendir("sablony");
	  while (@$f = readdir($d)) {
   	  if (is_dir("sablony/".$f) && $f!="." && $f!="..") {
      	$s = file("sablony/".$f."/sablona.info");
      	echo "<div style=\"width: 230px; display: block; float: left;\"><input type=\"checkbox\" id=\"$f\" name=\"sablona[]\" style=\"margin-left: 15px\" value=\"$f\"";
      	if(in_array($f,$CONF['SABLONY'])) echo " checked=\"checked\"";
      	echo " />&nbsp;<label for=\"$f\">$s[0]</label></div>";
      }
   	}
?>
        
			</td>
		</tr>
		<tr>
      <td align="center" colspan="2">
        <input type="submit" value="     Uložit     " />
			</td>
		</tr>
	</table>
</form>

ACC SHELL 2018