Init.
This commit is contained in:
68
towerlog.php
Normal file
68
towerlog.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?
|
||||
define('GAME',true);
|
||||
include('_incl_data/__config.php');
|
||||
include('_incl_data/class/__db_connect.php');
|
||||
include('_incl_data/class/__user.php');
|
||||
|
||||
$r = ''; $p = ''; $b = '<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td valign="bottom" nowrap="" title=""><input onClick="location=location;" style="padding:5px;" type="submit" name="analiz2" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
if( !isset($_GET['towerid'])) {
|
||||
$_GET['towerid'] = 1;
|
||||
}
|
||||
$_GET['towerid'] = round((int)$_GET['towerid']);
|
||||
$notowerlog = false;
|
||||
$log = mysql_fetch_array(mysql_query('SELECT `id`,`count_bs`,`m` FROM `bs_logs` WHERE `count_bs` = "'.mysql_real_escape_string((int)$_GET['id']).'" AND `id_bs` = "'.mysql_real_escape_string($_GET['towerid']).'" ORDER BY `id` ASC LIMIT 1'));
|
||||
if(!isset($log['id']))
|
||||
{
|
||||
$notowerlog = true;
|
||||
$r = '<br><br><center><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ...</center>';
|
||||
}else{
|
||||
$sp = mysql_query('SELECT * FROM `bs_logs` WHERE `count_bs` = "'.$log['count_bs'].'" ORDER BY `id` ASC');
|
||||
while( $pl = mysql_fetch_array($sp) ) {
|
||||
$datesb = '';
|
||||
if( $pl['type'] == 2 ) {
|
||||
$datesb = '2';
|
||||
}
|
||||
$r .= '<br><span class="date'.$datesb.'">'.date('d.m.y H:i',$pl['time']).'</span> '.$pl['text'].'';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
|
||||
<title><3E><><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></title>
|
||||
<script src="https://img.new-combats.com/js/Lite/gameEngine.js" type="text/javascript"></script>
|
||||
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
|
||||
<style type="text/css">
|
||||
h3 {
|
||||
text-align: center;
|
||||
}
|
||||
.CSSteam { font-weight: bold; cursor:pointer; }
|
||||
.CSSteam0 { font-weight: bold; cursor:pointer; }
|
||||
.CSSteam1 { font-weight: bold; color: #6666CC; cursor:pointer; }
|
||||
.CSSteam2 { font-weight: bold; color: #B06A00; cursor:pointer; }
|
||||
.CSSteam3 { font-weight: bold; color: #269088; cursor:pointer; }
|
||||
.CSSteam4 { font-weight: bold; color: #A0AF20; cursor:pointer; }
|
||||
.CSSteam5 { font-weight: bold; color: #0F79D3; cursor:pointer; }
|
||||
.CSSteam6 { font-weight: bold; color: #D85E23; cursor:pointer; }
|
||||
.CSSteam7 { font-weight: bold; color: #5C832F; cursor:pointer; }
|
||||
.CSSteam8 { font-weight: bold; color: #842B61; cursor:pointer; }
|
||||
.CSSteam9 { font-weight: bold; color: navy; cursor:pointer; }
|
||||
.CSSvs { font-weight: bold; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#E2E0E0">
|
||||
<H3> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <a href="https://www.new-combats.com/">www.new-combats.com</a></H3>
|
||||
<? if( $notowerlog == false ) { ?>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>: <b><?=$log['m']?> <20><>.</b>
|
||||
<? }
|
||||
echo $r; ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user