<div class="blocklogin"><div class="dbottom"><div class="dtop">
<div class="dcont">
<?php if(!empty($avatar['avatar'])):?><a href="<?php echo$Mainclass->vars['account_options_link']?>"><img style="float: left; margin-right: 10px; width: 40px;" src="<?php echo$avatar['avatar']?>" alt="<?php echo$Mainclass->Account->GetValue('name')?>" /></a><?php endif; ?>
<h5 style="padding-top: 4px;"><?php echo$Mainclass->lang['main']['hello']?><a href="<?php echo$Mainclass->vars['account_options_link']?>"><?php echo$Mainclass->Account->GetValue('name')?></a>!</h5>
<div><?php if($Mainclass->Permission->IsAdmin()):?><a href="<?php echo$Mainclass->services[1]['file']?>"><?php echo$Mainclass->lang['main']['adminka']?></a> | <?php endif; ?><a href="index.php?logout=true"><?php echo$Mainclass->lang['main']['exit']?></a>
</div>
<div class="clr"></div>
</div>
</div></div></div>
$Mainclass->Db->Query('SELECT COUNT(`id`) FROM `f_pm` WHERE `folder`=\'inbox\' AND
`user_id`=\''.$Mainclass->Account->GetValue('id').'\'',__file__,__line__);
$temp=$Mainclass->Db->Fetch_row();
$inbox_pm = $temp[0];
$Mainclass->Db->Free();
if(!$Mainclass->GCookie("pm_inbox")){
$Mainclass->SCookie("pm_inbox",$inbox_pm,365,true);
}else{
if($Mainclass->GCookie("pm_inbox") < $inbox_pm){
$inbox_pm = "<font color=\"red\">".$inbox_pm."</font>";
}
}
/////////////////////////////
$Mainclass->Db->Query('SELECT COUNT(`id`) FROM `f_pm` WHERE `folder`=\'outbox\' AND
`user_id`=\''.$Mainclass->Account->GetValue('id').'\'',__file__,__line__);
$temp=$Mainclass->Db->Fetch_row();
$outbox_pm = $temp[0];
$Mainclass->Db->Free();
<li><a href="/pm.html"><span>Сообщения (<?=$inbox_pm;?> | <?=$outbox_pm;?>)</span></a></li>
$Mainclass->Db->Query('SELECT COUNT(`id`) FROM `f_pm` WHERE `folder`=\'inbox\' AND
`user_id`=\''.$Mainclass->Account->GetValue('id').'\'',__file__,__line__);
$temp=$Mainclass->Db->Fetch_row();
$inbox_pm = $temp[0];
$Mainclass->Db->Free();
if(!$Mainclass->GCookie("pm_inbox")){
$Mainclass->SCookie("pm_inbox",$inbox_pm,365,true);
}else{
if($Mainclass->GCookie("pm_inbox") < $inbox_pm){
$inbox_pm = "<font color=\"red\">".$inbox_pm."</font>";
}
}
/////////////////////////////
$Mainclass->Db->Query('SELECT COUNT(`id`) FROM `f_pm` WHERE `folder`=\'outbox\' AND
`user_id`=\''.$Mainclass->Account->GetValue('id').'\'',__file__,__line__);
$temp=$Mainclass->Db->Fetch_row();
$outbox_pm = $temp[0];
$Mainclass->Db->Free();
<li><a href="/pm.html"><span>Сообщения (<?=$inbox_pm;?> | <?=$outbox_pm;?>)</span></a></li>
Произошла ошибка При выполнении запроса произошла ошибка: (error #1146) Table 'v_2793_soft.f_pm' doesn't exist
Адрес ошибки: /var/www/v-2793/data/www/programs.kz/gps/soft/templates/Uniel-MY/Static/login.php[7].Stay calm: the error has been written down - administrator will come soon and deal with the problem.