107 lines
6.4 KiB
PHP
107 lines
6.4 KiB
PHP
|
<?
|
|||
|
if(!defined('GAME'))
|
|||
|
{
|
|||
|
die();
|
|||
|
}
|
|||
|
$tattack = '';
|
|||
|
|
|||
|
if($u->room['file']=='fe/cp')
|
|||
|
{
|
|||
|
if(date("H")>=6 && date("H")<22) {
|
|||
|
$now = 'day';
|
|||
|
} else { $now = 'night'; }
|
|||
|
if($u->info['level'] >= 4)
|
|||
|
{
|
|||
|
if(date("H")>=6 && date("H")<22)
|
|||
|
{
|
|||
|
$tattack = '<span onMouseMove="this.runtimeStyle.color = \'white\';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick=""><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 22 <20><> 6 <20>.</span>';
|
|||
|
} else {
|
|||
|
if(isset($_POST['attack']))
|
|||
|
{
|
|||
|
$magic->magicCentralAttack();
|
|||
|
}
|
|||
|
$tattack = '<span onMouseMove="this.runtimeStyle.color = \'white\';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="findlogin(\'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\',\'attack\',\'\',\'\');"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>';
|
|||
|
}
|
|||
|
}
|
|||
|
?>
|
|||
|
<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;"><? include('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>
|
|||
|
<? 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;" id="ione">
|
|||
|
<img src="https://img.new-combats.com/fallenearth/city.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
|
|||
|
<div id="buttons_on_image" style="cursor:pointer; font-weight:bold; color:#D8D8D8; font-size:10px;">
|
|||
|
<? echo $tattack; ?>
|
|||
|
|
|||
|
<span onMouseMove="this.runtimeStyle.color = 'white';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('https://new-combats.com/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>
|
|||
|
</div>
|
|||
|
<script language="javascript" type="text/javascript">
|
|||
|
<!--
|
|||
|
if(document.getElementById('ione'))
|
|||
|
{
|
|||
|
document.getElementById('ione').appendChild(document.getElementById('buttons_on_image'));
|
|||
|
document.getElementById('buttons_on_image').style.position = 'absolute';
|
|||
|
document.getElementById('buttons_on_image').style.bottom = '8px';
|
|||
|
document.getElementById('buttons_on_image').style.right = '23px';
|
|||
|
}else{
|
|||
|
document.getElementById('buttons_on_image').style.display = 'none';
|
|||
|
}
|
|||
|
-->
|
|||
|
</script>
|
|||
|
<style>
|
|||
|
.combats1, .combats2, .combats3, .combats4 {margin-top:0px}
|
|||
|
.combats1:hover {margin-top:-95px}
|
|||
|
.combats2:hover {margin-top:-45px}
|
|||
|
.combats3:hover {margin-top:-78px}
|
|||
|
.combats4:hover {margin-top:-42px}
|
|||
|
</style>
|
|||
|
<!-- <div style="position:absolute; left:166px; top:149px; width:27px; height:55px; z-index:99;"><img src="https://img.new-combats.com/i/images/300x225/capital/2pm.gif" width="27" height="55" title="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" /></div> -->
|
|||
|
<div style="position:absolute; left:345px; top:115px; width:60px; height:45px; overflow:hidden; z-index:94;"><img src="https://img.new-combats.com/fallenearth/fe_shop.png" alt="" width="60" class="combats2" height="90" <? thisInfRm('6.180.0.150'); ?> /></div>
|
|||
|
|
|||
|
<div style="position:absolute; left:425px; top:83px; width:51px; height:78px; overflow:hidden; z-index:94;"><img src="https://img.new-combats.com/fallenearth/fe_darkportal.png" alt="" width="51" class="combats3" height="156" <? thisInfRm('6.180.0.102'); ?> /></div>
|
|||
|
|
|||
|
<div style="position:absolute; left:125px; top:75px; width:59px; height:42px; overflow:hidden; z-index:94;"><img src="https://img.new-combats.com/fallenearth/fe_sclep.png" alt="" width="59" class="combats4" height="84" <? thisInfRm('6.180.0.103'); ?> /></div>
|
|||
|
|
|||
|
<div style="position:absolute; left:188px; top:19px; width:105px; height:95px; overflow:hidden; z-index:94;"><img src="https://img.new-combats.com/fallenearth/fe_club.png" alt="" width="105" class="combats1" height="190" <? thisInfRm('6.180.0.101'); ?> /></div>
|
|||
|
<div id="snow"></div>
|
|||
|
<? echo $goline; ?>
|
|||
|
</div>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<div style="display:none; height:0px " id="moveto"></div>
|
|||
|
<div align="right" style="padding: 3px;"><small>«<? echo $c['title3']; ?>» <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>, <b><? echo $u->info['login']; ?></b>.<br />
|
|||
|
</small></div></td>
|
|||
|
<td>
|
|||
|
<!-- <br /><span class="menutop"><nobr><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></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="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" type="button" name="combats2"><? } unset($hgo); ?>
|
|||
|
<INPUT id="forum" class="btn" onclick="window.open('https://new-combats.com/forum/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" type="button" name="forum">
|
|||
|
<INPUT class="btn" onclick="window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" type="button">
|
|||
|
<INPUT class="btn" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" type="button">
|
|||
|
<br />
|
|||
|
<strong><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</strong> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>", "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "<EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>". <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <U><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></U> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<BR>
|
|||
|
<em><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.</em></small> <BR>
|
|||
|
<? echo $rowonmax; ?><BR>
|
|||
|
|
|||
|
</div></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<?
|
|||
|
}
|
|||
|
|
|||
|
?>
|