Просмотр файла template_c/418c92295435eae3e31b03610886cba47eccec95.file.message.tpl.php

Размер файла: 18.77Kb
<?php /* Smarty version Smarty3-b8, created on 2013-05-30 08:00:15
         compiled from "template/m/message.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1591651a7070f4e7162-18352341%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '418c92295435eae3e31b03610886cba47eccec95' => 
    array (
      0 => 'template/m/message.tpl',
      1 => 1369900809,
    ),
  ),
  'nocache_hash' => '1591651a7070f4e7162-18352341',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('composelist')->value){?>
<div class="shade"><b><?php echo Lang(array('p'=>"recipients"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;do=cme&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
<input type="text" name="q"/>
<input type="submit" class="login" value="<?php echo Lang(array('p'=>"search"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
</form>
</div>
<?php  $_smarty_tpl->tpl_vars['cm'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['cmID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('cme')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['cm']->key => $_smarty_tpl->tpl_vars['cm']->value){
 $_smarty_tpl->tpl_vars['cmID']->value = $_smarty_tpl->tpl_vars['cm']->key;
?>
<div class="blank">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('cmID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">
<img src="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
<?php if ($_smarty_tpl->getVariable('cm')->value['photo']>0){?>?ac=tub&amp;img=<?php }?><?php echo $_smarty_tpl->getVariable('cm')->value['url'];?>
<?php if ($_smarty_tpl->getVariable('cm')->value['photo']>0){?>&amp;y=50&amp;x=50&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
<?php }?>" 
class="search" alt="<?php echo $_smarty_tpl->getVariable('cm')->value['username'];?>
"/> 
<?php echo $_smarty_tpl->getVariable('cm')->value['username'];?>
</a> 
<?php if ($_smarty_tpl->getVariable('userlog')->value['id']!=$_smarty_tpl->getVariable('cmID')->value){?>
<?php if ($_smarty_tpl->getVariable('cm')->value['friend']==3){?> 
<a style="float: right; margin-right: 10px; margin-top: 10px;" href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;do=cme&amp;mid=<?php if ($_smarty_tpl->getVariable('id')->value){?><?php echo $_smarty_tpl->getVariable('id')->value;?>
,<?php }?><?php echo $_smarty_tpl->getVariable('cmID')->value;?>
&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 }?>
<?php if ($_smarty_tpl->getVariable('cm')->value['friend']==0){?> 
<a style="float: right; margin-right: 10px; margin-top: 10px;" href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=fnd&amp;id=<?php echo $_smarty_tpl->getVariable('cmID')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">
<input type="button" class="green"  value="<?php echo Lang(array('p'=>"add"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a>
<?php }?>
<?php }?>
</div>
<?php }} ?>
<?php }else{ ?>
<?php if ($_smarty_tpl->getVariable('id')->value){?>
	<?php if ($_smarty_tpl->getVariable('msg')->value){?>
<div class="error"><?php echo $_smarty_tpl->getVariable('msg')->value;?>
</div>
	<?php }?>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('select')->value){?>&amp;do=3<?php }?><?php if ($_smarty_tpl->getVariable('compose')->value){?>&amp;do=cme<?php }?>&amp;mid=<?php echo $_smarty_tpl->getVariable('id')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
  <?php if (!$_smarty_tpl->getVariable('select')->value){?>
  <?php if ($_smarty_tpl->getVariable('Count')->value==0){?>
  <div class="shade"> <?php echo Lang(array('p'=>"write_message"),$_smarty_tpl->smarty,$_smarty_tpl);?>
...<br/>
  <?php }else{ ?>
  <div class="shade">
  <?php  $_smarty_tpl->tpl_vars['con'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['conID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('convo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['con']->key => $_smarty_tpl->tpl_vars['con']->value){
 $_smarty_tpl->tpl_vars['conID']->value = $_smarty_tpl->tpl_vars['con']->key;
?>
  <b><?php echo $_smarty_tpl->getVariable('con')->value['name'];?>
<?php if ($_smarty_tpl->getVariable('cnv')->value>0){?><?php if ($_smarty_tpl->getVariable('con')->value['amount']==1){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php }?><?php if ($_smarty_tpl->getVariable('con')->value['amount']==2){?>, <?php }?><?php if ($_smarty_tpl->getVariable('con')->value['amount']>2){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 
  <a href=""><?php echo $_smarty_tpl->getVariable('con')->value['amoun'];?>
 <?php echo Lang(array('p'=>"others"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a><?php }?><?php }?></b>
  <?php }} ?><br/>
  <?php }?>
  <textarea name="message" cols="30" rows="3"></textarea>
  <input type="submit" style="vertical-align: top;" class="login" value="<?php if ($_smarty_tpl->getVariable('Count')->value){?><?php echo Lang(array('p'=>"reply"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"send"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?>"/>
  </div>
  <?php if ($_smarty_tpl->getVariable('Count')->value==0){?>
  <div class="shader">
  <?php  $_smarty_tpl->tpl_vars['con'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['conID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('convo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['con']->key => $_smarty_tpl->tpl_vars['con']->value){
 $_smarty_tpl->tpl_vars['conID']->value = $_smarty_tpl->tpl_vars['con']->key;
?>
  <b><?php echo $_smarty_tpl->getVariable('con')->value['name'];?>
<?php if ($_smarty_tpl->getVariable('cnvo')->value>1){?><?php if ($_smarty_tpl->getVariable('con')->value['amount']==1){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php }?><?php if ($_smarty_tpl->getVariable('con')->value['amount']==2){?>, <?php }?><?php if ($_smarty_tpl->getVariable('con')->value['amount']>2){?> <?php echo Lang(array('p'=>"and"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 
  <a href=""><?php echo $_smarty_tpl->getVariable('con')->value['amoun'];?>
 <?php echo Lang(array('p'=>"others"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a><?php }?><?php }?></b>
  <?php }} ?><br/>
  <?php if ($_smarty_tpl->getVariable('compose')->value){?><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;do=cme&amp;v=add<?php if ($_smarty_tpl->getVariable('id')->value){?>&amp;mid=<?php echo $_smarty_tpl->getVariable('id')->value;?>
<?php }?>&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">Add recipient</a><?php }?>
  </div>
  <?php }?>
</form>
<?php }?>
<?php if ($_smarty_tpl->getVariable('newer')->value){?>
<div class="shade">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('select')->value){?>&amp;do=3<?php }?><?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;mid=<?php echo $_smarty_tpl->getVariable('id')->value;?>
&amp;pg=<?php echo $_smarty_tpl->getVariable('newer')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
">
<?php echo Lang(array('p'=>"see_newer_messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>
<?php  $_smarty_tpl->tpl_vars['mes'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['messID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mess')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mes']->key => $_smarty_tpl->tpl_vars['mes']->value){
 $_smarty_tpl->tpl_vars['messID']->value = $_smarty_tpl->tpl_vars['mes']->key;
?>
<div class="<?php ob_start();?><?php echo $_smarty_tpl->getVariable('userlog')->value['id'];?>
<?php $_tmp1=ob_get_clean();?><?php if ($_smarty_tpl->getVariable('mes')->value['to']==$_tmp1){?>comment<?php }else{ ?>shader<?php }?>">
<?php if ($_smarty_tpl->getVariable('select')->value){?>
<input type="checkbox" name="sel[]" value="<?php echo $_smarty_tpl->getVariable('messID')->value;?>
" />
<?php }?>
<?php if ($_smarty_tpl->getVariable('select')->value){?>
<span style="padding-left: 5px;">
<?php }?>
<b><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=prf&amp;id=<?php echo $_smarty_tpl->getVariable('mes')->value['from'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('mes')->value['from_name'];?>
</a></b>
<?php if ($_smarty_tpl->getVariable('select')->value){?>
</span>
<?php }?>
<?php if ($_smarty_tpl->getVariable('select')->value){?>
<span style="padding-left: 25px;">
<?php }?>
<?php echo $_smarty_tpl->getVariable('mes')->value['message'];?>

<?php if ($_smarty_tpl->getVariable('select')->value){?>
</span><?php }?>
<br/>
<span style="color: #8f8f8f;">
<?php if ($_smarty_tpl->getVariable('select')->value){?><span style="padding-left: 25px;"><?php }?>
<?php echo $_smarty_tpl->getVariable('mes')->value['time'];?>
 <?php echo Lang(array('p'=>"ago"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php if ($_smarty_tpl->getVariable('mes')->value['seen']){?> &#183; <?php echo Lang(array('p'=>"seen"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo $_smarty_tpl->getVariable('mes')->value['seen'];?>
<?php }?><?php if ($_smarty_tpl->getVariable('select')->value){?></span><?php }?></span>
</div>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('older')->value){?>
<div class="shade">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('select')->value){?>&amp;do=3<?php }?><?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;mid=<?php echo $_smarty_tpl->getVariable('id')->value;?>
&amp;pg=<?php echo $_smarty_tpl->getVariable('older')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"see_older_messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> </div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('select')->value){?>
<div class="blank">
<input type="submit" class="register" value="<?php echo Lang(array('p'=>"delete"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/> 
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;id=<?php echo $_smarty_tpl->getVariable('id')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><input type="button" class="login" value="<?php echo Lang(array('p'=>"cancel"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/></a>
</div>
</form>
<?php }?>
<?php if (!$_smarty_tpl->getVariable('select')->value){?>
<?php if ($_smarty_tpl->getVariable('Count')->value){?>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;mid=<?php echo $_smarty_tpl->getVariable('id')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
<div class="blank">
<select name="do">
<option selected="selected"><?php echo Lang(array('p'=>"choose_an_action"),$_smarty_tpl->smarty,$_smarty_tpl);?>
...</option>
<option value="1"><?php echo Lang(array('p'=>"mark"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"unread"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="2"><?php echo Lang(array('p'=>"delete"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="3"><?php echo Lang(array('p'=>"delete"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"selected"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="4"><?php echo Lang(array('p'=>"move_to"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php if ($_smarty_tpl->getVariable('type')->value==2){?><?php echo Lang(array('p'=>"inbox"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"other"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?></option>
<option value="5"><?php if ($_smarty_tpl->getVariable('type')->value==3){?><?php echo Lang(array('p'=>"unarchive"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"archive"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?></option>
<option value="6"><?php echo Lang(array('p'=>"report"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"spam"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"OR"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"abuse"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
<option value="7"><?php echo Lang(array('p'=>"forward"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</option>
</select>
<input type="submit" class="register" value="<?php echo Lang(array('p'=>"apply"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
</div>
</form>
<?php }?>
<?php }?>
<?php }else{ ?>
<div class="shade"><b><?php echo Lang(array('p'=>"messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</b>
<form action="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
" method="post">
  <input type="text" name="q" maxlength="32"<?php if ($_smarty_tpl->getVariable('search')->value){?> value="<?php echo $_smarty_tpl->getVariable('search')->value;?>
"<?php }?>/>
  <input type="submit" class="login" value="<?php echo Lang(array('p'=>"search"),$_smarty_tpl->smarty,$_smarty_tpl);?>
"/>
</form>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;do=cme&amp;v=add&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"compose"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php echo Lang(array('p'=>"message"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> </div>
<?php if ($_smarty_tpl->getVariable('nomess')->value){?>
<div class="error"> <?php echo Lang(array('p'=>"no_messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 </div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('newer')->value){?>
<div class="shader"> <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?><?php if ($_smarty_tpl->getVariable('search')->value){?>&amp;q=<?php echo $_smarty_tpl->getVariable('search')->value;?>
<?php }?>&amp;pg=<?php echo $_smarty_tpl->getVariable('newer')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"see_newer_messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>
<?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['inID'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('in')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){
 $_smarty_tpl->tpl_vars['inID']->value = $_smarty_tpl->tpl_vars['i']->key;
?>
<div class="<?php if ($_smarty_tpl->getVariable('i')->value['uptm']==0){?>comment<?php }else{ ?>blank<?php }?>">
<?php if ($_smarty_tpl->getVariable('i')->value['uptm']==0){?><b><?php }?><a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?>&amp;mid=<?php echo $_smarty_tpl->getVariable('i')->value['mid'];?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo $_smarty_tpl->getVariable('i')->value['from_name'];?>
</a><?php if ($_smarty_tpl->getVariable('i')->value['uptm']==0){?></b><?php }?>
<br/>
<?php echo $_smarty_tpl->getVariable('i')->value['message'];?>
<br/>
<span style="color: #8f8f8f;"><?php echo $_smarty_tpl->getVariable('i')->value['time'];?>
 <?php echo Lang(array('p'=>"ago"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</span>
</div>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('older')->value){?>
<div class="shader"> <a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg<?php if ($_smarty_tpl->getVariable('type')->value){?>&amp;type=<?php echo $_smarty_tpl->getVariable('type')->value;?>
<?php }?><?php if ($_smarty_tpl->getVariable('search')->value){?>&amp;q=<?php echo $_smarty_tpl->getVariable('search')->value;?>
<?php }?>&amp;pg=<?php echo $_smarty_tpl->getVariable('older')->value;?>
&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"see_older_messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a> </div>
	<?php }?>
<div class="shade">
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;type=<?php if ($_smarty_tpl->getVariable('type')->value==2){?>0<?php }else{ ?>2<?php }?>&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"view"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php if ($_smarty_tpl->getVariable('type')->value==2){?><?php echo Lang(array('p'=>"inbox"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"other"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?> <?php echo Lang(array('p'=>"messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a><br/>
<a href="<?php echo $_smarty_tpl->getVariable('selfurl')->value;?>
?ac=msg&amp;type=<?php if ($_smarty_tpl->getVariable('type')->value==3){?>0<?php }else{ ?>3<?php }?>&amp;sid=<?php echo $_smarty_tpl->getVariable('sid')->value;?>
"><?php echo Lang(array('p'=>"view"),$_smarty_tpl->smarty,$_smarty_tpl);?>
 <?php if ($_smarty_tpl->getVariable('type')->value==3){?><?php echo Lang(array('p'=>"inbox"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }else{ ?><?php echo Lang(array('p'=>"archived"),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?> <?php echo Lang(array('p'=>"messages"),$_smarty_tpl->smarty,$_smarty_tpl);?>
</a>
</div>
<?php }?>
<?php }?>