ACC SHELL
<?php
include_once('config/config.php');
$Admin = new UserAdmin();
isset($_GET['logout']) ? $Admin->logout() : $Admin->isLogged();
include_once('libs/funkcephp.php');
if (isset($_POST['odeslat']) || isset($_POST['odeslat_a_zavrit'])) {
include_once('include/diskografie/diskografie_skladby_ulozit.inc');
}
include_once(TEMPLATES . '/header.tpl');
if (isset($_GET['id'])) {
$Diskografie = new Diskografie();
$detail_cz = $Diskografie->fetchSingleSkladbu(intval($_GET['id']));
if (!$detail_cz){
Tools::message('Zadané identifikační číslo ('.intval($_GET['id']).') skladby nebylo nalezeno.', 'ERR');
Tools::redirect($_SERVER['HTTP_REFERER']);
}
$id = $detail_cz->id;
}
else {
$detail_cz = new Diskografie();
}
//NDebugger::dump($detail_cz);
//Dotaz na vsechny dostupne aktivni jazykove verze
$Language = new Language();
$jazykove_verze = $Language->getLanguage();
?>
<div id="obsah1">
<table>
<tr>
<td><a class="mainbutton" href="diskografie_edit.php"><span>Přidat nové album</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="diskografie.php" title="Správa alb">Správa alb</a>
/
<a href="diskografie_edit.php?id=<?php echo $detail_cz->id_diskografie; ?>" title="Editace diskografie">Editace alba <?php echo isset($id) ? ' - ' . $detail_cz->nazev : ''; ?></a>
/
<a href="" title="Editace skladby">Editace skladby <?php echo isset($id) ? ' - ' . $detail_cz->nazev : ''; ?></a>
</span>
</td>
</tr>
</table>
<?php
include('messages.php');
$Widget = new Widget();
$id_panelu = array(204);
$user_id = $_SESSION['adminuser']['id'];
include_once('include/widgety.php');
?>
</div> <!-- div id obsah END -->
<?php include_once(TEMPLATES . '/footer.tpl'); ?>
ACC SHELL 2018