61 lines
2.5 KiB
PHP
61 lines
2.5 KiB
PHP
|
<?
|
|||
|
if(!defined('GAME'))
|
|||
|
{
|
|||
|
die();
|
|||
|
}
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 00:00:00 01-01-2013
|
|||
|
if(date('Y')==2013 || $u->info['id'] == 1) {
|
|||
|
/*
|
|||
|
|
|||
|
2. <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>)
|
|||
|
3. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
4. <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> +10, <EFBFBD><EFBFBD> +60)
|
|||
|
|
|||
|
7. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
*/
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0/13 (x1)
|
|||
|
$idit = $u->addItem(1000,$u->info['id']);
|
|||
|
if($idit > 0) {
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "13" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (x1)
|
|||
|
$idit = $u->addItem(997,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "7" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (x1)
|
|||
|
$idit = $u->addItem(2870,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "7" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (x1)
|
|||
|
$idit = $u->addItem(1462,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "7" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (x1)
|
|||
|
$idit = $u->addItem(996,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>" , `gtxt1` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>, 2013, <20><><EFBFBD><EFBFBD><EFBFBD>!" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0/13 (x1)
|
|||
|
$idit = $u->addItem(874,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "13" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (x1)
|
|||
|
$idit = $u->addItem(2101,$u->info['id'],'|noremont=1|srok=1209600|sudba='.$u->info['login']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "13" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 900<30><30> (x3)
|
|||
|
$idit = $u->addItem(2710,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
$idit = $u->addItem(2710,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
$idit = $u->addItem(2710,$u->info['id']);
|
|||
|
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>" WHERE `id` = "'.$idit.'" LIMIT 1');
|
|||
|
|
|||
|
$u->error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "'.$itm['name'].'". <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD><EFBFBD>, 2013, <20><><EFBFBD><EFBFBD><EFBFBD>!';
|
|||
|
mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE (`item_id` = "2763" OR `id` = "'.$itm['id'].'") AND `uid` = "'.$u->info['id'].'" LIMIT 10');
|
|||
|
}
|
|||
|
}else{
|
|||
|
$u->error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "'.$itm['name'].'". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 01.01.2013';
|
|||
|
}
|
|||
|
|
|||
|
?>
|