Skip to content

Instantly share code, notes, and snippets.

@Zork67
Created August 12, 2015 14:57
Show Gist options
  • Save Zork67/4f97cabd06da9642794a to your computer and use it in GitHub Desktop.
Save Zork67/4f97cabd06da9642794a to your computer and use it in GitHub Desktop.
<?php session_start();
if((array_search('read_page', $_SESSION['permissions']) !== false) and ($_SESSION["is_auth"] === true)) ?>
<div class="tabs">
<div id="tab-1" class="tab">
<article>
<div class="text-section">
<h1>Главная страница</h1>
<p>This is a quick overview of some features</p>
</div>
<ul class="states">
<li class="error">Ошибка : Раздел не заполен.</li>
</ul>
</article>
</div>
<div id="tab-3" class="tab">
<article>
<div class="text-section">
<h1>Рабочая таблица</h1>
<p>Вывод данных из рабочей таблицы</p>
</div>
<ul class="states">
<li class="succes">Succes : OK</li>
<iframe src="../testconnect.php" vspace="10" frameborder="no" width="1200px" height="600px" scrolling="auto" noresize></iframe>
</ul>
</article>
</div>
<div id="tab-4" class="tab">
<article>
<div class="text-section">
<h1>Dashboard</h1>
<p>This is a quick overview of some features</p>
</div>
<ul class="states">
<li class="error">Error : This is an error placed text message.</li>
<li class="warning">Warning: This is a warning placed text message.</li>
<li class="succes">Succes : This is a succes placed text message.</li>
</ul>
</article>
</div>
<div id="tab-5" class="tab">
<article>
<div class="text-section">
<h1>Dashboard</h1>
<p>This is a quick overview of some features</p>
</div>
<ul class="states">
<li class="error">Error : This is an error placed text message.</li>
<li class="warning">Warning: This is a warning placed text message.</li>
<li class="succes">Succes : This is a succes placed text message.</li>
</ul>
</article>
</div>
<div id="tab-6" class="tab">
<article>
<div class="text-section">
<h1>Dashboard</h1>
<p>This is a quick overview of some features</p>
</div>
<ul class="states">
<li class="error">Error : This is an error placed text message.</li>
<li class="warning">Warning: This is a warning placed text message.</li>
<li class="succes">Succes : This is a succes placed text message.</li>
</ul>
</article>
</div>
<div id="tab-7" class="tab">
<article>
<div class="text-section">
<p>Для регистрации нового пользователя заполните все поля.</p><p>Если стрнаица обоновилась не выдав никаких ошибок значит успешно пользователь зарегистрирован.</p>
</div>
<ul class="states">
<li class="warning">Внимание: если возникли ошибки, перезагрузите страницу и повторите процесс регистрации.</li>
<iframe src="../register.php" vspace="10" frameborder="no" width="903" height="478" scrolling="no" noresize> </iframe>
</ul>
</article>
</div>
<div id="tab-8" class="tab">
<article>
<div class="text-section">
<h1>Dashboard</h1>
<p>This is a quick overview of some features</p>
</div>
<ul class="states">
<li class="error">Error : This is an error placed text message.</li>
<li class="warning">Warning: This is a warning placed text message.</li>
<li class="succes">Succes : This is a succes placed text message.</li>
</ul>
</article>
</div>
</div>
</div>
</div>
<aside id="sidebar">
<strong class="logo"><a href="#">lg</a></strong>
<ul class="tabset buttons">
<li class="active">
<a href="#tab-1" class="ico1"><span>Главная страница</span><em></em></a>
<span class="tooltip"><span>Главная страница</span></span>
</li>
<li>
<a href="#tab-3" class="ico3"><span>Рабочая таблица</span><em></em></a>
<span class="tooltip"><span>Рабочая таблица</span></span>
</li>
<li>
<a href="#tab-4" class="ico4"><span>Widgets</span><em></em></a>
<span class="tooltip"><span>Widgets</span></span>
</li>
<li>
<a href="#tab-5" class="ico5"><span>Archive</span><em></em></a>
<span class="tooltip"><span>Archive</span></span>
</li>
<li>
<a href="#tab-6" class="ico6">
<span>Новые данные</span><em></em>
</a>
<span class="num">8</span>
<span class="tooltip"><span>Новые данные</span></span>
</li>
<li>
<a href="#tab-7" class="ico7"><span>Добавить пользователя</span><em></em></a>
<span class="tooltip"><span>Добавить пользователя</span></span>
</li>
<li>
<a href="#tab-8" class="ico8"><span>Настройки</span><em></em></a>
<span class="tooltip"><span>Настройки</span></span>
</li>
</ul>
<span class="shadow"></span>
</aside>
</div><?php
else
echo '<h2 style="color:red;margin-top:10%;text-align:center">ERROR</h2>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment