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

if($u->room['file']=='bk'){
?><script type="text/javascript" src="/js/jquery.locations.js"></script>
<link href="/css/fightclub.css" rel="stylesheet" type="text/css">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250" valign="top">      
        <? $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;"><? require_once('modules_data/stats_loc.php'); ?></td>
	<td valign="top"><div align="right">
      <? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
      <table  border="0" cellpadding="0" cellspacing="0">
        <tr align="right" valign="top">
          <td>
                <? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
                <table width="500" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td id="ViewLocation"><?php
                    if($u->info['login'] == 'mZer0ne'){
					?><script><?php
					require_once('modules/location/fight-club.database.php');
					?>
					var json = <?php echo json_encode($Response); ?>;
					var tgo = <?php echo ($tmGo*10); ?>;
					var tgol = <?php echo ($tmGol*10); ?>;
					ViewLocation(json);
					</script><?php
					}else{
					?>
                    <div style="position:relative; cursor: pointer; width: 500;" id="ione"><img src="https://img.new-combats.com/i/images/300x225/club/navig.jpg" id="img_ione" width="500" height="240"  border="1"/>
					 
                      <div style="position:absolute; left:241px; top:128px; width:16px; height:18px; z-index:90;"><img src="https://img.new-combats.com/i/images/300x225/fl1.gif" width="16" height="18" title="�� ���������� � '<? echo $u->room['name']; ?>'" /></div>
                      
                      <div style="position:absolute; left:184px; top:94px; width:120px; height:35px; z-index:90;"><img src="https://img.new-combats.com/i/images/300x225/map_bk.gif" width="120" height="35" title="" class="aFilter" /></div>
					  
					  <div style="position:absolute; left:329px; top:111px; width:107px; height:15px; z-index:90;"><img   <? thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';"  src="https://img.new-combats.com/i/images/300x225/map_demon2.gif" width="107" height="15"  class="aFilter" /></div>
                      
                      <div style="position:absolute; left:66px; top:114px; width:56px; height:13px; z-index:90;"><img   <? thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';"  src="https://img.new-combats.com/i/images/300x225/map_klub1.gif" width="56" height="13"  class="aFilter" /></div>
                      <div style="position:absolute; left:216px; top:41px; width:58px; height:49px; z-index:90;"><img   <? thisInfRm('1.180.0.222'); ?> onClick="location='main.php?loc=1.180.0.222';"  src="https://img.new-combats.com/i/images/300x225/map_klub2.gif" width="58" height="49"  class="aFilter" /></div>
                      <div style="position:absolute; left:312px; top:168px; width:123px; height:31px; z-index:90;"><img <? thisInfRm('1.180.0.2'); ?> onClick="location='main.php?loc=1.180.0.2';" src="https://img.new-combats.com/i/images/300x225/map_zalu1.gif" width="123" height="31" title="" class="aFilter" /></div>
                      <div style="position:absolute; left:59px; top:169px; width:123px; height:31px; z-index:90;"><img  <? thisInfRm('1.180.0.4'); ?> onClick="location='main.php?loc=1.180.0.4';"  src="https://img.new-combats.com/i/images/300x225/map_klub4.gif" width="123" height="31"  class="aFilter" /></div>
					  <div style="position:absolute; left:312px; top:48px; width:123px; height:30px; z-index:90;"><img  <? thisInfRm('1.180.0.5'); ?> onClick="location='main.php?loc=1.180.0.5';"  src="https://img.new-combats.com/i/images/300x225/map_zalu2.gif" width="123" height="30"  class="aFilter"  /></div>
                      <div style="position:absolute; left:52px; top:47px; width:123px; height:30px; z-index:90;"><img <? thisInfRm('1.180.0.16'); ?> onClick="location='main.php?loc=1.180.0.16';" src="https://img.new-combats.com/i/images/300x225/map_klub5-1.gif" width="123" height="30"  class="aFilter" /></div>
					  <div style="position:absolute; left:196px; top:148px; width:103px; height:47px; z-index:90;"><img <? thisInfRm('1.180.0.9'); ?> onClick="location='main.php?loc=1.180.0.9';"  src="https://img.new-combats.com/i/images/300x225/map_klub7.gif" width="103" height="47"  class="aFilter" /></div>
					  <div id="snow"></div>
                      <? echo $goline; ?>
                    </div>
                    <?php } ?>
                    </td>
                  </tr>
                </table>   
              <div style="display:none; height:0px " id="moveto"></div>    
			  <INPUT class="btn" onclick="window.open('/forum?read=863&rnd=1', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="��������� ��� ��������" style="color:red;" type="button">

            </small></div></td>
          <td>
              <!-- <br /><span class="menutop"><nobr>������� ��� ��������</nobr></span>-->
          </td>
        </tr>
      </table>
      	<small>
        <HR>

		  <? $hgo = $u->testHome(); if(!isset($hgo['id'])){ ?><INPUT onclick="location.href='main.php?homeworld=<? echo $code; ?>';" class="btn" value="�������" type="button" name="combats2"><? } unset($hgo); ?>
          <input <? thisInfRm('1.180.0.225'); ?> onClick="location='main.php?loc=1.180.0.225';" class="btn" value="������" type="button" name="combats" />
        <br />
        <strong>��������!������� ������ �� ����������,������� �� ������������� ����� � �������� ��������,��� ���������� ������ ��������� �� ������.<BR>
        <em>�������������.</strong> </em></small> <BR>
        <? echo $rowonmax; ?><BR>
        
      </div></td>
  </tr>
</table>
<?php
}