Файл: content/themes/facebook/templates/notifications.tpl
Строк: 92
{include file='headinclude.tpl'}
{include file='header.tpl'}
<!--
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"
href="{$SITE_URL}/messages/"><span
class="icon"><i class="app_icon
app_messages"></i></span><span
class="name">Messages</span></a>
</li>
<li
class="item">
<a
class="appLink active"
href="{$SITE_URL}/notifications/"><span
class="icon"><i class="app_icon
app_flag"></i></span><span
class="name">Notifications</span></a>
</li>
</ul>
</div>
</td>
<!-- Left Panel -->
<!-- Center
Panel -->
<td class="centerPanel">
<div
class="centerPanelHeader">
<!--
App Header -->
<div
class="appHeaderWrapper">
<strong>Notifications</strong>
</div>
<!-- App Header -->
</div>
<div
class="centerPanelContent">
{if
$userArray.UserNotifications > 0}
{foreach
$days as $day => $notifications}
<div class="dayHeader mt10 mb5">{$day}</div>
<ul class="notificationsFeeds">
{foreach $notifications as
$notification}
<li
id="{$notification.ID}">
<span class="icon
{$notification.image}"></span>
<span class="text"><a
href="{$notification.UserURL}">{$notification.UserFirstName}
{$notification.UserLastName}</a>
{$notification.message}</span>
</li>
{/foreach}
</ul>
{/foreach}
{else}
<div
class="dataNullState">You have no notifications.</div>
{/if}
</div>
</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'}