ACC SHELL
<?php
include_once('config/config.php');
$Admin = new UserAdmin();
isset($_GET['logout']) ? $Admin->logout() : $Admin->isLogged();
include_once('libs/funkcephp.php');
$Parametry = new Parametry();
$Kategorie = new Kategorie();
//Dotaz na vsechny dostupne aktivni jazykove verze
$Language = new Language();
$jazykove_verze = $Language->getLanguage();
include_once('include/parametry/parametry_ulozit.inc');
include_once('include/parametry/parametry_zpracuj.php');
$parametry = isset($_GET['id']) ? $Parametry->getInfo($_GET['id']) : $Parametry->getInfo('0');
include_once(TEMPLATES . '/header.tpl');
?>
<div id="obsah1">
<table>
<tr>
<!--
<td><a class="mainbutton" href="parametry_edit.php"><span>Přidat nový parametr</span></a></td>
-->
<?php if (isset($_GET['id'])) { ?>
<td>
<a class="mainbutton" href="parametry_hodnoty_edit.php?parametr=<?php echo $_GET['id']; ?>">
<span>Přidat novou hodnotu</span>
</a>
</td>
<?php }
?>
<td> | <a href="javascript:history.back(-1)" title="">Zpět na předchozí stranu</a>
| <span id="drobecky">Kde se nacházíte:
<a href="index.php" title="Úvodní strana">Úvodní strana</a>
/ <a href="parametry.php" title="Správa parametrů">Správa parametrů</a>
/
<a href="" title="Editace parametrů">Editace parametrů <?php echo isset($_GET['id']) ? ' - ' . $parametry->nazev : ''; ?></a>
</span>
</td>
</tr>
</table>
<?php if (!isset($_GET['id'])) { echo '<br /><br />';} ?>
<?php
include('messages.php');
$Widget = new Widget();
//$id_panelu = array(131,132,134);
$id_panelu[] = 131;
if (isset($_GET['id'])) {
$id_panelu[] = 132;
$id_panelu[] = 134;
}
$user_id = $_SESSION['adminuser']['id'];
include_once('include/widgety.php');
?>
</div> <!-- div id obsah END -->
<?php include_once(TEMPLATES . '/footer.tpl'); ?>
ACC SHELL 2018