Файл: l2ps_v5/clanholl.php
Строк: 464
<?php
include_once("files/zag.php");
include_once("files/data.php");
include_once("files/ini.php");
$polz=mysql_query("SELECT * FROM `users` WHERE `udata0`='$log' AND `udata1`='$pas' LIMIT 1");
if(mysql_num_rows($polz)==0){
header ("Location: index.php?error");
echo'<div class="p">Ошибка! Пользователь с таким логином и паролем не зарегистрирован, или пароль/логин неверен! <a href="index.php">На главную</a><br>';exit;
}else{
switch($go) {
default:
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan10'];
if($ggg!="yes"){echo "<small>Вы не имеете Clan Holl</small>";
include_once"files/down.php";
exit;}
echo"<a href="clanholl.php?&go=baffweapon">Наложить бафф на Физ.Атк.</a><br/>
<a href="clanholl.php?&go=baffshit">Наложить бафф на Физ.Защ.</a><br/>
<a href="clanholl.php?&go=baffmatk">Наложить бафф на Маг.Атк.</a><br/>
<a href="clanholl.php?&go=baffmzashita">Наложить бафф на Маг.Защ.</a><br/>";
break;
case 'baffweapon':
$req = mysql_query("SELECT * FROM `l2pirates_clanbaff` WHERE `login` = '$log' and `name`='Might' and `vid`='clanholl' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Might</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_buferbaff` WHERE `login` = '$log' and `name`='baffatk' and `vid`='bufer' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Might</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_bonusbaff` WHERE `login` = '$log' and `name`='Might' and `vid`='bonus' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Might</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_kristibaff` WHERE `login` = '$log' and `name`='Might' and `vid`='kristi' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Might</small>";
include_once"files/down.php";
exit;}
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan10'];
if($ggg!="yes"){echo "<small>Вы не имеете Clan Holl</small>";
include_once"files/down.php";
exit;}
$actime=time()+1800;
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg1=$arrs['lvl'];
if($ggg1=="0"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '10',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="1"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '20',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="2"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '30',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="3"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '40',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="4"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '50',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="5"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '60',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="6"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '70',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="7"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '80',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="8"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '90',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="9"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '100',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");
}
if($ggg1=="10"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '120',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
if($ggg1=="11"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '130',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
if($ggg1=="12"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '140',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
if($ggg1=="13"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '150',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
if($ggg1=="14"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '160',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
if($ggg1=="15"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '170',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Might'");}
echo"<small>Вы ощущаете магию Might.</small>";
break;
case 'baffshit':
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan10'];
if($ggg!="yes"){echo "<small>Вы не имеете Clan Holl</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_clanbaff` WHERE `login` = '$log' and `name`='Shield' and `vid`='clanholl' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Shield</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_buferbaff` WHERE `login` = '$log' and `name`='baffarmor' and `vid`='bufer' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Shield</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_bonusbaff` WHERE `login` = '$log' and `name`='Shield' and `vid`='bonus' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Shield</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_kristibaff` WHERE `login` = '$log' and `name`='Shield' and `vid`='kristi' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Shield</small>";
include_once"files/down.php";
exit;}
$actime=time()+1800;
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg1=$arrs['lvl'];
if($ggg1=="0"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '10',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="1"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '20',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="2"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '30',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="3"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '40',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="4"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '50',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="5"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '60',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="6"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '70',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="7"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '80',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="8"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '90',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="9"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '100',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'");
}
if($ggg1=="10"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '120',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
if($ggg1=="11"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '130',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
if($ggg1=="12"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '140',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
if($ggg1=="13"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '150',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
if($ggg1=="14"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '160',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
if($ggg1=="15"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '170',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Shield'"); }
echo"<small>Бафф наложен.</small>";
break;
case 'baffmatk':
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan10'];
if($ggg!="yes"){echo "<small>Вы не имеете Clan Holl</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_clanbaff` WHERE `login` = '$log' and `name`='Empower' and `vid`='clanholl' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Empower</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_buferbaff` WHERE `login` = '$log' and `name`='baffmatk' and `vid`='bufer' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Empower</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_bonusbaff` WHERE `login` = '$log' and `name`='Empower' and `vid`='bonus' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Empower</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_kristibaff` WHERE `login` = '$log' and `name`='Empower' and `vid`='kristi' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Empower</small>";
include_once"files/down.php";
exit;}
$actime=time()+1800;
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg1=$arrs['lvl'];
if($ggg1=="0"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '10',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="1"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '20',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="2"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '30',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="3"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '40',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="4"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '50',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="5"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '60',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="6"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '70',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="7"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '80',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="8"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '90',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="9"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '100',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'");
}
if($ggg1=="10"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '120',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
if($ggg1=="11"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '130',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
if($ggg1=="12"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '140',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
if($ggg1=="13"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '150',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
if($ggg1=="14"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '160',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
if($ggg1=="15"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '170',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Empower'"); }
echo"<small>Вы ощущаете магию Empower.</small>";
break;
case 'baffmzashita':
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan10'];
if($ggg!="yes"){echo "<small>Вы не имеете Clan Holl</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_clanbaff` WHERE `login` = '$log' and `name`='Magic Barrier' and `vid`='clanholl' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Magic Barrier</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_buferbaff` WHERE `login` = '$log' and `name`='baffmzashita' and `vid`='bufer' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Magic Barrier</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_bonusbaff` WHERE `login` = '$log' and `name`='Magic Barrier' and `vid`='bonus' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Magic Barrier</small>";
include_once"files/down.php";
exit;}
$req = mysql_query("SELECT * FROM `l2pirates_kristibaff` WHERE `login` = '$log' and `name`='Magic Barrier' and `vid`='kristi' LIMIT 1");
$avto=mysql_num_rows($req);
if($avto=='1'){echo "<small>На вас уже наложена магия Magic Barrier</small>";
include_once"files/down.php";
exit;}
$actime=time()+1800;
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$udata23' ");
$arrs= mysql_fetch_array($aglava);
$ggg1=$arrs['lvl'];
if($ggg1=="0"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '10',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="1"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '20',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="2"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '30',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="3"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '40',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="4"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '50',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="5"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '60',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="6"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '70',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="7"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '80',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="8"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '90',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="9"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '100',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'");
}
if($ggg1=="10"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '120',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
if($ggg1=="11"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '130',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
if($ggg1=="12"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '140',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
if($ggg1=="13"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '150',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
if($ggg1=="14"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '160',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
if($ggg1=="15"){
$actime=time()+1800;
mysql_query("INSERT INTO
`l2pirates_clanbaff` SET
`login` = '$log',
`sila` = '170',
`time` = '$actime',
`active` = 'off',
`vid` = 'clanholl',
`name` = 'Magic Barrier'"); }
echo"<small>Вы ощущаете магию Magic Barrier</small>";
break;
}
}
include_once"files/down.php";
?>