View file templates/web_default/header.php

File size: 6.58Kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{{title}}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta property="og:site_name" content="{{site_name}}"/>
        <meta name="description" content="{{description}}" />        
		<meta name="keywords" content="{{keywords}}" />   
    <link href="/templates/web_default/style.css" rel="stylesheet" type="text/css" />
  <link rel="stylesheet" href="/engine/template/module/ui/css/smoothness/jquery-ui-1.10.4.custom.css">
  <script src="/engine/template/module/editor/jquery-1.11.0.js"></script>
  <script src="/engine/template/module/ui/js/jquery-ui-1.10.4.custom.js"></script>
	<script src="/templates/web_default/js/jquery.selectbox.js"></script>
	<script src="/engine/template/module/shcms_ui.js"></script>
	<script src="/templates/web_default/js/shcms_code.js"></script>
	<script src="/engine/template/module/editor/jquery.wysibb.js"></script>
	<script src="/engine/template/module/editor/lang/ru.js"></script>	
	<link href="/engine/template/module/editor/theme/default/wbbtheme.css" rel="stylesheet" type="text/css" />
	</head>
<body>
<div class="main">
  <div class="header">
    <div class="block_header">
      <div class="logo"> <img src="/templates/web_default/images/logo.png" border="0" /></div>
      <div class="clr"></div>
    </div>
    <div class="blog_menu">
      <div class="menu">
        <ul>
          <li><a href="/index.php"><span>Главная</span></a></li>
          <li><a href="/modules/chat/"><span>Чат</span></a></li>
          <li><a href="/modules/forum/"><span>Форум</span></a></li>
          <li><a href="/modules/download/"><span>Загрузки</span></a></li>
        </ul>
      </div>
      <div class="search">
	  {% if id_user == false %}
			<div id="dialog" title="Авторизация">
				<form action="/modules/auth.php" method="post">
	    			Логин:<br/><input type="text" name="nick" placeholder="Логин"><br/>
					Пароль:<br/><input type="password" name="password" placeholder="Пароль"><br/>
				<hr/><center><input class="button_secondary" style="height: 32px;width:150px;" type="submit" name="submit" value="Войти"></center>
				</form>
			</div>
   
        <a class="button_secondary" id="opener" href="#"><img src="/engine/template/icons/login.png"> Авторизация</a> 
		<a class="button_secondary" href="/modules/register.php"><img src="/engine/template/icons/register.png"> Регистрация</a> 
      {% else %}
			<div id="dialog" title="Профиль {{login}}">
				<div class="row"><img src="/engine/template/icons/view.png"> <a style="color:gray;" href="/modules/menu.php">Меню пользователя</a></div>
				<div class="row"><img src="/engine/template/icons/email.png"> <a style="color:gray;" href="/modules/messaging.php">Почтовый ящик</a></div>
				<div class="row"><img src="/engine/template/icons/app.png"> <a style="color:gray;" href="/modules/profile.php?act=edit_profile">Настройки</a></div>
				<div class="row"><img src="/engine/template/icons/theme.png"> <a style="color:gray;" href="/modules/theme.php">Темы оформление</a></div>
				<div class="row"><img src="/engine/template/icons/exit.png"> <a style="color:gray;" href="/modules/exit.php">Выйти из сайта</a></div>
			</div>
			
	  	    <a title="Права: {{group}}" class="button_secondary" href="#" id="opener"><img src="/engine/template/icons/user.png"> {{login}}</a>
        	 <a class="button_secondary" href="/modules/profile.php?act=notificationlog"><img src="/engine/template/icons/mail-notification.png"> {{mail}} / {{countf}}</a>
			<a class="button_secondary" href="/modules/friends.php"><img src="/engine/template/icons/icon_users.png"> Друзья {{friend}}</a></a>
		<a class="button_secondary" href="/modules/exit.php"><img src="/engine/template/icons/exit.png"> Выйти</a>
		
	  {% endif %}	
	  </div>
      <div class="clr"></div>
    </div>
    <div class="slider">
      <div class="slice1" id="section-1">
        <p class="img"><img src="/templates/web_default/images/shcms.png" alt="screen 1" width="140" height="147" /></p>
        <h2>SHCMS Engine</h2>
        <p>Многофункциональная Система Управление сайтом</p>
        <p>&nbsp;</p>
      </div>
      <ul class="body_menu_nav">
        <li><a href="http://shcms.ru"><span><img src="/templates/web_default/images/icons4.png" alt="picture" width="33" height="33" border="0" align="top" />SHCMS Engine</span></a></li>
        <li><a href="/modules/chat/"><span><img src="/templates/web_default/images/icons1.png" alt="picture" width="33" height="33" border="0" align="top" />Общение</span></a></li>
        <li><a href="/modules/forum/"><span><img src="/templates/web_default/images/icons2.png" alt="picture" width="33" height="33" border="0" align="top" />Форум</span></a></li>
        <li><a href="/modules/download/"><span><img src="/templates/web_default/images/icons3.png" alt="picture" width="33" height="33" border="0" align="top" />Загрузки</span></a></li>
      </ul>
    </div>
    <div class="clr"></div>
	    <div class="body">
      <div class="body_t_i">
<div class="Box">	
  	 <div id="barchives" class="block"> 
<!--Реклама Обычная-->
{% for d in data %}
{% if d.images == false %}
<div class="row"> <a title="{{d.name|escape}}" href="{{d.link|escape}}">{{d.name|escape}}</a></div>
	 {% endif %}
 	<div class="dtop">&nbsp;</div>
	<div class="dbtm">&nbsp;</div>	 
 {% endfor %}
</div>
  	 <div id="barchives" class="block"> 
	<div class="btl"><b><span class="green">Навигация</span></b></div>
	<div class="dcont">
		<div class="row"><img src="/admin/icons/module/chat.png"> <a href="/modules/chat/"><span>Общий чат</span></a></div>
		<div class="row"><img src="/admin/icons/module/forums.png"> <a href="/modules/forum/"><span>Форум</span></a></div>
		<div class="row"><img src="/admin/icons/module/loads.png"> <a href="/modules/download/"><span>Загрузки</span></a></div>
		<div class="row"><img src="/engine/template/icons/user.png"> <a href="/modules/all_users.php"><span>Пользователи</span></a></div>	
		<div class="row"><img src="/admin/icons/module/news.png"> <a href="/modules/news/"><span>Новости</span></a></div>	
	</div>
	<div class="dtop">&nbsp;</div>
	<div class="dbtm">&nbsp;</div>
</div>
        </div>	  
        <div class="Welcome">