Просмотр файла template_c/afe51063c67d07203925700fd95a159dce72e1a2.file.home.tpl.php

Размер файла: 11.07Kb
<?php /* Smarty version Smarty3-b8, created on 2013-05-30 07:53:18
         compiled from "template/m/home.tpl" */ ?>
<?php /*%%SmartyHeaderCode:457551a7056e6a3a98-58093263%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'afe51063c67d07203925700fd95a159dce72e1a2' => 
    array (
      0 => 'template/m/home.tpl',
      1 => 1369900395,
    ),
  ),
  'nocache_hash' => '457551a7056e6a3a98-58093263',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php  $_smarty_tpl->tpl_vars['no'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['notID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('notify')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['no']->key => $_smarty_tpl->tpl_vars['no']->value){
 $_smarty_tpl->tpl_vars['notID']->value = $_smarty_tpl->tpl_vars['no']->key;
?>
<?php if ($_smarty_tpl->getVariable('no')->value['uptm']==0){?>
<div class="notify"><?php }?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=nfc&amp;id=<?php echo $_smarty_tpl->getVariable('notID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('no')->value['fromname'];?>
<?php if ($_smarty_tpl->getVariable('no')->value['amount']>0){?><?php if ($_smarty_tpl->getVariable('no')->value['amount']==1){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['amount']==2){?>, <?php }?><?php echo $_smarty_tpl->getVariable('no')->value['fromname1'];?>
 <?php if ($_smarty_tpl->getVariable('no')->value['amount']>2){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo $_smarty_tpl->getVariable('no')->value['amoun'];?>
 <?php echo Lang(array('p'=>"others"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['from2']){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo $_smarty_tpl->getVariable('no')->value['fromname2'];?>
<?php }?><?php }?> 
<?php if ($_smarty_tpl->getVariable('no')->value['do']==0){?>like your<?php if ($_smarty_tpl->getVariable('no')->value['cid']>0){?> comment
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('no')->value['wid']>0){?> post<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['pid']>0){?> photo<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['alid']>0){?> album<?php }?>
<?php }?>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('no')->value['do']==1){?>
commented on <?php if ($_smarty_tpl->getVariable('no')->value['who']==$_smarty_tpl->getVariable('userlog')->value['id']){?>your<?php }else{ ?><?php echo $_smarty_tpl->getVariable('no')->value['whoname'];?>
's<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['wid']>0){?> post<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['pid']>0){?> photo<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['alid']>0){?> album<?php }?>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('no')->value['do']==3){?>
posted on your wall
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('no')->value['do']==4){?>
accepted your friend request
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('no')->value['uptm']==0){?>
</a>
</div>
<?php }else{ ?>
<hr/>
<?php }?>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('update')->value){?>
<div class="notify">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;do=abt&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"getting_started"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('friend')->value){?>
<?php  $_smarty_tpl->tpl_vars['fr'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['frID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('friendrequest')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['fr']->key => $_smarty_tpl->tpl_vars['fr']->value){
 $_smarty_tpl->tpl_vars['frID']->value = $_smarty_tpl->tpl_vars['fr']->key;
?>
<div class="notify">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('fr')->value['userid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('fr')->value['user'];?>
</a> <?php echo Lang(array('p'=>"want_friend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;id=<?php echo $_smarty_tpl->getVariable('fr')->value['userid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"confirm"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> &nbsp; <a href=""><?php echo Lang(array('p'=>"reject"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }} ?>
<?php }?>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=hme&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
<div class="shade">
<?php echo Lang(array('p'=>"whats_on_your_mind"),$_smarty_tpl->smarty,$_smarty_tpl);?>
?<br/>
<textarea name="post" cols="30" rows="3"></textarea>
<input type="submit" class="login" style="vertical-align: top;" value="<?php echo Lang(array('p'=>"share"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
<br/>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=nfc&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"notifications"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> &nbsp; <a href=""><?php echo Lang(array('p'=>"pages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> &nbsp; 
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=gop&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"groups"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=dcs&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"discussion"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> 
</div>
</form>
<?php if ($_smarty_tpl->getVariable('Count')->value==0){?>
<div class="err">
<?php echo Lang(array('p'=>"no_feeds"),$_smarty_tpl->smarty,$_smarty_tpl);?>

</div>
<?php }?>
<?php  $_smarty_tpl->tpl_vars['fe'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['feedID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('feed')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['fe']->key => $_smarty_tpl->tpl_vars['fe']->value){
 $_smarty_tpl->tpl_vars['feedID']->value = $_smarty_tpl->tpl_vars['fe']->key;
?>
<div class="blank">
<div>
<b><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('fe')->value['userid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('fe')->value['username'];?>
</a>
<?php if ($_smarty_tpl->getVariable('fe')->value['shrid']){?></b> via <b><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('fe')->value['suserid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('fe')->value['suser'];?>
</a><?php }?>
<?php if ($_smarty_tpl->getVariable('fe')->value['grid']){?></b> &#187; <b><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=gop&amp;id=<?php echo $_smarty_tpl->getVariable('fe')->value['grid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('fe')->value['grname'];?>
</a><?php }?></b><br/>
<?php echo $_smarty_tpl->getVariable('fe')->value['message'];?>

</div>
<?php if ($_smarty_tpl->getVariable('fe')->value['shrid']){?>
<div>
<span style="color: #8f8f8f;"><?php echo $_smarty_tpl->getVariable('fe')->value['smessage'];?>
</span>
</div>
<?php }?>
<span style="color: #8f8f8f;"><?php echo $_smarty_tpl->getVariable('fe')->value['dtm'];?>
 ago</span> &nbsp;
<?php if ($_smarty_tpl->getVariable('fe')->value['like']>0){?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=cmt&amp;stid=<?php echo $_smarty_tpl->getVariable('feedID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('fe')->value['like']==1){?><?php echo $_smarty_tpl->getVariable('fe')->value['like'];?>
 <?php echo Lang(array('p'=>"like"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('fe')->value['like']>1){?><?php echo $_smarty_tpl->getVariable('fe')->value['like'];?>
 <?php echo Lang(array('p'=>"likes"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?><?php }?></a> &nbsp; <?php }?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=lke&amp;wid=<?php echo $_smarty_tpl->getVariable('feedID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('fe')->value['ulike']>0){?><?php echo Lang(array('p'=>"unlike"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"like"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?></a> &nbsp;
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=cmt&amp;stid=<?php echo $_smarty_tpl->getVariable('feedID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('fe')->value['comment']==0){?><?php echo Lang(array('p'=>"comment"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('fe')->value['comment']==1){?><?php echo $_smarty_tpl->getVariable('fe')->value['comment'];?>
 <?php echo Lang(array('p'=>"comment"),$_smarty_tpl->smarty,$_smarty_tpl);?>

<?php }else{ ?><?php if ($_smarty_tpl->getVariable('fe')->value['comment']>1){?><?php echo $_smarty_tpl->getVariable('fe')->value['comment'];?>
 <?php echo Lang(array('p'=>"comments"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?><?php }?><?php }?></a> &nbsp; 
<?php if ($_smarty_tpl->getVariable('fe')->value['userid']!=$_smarty_tpl->getVariable('userlog')->value['id']){?> &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=sae&amp;stid=<?php echo $_smarty_tpl->getVariable('feedID')->value;?>
"><?php echo Lang(array('p'=>"share"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a><?php }?><br/>
</div>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('older')->value){?>
<div class="shade">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=hme&amp;pg=<?php echo $_smarty_tpl->getVariable('older')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"see_more_feeds"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>