Колхоз/Ферма/садовник | снег
куда сніг на сайт нада списать
________
посл. ред. 28.11.2014 в 22:41; всего 1 раз(а); by 150823625
________
посл. ред. 28.11.2014 в 22:41; всего 1 раз(а); by 150823625
Бірешь и вставляішь таким вот кодам
echo "<img src='ссілка на картінку'>";
і все!
echo "<img src='ссілка на картінку'>";
і все!
а куда
Mr_Ezzy, мат
между чим
<?
/*
if((isset($ku['id'])) and ($ku['id']=='1294')){
error_reporting(0); // включаем показ ошибок
error_reporting(E_ALL);
ini_set('display_errors',true); // включаем показ ошибок
ini_set('error_reporting', E_ALL);
}
*/
ob_start();
date_default_timezone_set('Europe/Moscow');
$time=time();
include_once 'inc/start_sess.php';
echo "<title>Супер ферма</title>";
include_once 'inc/functions.php';
include_once 'inc/head.php';
if(!isset($ku))
{
include_once 'inc/no_auth.php';
}
include_once 'inc/start.php';
if($ku['ip']!==$_SERVER['SERVER_ADDR'])
{
mysql_query("UPDATE `kolhoz_user` SET `ip` = '".my_esc($_SERVER['REMOTE_ADDR'])."' WHERE `id` = '$ku[id]'") or die (mysql_error());
}
//ТЕХНИКA
include_once 'inc/trofimm.php';
include_once 'inc/workmans.php';
include_once 'inc/workings.php';
include_once 'inc/tehnika.php';
//ПЕРЕХОД НА СЛЕДУЮЩИЙ УРОВЕНЬ
include_once 'inc/next_level.php';
if($ku['panel']==1)
{
echo '<div style="text-align:right;padding:4px;" class="small"><span><span class="nobr"><img width="16" height="16" src="/images/icons/money.png" alt="o"> <span class="title">'.number_format($ku["money"], 0, "", "'").'</span></span></span><span><span class="nobr"> <img width="16" height="16" src="/images/icons/ruby.png" alt="o"> <span class="title">'.number_format($ku["rubies"], 0, "", "'").'</span></span></span>';
if($ku['time_key']>$time){echo '<span><span class="nobr"> <img width="16" height="16" src="/images/icons/pkey.png" alt="o"> <a href="?nk"><span class="title">'.time_left($ku['time_key']-$time).'</span></a></span></span>';}
echo '</div>';
}
if($ku['guest']==1)
{
echo"<div class='block'><img width='32' height='32' src='http://sadovnik.mobi/images/gardeners/kozemir.png' alt='' class='portrait'><span class='small'>Приветствую тебя дорогой фермер!<br>Ты не сохранился. <a href='?registration'>Сохранись</a> пожалуйста!</span></div>";
}
include_once 'inc/uhead.php';
if($ku['guest']==1)
{
if($ku['level']==3)
{
include_once 'inc/save.php';
}
}
if($ku['level']>=20)
{
if(isset($_GET['get_prize']))
{
echo "<div class='event'><h1>Вы поймали Бонус!</h1></div>";
echo '<div class="content"><div class="block">';
error_reporting(E_ALL^E_NOTICE);
if(isset($_GET['gen_code']) && $_SESSION['prize']==$_GET['gen_code'] && isset($_SESSION['prize']))
{
$rr=rand(100,1000);
$rrr=rand(5620,25500);
mysql_query("UPDATE `kolhoz_user` SET `rubies` = `rubies` + '$rr' WHERE `id` = '$ku[id]'");
mysql_query("UPDATE `kolhoz_user` SET `money` = `money` + '$rrr' WHERE `id` = '$ku[id]'");
echo "Поздравляем!<br/> Вы поймали: <img width='16' height='16' src='images/icons/ruby.png'> <span class='title'>$rr</span> и <img width='16' height='16' src='images/icons/money.png'> <span class='title'>$rrr";
unset($_SESSION['prize']);
}
else
{
echo "Эх, не успели!";
}
echo "</div>";
include_once 'inc/foot.php';
}
$rand=rand(14,60);
if($rand==11 || $rand==26 || $rand==38 || $rand==46 || $rand==59)
{
$_SESSION['prize']=md5($rand);
echo "<div class='feedback'><center><img width='20' height='20' src='images/icons/ruby.png'> <a href='?get_prize=1&gen_code=".md5($rand)."'><b>Бонус!</b></a> <img width='20' height='20' src='images/icons/money.png'></center></div>";
}
}
include_once 'inc/podarok.php';
include_once 'inc/sadovnik.php';
include_once 'inc/worker3.php';
include_once 'inc/sadovnik2.php';
include_once 'inc/shop.php';
if(isset($_GET['myfarm']))
{
include_once 'inc/myfarm.php';
}
elseif(isset($_GET['mytreefarm']) && $ku['level']>=20)
{
include_once 'inc/treefarm.php';
}
elseif(isset($_GET['mygarden']) && $ku['level']>=20)
{
include_once 'inc/mygarden.php';
}
if(isset($_GET['jalob']))
{
include_once 'inc/jalob.php';
}
elseif(isset($_GET['turnir']))
{
include_once 'inc/turnir.php';
}
if(isset($_GET['derevo']))
{
include_once 'inc/derevo.php';
}
if(isset($_GET['journal']))
{
include_once 'inc/journal.php';
}
if(isset($_GET['banned']))
{
include_once 'inc/banned.php';
}
if(isset($_GET['registration']) && $ku[guest]==1)
{
include_once 'inc/save.php';
}
if(isset($_GET['ozero']))
{
include_once 'inc/fish.php';
}
elseif(isset($_GET['mycellar2']) && $ku['level']>=20)
{
include_once 'inc/mycellar2.php';
}
elseif(isset($_GET['avakx']))
{
include_once 'inc/avakx.php';
}
if(isset($_GET['nk']))
{
include_once 'inc/nk.php';
}
if(isset($_GET['tikets'])) {include_once 'inc/tikets.php';}
if(isset($_GET['act_user']))
{
include_once 'inc/act_user.php';
}
elseif(isset($_GET['mycellar']) && $ku['level']>=10)
{
include_once 'inc/mycellar.php';
}
elseif(isset($_GET['cellar_info']))
{
include_once 'inc/cellar_info.php';
}
if(isset($_GET['mywork']))
{
include_once 'inc/mywork.php';
}
elseif(isset($_GET['warehouse']))
{
include_once 'inc/warehouse.php';
}
elseif(isset($_GET['gonki']))
{
include_once 'inc/gonki.php';
}
if(isset($_GET['tikets']))
{
include_once 'inc/tikets.php';
}
//Покупка по смс
elseif(isset($_GET['key1']))
{
include_once 'inc/smsbill/key1.php';
}
elseif(isset($_GET['key5']))
{
include_once 'inc/smsbill/key5.php';
<?
/*
if((isset($ku['id'])) and ($ku['id']=='1294')){
error_reporting(0); // включаем показ ошибок
error_reporting(E_ALL);
ini_set('display_errors',true); // включаем показ ошибок
ini_set('error_reporting', E_ALL);
}
*/
ob_start();
date_default_timezone_set('Europe/Moscow');
$time=time();
include_once 'inc/start_sess.php';
echo "<title>Супер ферма</title>";
include_once 'inc/functions.php';
include_once 'inc/head.php';
if(!isset($ku))
{
include_once 'inc/no_auth.php';
}
include_once 'inc/start.php';
if($ku['ip']!==$_SERVER['SERVER_ADDR'])
{
mysql_query("UPDATE `kolhoz_user` SET `ip` = '".my_esc($_SERVER['REMOTE_ADDR'])."' WHERE `id` = '$ku[id]'") or die (mysql_error());
}
//ТЕХНИКA
include_once 'inc/trofimm.php';
include_once 'inc/workmans.php';
include_once 'inc/workings.php';
include_once 'inc/tehnika.php';
//ПЕРЕХОД НА СЛЕДУЮЩИЙ УРОВЕНЬ
include_once 'inc/next_level.php';
if($ku['panel']==1)
{
echo '<div style="text-align:right;padding:4px;" class="small"><span><span class="nobr"><img width="16" height="16" src="/images/icons/money.png" alt="o"> <span class="title">'.number_format($ku["money"], 0, "", "'").'</span></span></span><span><span class="nobr"> <img width="16" height="16" src="/images/icons/ruby.png" alt="o"> <span class="title">'.number_format($ku["rubies"], 0, "", "'").'</span></span></span>';
if($ku['time_key']>$time){echo '<span><span class="nobr"> <img width="16" height="16" src="/images/icons/pkey.png" alt="o"> <a href="?nk"><span class="title">'.time_left($ku['time_key']-$time).'</span></a></span></span>';}
echo '</div>';
}
if($ku['guest']==1)
{
echo"<div class='block'><img width='32' height='32' src='http://sadovnik.mobi/images/gardeners/kozemir.png' alt='' class='portrait'><span class='small'>Приветствую тебя дорогой фермер!<br>Ты не сохранился. <a href='?registration'>Сохранись</a> пожалуйста!</span></div>";
}
include_once 'inc/uhead.php';
if($ku['guest']==1)
{
if($ku['level']==3)
{
include_once 'inc/save.php';
}
}
if($ku['level']>=20)
{
if(isset($_GET['get_prize']))
{
echo "<div class='event'><h1>Вы поймали Бонус!</h1></div>";
echo '<div class="content"><div class="block">';
error_reporting(E_ALL^E_NOTICE);
if(isset($_GET['gen_code']) && $_SESSION['prize']==$_GET['gen_code'] && isset($_SESSION['prize']))
{
$rr=rand(100,1000);
$rrr=rand(5620,25500);
mysql_query("UPDATE `kolhoz_user` SET `rubies` = `rubies` + '$rr' WHERE `id` = '$ku[id]'");
mysql_query("UPDATE `kolhoz_user` SET `money` = `money` + '$rrr' WHERE `id` = '$ku[id]'");
echo "Поздравляем!<br/> Вы поймали: <img width='16' height='16' src='images/icons/ruby.png'> <span class='title'>$rr</span> и <img width='16' height='16' src='images/icons/money.png'> <span class='title'>$rrr";
unset($_SESSION['prize']);
}
else
{
echo "Эх, не успели!";
}
echo "</div>";
include_once 'inc/foot.php';
}
$rand=rand(14,60);
if($rand==11 || $rand==26 || $rand==38 || $rand==46 || $rand==59)
{
$_SESSION['prize']=md5($rand);
echo "<div class='feedback'><center><img width='20' height='20' src='images/icons/ruby.png'> <a href='?get_prize=1&gen_code=".md5($rand)."'><b>Бонус!</b></a> <img width='20' height='20' src='images/icons/money.png'></center></div>";
}
}
include_once 'inc/podarok.php';
include_once 'inc/sadovnik.php';
include_once 'inc/worker3.php';
include_once 'inc/sadovnik2.php';
include_once 'inc/shop.php';
if(isset($_GET['myfarm']))
{
include_once 'inc/myfarm.php';
}
elseif(isset($_GET['mytreefarm']) && $ku['level']>=20)
{
include_once 'inc/treefarm.php';
}
elseif(isset($_GET['mygarden']) && $ku['level']>=20)
{
include_once 'inc/mygarden.php';
}
if(isset($_GET['jalob']))
{
include_once 'inc/jalob.php';
}
elseif(isset($_GET['turnir']))
{
include_once 'inc/turnir.php';
}
if(isset($_GET['derevo']))
{
include_once 'inc/derevo.php';
}
if(isset($_GET['journal']))
{
include_once 'inc/journal.php';
}
if(isset($_GET['banned']))
{
include_once 'inc/banned.php';
}
if(isset($_GET['registration']) && $ku[guest]==1)
{
include_once 'inc/save.php';
}
if(isset($_GET['ozero']))
{
include_once 'inc/fish.php';
}
elseif(isset($_GET['mycellar2']) && $ku['level']>=20)
{
include_once 'inc/mycellar2.php';
}
elseif(isset($_GET['avakx']))
{
include_once 'inc/avakx.php';
}
if(isset($_GET['nk']))
{
include_once 'inc/nk.php';
}
if(isset($_GET['tikets'])) {include_once 'inc/tikets.php';}
if(isset($_GET['act_user']))
{
include_once 'inc/act_user.php';
}
elseif(isset($_GET['mycellar']) && $ku['level']>=10)
{
include_once 'inc/mycellar.php';
}
elseif(isset($_GET['cellar_info']))
{
include_once 'inc/cellar_info.php';
}
if(isset($_GET['mywork']))
{
include_once 'inc/mywork.php';
}
elseif(isset($_GET['warehouse']))
{
include_once 'inc/warehouse.php';
}
elseif(isset($_GET['gonki']))
{
include_once 'inc/gonki.php';
}
if(isset($_GET['tikets']))
{
include_once 'inc/tikets.php';
}
//Покупка по смс
elseif(isset($_GET['key1']))
{
include_once 'inc/smsbill/key1.php';
}
elseif(isset($_GET['key5']))
{
include_once 'inc/smsbill/key5.php';
да куда снег вкидать нада на кх
DELETED
28 ноября 2014, в 22:39
Delete