205 lines
7.1 KiB
PHP
205 lines
7.1 KiB
PHP
|
<?
|
|||
|
/*
|
|||
|
1.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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> 5 <EFBFBD><EFBFBD><EFBFBD>
|
|||
|
3.<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>. )
|
|||
|
4.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 100 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
5.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
6.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
7.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 10 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
8.<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> 1/3/5 <EFBFBD><EFBFBD><EFBFBD>
|
|||
|
$txt .= '<br><b><font color=red><3E><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> </b></font>';
|
|||
|
|
|||
|
*/
|
|||
|
|
|||
|
$test = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest" LIMIT 1'));
|
|||
|
if (!isset($test['id']))
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=red><3E> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD>! <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.</b></font>';
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$zadID=$test['vals'];
|
|||
|
|
|||
|
if ($zadID==1)
|
|||
|
{
|
|||
|
//$end_trup
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "end_trup" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
if ($i>1){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>? - <20><><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Capital City <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==2)
|
|||
|
{
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "end_xaot" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
|
|||
|
if ($i>9){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>! <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>? - <20><><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 10 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
// $end_xaot;
|
|||
|
}elseif($zadID==3)
|
|||
|
{
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "psh0" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
if ($i>1){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>! <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>? - <20><><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==4)
|
|||
|
{
|
|||
|
|
|||
|
if (($u->info['exp']-$test['val'])>100000){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 100000 <20><><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==5)
|
|||
|
{
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "trup_sun" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
if ($i>0){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>? <20><><EFBFBD>? <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==6)
|
|||
|
{
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "izlom" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
if ($i>0){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ... <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==7)
|
|||
|
{
|
|||
|
$check = mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vals`= "win" AND `time` > "'.$test['time'].'"');
|
|||
|
$i=0;
|
|||
|
while($pl = mysql_fetch_array($check)){$i++;}
|
|||
|
if ($i>2){
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>... <br> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
mysql_query('UPDATE `actions` SET `vals`= 0 WHERE `uid` = "'.$u->info['id'].'" AND `vars`= "day_quest"');
|
|||
|
if ($u->info['level'] < 12)
|
|||
|
{
|
|||
|
$u->addItem(10020,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$u->addItem(6470,$u->info['id'],'|sudba='.$u->info['login']);
|
|||
|
}
|
|||
|
mysql_query('UPDATE `users_achiv` SET `zb`= `zb`+1 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|||
|
$u->repexp_add($u->info['id'],50); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> +20
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!<21><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
}elseif($zadID==8)
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=black><3E><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.</b></font>';
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$txt .= '<br><b><font color=red><3E><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>!</b></font>';
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
?>
|