ACC SHELL

Path : /srv/www/vhosts/centrumlb/administrace/
File Upload :
Current File : /srv/www/vhosts/centrumlb/administrace/komentare_edit.php

<?php
include_once('config/config.php');
$Admin = new UserAdmin();
isset($_GET['logout']) ? $Admin->logout() : $Admin->isLogged();
include_once('libs/komentare.class.php');
include_once('libs/funkcephp.php');

if (isset($_POST['odeslat']) || isset($_POST['odeslat_a_zavrit'])) {
    include_once('include/komentare/komentare_ulozit.inc');
}

$komentar = $Komentare->fetchSingle(isset($_GET['id']) ? $_GET['id'] : '');

include_once(TEMPLATES . '/header.tpl');
?>


<div id="obsah">

    <table>

        <tr>
	    <!--
            <td><a class="mainbutton" href="komentare_edit.php"><span>Přidat příspěvek</span></a></td>
	    -->
            <td>
                &nbsp;&nbsp; | &nbsp;&nbsp;<a href="javascript:history.back(-1)" title="Zpět na předchozí stranu">Zpět na předchozí stranu</a>
                &nbsp;&nbsp; | &nbsp;&nbsp;<span id="drobecky">Kde se nacházíte: &nbsp;&nbsp;
                    <a href="index.php" title="Úvodní strana">Úvodní strana</a>&nbsp;&nbsp;/&nbsp;&nbsp;
                    <a href="komentare.php" title="Správa komentářů">Správa komentářů</a>&nbsp;&nbsp;/&nbsp;&nbsp;
                    <?php
                    if (isset($_GET['id'])) {
                        echo '<a href="" title="Editace příspěvku">Editace příspěvku</a>';
                    } else {
                        echo '<a href="" title="Založení nového příspěvku">Založení nového příspěvku</a>';
                    }
                    ?>
                </span>
            </td>

        </tr>

    </table><br /><br />

<?php
include('messages.php');

$Widget = new Widget();
$id_panelu = array(171);
$user_id = $_SESSION['adminuser']['id'];
include_once('include/widgety.php');
?>

</div> <!-- div id obsah END -->

<?php include_once(TEMPLATES . '/footer.tpl'); ?>

ACC SHELL 2018