Колхоз/Ферма/садовник | Нужна помощь
Помогите прописати моди в ігре мкх а я взамен вам скрипт игри.а то я не могу прописати йолку и золотой компас
Вот сама игра
Помогите
133539661, пиши прямо сейчас)
https://vk.com/id361564400
https://vk.com/id361564400
<?php
echo "<div class='block'>";
if(mysql_result(mysql_query("SELECT COUNT(*) FROM `elk1` WHERE `user` = '$ku[id]' "),0)==0)
mysql_query("INSERT INTO `elk1` SET `user` = '$ku[id]' ");
$w=mysql_query("SELECT * FROM `elk1` WHERE `user`='$ku[id]'");
$max_t7=30;
if(isset($_GET['buy_t7'])){
if($ku['money']>='1000000000'){
mysql_query("UPDATE `kolhoz_user` SET `money` = `money` - '1000000000' WHERE `id`='$ku[id]'");
mysql_query("update `elk1` SET `t7`=`t7`+'1' WHERE `user`='$ku[id]'");
}
header('Location: ?el');
exit;
}
if(isset($_GET['sbor']) && $w['check_t']<time()){
$otime1=$w['t1']*86400;
$otime2=$w['t2']*172800;
$otime3=$w['t3']*259200;
$otime4=$w['t4']*345600;
$otime5=$w['t5']*432000;
/** **/
$okey1=$w['t1']*1;
$okey2=$w['t2']*5;
$okey3=$w['t3']*10;
$okey4=$w['t4']*20;
$okey5=$w['t5']*50;
/** **/
$obaks=$w['t6']*100000000;
$olvl=$w['t7']*1;
$otime=$otime1+$otime2+$otime3+$otime4+$otime5;
$okey=$okey1+$okey2+$okey3+$okey4+$okey5;
mysql_query("UPDATE `kolhoz_user` SET `time`=`time`+'$otime',`vipkey`=`vipkey`+'5',`baks`=`baks`+'100000',`level`=`level`+'10' WHERE `id`='$ku[id]'");
$n=time()+86400;
mysql_query("UPDATE `elk1` SET `check_t`='$n' WHERE `user`='$ku[id]'");
echo "Вы получили:<br>";
echo "<br>100 000 <img src='http://mkolhoz.mobi/images/d49c3d8455a2.png' width='16px' height='14px' alt='o'>";
echo "<br>10 <img src='http://mkolhoz.mobi/images/icons/experience.png' width='16px' height='14px' alt='o'> ур.";
echo "<br><br />
<a href='?el'> Вернуться</a>";
include 'inc/foot.php';
exit;
}
?>
<script LANGUAGE="javascript">
document.write('<span id="ny_date">До нового года осталось</span>')
function ojidanieNG()
{
var today = new Date();
var BigDay = new Date("January 1, 2018");
var timeLeft = (BigDay.getTime() - today.getTime());
var e_daysLeft = timeLeft / 86400000;
var daysLeft = Math.floor(e_daysLeft);
var e_hrsLeft = (e_daysLeft - daysLeft)*24;
var hrsLeft = Math.floor(e_hrsLeft);
var e_minsLeft = (e_hrsLeft - hrsLeft)*60;
var minsLeft = Math.floor(e_minsLeft);
var seksLeft = Math.floor((e_minsLeft - minsLeft)*60);
if (BigDay.getTime() > today.getTime() )
document.getElementById("ny_date").innerHTML = '<center><i><font color=red><b>До Нового года осталось</b></font><br> <b>'+daysLeft+'</b> дней, <b>'+hrsLeft+'</b> часов, <b>'+minsLeft+'</b> минут, <b>'+seksLeft+'</b> секунд</center></i>'
else
document.getElementById("ny_date").innerHTML = '<b>Поздравляем с <font color=red>Новым 2018 годом</font>!!!</b>'
}
setInterval("ojidanieNG()", 50)
</script>
<center><img src="http://s011.radikal.ru/i315/1411/86/b0b5969cb5a6.png"/></center>
<style type="text/css">
.sbr{
display: inline-block;
background: #0489B1;
border: 1px soldi #0489B1;
border-radius: 3px;
padding: 4px;
margin-top: 2px;
}
</style>
<hr>
<?php
if($w['check_t']>time()){
echo "<center>До сбора подарков осталось ".time_left($w['check_t']-time())."<br>";
}else{
echo "<center><a class='sbr' style='color:gold' href='?el&sbor'>Собрать подарки</a>";
}
echo "<hr><table border='0' width=90% align='center'>
<tr> <td align=center valign=top><img src='http://s014.radikal.ru/i327/1411/b4/23156fafb243.png' alt='o'><br>";
echo "</td ><td align=center valign=top ><img src='http://s58.radikal.ru/i160/1411/2c/1e91bb9e9717.png' alt='o'><br>";
echo "</td ><td align=center valign=top ><img src='http://s019.radikal.ru/i611/1411/0b/35b9f1380041.png' alt='o'><br>";
echo "
</td></tr><tr><td align=center>доход<br>1<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>1 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день</td>
<td align=center>доход<br>2<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>5 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день
<td align=center>доход<br>3<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>10 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день</td>
</td></tr>
<tr>
<td align=center><font color=cyan> $w[t1] </font></td>
<td align=center><font color=cyan> $w[t2] </font></td>
<td align=center><font color=cyan> $w[t3] </font></td>
</tr>
<tr><td colspan=3><hr></td></tr>
<tr><td align=center valign=top ><img s
echo "<div class='block'>";
if(mysql_result(mysql_query("SELECT COUNT(*) FROM `elk1` WHERE `user` = '$ku[id]' "),0)==0)
mysql_query("INSERT INTO `elk1` SET `user` = '$ku[id]' ");
$w=mysql_query("SELECT * FROM `elk1` WHERE `user`='$ku[id]'");
$max_t7=30;
if(isset($_GET['buy_t7'])){
if($ku['money']>='1000000000'){
mysql_query("UPDATE `kolhoz_user` SET `money` = `money` - '1000000000' WHERE `id`='$ku[id]'");
mysql_query("update `elk1` SET `t7`=`t7`+'1' WHERE `user`='$ku[id]'");
}
header('Location: ?el');
exit;
}
if(isset($_GET['sbor']) && $w['check_t']<time()){
$otime1=$w['t1']*86400;
$otime2=$w['t2']*172800;
$otime3=$w['t3']*259200;
$otime4=$w['t4']*345600;
$otime5=$w['t5']*432000;
/** **/
$okey1=$w['t1']*1;
$okey2=$w['t2']*5;
$okey3=$w['t3']*10;
$okey4=$w['t4']*20;
$okey5=$w['t5']*50;
/** **/
$obaks=$w['t6']*100000000;
$olvl=$w['t7']*1;
$otime=$otime1+$otime2+$otime3+$otime4+$otime5;
$okey=$okey1+$okey2+$okey3+$okey4+$okey5;
mysql_query("UPDATE `kolhoz_user` SET `time`=`time`+'$otime',`vipkey`=`vipkey`+'5',`baks`=`baks`+'100000',`level`=`level`+'10' WHERE `id`='$ku[id]'");
$n=time()+86400;
mysql_query("UPDATE `elk1` SET `check_t`='$n' WHERE `user`='$ku[id]'");
echo "Вы получили:<br>";
echo "<br>100 000 <img src='http://mkolhoz.mobi/images/d49c3d8455a2.png' width='16px' height='14px' alt='o'>";
echo "<br>10 <img src='http://mkolhoz.mobi/images/icons/experience.png' width='16px' height='14px' alt='o'> ур.";
echo "<br><br />
<a href='?el'> Вернуться</a>";
include 'inc/foot.php';
exit;
}
?>
<script LANGUAGE="javascript">
document.write('<span id="ny_date">До нового года осталось</span>')
function ojidanieNG()
{
var today = new Date();
var BigDay = new Date("January 1, 2018");
var timeLeft = (BigDay.getTime() - today.getTime());
var e_daysLeft = timeLeft / 86400000;
var daysLeft = Math.floor(e_daysLeft);
var e_hrsLeft = (e_daysLeft - daysLeft)*24;
var hrsLeft = Math.floor(e_hrsLeft);
var e_minsLeft = (e_hrsLeft - hrsLeft)*60;
var minsLeft = Math.floor(e_minsLeft);
var seksLeft = Math.floor((e_minsLeft - minsLeft)*60);
if (BigDay.getTime() > today.getTime() )
document.getElementById("ny_date").innerHTML = '<center><i><font color=red><b>До Нового года осталось</b></font><br> <b>'+daysLeft+'</b> дней, <b>'+hrsLeft+'</b> часов, <b>'+minsLeft+'</b> минут, <b>'+seksLeft+'</b> секунд</center></i>'
else
document.getElementById("ny_date").innerHTML = '<b>Поздравляем с <font color=red>Новым 2018 годом</font>!!!</b>'
}
setInterval("ojidanieNG()", 50)
</script>
<center><img src="http://s011.radikal.ru/i315/1411/86/b0b5969cb5a6.png"/></center>
<style type="text/css">
.sbr{
display: inline-block;
background: #0489B1;
border: 1px soldi #0489B1;
border-radius: 3px;
padding: 4px;
margin-top: 2px;
}
</style>
<hr>
<?php
if($w['check_t']>time()){
echo "<center>До сбора подарков осталось ".time_left($w['check_t']-time())."<br>";
}else{
echo "<center><a class='sbr' style='color:gold' href='?el&sbor'>Собрать подарки</a>";
}
echo "<hr><table border='0' width=90% align='center'>
<tr> <td align=center valign=top><img src='http://s014.radikal.ru/i327/1411/b4/23156fafb243.png' alt='o'><br>";
echo "</td ><td align=center valign=top ><img src='http://s58.radikal.ru/i160/1411/2c/1e91bb9e9717.png' alt='o'><br>";
echo "</td ><td align=center valign=top ><img src='http://s019.radikal.ru/i611/1411/0b/35b9f1380041.png' alt='o'><br>";
echo "
</td></tr><tr><td align=center>доход<br>1<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>1 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день</td>
<td align=center>доход<br>2<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>5 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день
<td align=center>доход<br>3<img src='http://s7.hostingkartinok.com/uploads/images/2014/11/9327c1bd2608003fa380a91971e087ef.png' width='16px' height='16px' alt='o'><br>10 <img src='/images/vipkey.png' width='16px' height='16px' alt='o'><br>в день</td>
</td></tr>
<tr>
<td align=center><font color=cyan> $w[t1] </font></td>
<td align=center><font color=cyan> $w[t2] </font></td>
<td align=center><font color=cyan> $w[t3] </font></td>
</tr>
<tr><td colspan=3><hr></td></tr>
<tr><td align=center valign=top ><img s
Що не так
Памагите