Просмотр файла games/car2.php

Размер файла: 25.84Kb
<?php
############################################
### Этот скрипт написан для Wap-Motor 18 ###
###Автор скрипта Dred#######################
###ICQ: 757041##############################
###Сайт: http://nmn.webhop.net##############
###Желающие могут подкинуть деньжат#########
###Z840880492902############################
###R852036927651############################
############################################
require_once"../template/start.php";require_once"../template/regglobals.php";require_once"../template/config.php";require_once"../template/siti_conf.php";require_once"../template/functions.php";require_once"../template/antidos.php";require_once"../template/cookies.php";require_once"../template/gzip.php";require_once"../template/header.php";require_once"../template/referer.php";include_once"../themes/$config_themes/index.php";include_once"../template/isset.php";if(empty($action)){$action="index";}if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {$gtxt = @file("../local/navigator/$log.game");$gamedata = explode(":||:",$gtxt[0]);$gamelog=trim($gtxt[0]);if (!$gamelog=="") {$c1="Speed-CaR";$c11="25.jpg";$c2="Turbo-NOS";$c22="21.jpg";$c3="CRAYSLER";$c33="20.jpg";$c4="PORSHE 4X4";$c44="23.jpg";$c5="PORSHE BOXER";$c55="24.jpg";$c6="PORSHE RED";$c66="28.jpg";$c7="Mersedes-BENZ";$c77="26.jpg";$c8="BUGATTI-SPORT";$c88="27.jpg";$c222="Самокат";$c2222="0000.jpg";if($action=="index"){echo "<img src=\"../images/partners.gif\" alt=\"\"> <b><font color=\"#FFFF00\">Авто-салон</font></b><br>Спорт-каров<br>";echo'Здарова, '.$log.'!<br>';echo'У тебя есть '.$udata[41].' монет<br>';echo '<br> Здесь можно купить тачку. Это, конечно не первая необходимость, но всё-таки давольно имиджевая штука.';if($udata[41]<999 and $udata[41]>0){echo '<br><br> Слушай, у тебя не так много монет, чтобы купить себе тачку. Заходи как разбогатеешь, а пока ходи пешком или могу тебе кое-что предложить, чтоб поберечь ноги... <br><a href="car2.php?action=pokupkac12&amp;'.SID.'">Самокат (бесплатно)<a><br>';echo "</div><div class=b><img src=\"../images/car/0000.jpg\" alt=\"\"></div><div>";}else{echo '<br><br>ВЫБИРАЙ!:<br>';echo "</div><div class=b><img src=\"../images/car/25.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac1&amp;'.SID.'">Speed-CaR<a> $1.207.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/21.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac2&amp;'.SID.'">Turbo-NOS<a> $1.650.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/20.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac3&amp;'.SID.'">CRAYSLER<a> $1.880.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/23.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac4&amp;'.SID.'">PORSHE 4X4<a> $2.115.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/24.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac5&amp;'.SID.'">PORSHE BOXER<a> $2.328.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/28.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac6&amp;'.SID.'">PORSHE RED<a> $2.480.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/26.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac7&amp;'.SID.'">Mersedes-BENZ<a> $3.000.000<br><br><br>';echo "</div><div class=b><img src=\"../images/car/27.jpg\" alt=\"\"></div><div>";echo'<a href="car2.php?action=pokupkac8&amp;'.SID.'">BUGATTI-SPORT<a> $4.000.000<br><br><br>';}}if($action=="pokupkac1"){ if($udata[41]<1207000){echo''.$log.', у тебя нет монет, чтобы купить этот мотоцикл. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-1207000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c1.':||:'.$c11.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c1.'<br>';echo "<img src=\"../images/car/25.jpg\" alt=\"\"><br>";}}if($action=="pokupkac2"){ if($udata[41]<1650000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-1650000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c2.':||:'.$c22.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c2.'<br>';echo "<img src=\"../images/car/21.jpg\" alt=\"\"><br>";}}if($action=="pokupkac3"){ if($udata[41]<1880000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-1880000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c3.':||:'.$c33.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c3.'<br>';echo "<img src=\"../images/car/20.jpg\" alt=\"\"><br>";}}if($action=="pokupkac4"){ if($udata[41]<2115000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-2115000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c4.':||:'.$c44.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c4.'<br>';echo "<img src=\"../images/car/23.jpg\" alt=\"\"><br>";}}if($action=="pokupkac5"){ if($udata[41]<2328000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-2328000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c5.':||:'.$c55.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c5.'<br>';echo "<img src=\"../images/car/24.jpg\" alt=\"\"><br>";}}if($action=="pokupkac6"){ if($udata[41]<2480000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-2480000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c6.':||:'.$c66.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c6.'<br>';echo "<img src=\"../images/car/28.jpg\" alt=\"\"><br>";}}if($action=="pokupkac7"){ if($udata[41]<3000000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-3000000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c7.':||:'.$c77.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c7.'<br>';echo "<img src=\"../images/car/26.jpg\" alt=\"\"><br>";}}if($action=="pokupkac8"){ if($udata[41]<4000000){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-4000000;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c8.':||:'.$c88.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c8.'<br>';echo "<img src=\"../images/car/27.jpg\" alt=\"\"><br>";}}if($action=="pokupkac12"){ if($udata[41]<1){echo''.$log.', у тебя нет монет, чтобы купить эту тачку. Приходи, когда разбогатеешь.<br>';}else{ $ufiles = file(BASEDIR."local/profil/$log.prof");$udatas = explode(":||:",$ufiles[0]);$udatas[41]=$udatas[41]-1;for ($us=0; $us<$config_userprofkey; $us++){$utexts.=$udatas[$us].':||:';}if($udatas[0]!="" && $udatas[1]!="" && $udatas[4]!="" && $utexts!=""){$fps=fopen(BASEDIR."local/profil/$log.prof","a+");flock($fps,LOCK_EX);ftruncate($fps,0);fputs($fps,$utexts);fflush($fps);flock($fps,LOCK_UN);fclose($fps);unset($utexts);} $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$c222.':||:'.$c2222.':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'Куплено! Теперь твоя тачка: '.$c222.'<br>';echo "<img src=\"../images/car/0000.jpg\" alt=\"\"><br>";}}}else{ $gamedata = @file("../local/navigator/$log.game");$gtxt = explode(":||:",$gamedata[0]);$gametext=$log.':||:'.$gtxt[1].':||:'.$gtxt[2].':||:'.$gtxt[3].':||:'.$gtxt[4].':||:'.$gtxt[5].':||:'.$gtxt[6].':||:'.$gtxt[7].':||:'.$gtxt[8].':||:'.$gtxt[9].':||:'.$gtxt[10].':||:'.$gtxt[11].':||:'.$gtxt[12].':||:'.$gtxt[13].':||:'.$gtxt[14].':||:'.$gtxt[15].':||:'.$gtxt[16].':||:'.$gtxt[17].':||:'.$gtxt[18].':||:'.$gtxt[19].':||:'.$gtxt[20].':||:'.$gtxt[21].':||:'.$gtxt[22].':||:'.$gtxt[23].':||:'.$gtxt[24].':||:'.$gtxt[25].':||:'.$gtxt[26].':||:'.$gtxt[27].':||:'.$gtxt[28].':||:'.$gtxt[29].':||:'.$gtxt[30].':||:'.$gtxt[31].':||:'.$gtxt[32].':||:'.$gtxt[33].':||:'.$gtxt[34].':||:'.$gtxt[35].':||:'.$gtxt[36].':||:'.$gtxt[37].':||:'.$gtxt[38].':||:'.$gtxt[39].':||:'.$gtxt[40].':||:'.$gtxt[41].':||:'.$gtxt[42].':||:'.$gtxt[43].':||:'.$gtxt[44].':||:'.$gtxt[45].':||:'.$gtxt[46].':||:'.$gtxt[47].':||:'.$gtxt[48].':||:'.$gtxt[49].':||:'.$gtxt[50].':||:'.$gtxt[51].':||:'.$gtxt[52].':||:'.$gtxt[53].':||:'.$gtxt[54].':||:'.$gtxt[55].':||:'.$gtxt[56].':||:'.$gtxt[57].':||:'.$gtxt[58].':||:'.$gtxt[59].':||:'.$gtxt[60].':||:'.$gtxt[61].':||:'.$gtxt[62].':||:'.$gtxt[63].':||:'.$gtxt[64].':||:'.$gtxt[65].':||:'.$gtxt[66].':||:'.$gtxt[67].':||:'.$gtxt[68].':||:'.$gtxt[69].':||:'.$gtxt[70].':||:'.$gtxt[71].':||:';$fp=fopen("../local/navigator/$log.game","w");flock($fp,LOCK_EX);fputs($fp,"$gametext");fflush($fp);flock($fp,LOCK_UN);fclose($fp);chmod ("../local/navigator/$log.game", 0666);echo'<br>Профиль для модов успешно создан! Обновите эту страницу или нажмите ';echo'<a href="car2.php?'.SID.'">СЮДА</a>';}}else{echo'<br>Я не продаю тачки кому попало. Да и зачем они тебе, если ты не пользователь сайта. <br> Для устранения этой проблемы необходимо <a href="../pages/vhod.php"> ВЫПОЛНИТЬ ВХОД</a><br> или сперва <a href="../pages/registration.php"> ЗАРЕГИСТРИРОВАТЬСЯ <br>';}echo'<br>&#171; <a href="../index.php?action=arkada&amp;'.SID.'">Развлекалово</a>';echo'<br>&#171;<a href="../index.php?'.SID.'">На главную</a><br>';eval(base64_decode('ZWNobyc8aHI+PGEgaHJlZj0iaHR0cDovL25tbi53ZWJob3AubmV0Ij5OTU4u
V0VCSE9QLk5FVDwvYT48YnI+JzsKaW5jbHVkZV9vbmNlKEJBU0VESVIuInRo
ZW1lcy8kY29uZmlnX3RoZW1lcy9mb290LnBocCIpOw=='));?>