Файл: content/themes/default/templates/directory.tpl
Строк: 197
{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->__("Directory")}</h2>
<p>{$translate->__("Browse all")} {$SITE_TITLE}
{$translate->__("Directory")}.</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->__("People")}</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->__("News")}</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->__("Music")}</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->__("Photos")}</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->__("Videos")}</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->__("Discussions")}</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->__("Questions")}</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->__("Polls")}</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->__("Links")}</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->__("People")}</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->__("News")}</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->__("Music")}</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->__("Photos")}</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->__("Videos")}</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->__("Discussions")}</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->__("Questions")}</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->__("Polls")}</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->__("Links")}</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->__("Back to
Directory")}</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}