ACC SHELL
<?php
include_once('config/config.php');
$Admin = new UserAdmin();
isset($_GET['logout']) ? $Admin->logout() : $Admin->isLogged();
include_once('libs/funkcephp.php');
include_once('libs/fotogalerie.class.php');
if (isset($_POST['odeslat']) || isset($_POST['odeslat_a_zavrit'])) {
include_once('include/fotogalerie/fotogalerie_ulozit.inc');
}
include_once('include/fotogalerie/fotogalerie_zpracuj.php');
include_once(TEMPLATES . '/header.tpl');
if (isset($_GET['id'])) {
$Fotogalerie->getInfo($_GET['id'], $_SESSION['jazyk'], 'fotogalerie', 'admin');
}
//Dotaz na vsechny dostupne aktivni jazykove verze
$Language = new Language();
$jazykove_verze = $Language->getLanguage();
?>
<div id="obsah1">
<table>
<tr>
<td><a class="mainbutton" href="fotogalerie_edit.php"><span>Přidat novou fotogalerii</span></a></td>
<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="fotogalerie.php" title="Správa fotogalerií">Správa fotogalerií</a>
/
<a href="" title="Editace fotogalerie">Editace fotogalerie <?php echo isset($_GET['id']) ? ' - ' . $Fotogalerie->nazev : ''; ?></a>
</span>
</td>
</tr>
</table>
<?php
include('messages.php');
$Widget = new Widget();
$id_panelu = array(51, 52, 53, 54);
$user_id = $_SESSION['adminuser']['id'];
include_once('include/widgety.php');
?>
</div> <!-- div id obsah END -->
<?php include_once(TEMPLATES . '/footer.tpl'); ?>
ACC SHELL 2018