89 lines
2.6 KiB
PHP
89 lines
2.6 KiB
PHP
<?php
|
|
define('GAME',true);
|
|
|
|
include('_incl_data/__config.php');
|
|
include('_incl_data/class/__db_connect.php');
|
|
include('_incl_data/class/__chat_class.php');
|
|
include('_incl_data/class/__filter_class.php');
|
|
include('_incl_data/class/__user.php');
|
|
|
|
if(isset($_GET['upg'])) {
|
|
$sp = mysql_query('SELECT * FROM `items_main` WHERE `price1` = 0');
|
|
while( $pl = mysql_fetch_array($sp) ) {
|
|
$pl2 = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_prc` WHERE `id` = "'.$pl['id'].'" LIMIT 1'));
|
|
if( $pl2['price1'] != $pl['price1'] ) {
|
|
mysql_query('UPDATE `items_main` SET `price1` = "'.$pl2['price1'].'" WHERE `id` = "'.$pl['id'].'" LIMIT 1');
|
|
}
|
|
}
|
|
die();
|
|
}
|
|
|
|
|
|
$urla = explode('?',$_SERVER["REQUEST_URI"]);
|
|
$url = explode('/',$urla[0]);
|
|
|
|
if( $url[2] == 'js_data' ) {
|
|
//Ãåíåðàöèÿ JS êîíòåíòà, áàçû ÂÑÅÃÎ!
|
|
|
|
//
|
|
die();
|
|
}
|
|
?>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
|
|
<meta http-equiv=Cache-Control Content=no-cache>
|
|
<meta http-equiv=PRAGMA content=NO-CACHE>
|
|
<meta http-equiv=Expires Content=0>
|
|
<link href="https://img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
|
|
<script type="text/javascript" src="https://new-combats.com/js/jquery.js"></script>
|
|
<!-- -->
|
|
<script type="text/javascript" src="https://new-combats.com/dress/js_data"></script>
|
|
<!-- -->
|
|
<script type="text/javascript" src="https://new-combats.com/dress.js"></script>
|
|
<script>
|
|
var u = {
|
|
info:{
|
|
'id':0,
|
|
'login':'Ëîãèí ïåðñîíàæà',
|
|
'level':0,
|
|
'up':0,
|
|
'align':'0',
|
|
'clan':['','0.gif'],
|
|
'shadow':'0.gif',
|
|
'sex':0
|
|
}
|
|
};
|
|
</script>
|
|
</head>
|
|
<body onLoad="dress.start();" style="padding-top:0px; margin-top:7px; height:100%; background-color:#dedede;">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="300" align="center" valign="top" id="main1">
|
|
ëîãèí, ñëîòû, ïðèåìû, îáêàñòû
|
|
</td>
|
|
<td valign="top" id="main2">
|
|
Ñòàòû, Óìåíèÿ, Ñòàòû çà íàãðàäó, çâåðü, ñêëîíêà, îáðàç, êëàí
|
|
</td>
|
|
<td valign="top" id="main3">
|
|
Îñíîâíûå, Ìîäèôèêàòîðû, Ìîùíîñòü, Çàùèòà, Ïðî÷åå
|
|
</td>
|
|
<td valign="top" id="main4">
|
|
Ñòîèìîñòü, äîïîëíèòåëüíûå íàñòðîéêè
|
|
</td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Îïèñàíèå è áëàãîäàðíîñòè.</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|