Просмотр файла templates/wap_default/header.php

Размер файла: 3.36Kb
<!DOCTYPE html>
	<html lang="ru" >
    <head>
        <title>{{title}}</title>
        <link rel="shortcut icon" href="/favicon.ico" />
    
        <link rel="stylesheet" href="/templates/wap_default/style.css" type="text/css" />
        <link href="/engine/template/module/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
        <link href='http://fonts.googleapis.com/css?family=Raleway:400,900,800,700,600,500,300,200,100' rel='stylesheet' type='text/css'>
	<script src="/engine/template/module/editor/jquery-1.11.0.js"></script>
	<script src="/engine/template/module/bootstrap/js/bootstrap.min.js"></script>
	<script src="/engine/template/module/bootstrap/js/bootstrap-filestyle.min.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" />

        <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}}" />        
    </head>
    <body>
	
		<!--Название страниц-->
	<div id="title">
	    <div id="page_t">{{title}}</div>
	    </div>


	<div id="layot"> 	
        <div id="page">
        <div id="list">
		
    {% if id_user == true %}
     <div id="list2">
	 <!--Переадресация на главную-->
	 {% if home == true %}
	<a class="button secondary" href="/index.php"><img src="/engine/template/icons/home.png"> Главная</a>
	   {% endif %}
	   <!--Пользовательская меню-->
	    <a title="Права: {{group}}" class="Button_secondary" href="/modules/menu.php"><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/cancel.png"> Выход</a>
		
		
        </div>
    {% else %} 
	<div id="list2">
	<!--Переадресация на главную-->
	{% if home == true %}
	 <a class="button secondary" href="/index.php"><img src="/engine/template/icons/home.png"> Главная</a>
	   {% endif %}
	   <!--Для неавторизованных-->
        <a class="Button_secondary" href="/modules/auth.php"><img src="/engine/template/icons/login.png"> Войти</a> 
        <a class="Button_secondary" href="/modules/register.php"><img src="/engine/template/icons/register.png"> Регистрация</a>
	</div>
    {% endif %}		
</div> 
<!--Реклама Обычная-->
{% 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 %}
 {% endfor %}
 <div style="margin:8px;"></div>