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

Размер файла: 22.51Kb
<?php /* Smarty version Smarty3-b8, created on 2013-06-02 07:11:05
         compiled from "template/m/profile.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3163451aaf00966df91-36525076%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e5a39f160ae2b61e1bcca5d349288c2811bc1116' => 
    array (
      0 => 'template/m/profile.tpl',
      1 => 1369900780,
    ),
  ),
  'nocache_hash' => '3163451aaf00966df91-36525076',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('info')->value['id']){?>
<?php if ($_smarty_tpl->getVariable('do')->value=='abt'){?>
<?php if ($_smarty_tpl->getVariable('ok')->value){?>
<div class="auth"><?php echo Lang(array('p'=>"profile"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"updated"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"successful"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</div>
<?php }?>
<div class="blank">
<b><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('username')->value;?>
</a></b><br/>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=pho&amp;pid=<?php echo $_smarty_tpl->getVariable('info')->value['photo'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php }?>
<img src="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>?ac=tub&amp;img=<?php }?><?php echo $_smarty_tpl->getVariable('photo')->value;?>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>&amp;y=100&amp;x=150&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
<?php }?>" alt="<?php echo $_smarty_tpl->getVariable('info')->value['username'];?>
"/>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?></a><?php }?>
<?php if ($_smarty_tpl->getVariable('userlog')->value['id']!=$_smarty_tpl->getVariable('info')->value['id']){?>
<br/>
<a class="button" href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;mid=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><input type="button" class="blue" value="<?php echo Lang(array('p'=>"message"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"></a> 
<?php if ($_smarty_tpl->getVariable('accp')->value==0){?>
  <?php if ($_smarty_tpl->getVariable('pend')->value){?> <input type="button" class="login" value="<?php echo Lang(array('p'=>"friend_request_sent"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/> <?php }else{ ?>
  <?php if ($_smarty_tpl->getVariable('accp')->value==0){?> <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">
  <input type="button" class="green" value="<?php if ($_smarty_tpl->getVariable('conf')->value){?><?php echo Lang(array('p'=>"confirm_friend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"add_friend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?>"></a> <?php }?>
  <?php }?>
  <?php }?>
<?php }?>
<br/>
<b><?php echo Lang(array('p'=>"about"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
 &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=pho&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"photos"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
 &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;fid=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"friends"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;do=abt&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
<?php }?>
<div class="blank">
  <?php echo Lang(array('p'=>"gender"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
  <?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
  <input type="radio" name="gender" value="1"<?php if ($_smarty_tpl->getVariable('gen')->value==1){?> checked="checked"<?php }?>/>
  <?php echo Lang(array('p'=>"male"),$_smarty_tpl->smarty,$_smarty_tpl);?>

  <input type="radio" name="gender" value="2"<?php if ($_smarty_tpl->getVariable('gen')->value==2){?> checked="checked"<?php }?>/>
  <?php echo Lang(array('p'=>"female"),$_smarty_tpl->smarty,$_smarty_tpl);?>

  <?php }else{ ?>
  <?php if ($_smarty_tpl->getVariable('gen')->value==1){?>
  <b><?php echo Lang(array('p'=>"male"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
  <?php }else{ ?>
  <?php if ($_smarty_tpl->getVariable('gen')->value==2){?>
  <b><?php echo Lang(array('p'=>"female"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
  <?php }else{ ?>
  <b><?php echo Lang(array('p'=>"unavailable"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
  <?php }?>
  <?php }?>
  <?php }?><br/>
 <?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<?php echo Lang(array('p'=>"date_birth"),$_smarty_tpl->smarty,$_smarty_tpl);?>
: (<?php echo Lang(array('p'=>"mm"),$_smarty_tpl->smarty,$_smarty_tpl);?>
-<?php echo Lang(array('p'=>"dd"),$_smarty_tpl->smarty,$_smarty_tpl);?>
-<?php echo Lang(array('p'=>"yyyy"),$_smarty_tpl->smarty,$_smarty_tpl);?>
)<br/>
  <input type="text" class="num" name="m" maxlength="2" size="2" <?php if ($_smarty_tpl->getVariable('m')->value){?>value="<?php echo $_smarty_tpl->getVariable('m')->value;?>
"<?php }?>/>
  -
  <input type="text" class="num" name="d" maxlength="2" size="2" <?php if ($_smarty_tpl->getVariable('d')->value){?>value="<?php echo $_smarty_tpl->getVariable('d')->value;?>
"<?php }?>/>
  -
  <input type="text" class="num" name="y" maxlength="4" size="4" <?php if ($_smarty_tpl->getVariable('y')->value){?>value="<?php echo $_smarty_tpl->getVariable('y')->value;?>
"<?php }?>/>
  <?php }else{ ?>
<?php echo Lang(array('p'=>"age"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
<b><?php if ($_smarty_tpl->getVariable('age')->value){?><?php echo $_smarty_tpl->getVariable('age')->value;?>
<?php }else{ ?><?php echo Lang(array('p'=>"unavailable"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?></b>
  <?php }?>
  <br/>
<?php echo Lang(array('p'=>"country"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<input type="text" name="country"<?php if ($_smarty_tpl->getVariable('country')->value){?> value="<?php echo $_smarty_tpl->getVariable('country')->value;?>
"<?php }?>/>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('country')->value){?>
<b><?php echo $_smarty_tpl->getVariable('country')->value;?>
</b>
<?php }else{ ?>
<b><?php echo Lang(array('p'=>"unavailable"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
<?php }?>
<?php }?>
</div>
<div class="blank">
<?php echo Lang(array('p'=>"relationship"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<select name="relationship">
<option value="0"<?php if ($_smarty_tpl->getVariable('relationship')->value==0){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"none"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="1"<?php if ($_smarty_tpl->getVariable('relationship')->value==1){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"single"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="2"<?php if ($_smarty_tpl->getVariable('relationship')->value==2){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"it_complicated"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="3"<?php if ($_smarty_tpl->getVariable('relationship')->value==3){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"in_relationship"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="4"<?php if ($_smarty_tpl->getVariable('relationship')->value==4){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"in_open_relationship"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="5"<?php if ($_smarty_tpl->getVariable('relationship')->value==5){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"engaged"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="6"<?php if ($_smarty_tpl->getVariable('relationship')->value==6){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"married"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="7"<?php if ($_smarty_tpl->getVariable('relationship')->value==7){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"divorce"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="8"<?php if ($_smarty_tpl->getVariable('relationship')->value==8){?> selected="selected"<?php }?>><?php echo Lang(array('p'=>"widowed"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
</select>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==0){?><b><?php echo Lang(array('p'=>"none"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==1){?><b><?php echo Lang(array('p'=>"single"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==2){?><b><?php echo Lang(array('p'=>"it_complicated"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==3){?><b><?php echo Lang(array('p'=>"in_relationship"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==4){?><b><?php echo Lang(array('p'=>"in_open_relationship"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==5){?><b><?php echo Lang(array('p'=>"engaged"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==6){?><b><?php echo Lang(array('p'=>"married"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==7){?><b><?php echo Lang(array('p'=>"divorce"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('relationship')->value==8){?><b><?php echo Lang(array('p'=>"widowed"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?>
<?php }?><br/>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<?php echo Lang(array('p'=>"with"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:(<?php echo Lang(array('p'=>"not_single"),$_smarty_tpl->smarty,$_smarty_tpl);?>
)<br/>
<input type="text" name="with"/><br/>
<?php }?>
<?php echo Lang(array('p'=>"interested_in"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
  <input type="radio" name="interested" value="1"<?php if ($_smarty_tpl->getVariable('se')->value==1){?> checked="checked"<?php }?>/>
  <?php echo Lang(array('p'=>"male"),$_smarty_tpl->smarty,$_smarty_tpl);?>

  <input type="radio" name="interested"<?php if ($_smarty_tpl->getVariable('se')->value==2){?> checked="checked"<?php }?> value="2"/>
  <?php echo Lang(array('p'=>"female"),$_smarty_tpl->smarty,$_smarty_tpl);?>

  <input type="radio" name="interested"<?php if ($_smarty_tpl->getVariable('se')->value==3){?> checked="checked"<?php }?> value="3"/>
  <?php echo Lang(array('p'=>"other"),$_smarty_tpl->smarty,$_smarty_tpl);?>

 <?php }else{ ?>
 <?php if ($_smarty_tpl->getVariable('se')->value==1){?><b><?php echo Lang(array('p'=>"male"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
 <?php if ($_smarty_tpl->getVariable('se')->value==2){?><b><?php echo Lang(array('p'=>"female"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
 <?php if ($_smarty_tpl->getVariable('se')->value==3){?><b><?php echo Lang(array('p'=>"other"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b><?php }else{ ?>
 <b><?php echo Lang(array('p'=>"unavailable"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
 <?php }?>
 <?php }?>
 <?php }?>
 <?php }?><br/>
<?php echo Lang(array('p'=>"about"),$_smarty_tpl->smarty,$_smarty_tpl);?>
:<br/>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<textarea name="about" cols="30" rows="3"><?php echo $_smarty_tpl->getVariable('about')->value;?>
</textarea>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('about')->value){?>
<i><?php echo $_smarty_tpl->getVariable('about')->value;?>
</i>
<?php }else{ ?>
<b><?php echo Lang(array('p'=>"unavailable"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
<input type="submit" class="register" style="vertical-align: top;" value="<?php echo Lang(array('p'=>"update"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
<?php }?>
</div>
<?php if ($_smarty_tpl->getVariable('info')->value['id']==$_smarty_tpl->getVariable('userlog')->value['id']){?>
</form>
<?php }?>
<?php }else{ ?>
<div class="blank">
<b><?php echo $_smarty_tpl->getVariable('username')->value;?>
</b><br/>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=pho&amp;pid=<?php echo $_smarty_tpl->getVariable('info')->value['photo'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php }?>
<img src="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>?ac=tub&amp;img=<?php }?><?php echo $_smarty_tpl->getVariable('photo')->value;?>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?>&amp;y=100&amp;x=150&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
<?php }?>" alt="<?php echo $_smarty_tpl->getVariable('info')->value['username'];?>
"/>
<?php if ($_smarty_tpl->getVariable('info')->value['photo']>0){?></a><?php }?>
<div>
<?php if ($_smarty_tpl->getVariable('userlog')->value['id']!=$_smarty_tpl->getVariable('info')->value['id']){?>
<a class="button" href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;mid=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><input type="button" class="blue" value="<?php echo Lang(array('p'=>"message"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a> 
  <?php if ($_smarty_tpl->getVariable('pend')->value){?> <input type="button" class="login" value="<?php echo Lang(array('p'=>"friend_request_sent"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/> <?php }else{ ?>
  <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">
  <input type="button" class="green" value="<?php if ($_smarty_tpl->getVariable('conf')->value){?><?php echo Lang(array('p'=>"confirm_friend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('accp')->value){?><?php echo Lang(array('p'=>"unfriend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"add_friend"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?><?php }?>"/></a>
  <?php }?>
<?php }?>
</div>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;do=abt&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"about"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
 &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=pho&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"photos"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
 &nbsp; <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;fid=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"friends"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
<div class="shader">
  <?php if ($_smarty_tpl->getVariable('userlog')->value['id']!=$_smarty_tpl->getVariable('info')->value['id']){?><?php echo $_smarty_tpl->getVariable('on_wall')->value;?>
...<?php }else{ ?><?php echo Lang(array('p'=>"whats_on_your_mind"),$_smarty_tpl->smarty,$_smarty_tpl);?>
?<?php }?><br/>
  <textarea name="post" cols="30" rows="3"></textarea>
  <input type="submit" class="login" style="vertical-align: top;" value="<?php if ($_smarty_tpl->getVariable('userlog')->value['id']!=$_smarty_tpl->getVariable('info')->value['id']){?><?php echo Lang(array('p'=>"post"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"share"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?>"/>
  </div>
</form>
<?php if ($_smarty_tpl->getVariable('Count')->value==0){?>
<div class="error">
<?php echo Lang(array('p'=>"no_feeds"),$_smarty_tpl->smarty,$_smarty_tpl);?>

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

</div>
<?php if ($_smarty_tpl->getVariable('wa')->value['shrid']){?>
<div class="red">
<span style="color: #8f8f8f"><?php echo $_smarty_tpl->getVariable('wa')->value['smessage'];?>
</span>
</div>
<?php }?>
<span style="color: #8f8f8f"><?php echo $_smarty_tpl->getVariable('wa')->value['dtm'];?>
 ago</span> &nbsp;
<?php if ($_smarty_tpl->getVariable('wa')->value['like']>0){?>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=cmt&amp;stid=<?php echo $_smarty_tpl->getVariable('wallID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('wa')->value['like']==1){?><?php echo $_smarty_tpl->getVariable('wa')->value['like'];?>
 <?php echo Lang(array('p'=>"like"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('wa')->value['like']>1){?><?php echo $_smarty_tpl->getVariable('wa')->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('wallID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('wa')->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('wallID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php if ($_smarty_tpl->getVariable('wa')->value['comment']==0){?><?php echo Lang(array('p'=>"comment"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php if ($_smarty_tpl->getVariable('wa')->value['comment']==1){?><?php echo $_smarty_tpl->getVariable('wa')->value['comment'];?>
 <?php echo Lang(array('p'=>"comment"),$_smarty_tpl->smarty,$_smarty_tpl);?>

<?php }else{ ?><?php if ($_smarty_tpl->getVariable('wa')->value['comment']>1){?><?php echo $_smarty_tpl->getVariable('wa')->value['comment'];?>
 <?php echo Lang(array('p'=>"comments"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?><?php }?><?php }?></a> &nbsp; 
<?php if ($_smarty_tpl->getVariable('wa')->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('wallID')->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="box">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
&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_post"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>
<?php }?>
<?php }else{ ?>
<div class="err"><?php echo Lang(array('p'=>"user_not_found"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</div>
<?php }?>