1040 lines
47 KiB
PHP
1040 lines
47 KiB
PHP
<?
|
|
echo "
|
|
<script language='JavaScript'>
|
|
var elem = document.getElementById('se-pre-con');
|
|
elem.parentNode.removeChild(elem);
|
|
</script>
|
|
";
|
|
|
|
if(!defined('GAME'))
|
|
{
|
|
die();
|
|
}
|
|
$sunduk1="i/titul/nagr1.gif";
|
|
$sunduk2="i/titul/nagr2.gif";
|
|
$sunduk3="i/titul/nagr3.gif";
|
|
$sunduk4="i/titul/nagr4.gif";
|
|
$sunduk5="i/titul/nagr5.gif";
|
|
$ai=$u->achivInf($u->info['id'],1);
|
|
if (isset($_GET['nagr']))
|
|
{
|
|
//áàáêà çàäàíèå zb
|
|
|
|
if ($_GET['nagr']==11 && $ai['klaszb']>$ai['zb_n'] && $ai['zb_n']==0){
|
|
$u->rangup($u->info['id'],1,'zb');
|
|
$ai['zb_n']=1;
|
|
$i=0;
|
|
$colvo=5;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==12 && $ai['klaszb']>$ai['zb_n'] && $ai['zb_n']==1){
|
|
$u->rangup($u->info['id'],2,'zb');
|
|
$ai['zb_n']=2;
|
|
$i=0;
|
|
$colvo=20;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==13 && $ai['klaszb']>$ai['zb_n'] && $ai['zb_n']==2){
|
|
$u->rangup($u->info['id'],3,'zb');
|
|
$ai['zb_n']=3;
|
|
$i=0;
|
|
$colvo=40;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==14 && $ai['klaszb']>$ai['zb_n'] && $ai['zb_n']==3){
|
|
$u->rangup($u->info['id'],4,'zb');
|
|
$ai['zb_n']=4;
|
|
$i=0;
|
|
$colvo=60;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==15 && $ai['klaszb']>$ai['zb_n'] && $ai['zb_n']==4){
|
|
$u->rangup($u->info['id'],5,'zb');
|
|
$ai['zb_n']=5;
|
|
$i=0;
|
|
$colvo=100;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí óñïåõà X'.$colvo;
|
|
}
|
|
//Õàîò çàäàíèå vx
|
|
elseif ($_GET['nagr']==21 && $ai['klasvx']>$ai['vx_n'] && $ai['vx_n']==0){
|
|
$u->rangup($u->info['id'],1,'vx');
|
|
$ai['vx_n']=1;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 25) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 25 åêð.';
|
|
}elseif($_GET['nagr']==22 && $ai['klasvx']>$ai['vx_n'] && $ai['vx_n']==1){
|
|
$u->rangup($u->info['id'],2,'vx');
|
|
$ai['vx_n']=2;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 50) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 50 åêð.';
|
|
}elseif($_GET['nagr']==23 && $ai['klasvx']>$ai['vx_n'] && $ai['vx_n']==2){
|
|
$u->rangup($u->info['id'],3,'vx');
|
|
$ai['vx_n']=3;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 75) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 75 åêð.';
|
|
}elseif($_GET['nagr']==24 && $ai['klasvx']>$ai['vx_n'] && $ai['vx_n']==3){
|
|
$u->rangup($u->info['id'],4,'vx');
|
|
$ai['vx_n']=4;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 100) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 100 åêð.';
|
|
}elseif($_GET['nagr']==25 && $ai['klasvx']>$ai['vx_n'] && $ai['vx_n']==4){
|
|
$u->rangup($u->info['id'],5,'vx');
|
|
$ai['vx_n']=5;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 200) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 200 åêð.';
|
|
}
|
|
//Ñóíäóêè òðóïîæîðà snt 10/15/20/25/50
|
|
elseif ($_GET['nagr']==31 && $ai['klassnt']>$ai['snt_n'] && $ai['snt_n']==0){
|
|
$u->rangup($u->info['id'],1,'snt');
|
|
$ai['snt_n']=1;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 10) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 10 åêð.';
|
|
}elseif($_GET['nagr']==32 && $ai['klassnt']>$ai['snt_n'] && $ai['snt_n']==1){
|
|
$u->rangup($u->info['id'],2,'snt');
|
|
$ai['snt_n']=2;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 25) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 25 åêð.';
|
|
}elseif($_GET['nagr']==33 && $ai['klassnt']>$ai['snt_n'] && $ai['snt_n']==2){
|
|
$u->rangup($u->info['id'],3,'snt');
|
|
$ai['snt_n']=3;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 50) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 50 åêð.';
|
|
}elseif($_GET['nagr']==34 && $ai['klassnt']>$ai['snt_n'] && $ai['snt_n']==3){
|
|
$u->rangup($u->info['id'],4,'snt');
|
|
$ai['snt_n']=4;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 75) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 75 åêð.';
|
|
}elseif($_GET['nagr']==35 && $ai['klassnt']>$ai['snt_n'] && $ai['snt_n']==4){
|
|
$u->rangup($u->info['id'],5,'snt');
|
|
$ai['snt_n']=5;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 200) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 200åêð.';
|
|
}
|
|
//Ðóíû 8 ëâë. rp 5/10/15/20/25
|
|
elseif ($_GET['nagr']==41 && $ai['klasrp']>$ai['rp_n'] && $ai['rp_n']==0){
|
|
$u->rangup($u->info['id'],1,'rp');
|
|
$ai['rp_n']=1;
|
|
$i=0;
|
|
$colvo=5;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10038,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Ïëîõèå Çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==42 && $ai['klasrp']>$ai['rp_n'] && $ai['rp_n']==1){
|
|
$u->rangup($u->info['id'],2,'rp');
|
|
$ai['rp_n']=2;
|
|
$i=0;
|
|
$colvo=7;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10038,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Ïëîõèå Çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==43 && $ai['klasrp']>$ai['rp_n'] && $ai['rp_n']==2){
|
|
$u->rangup($u->info['id'],3,'rp');
|
|
$ai['rp_n']=3;
|
|
$i=0;
|
|
$colvo=10;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10038,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Ïëîõèå Çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==44 && $ai['klasrp']>$ai['rp_n'] && $ai['rp_n']==3){
|
|
$u->rangup($u->info['id'],4,'rp');
|
|
$ai['rp_n']=4;
|
|
$i=0;
|
|
$colvo=12;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10038,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Ïëîõèå Çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==45 && $ai['klasrp']>$ai['rp_n'] && $ai['rp_n']==4){
|
|
$u->rangup($u->info['id'],5,'rp');
|
|
$ai['rp_n']=5;
|
|
$i=0;
|
|
$colvo=15;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10038,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Ïëîõèå Çàãîòîâêè X'.$colvo;
|
|
}
|
|
//Ðóíû 9 ëâë. rn 5/10/20/40/60
|
|
elseif ($_GET['nagr']==51 && $ai['klasrn']>$ai['rn_n'] && $ai['rn_n']==0){
|
|
$u->rangup($u->info['id'],1,'rn');
|
|
$ai['rn_n']=1;
|
|
$i=0;
|
|
$colvo=5;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10039,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Íîðìàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==52 && $ai['klasrn']>$ai['rn_n'] && $ai['rn_n']==1){
|
|
$u->rangup($u->info['id'],2,'rn');
|
|
$ai['rn_n']=2;
|
|
$i=0;
|
|
$colvo=7;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10039,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Íîðìàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==53 && $ai['klasrn']>$ai['rn_n'] && $ai['rn_n']==2){
|
|
$u->rangup($u->info['id'],3,'rn');
|
|
$ai['rn_n']=3;
|
|
$i=0;
|
|
$colvo=9;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10039,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Íîðìàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==54 && $ai['klasrn']>$ai['rn_n'] && $ai['rn_n']==3){
|
|
$u->rangup($u->info['id'],4,'rn');
|
|
$ai['rn_n']=4;
|
|
$i=0;
|
|
$colvo=12;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10039,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Íîðìàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==55 && $ai['klasrn']>$ai['rn_n'] && $ai['rn_n']==4){
|
|
$u->rangup($u->info['id'],5,'rn');
|
|
$ai['rn_n']=5;
|
|
$i=0;
|
|
$colvo=15;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10039,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Íîðìàëüíûå çàãîòîâêè X'.$colvo;
|
|
}
|
|
//Ðóíû 10 ëâë. rb 2/4/6/10/15
|
|
elseif ($_GET['nagr']==61 && $ai['klasrb']>$ai['rb_n'] && $ai['rb_n']==0){
|
|
$u->rangup($u->info['id'],1,'rb');
|
|
$ai['rb_n']=1;
|
|
$i=0;
|
|
$colvo=2;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10040,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Èäåàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==62 && $ai['klasrb']>$ai['rb_n'] && $ai['rb_n']==1){
|
|
$u->rangup($u->info['id'],2,'rb');
|
|
$ai['rb_n']=2;
|
|
$i=0;
|
|
$colvo=4;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10040,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Èäåàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==63 && $ai['klasrb']>$ai['rb_n'] && $ai['rb_n']==2){
|
|
$u->rangup($u->info['id'],3,'rb');
|
|
$ai['rb_n']=3;
|
|
$i=0;
|
|
$colvo=6;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10040,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Èäåàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==64 && $ai['klasrb']>$ai['rb_n'] && $ai['rb_n']==3){
|
|
$u->rangup($u->info['id'],4,'rb');
|
|
$ai['rb_n']=4;
|
|
$i=0;
|
|
$colvo=10;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10040,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Èäåàëüíûå çàãîòîâêè X'.$colvo;
|
|
}elseif($_GET['nagr']==65 && $ai['klasrb']>$ai['rb_n'] && $ai['rb_n']==4){
|
|
$u->rangup($u->info['id'],5,'rb');
|
|
$ai['rb_n']=5;
|
|
$i=0;
|
|
$colvo=15;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10040,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Èäåàëüíûå çàãîòîâêè X'.$colvo;
|
|
}
|
|
|
|
//Ãåðîèê pg 10/20/40/60/80
|
|
elseif ($_GET['nagr']==71 && $ai['klaspg']>$ai['pg_n'] && $ai['pg_n']==0){
|
|
$u->rangup($u->info['id'],1,'pg');
|
|
$ai['pg_n']=1;
|
|
$i=0;
|
|
$colvo=10;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí Óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==72 && $ai['klaspg']>$ai['pg_n'] && $ai['pg_n']==1){
|
|
$u->rangup($u->info['id'],2,'pg');
|
|
$ai['pg_n']=2;
|
|
$i=0;
|
|
$colvo=20;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí Óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==73 && $ai['klaspg']>$ai['pg_n'] && $ai['pg_n']==2){
|
|
$u->rangup($u->info['id'],3,'pg');
|
|
$ai['pg_n']=3;
|
|
$i=0;
|
|
$colvo=40;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí Óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==74 && $ai['klaspg']>$ai['pg_n'] && $ai['pg_n']==3){
|
|
$u->rangup($u->info['id'],4,'pg');
|
|
$ai['pg_n']=4;
|
|
$i=0;
|
|
$colvo=60;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí Óñïåõà X'.$colvo;
|
|
}elseif($_GET['nagr']==75 && $ai['klaspg']>$ai['pg_n'] && $ai['pg_n']==4){
|
|
$u->rangup($u->info['id'],5,'pg');
|
|
$ai['pg_n']=5;
|
|
$i=0;
|
|
$colvo=80;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(10020,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Æåòîí Óñïåõà X'.$colvo;
|
|
}
|
|
//Ïðîäàòü áàáóøêå íàéäåííûå âåùè â ïåùåðå bv 500/1000/2000/4000/5000
|
|
elseif ($_GET['nagr']==81 && $ai['klasbv']>$ai['bv_n'] && $ai['bv_n']==0){
|
|
$u->rangup($u->info['id'],1,'bv');
|
|
$ai['bv_n']=1;
|
|
mysql_query('UPDATE `users` SET `money` = (`money` + 500) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 500 êð.';
|
|
}elseif($_GET['nagr']==82 && $ai['klasbv']>$ai['bv_n'] && $ai['bv_n']==1){
|
|
$u->rangup($u->info['id'],2,'bv');
|
|
$ai['bv_n']=2;
|
|
mysql_query('UPDATE `users` SET `money` = (`money` + 1000) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 1000 êð.';
|
|
}elseif($_GET['nagr']==83 && $ai['klasbv']>$ai['bv_n'] && $ai['bv_n']==2){
|
|
$u->rangup($u->info['id'],3,'bv');
|
|
$ai['bv_n']=3;
|
|
mysql_query('UPDATE `users` SET `money` = (`money` + 2000) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 2000 êð.';
|
|
}elseif($_GET['nagr']==84 && $ai['klasbv']>$ai['bv_n'] && $ai['bv_n']==3){
|
|
$u->rangup($u->info['id'],4,'bv');
|
|
$ai['bv_n']=4;
|
|
mysql_query('UPDATE `users` SET `money` = (`money` + 4000) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 4000 êð.';
|
|
}elseif($_GET['nagr']==85 && $ai['klasbv']>$ai['bv_n'] && $ai['bv_n']==4){
|
|
$u->rangup($u->info['id'],5,'bv');
|
|
$ai['bv_n']=5;
|
|
mysql_query('UPDATE `users` SET `money` = (`money` + 5000) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 5000 êð.';
|
|
}
|
|
//Êëàí âàð kw 4917
|
|
elseif ($_GET['nagr']==91 && $ai['klaskw']>$ai['kw_n'] && $ai['kw_n']==0){
|
|
$u->rangup($u->info['id'],1,'kw');
|
|
$ai['kw_n']=1;
|
|
$i=0;
|
|
$colvo=1;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(4917,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Êëàíîâûé îïûò +50000 X'.$colvo;
|
|
}elseif($_GET['nagr']==92 && $ai['klaskw']>$ai['kw_n'] && $ai['kw_n']==1){
|
|
$u->rangup($u->info['id'],2,'kw');
|
|
$ai['kw_n']=2;
|
|
$i=0;
|
|
$colvo=2;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(4917,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Êëàíîâûé îïûò +50000 X'.$colvo;
|
|
}elseif($_GET['nagr']==93 && $ai['klaskw']>$ai['kw_n'] && $ai['kw_n']==2){
|
|
$u->rangup($u->info['id'],3,'kw');
|
|
$ai['kw_n']=3;
|
|
$i=0;
|
|
$colvo=5;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(4917,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Êëàíîâûé îïûò +50000 X'.$colvo;
|
|
}elseif($_GET['nagr']==94 && $ai['klaskw']>$ai['kw_n'] && $ai['kw_n']==3){
|
|
$u->rangup($u->info['id'],4,'kw');
|
|
$ai['kw_n']=4;
|
|
$i=0;
|
|
$colvo=10;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(4917,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Êëàíîâûé îïûò +50000 X'.$colvo;
|
|
}elseif($_GET['nagr']==95 && $ai['klaskw']>$ai['kw_n'] && $ai['kw_n']==4){
|
|
$u->rangup($u->info['id'],5,'kw');
|
|
$ai['kw_n']=5;
|
|
$i=0;
|
|
$colvo=15;
|
|
while($i<$colvo)
|
|
{
|
|
$u->addItem(4917,$u->info['id'],'');
|
|
$i++;
|
|
}
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè Êëàíîâûé îïûò +50000 X'.$colvo;
|
|
}
|
|
|
|
//Áàøíÿ ñìåðòè çàäàíèå bs
|
|
elseif ($_GET['nagr']==101 && $ai['klasbs']>$ai['bs_n'] && $ai['bs_n']==0){
|
|
$u->rangup($u->info['id'],1,'bs');
|
|
$ai['bs_n']=1;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 1) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 1 åêð.';
|
|
}elseif($_GET['nagr']==102 && $ai['klasbs']>$ai['bs_n'] && $ai['bs_n']==1){
|
|
$u->rangup($u->info['id'],2,'bs');
|
|
$ai['bs_n']=2;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 5) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 5 åêð.';
|
|
}elseif($_GET['nagr']==103 && $ai['klasbs']>$ai['bs_n'] && $ai['bs_n']==2){
|
|
$u->rangup($u->info['id'],3,'bs');
|
|
$ai['bs_n']=3;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 10) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 10 åêð.';
|
|
}elseif($_GET['nagr']==104 && $ai['klasbs']>$ai['bs_n'] && $ai['bs_n']==3){
|
|
$u->rangup($u->info['id'],4,'bs');
|
|
$ai['bs_n']=4;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 50) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 50 åêð.';
|
|
}elseif($_GET['nagr']==105 && $ai['klasbs']>$ai['bs_n'] && $ai['bs_n']==4){
|
|
$u->rangup($u->info['id'],5,'bs');
|
|
$ai['bs_n']=5;
|
|
mysql_query('UPDATE `users` SET `money2` = (`money2` + 200) WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$nagrtxt='Çà âûïîëíåííîå äîñòèæåíèå, Âû ïîëó÷èëè 200 åêð.';
|
|
}
|
|
//-------------
|
|
mysql_query("INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1','".$u->info['city']."','".$u->info['room']."','','".$u->info['login']."','".$nagrtxt."','-1','6','0')");
|
|
}
|
|
|
|
?>
|
|
|
|
<P align=right><INPUT class="btn" TYPE=button value="Ïîäñêàçêà" onclick="window.open('/encicl/help/titul.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')">
|
|
<INPUT TYPE="button" class="btn" onClick="top.frames['main'].location = 'main.php';" value="Âåðíóòüñÿ" name=edit></P>
|
|
<H3>Äîñòèæåíèÿ</H3>
|
|
|
|
<? $zd='zb';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Âûïîëíèòü çàäàíèÿ áàáêè.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Âûïîëíèòü çàäàíèÿ áàáêè.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Çàäàíèé</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50 </td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">250</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Æåòîí <br>óñïåõà <br>5</td>
|
|
<td style="text-align: center;">Æåòîí <br>óñïåõà <br>20</td>
|
|
<td style="text-align: center;">Æåòîí <br>óñïåõà <br>40</td>
|
|
<td style="text-align: center;">Æåòîí <br>óñïåõà <br>60</td>
|
|
<td style="text-align: center;">Æåòîí <br>óñïåõà <br>100</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Áàáêà çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=11\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>æåòîíû óñïåõà: 1</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=12\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>æåòîíû óñïåõà: 2</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=13\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>æåòîíû óñïåõà: 5</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=14\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>æåòîíû óñïåõà: 10</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=15\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>æåòîíû óñïåõà: 20</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='vx';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîáåäèòü â õàîòè÷åñêèõ áîÿõ.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîáåäèòü â õàîòè÷åñêèõ áîÿõ.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ïîáåä</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">300</td>
|
|
<td style="text-align: center;">400</td>
|
|
<td style="text-align: center;">500</td>
|
|
<td style="text-align: center;">1000</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">25 åêð.</td>
|
|
<td style="text-align: center;">50 åêð.</td>
|
|
<td style="text-align: center;">75 åêð.</td>
|
|
<td style="text-align: center;">100 åêð.</td>
|
|
<td style="text-align: center;">200 åêð.</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Õàîò çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=21\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>25 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=22\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>50 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=23\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>75 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=24\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>100 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=25\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>200 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='snt';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Îòêðûòü ñóíäóê òðóïîæîðà.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Îòêðûòü ñóíäóê òðóïîæîðà.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Îòêðûòèé</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">250</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">10 åêð.</td>
|
|
<td style="text-align: center;">25 åêð.</td>
|
|
<td style="text-align: center;">50 åêð.</td>
|
|
<td style="text-align: center;">75 åêð.</td>
|
|
<td style="text-align: center;">200 åêð.</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Ñóíäóê çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=31\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>10 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=32\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>25 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=33\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>50 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=34\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>75 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=35\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>200 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='rp';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîëó÷èòü ðóíó ïðè ïëàâêå ïëîõèõ çàãîòîâîê. ( S ðóíó )</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîëó÷èòü ðóíó ïðè ïëàâêå ïëîõèõ çàãîòîâîê. ( S ðóíó )</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ðóí</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">10</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">100</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Ïëîõèå <br> çàãîòîâêè <br> 5</td>
|
|
<td style="text-align: center;">Ïëîõèå <br> çàãîòîâêè <br> 7</td>
|
|
<td style="text-align: center;">Ïëîõèå <br> çàãîòîâêè <br> 10</td>
|
|
<td style="text-align: center;">Ïëîõèå <br> çàãîòîâêè <br> 12</td>
|
|
<td style="text-align: center;">Ïëîõèå <br> çàãîòîâêè <br> 15</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //S çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=41\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>Ïëîõèå çàãîòîâêè 5</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=42\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>Ïëîõèå çàãîòîâêè 10</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=43\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>Ïëîõèå çàãîòîâêè 15</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=44\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>Ïëîõèå çàãîòîâêè 20</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=45\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>Ïëîõèå çàãîòîâêè 25</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='rn';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîëó÷èòü ðóíó ïðè ïëàâêå íîðìàëüíûõ çàãîòîâîê. ( M ðóíó )</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîëó÷èòü ðóíó ïðè ïëàâêå íîðìàëüíûõ çàãîòîâîê. ( M ðóíó )</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ðóí</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">10</td>
|
|
<td style="text-align: center;">15</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Íîðìàëüíûå <br> çàãîòîâêè <br> 5</td>
|
|
<td style="text-align: center;">Íîðìàëüíûå <br> çàãîòîâêè <br> 7</td>
|
|
<td style="text-align: center;">Íîðìàëüíûå <br> çàãîòîâêè <br> 9</td>
|
|
<td style="text-align: center;">Íîðìàëüíûå <br> çàãîòîâêè <br> 12</td>
|
|
<td style="text-align: center;">Íîðìàëüíûå <br> çàãîòîâêè <br> 15</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //M çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=51\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>Íîðìàëüíûå çàãîòîâêè 5</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=52\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>Íîðìàëüíûå çàãîòîâêè 10</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=53\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>Íîðìàëüíûå çàãîòîâêè 20</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=54\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>Íîðìàëüíûå çàãîòîâêè 40</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=55\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>Íîðìàëüíûå çàãîòîâêè 60</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='rb';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîëó÷èòü ðóíó ïðè ïëàâêå èäåàëüíûõ çàãîòîâîê. ( L ðóíó )</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîëó÷èòü ðóíó ïðè ïëàâêå èäåàëüíûõ çàãîòîâîê. ( L ðóíó )</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ðóí</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">8</td>
|
|
<td style="text-align: center;">11</td>
|
|
<td style="text-align: center;">15</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Èäåàëüíûå <br> çàãîòîâêè <br> 2</td>
|
|
<td style="text-align: center;">Èäåàëüíûå <br> çàãîòîâêè <br> 4</td>
|
|
<td style="text-align: center;">Èäåàëüíûå <br> çàãîòîâêè <br> 6</td>
|
|
<td style="text-align: center;">Èäåàëüíûå <br> çàãîòîâêè <br> 10</td>
|
|
<td style="text-align: center;">Èäåàëüíûå <br> çàãîòîâêè <br> 15</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //L çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=61\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>Èäåàëüíûå çàãîòîâêè 5</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=62\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>Èäåàëüíûå çàãîòîâêè 10</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=63\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>Èäåàëüíûå çàãîòîâêè 20</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=64\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>Èäåàëüíûå çàãîòîâêè 40</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=65\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>Èäåàëüíûå çàãîòîâêè 60</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='pg';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîó÷àñòâîâàòü â ãåðîè÷åñêîì ñðàæåíèè.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîó÷àñòâîâàòü â ãåðîè÷åñêîì ñðàæåíèè.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ó÷àñòèé</td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">200</td>
|
|
<td style="text-align: center;">400</td>
|
|
<td style="text-align: center;">600</td>
|
|
<td style="text-align: center;">1000</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Æåòîí <br> Óñïåõà <br> 10</td>
|
|
<td style="text-align: center;">Æåòîí <br> Óñïåõà <br> 20</td>
|
|
<td style="text-align: center;">Æåòîí <br> Óñïåõà <br> 40</td>
|
|
<td style="text-align: center;">Æåòîí <br> Óñïåõà <br> 60</td>
|
|
<td style="text-align: center;">Æåòîí <br> Óñïåõà <br> 80</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Ãåðîèê çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=71\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>Æåòîí Óñïåõà 10</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=72\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>Æåòîí Óñïåõà 20</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=73\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>Æåòîí Óñïåõà 40</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=74\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>Æåòîí Óñïåõà 60</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=75\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>Æåòîí Óñïåõà 80</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='bv';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïðîäàòü áàáóøêå íàéäåííûå âåùè â ïåùåðå.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïðîäàòü áàáóøêå íàéäåííûå âåùè â ïåùåðå.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ïðîäàæ</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">250</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">500êð.</td>
|
|
<td style="text-align: center;">1000êð.</td>
|
|
<td style="text-align: center;">2000êð.</td>
|
|
<td style="text-align: center;">4000êð.</td>
|
|
<td style="text-align: center;">5000êð.</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Ãåðîèê çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=81\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>500êð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=82\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>1000êð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=83\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>2000êð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=84\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>4000êð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=85\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>5000êð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='kw';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîáåäèòü â êëàíîâîé âîéíå.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîáåäèòü â êëàíîâîé âîéíå.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ïîáåä</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">250</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;">Ñâèòîê <br> êëàíîâîãî<br> îïûòà 1</td>
|
|
<td style="text-align: center;">Ñâèòîê <br> êëàíîâîãî<br> îïûòà 2</td>
|
|
<td style="text-align: center;">Ñâèòîê <br> êëàíîâîãî<br> îïûòà 5</td>
|
|
<td style="text-align: center;">Ñâèòîê <br> êëàíîâîãî<br> îïûòà 10</td>
|
|
<td style="text-align: center;">Ñâèòîê <br> êëàíîâîãî<br> îïûòà 15</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Êëàí âàð çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=91\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>Ñâèòîê <br> êëàíîâîãî<br> îïûòà 1.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=92\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>Ñâèòîê <br> êëàíîâîãî<br> îïûòà 2.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=93\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>Ñâèòîê <br> êëàíîâîãî<br> îïûòà 5.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=94\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>Ñâèòîê <br> êëàíîâîãî<br> îïûòà 10.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=95\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>Ñâèòîê <br> êëàíîâîãî<br> îïûòà 15.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
<? $zd='pa';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîëó÷èòü ïîêðîâèòåëüñòâî Àíãåëà.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîëó÷èòü ïîêðîâèòåëüñòâî Àíãåëà.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ïîáåä</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">25</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">100</td>
|
|
<td style="text-align: center;">250</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;"> - </td>
|
|
<td style="text-align: center;"> - </td>
|
|
<td style="text-align: center;"> - </td>
|
|
<td style="text-align: center;"> - </td>
|
|
<td style="text-align: center;"> - </td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
<hr>
|
|
<? $zd='bs';?>
|
|
<H4><? echo $ai['name'.$zd];?></H4>
|
|
<b>Ïîáåäû â áàøíå ñìåðòè.</b><br>
|
|
Ñåé÷àñ ó Âàñ Ðàíã: <b><? echo $ai['klas'.$zd]; ?></b>. Êîëè÷åñòâî âûïîëíåíèé: <b><? echo $ai[$zd]; ?>=<? echo $ai['klasP'.$zd]; ?>%</b><br>
|
|
<title>Ïîëó÷èòü ïîêðîâèòåëüñòâî Àíãåëà.</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" cellpadding="3" cellspacing="1">
|
|
<tr bgcolor="#A5A5A5">
|
|
<td style="text-align: center;">Ðàíãè</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">2</td>
|
|
<td style="text-align: center;">3</td>
|
|
<td style="text-align: center;">4</td>
|
|
<td style="text-align: center;">5</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Ïîáåä</td>
|
|
<td style="text-align: center;">1</td>
|
|
<td style="text-align: center;">5</td>
|
|
<td style="text-align: center;">10</td>
|
|
<td style="text-align: center;">50</td>
|
|
<td style="text-align: center;">500</td>
|
|
</tr>
|
|
<tr bgcolor="#C7C7C7">
|
|
<td bgcolor="#A5A5A5" style="text-align: center;">Íàãðàäà</td>
|
|
<td style="text-align: center;"> 1 Åêð. </td>
|
|
<td style="text-align: center;"> 5 Åêð. </td>
|
|
<td style="text-align: center;"> 10 Åêð. </td>
|
|
<td style="text-align: center;"> 50 Åêð. </td>
|
|
<td style="text-align: center;"> 200 Åêð. </td>
|
|
</tr>
|
|
</table>
|
|
<?
|
|
if ($ai['klas'.$zd]>$ai[$zd.'_n']) //Õàîò çàäàíèå
|
|
{
|
|
echo '<br>Íàãðàäà:<br>';
|
|
if ($ai[$zd.'_n'] ==0){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=101\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 1 Ðàíãà<hr>Ñîäåðæèò:<hr>1 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk1.'">';
|
|
}elseif ($ai[$zd.'_n'] ==1){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=102\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 2 Ðàíãà<hr>Ñîäåðæèò:<hr>5 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk2.'">';
|
|
}elseif ($ai[$zd.'_n'] ==2){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=103\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 3 Ðàíãà<hr>Ñîäåðæèò:<hr>10 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk3.'">';
|
|
}elseif ($ai[$zd.'_n'] ==3){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=104\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 4 Ðàíãà<hr>Ñîäåðæèò:<hr>50 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk4.'">';
|
|
}elseif ($ai[$zd.'_n'] ==4){
|
|
echo '<img onclick="location.href=\'/main.php?titul&nagr=105\';" onMouseOver="top.hi(this,\'<b>Ñóíäóê 5 Ðàíãà<hr>Ñîäåðæèò:<hr>200 åêð.</b>\',event,2,0,1,1,\'max-width:307px\')" onMouseOut="top.hic();" onMouseDown="top.hic();" class="cp" src="https://img.new-combats.com/'.$sunduk5.'">';
|
|
}
|
|
}
|
|
?>
|
|
<hr>
|
|
|
|
<?='<br>'.$red?>
|