game/_incl_data/class/magic/hny2014.php

60 lines
2.1 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
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
2022-12-19 18:26:14 +00:00
if(date('Y')==2023) {
2022-06-06 21:30:34 +00:00
/*
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> (x1)
$idit = $u->addItem(5009,$u->info['id']);
if($idit > 0) {
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "3" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$idit = $u->addItem(4041,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "3" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$idit = $u->addItem(4948,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "3" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><>6
$idit = $u->addItem(3101,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "5" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (x1)
$idit = $u->addItem(996,$u->info['id']);
2022-12-19 18:26:14 +00:00
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>, 2023, <20><><EFBFBD><EFBFBD><EFBFBD>!" WHERE `id` = "'.$idit.'" LIMIT 1');
2022-06-06 21:30:34 +00:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$idit = $u->addItem(6457,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "100" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><><EFBFBD> <20><> 100 <20><><EFBFBD><EFBFBD><EFBFBD>
$idit = $u->addItem(5023,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "1" WHERE `id` = "'.$idit.'" LIMIT 1');
//<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$idit = $u->addItem(6459,$u->info['id']);
mysql_query('UPDATE `items_users` SET `gift` = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>",`iznosMAX` = "100" WHERE `id` = "'.$idit.'" LIMIT 1');
2022-12-19 18:26:14 +00:00
$u->error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &quot;'.$itm['name'].'&quot;. <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>, 2023, <20><><EFBFBD><EFBFBD><EFBFBD>!';
2022-06-06 21:30:34 +00:00
mysql_query('UPDATE `items_users` SET `delete` = "'.time().'" WHERE (`item_id` = "4009" OR `id` = "'.$itm['id'].'") AND `uid` = "'.$u->info['id'].'" LIMIT 10'); //2763
}
}else{
2022-12-19 18:26:14 +00:00
$u->error = '<27><><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.2023';
2022-06-06 21:30:34 +00:00
}
?>