Файл: content/themes/facebook/templates/search.tpl
Строк: 165
{include file='headinclude.tpl'}
{include file='header.tpl'}
<!--
Commom [profile] JS Tasks -->
<script
type="text/javascript"
src="js/core.posts.js"></script>
<script
type="text/javascript"
src="js/page.search.js"></script>
<!-- Commom
[profile] JS Tasks -->
{if !$userExist}{include
file='signup.bar.tpl'}{/if}
<!-- Content -->
<div
class="contentWrapper" app="{$app}"
q="{$query}" >
<div class="content">
<table class="mainContent">
<tr>
<!-- Left Panel -->
<td class="leftPanel">
<div class="appsMenu">
<ul>
<li class="item">
<a class="appLink {if $app ==
'people'}active{/if}"
href="search.php?q={$query}&app=people"><span
class="icon"><i class="app_icon
app_people"></i></span><span
class="name">People</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'news'}active{/if}"
href="search.php?q={$query}&app=news"><span
class="icon"><i class="app_icon
app_news"></i></span><span
class="name">News</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'music'}active{/if}"
href="search.php?q={$query}&app=music"><span
class="icon"><i class="app_icon
app_music"></i></span><span
class="name">Music</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'photos'}active{/if}"
href="search.php?q={$query}&app=photos"><span
class="icon"><i class="app_icon
app_photos"></i></span><span
class="name">Photos</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'videos'}active{/if}"
href="search.php?q={$query}&app=videos"><span
class="icon"><i class="app_icon
app_videos"></i></span><span
class="name">Videos</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'discussions'}active{/if}"
href="search.php?q={$query}&app=discussions"><span
class="icon"><i class="app_icon
app_discussions"></i></span><span
class="name">Discussions</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'questions'}active{/if}"
href="search.php?q={$query}&app=questions"><span
class="icon"><i class="app_icon
app_questions"></i></span><span
class="name">Questions</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'polls'}active{/if}"
href="search.php?q={$query}&app=polls"><span
class="icon"><i class="app_icon
app_polls"></i></span><span
class="name">Polls</span></a>
</li>
<li
class="item">
<a
class="appLink {if $app == 'links'}active{/if}"
href="search.php?q={$query}&app=links"><span
class="icon"><i class="app_icon
app_links"></i></span><span
class="name">Links</span></a>
</li>
</ul>
</div>
</td>
<!-- Left
Panel -->
<!-- Center Panel
-->
<td class="centerPanel">
{if $app == 'people'}
<div
class="centerPanelHeader">
<!-- Apps Header -->
<div
class="appHeaderWrapper">
<strong>People</strong>
{if
$userExist}
<div
class="right">
<span class="relative">
<span class="uiButtonText showFilterMenu"
id="dataFilter">All</span>
<!-- Source Filter Menu -->
<div class="subMenu filterMenu">
<ul>
<li><span class="menuItem
doFilter">All</span></li>
<li><span class="menuItem
doFilter">Just Followers</span></li>
<li><span class="menuItem
doFilter">Just Followings</span></li>
</ul>
</div>
<!-- Source Filter Menu -->
</span>
</div>
{/if}
</div>
<!-- Apps Header -->
</div>
<div
class="centerPanelContent">
<!-- Live Feeds -->
<ul
class="liveFeeds" id="livefeeds">
<div class="pt10 pb10 pl10 pr10
tcenter"><img src="{$spinner.larg}"
/></div>
</ul>
<!-- Live Feeds -->
</div>
{else}
<div
class="centerPanelHeader">
<!-- Apps Header -->
{include
file='appsheader.tpl' title=$app|capitalize dataFilter = true}
<!-- Apps Header -->
</div>
<div
class="centerPanelContent">
<!-- Live Feeds -->
<ul
class="liveFeeds" id="livefeeds">
<div class="pt10 pb10 pl10 pr10
tcenter"><img src="{$spinner.larg}"
/></div>
</ul>
<!-- Live Feeds -->
</div>
{/if}
</td>
<!-- Center Panel -->
<!-- Right Panel -->
<td
class="rightPanel">
<!-- Sponsored Ads -->
{include
file='rp.sponsored.tpl' margin='28'}
<!-- Sponsored
Ads -->
</td>
<!-- Right Panel -->
</tr>
</table>
</div>
</div>
<!--
Content -->
{include file='footer.tpl' footerType = 'narrow'}