Размер файла: 3.35Kb
{foreach from=$notify item=no key=notID}
{if $no.uptm==0}
<div class="notify">{/if}
<a href="{$selfurl}?ac=nfc&id={$notID}&sid={$sid}">{$no.fromname}{if $no.amount > 0}{if $no.amount == 1} {lng p="and"} {/if}
{if $no.amount == 2}, {/if}{$no.fromname1} {if $no.amount > 2} {lng p="and"} {$no.amoun} {lng p="others"}{/if}
{if $no.from2} {lng p="and"} {$no.fromname2}{/if}{/if}
{if $no.do == 0}like your{if $no.cid > 0} comment
{else}
{if $no.wid > 0} post{/if}
{if $no.pid > 0} photo{/if}
{if $no.alid > 0} album{/if}
{/if}
{else}
{if $no.do==1}
commented on {if $no.who == $userlog.id}your{else}{$no.whoname}'s{/if}
{if $no.wid > 0} post{/if}
{if $no.pid > 0} photo{/if}
{if $no.alid > 0} album{/if}
{else}
{if $no.do==3}
posted on your wall
{else}
{if $no.do==4}
accepted your friend request
{/if}
{/if}
{/if}
{/if}
{if $no.uptm==0}
</a>
</div>
{else}
<hr/>
{/if}
{/foreach}
{if $update}
<div class="notify">
<a href="{$selfurl}?ac=prf&do=abt&sid={$sid}">{lng p="getting_started"}</a>
</div>
{/if}
{if $friend}
{foreach from=$friendrequest item=fr key=frID}
<div class="notify">
<a href="{$selfurl}?ac=prf&id={$fr.userid}&sid={$sid}">{$fr.user}</a> {lng p="want_friend"}
<a href="{$selfurl}?ac=fnd&id={$fr.userid}&sid={$sid}">{lng p="confirm"}</a> <a href="">{lng p="reject"}</a>
</div>
{/foreach}
{/if}
<form action="{$selfurl}?ac=hme&sid={$sid}" method="post">
<div class="shade">
{lng p="whats_on_your_mind"}?<br/>
<textarea name="post" cols="30" rows="3"></textarea>
<input type="submit" class="login" style="vertical-align: top;" value="{lng p="share"}"/>
<br/>
<a href="{$selfurl}?ac=nfc&sid={$sid}">{lng p="notifications"}</a> <a href="">{lng p="pages"}</a>
<a href="{$selfurl}?ac=gop&sid={$sid}">{lng p="groups"}</a> <a href="{$selfurl}?ac=dcs&sid={$sid}">{lng p="discussion"}</a>
</div>
</form>
{if $Count == 0}
<div class="err">
{lng p="no_feeds"}
</div>
{/if}
{foreach from=$feed item=fe key=feedID}
<div class="blank">
<div>
<b><a href="{$selfurl}?ac=prf&id={$fe.userid}&sid={$sid}">{$fe.username}</a>
{if $fe.shrid}</b> via <b><a href="{$selfurl}?ac=prf&id={$fe.suserid}&sid={$sid}">{$fe.suser}</a>{/if}
{if $fe.grid}</b> » <b><a href="{$selfurl}?ac=gop&id={$fe.grid}&sid={$sid}">{$fe.grname}</a>{/if}</b><br/>
{$fe.message}
</div>
{if $fe.shrid}
<div>
<span style="color: #8f8f8f;">{$fe.smessage}</span>
</div>
{/if}
<span style="color: #8f8f8f;">{$fe.dtm} ago</span>
{if $fe.like > 0}
<a href="{$selfurl}?ac=cmt&stid={$feedID}&sid={$sid}">{if $fe.like == 1}{$fe.like} {lng p="like"}{else}{if $fe.like > 1}{$fe.like} {lng p="likes"}{/if}{/if}</a> {/if}
<a href="{$selfurl}?ac=lke&wid={$feedID}&sid={$sid}">{if $fe.ulike > 0}{lng p="unlike"}{else}{lng p="like"}{/if}</a>
<a href="{$selfurl}?ac=cmt&stid={$feedID}&sid={$sid}">{if $fe.comment == 0}{lng p="comment"}{else}{if $fe.comment==1}{$fe.comment} {lng p="comment"}
{else}{if $fe.comment > 1}{$fe.comment} {lng p="comments"}{/if}{/if}{/if}</a>
{if $fe.userid != $userlog.id} <a href="{$selfurl}?ac=sae&stid={$feedID}">{lng p="share"}</a>{/if}<br/>
</div>
{/foreach}
{if $older}
<div class="shade">
<a href="{$selfurl}?ac=hme&pg={$older}&sid={$sid}">{lng p="see_more_feeds"}</a>
</div>
{/if}