Вход Регистрация
Файл: shaman/index.php
Строк: 346
<?php
require_once '../core/system.php';

$header 'Шаман';

mysql_query("UPDATE `user` set `mesto` = 'Шаман' where `id` = '".$user['id']."'");
require_once 
'../core/head.php';
if(
$user['level'] < 5){
header('location: /'); 
$_SESSION['err'] = 'Доступно только с 5 уровня';
}

$req mysql_query("SELECT * from `ban` where `id_us` = '".$user['id']."'  and `time`>'".$_SERVER['REQUEST_TIME']."'");
$ban mysql_fetch_array($req);
if(
$ban['ban'] == 3){
    
header('Location: /moduls/ban');
    }
if(
$ban['ban'] == 2){
    
header('Location: /');
    
$_SESSION['err'] = "Вы находитесь в бане!";
exit;
}

if(!isset(
$user['id'])) header('Location: /');

?>
<img src='/images/sham.jpg' width='100%' style='border:-12px solid #131313;' padding-left: 5px; padding-right: 5px;>
<hr>
<div class="head">
<center><font color="98A2AB">Обычные бонусы </font>
<br/>
<div class="empty2"></div>
</center>
<table width="100%" border="0" style="padding-top: 10px; cellpadding="0" cellspacing="0" >
<tbody>
<tr>
<td width="30%">
<a class="big-but" href="/shaman/?health">
<div class="imgwrap"><img src="/images/icon/stat/hp.png"></div>Здоровье</a></td><div class="clear"></div>
<td width="30%">
<a class="big-but" href="/shaman/?strength">
<div class="imgwrap"><img src="/images/icon/stat/sila.png"></div>Сила</a></td><div class="clear"></div>
<td width="30%">
<a class="big-but" href="/shaman/?protection">
<div class="imgwrap"><img src="/images/icon/stat/prot.png"></div>
Защита</a>
</td>
</tr>
</tbody>
</table></div>
<?
if(isset($_GET['health'])){
$hp30 floor($user['max_health']*0.1);
$hp50 floor($user['max_health']*0.2);
$hp70 floor($user['max_health']*0.4);
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?hp1">Наложить <img src='/images/icon/stat/hp.png'><font color='orange'>+10%</font> за <img src='/images/icon/gold.png'>1 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?hp2">Наложить <img src='/images/icon/stat/hp.png'><font color='orange'>+20%</font> за  <img src='/images/icon/gold.png'>2 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?hp3">Наложить <img src='/images/icon/stat/hp.png'><font color='orange'>+40%</font> за <img src='/images/icon/gold.png'>4 на <img src='/images/icon/t.png'>60 мин.</a>
</div>
<hr>"
;
}
if(isset(
$_GET['strength'])){
$hp30 floor($user['sila']*0.1);
$hp50 floor($user['sila']*0.2);
$hp70 floor($user['sila']*0.4);
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?sila1">Наложить <img src='/images/icon/stat/sila.png'><font color='orange'>+10%</font> за <img src='/images/icon/gold.png'>1 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?sila2">Наложить <img src='/images/icon/stat/sila.png'><font color='orange'>+20%</font> за  <img src='/images/icon/gold.png'>2 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?sila3">Наложить <img src='/images/icon/stat/sila.png'><font color='orange'>+40%</font> за <img src='/images/icon/gold.png'>4 на <img src='/images/icon/t.png'>60 мин.</a>
</div>
<hr>"
;
}
if(isset(
$_GET['protection'])){
$hp30 floor($user['zashit']*0.1);
$hp50 floor($user['zashit']*0.2);
$hp70 floor($user['zashit']*0.4);
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?prot1">Наложить <img src='/images/icon/stat/prot.png'><font color='orange'>+10%</font> за <img src='/images/icon/gold.png'>1 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?prot2">Наложить <img src='/images/icon/stat/prot.png'><font color='orange'>+20%</font> за  <img src='/images/icon/gold.png'>2 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?prot3">Наложить <img src='/images/icon/stat/prot.png'><font color='orange'>+40%</font> за <img src='/images/icon/gold.png'>4 на <img src='/images/icon/t.png'>60 мин.</a>
</div>
<hr>"
;
}
if(isset(
$_GET['exp'])){
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?exp1">Наложить <img src='/images/icon/exp.png'><font color='orange'>x2</font> за <img src='/images/icon/gold.png'>5 на <img src='/images/icon/t.png'>30 мин.</a>
<a href="
/shaman/activate?exp2">Наложить <img src='/images/icon/exp.png'><font color='orange'>x2</font> за <img src='/images/icon/gold.png'>10 на <img src='/images/icon/t.png'>60 мин.</a>
</div>
<hr>"
;
}
if(isset(
$_GET['reload'])){
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?reload1">Наложить <img src='/images/icon/t.png'><font color='orange'>-5 сек</font> на <img src='/images/umen/whack.png' height='16' width='16'> за <img src='/images/icon/gold.png'>5 на <img src='/images/icon/t.png'>30 мин.</a>
<a href="
/shaman/activate?reload2">Наложить <img src='/images/icon/t.png'><font color='orange'>-10 сек</font> на <img src='/images/umen/whack.png' height='16' width='16'> за <img src='/images/icon/gold.png'>10 на <img src='/images/icon/t.png'>60 мин.</a>
<a href="
/shaman/activate?reload3">Наложить <img src='/images/icon/t.png'><font color='orange'>-5 сек</font> на <img src='/images/umen/gift_of_the_Gods.png' height='16' width='16'> за <img src='/images/icon/gold.png'>5 на <img src='/images/icon/t.png'>30 мин.</a>
<a href="
/shaman/activate?reload4">Наложить <img src='/images/icon/t.png'><font color='orange'>-10 сек</font> на <img src='/images/umen/gift_of_the_Gods.png' height='16' width='16'> за <img src='/images/icon/gold.png'>10 на <img src='/images/icon/t.png'>60 мин.</a>
</div>
<hr>"
;
}

if(isset(
$_GET['platinum'])){
echo
"<hr>
<div class='foot menuList center'>
<a href="
/shaman/activate?platinum1">Наложить <img src='/images/icon/stat/hp.png'><img src='/images/icon/stat/sila.png'><img src='/images/icon/stat/prot.png'><font color='orange'>+50%</font>, <img src='/images/icon/exp.png'>Опыт:<font color='orange'> x2</font>, <img src='/images/icon/t.png'><font color='orange'>-12 сек</font> на <img src='/images/umen/whack.png' height='12' width='12'><img src='/images/umen/gift_of_the_Gods.png' height='12' width='12'> за <img src='/images/icon/gold.png'>175 на <img src='/images/icon/t.png'>12 часов.</a>
<a href="
/shaman/activate?platinum2">Наложить <img src='/images/icon/stat/hp.png'><img src='/images/icon/stat/sila.png'><img src='/images/icon/stat/prot.png'><font color='orange'>+50%</font>, <img src='/images/icon/exp.png'>Опыт:<font color='orange'> x2</font>, <img src='/images/icon/t.png'><font color='orange'>-12 сек</font> на <img src='/images/umen/whack.png' height='12' width='12'><img src='/images/umen/gift_of_the_Gods.png' height='12' width='12'> за <img src='/images/icon/gold.png'>250 на <img src='/images/icon/t.png'>24 часов.</a>
<a href="
/shaman/activate?platinum3">Наложить <img src='/images/icon/stat/hp.png'><img src='/images/icon/stat/sila.png'><img src='/images/icon/stat/prot.png'><font color='orange'>+50%</font>, <img src='/images/icon/exp.png'>Опыт:<font color='orange'> x2</font>, <img src='/images/icon/t.png'><font color='orange'>-12 сек</font> на <img src='/images/umen/whack.png' height='12' width='12'><img src='/images/umen/gift_of_the_Gods.png' height='12' width='12'> за <img src='/images/icon/gold.png'>1250 на <img src='/images/icon/t.png'>5 дней.</a>
<a href="
/shaman/activate?platinum4">Наложить <img src='/images/icon/stat/hp.png'><img src='/images/icon/stat/sila.png'><img src='/images/icon/stat/prot.png'><font color='orange'>+50%</font>, <img src='/images/icon/exp.png'>Опыт:<font color='orange'> x2</font>, <img src='/images/icon/t.png'><font color='orange'>-12 сек</font> на <img src='/images/umen/whack.png' height='12' width='12'><img src='/images/umen/gift_of_the_Gods.png' height='12' width='12'> за <img src='/images/icon/gold.png'>2500 на <img src='/images/icon/t.png'>10 дней.</a>
</div>
<hr>"
;
}
?>
<div class="head">
<center>
<font color="98A2AB">Особые бонусы </font>
<br/>
<div class="empty2"></div>
</center>
<table width="100%" border="0" style="padding-top: 10px; cellpadding="0" cellspacing="0" >
<tbody>
<tr>
<td width="30%">
<a class="big-but" href="/shaman/?exp">
<div class="imgwrap"><img src="/images/icon/exp.png"></div>Опыт</a></td><div class="clear"></div>
<td width="30%">
<a class="big-but" href="/shaman/?reload">
<div class="imgwrap"><img src="/images/icon/t.png"></div>Перезарядка</a></td><div class="clear"></div>
<td width="30%">
<a class="big-but" href="/shaman/?platinum">
<div class="imgwrap"><img src="/images/icon/platinum.png"></div>Платинум<font color='red'>-50%</font> </a></td><div class="clear"></div>
</tr>
</tbody>
</table>
<div class="empty2"></div>
</div>
</div>
<?
include_once '../core/foot.php';
?>
Онлайн: 1
Реклама