Файл: content/themes/facebook/templates/directory.tpl
Строк: 205
{include file='headinclude.tpl'}
{include file='header.tpl'}
{if $view
== 'dir'}
{if !$userExist}{include file='signup.bar.tpl'}{/if}
<!-- Content -->
<div
class="contentWrapper">
<div
class="content">
<table
class="mainContent">
<tr>
<!-- Wide Panel -->
<td
class="widePanel">
<div class="mb10 tleft">
<h2 class="mb5">{$SITE_TITLE}
{$translate->__("Каталог")}</h2>
<p>{$translate->__("Browse all")}
{$SITE_TITLE} {$translate->__("Каталог")}.</p>
</div>
<div class="directory mt10">
<a href="{$SITE_URL}/directory/people/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_people"></i>
<div
class="facade_text">{$translate->__("Пользователи")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/news/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_news"></i>
<div
class="facade_text">{$translate->__("Новости")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/music/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_music"></i>
<div
class="facade_text">{$translate->__("Музыка")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/photos/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_photos"></i>
<div
class="facade_text">{$translate->__("Фото")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/videos/" class="dirCardWrapper
last">
<div
class="dirCard">
<i
class="bigAppIcon bigApp_videos"></i>
<div
class="facade_text">{$translate->__("Видео")}</div>
</div>
</a>
</div>
<div class="directory">
<a
href="{$SITE_URL}/directory/discussions/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_discussions"></i>
<div
class="facade_text">{$translate->__("Обсуждения")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/questions/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_questions"></i>
<div
class="facade_text">{$translate->__("Вопросы")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/polls/"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_polls"></i>
<div
class="facade_text">{$translate->__("Опросы")}</div>
</div>
</a>
<a
href="http://wm-scripts.ru"
class="dirCardWrapper">
<div class="dirCard">
<i class="bigAppIcon bigApp_questions"></i>
<div
class="facade_text">{$translate->__("Скачать
готовые скрипты сайтов")}</div>
</div>
</a>
<a
href="{$SITE_URL}/directory/links/" class="dirCardWrapper
last">
<div
class="dirCard">
<i
class="bigAppIcon bigApp_links"></i>
<div
class="facade_text">{$translate->__("Ссылки")}</div>
</div>
</a>
</div>
</td>
<!-- Wide Panel -->
</tr>
</table>
</div>
</div>
<!-- Content -->
{include file='footer.tpl'
noBorder=true}
{else}
<!-- Commom [apps] JS -->
<script type="text/javascript"
src="{$SITE_URL}/js/core.posts.js"></script>
<!-- Commom [apps] JS -->
{if !$userExist}{include
file='signup.bar.tpl'}{/if}
<!-- Content -->
<div
class="contentWrapper">
<div
class="content">
<table
class="mainContent">
<tr>
<!-- Left Panel -->
<td class="leftPanel">
<div
class="appsMenu">
<ul>
<li class="item">
<a class="appLink {if $view ==
"people"}active{/if}"
href="{$SITE_URL}/directory/people/"><span
class="icon"><i class="app_icon
app_people"></i></span><span
class="name">{$translate->__("Пользователи")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "news"}active{/if}"
href="{$SITE_URL}/directory/news/"><span
class="icon"><i class="app_icon
app_news"></i></span><span
class="name">{$translate->__("Новости")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "music"}active{/if}"
href="{$SITE_URL}/directory/music/"><span
class="icon"><i class="app_icon
app_music"></i></span><span
class="name">{$translate->__("Музыка")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "photos"}active{/if}"
href="{$SITE_URL}/directory/photos/"><span
class="icon"><i class="app_icon
app_photos"></i></span><span
class="name">{$translate->__("Фото")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "videos"}active{/if}"
href="{$SITE_URL}/directory/videos/"><span
class="icon"><i class="app_icon
app_videos"></i></span><span
class="name">{$translate->__("Видео")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view ==
"discussions"}active{/if}"
href="{$SITE_URL}/directory/discussions/"><span
class="icon"><i class="app_icon
app_discussions"></i></span><span
class="name">{$translate->__("Обсуждения")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view ==
"questions"}active{/if}"
href="{$SITE_URL}/directory/questions/"><span
class="icon"><i class="app_icon
app_questions"></i></span><span
class="name">{$translate->__("Вопросы")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "polls"}active{/if}"
href="{$SITE_URL}/directory/polls/"><span
class="icon"><i class="app_icon
app_polls"></i></span><span
class="name">{$translate->__("Опросы")}</span></a>
</li>
<li class="item">
<a class="appLink {if $view == "links"}active{/if}"
href="{$SITE_URL}/directory/links/"><span
class="icon"><i class="app_icon
app_links"></i></span><span
class="name">{$translate->__("Ссылки")}</span></a>
</li>
<li
class="item">
<a
class="appLink {if $view == "links"}active{/if}"
href="http://wm-scripts.ru"><span
class="icon"><i class="app_icon
app_links"></i></span><span
class="name">{$translate->__("Скачать
скрипты готовых сайтов")}</span></a>
</li>
</ul>
</div>
</td>
<!-- Left Panel -->
<!-- Center Panel -->
<td class="centerPanel">
<div class="centerPanelHeader">
<div class="appHeaderWrapper">
<strong>{$dirTitle}</strong>
<div class="right">
<a class="uiButton"
href="{$SITE_URL}/directory/">{$translate->__("Назад
в каталог")}</a>
</div>
</div>
</div>
<div
class="centerPanelContent">
<!-- Live Feeds -->
<ul
class="liveFeeds"
id="livefeeds">{$content}</ul>
<!-- Live Feeds -->
</div>
</td>
<!-- Center Panel -->
<!-- Right Panel -->
<td class="rightPanel">
<!-- Share -->
{include file='rp.share.tpl' margin='28'}
<!--
Share -->
<!--
Sponsored Ads -->
{include
file='rp.sponsored.tpl' margin='10'}
<!--
Sponsored Ads -->
</td>
<!-- Right Panel -->
</tr>
</table>
</div>
</div>
<!-- Content -->
{include file='footer.tpl' footerType = 'narrow'}
{/if}