<?php
if(!defined('GAME'))
{
	die();
}

if($u->room['file']=='em/cp2') {
	if( date('H') >= 22 || date('H') < 6 ) { $nd = 'night'; }else{ $nd = 'day'; }
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250" valign="top">      
        <?php $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
    </td>
    <td width="230" valign="top" style="padding-top:19px;"><?php require_once('modules_data/stats_loc.php'); ?></td>
    <td valign="top"><div align="right">
      <table  border="0" cellpadding="0" cellspacing="0">
        <tr align="right" valign="top">
          <td>
                <?php
                if( $u->error != '' ) {
					if( $re != '' ) {
						$re .= '<br>';
					}
					$re .= $u->error;
				}
				if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
                <table width="500" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>
                    <div style="position:relative; cursor: pointer; width: 500px;" id="ione"><img src="//img.new-combats.tech/i/images/300x225/emerald/<?=$nd?>/em_bg2_1.jpg" id="img_ione" width="500" height="268"  border="1"/>
                      <div style="position: absolute; left: 4px; right: 0px; z-index: 1500; top: 5px;">
                      	<div id="frvrks" style="position:relative;"></div>
                      </div>
                      <div style="position: absolute; left: 16px; top: 202px; width: 41px; height: 14px; z-index: 910;"><img class="aFilter"  src="//img.new-combats.tech/i/images/300x225/emerald/<?=$nd?>/em_left.gif" width="41" height="14" <?php thisInfRm('7.180.0.386'); ?> /></div>
                      <div style="position: absolute; left: 438px; top: 202px; width: 41px; height: 14px; z-index: 910;"><img class="aFilter"  src="//img.new-combats.tech/i/images/300x225/emerald/<?=$nd?>/em_right.gif" width="41" height="14" <?php thisInfRm('7.180.0.xx'); ?> /></div>
                      <div style="position: absolute; left: 127px; top: 56px; width: 157px; height: 83px; z-index: 910;"><img class="aFilter"  src="//img.new-combats.tech/i/images/300x225/emerald/<?=$nd?>/em_casino.gif" width="157" height="83" <?php thisInfRm('7.180.0.388'); ?> /></div>
                      <div id="snow"></div>
                      <div id="snow"></div>
                      <?= $goline; ?>
                      <div id="buttons_on_image" style="cursor:pointer; position:absolute; bottom:5px; right:25px; font-weight:bold; color:#D8D8D8; font-size:10px;">
                     	 <?php
						 if( date('H') >= 22 || date('H') < 6 ) {
							 echo '<a style="color:#D8D8D8" style="cursor:pointer" onclick="top.useMagic(\'Нападение на персонажа\',\'night_atack\',\'pal_button8.gif\',1,\'main.php?nightatack=1\');">Напасть</a> &nbsp; ';
						 }
						 ?>
                         <a style="color:#D8D8D8" href="/forum/" target="_blank">Форум</a>
                      </div>
                    </div>
                    </td>
                  </tr>
                </table>   
                <div style="display:none; height:0px " id="moveto"></div>     
              <div align="right" style="padding: 3px;"></div></td>
          <td></td>
        </tr>
      </table>
      	<small>
        <HR>
        <strong>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
        <em>Администрация.</em></small> <BR>
       <?= $rowonmax; ?><BR>
        
      </div></td>
  </tr>
</table>
<?php
}

?>