Salam, Qonaq
 Əsas Səhifə | GirişQeydiyyatDil seç: AZ  

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış
  Php masterler baxin?
-By_KING- -By_KING- [Off] [#] (01.07.2014 / 18:22)
Salamlar. Bir php da seflik verir. Tapa bilmirem bilen olar?

Http://m.kallxoz.ru/user.txt

xahis gorun bilessiz?
Sistem Sistem [Off] [#] (01.07.2014 / 18:22)
WapUsta.Net :)
Təbriklər ! Yeni mövzu uğurla yaradıldı! Əgər mövzu Qaydalara uyğun olmazsa silinəcək. Mövzudan kənara çıxmayın, mövzuda başqasının fikirlərinə hörmətlə yanaşın, probleminiz varsa şəxsidə həll edin, mövzuda artıq post yazmayın. Qeyd ! Ailəsinə hörmət edən, qeyrəti olan söyüş söyməz, reklam etməz
nalse nalse [Off] [#] (01.07.2014 / 18:49)
NMP
ugurlar qaqa. Bilmirem
-By_KING- -By_KING- [Off] [#] (01.07.2014 / 19:06)
nalse, Twk
Feccc_master Feccc_master [Off] [#] (01.07.2014 / 19:10)
Sayt,Skript,Hosting boş şeydi.Əsas insan olmaqdır!!!
-By_KING-, Onu burda yazana kimi coxdan yeniden qurmuwdun
LOGMAN LOGMAN [Off] [#] (01.07.2014 / 20:24)
Ya ov ol, ya ovçu. Ama ovu ovçuya aparan it olma..
Sefi tapdim ve duzeltdim, buyur, } bu kod baglanmamisdi.
  1. <?
  2. if(isset($_GET['history']))include_once 'inc/history.php';
  3. elseif(isset($_GET['bans']) && ($ank['id']==$ku['id'] || $ku['status']>0))include_once 'inc/bans.php';
  4.  
  5. if(mysql_result(mysql_query("SELECT COUNT(*) FROM `kolhoz_collective_user` WHERE `id_user` = '$ank[id]'"),0)!=0)
  6. {
  7. $uctu=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_collective_user` WHERE `id_user` = '$ank[id]'"));
  8. $uct=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_collective` WHERE `id` = '$uctu[id_collective]'"));
  9. if($au['pol']==1)$uctu['status_name']='kolxozcu';else $uctu['status_name']='kolxozcu';
  10. if($uctu['status']==1)$uctu['status_name']='sedr';
  11. elseif($uctu['status']==2)$uctu['status_name']='muavin';
  12. elseif($uctu['status']==3)$uctu['status_name']='aqronom';
  13. elseif($uctu['status']==4)$uctu['status_name']=($au['pol']==1?'ba&#351; fermer':'ba&#351; fermer');
  14. elseif($uctu['status']==5)$uctu['status_name']='briqadir';
  15. elseif($uctu['status']==6)$uctu['status_name']=($au['pol']==1?'usta':'usta');
  16. }
  17.  
  18. if(isset($_GET['izg']) && ($ku['id']==1 || $ku['status']==3 || $ku['status']==1) && $ku['id']!=$ank['id'])
  19. {
  20. if(isset($_POST['msg']))
  21. {
  22. if(strlen2($_POST['msg'])<1)err_game("Cox qisa metn");
  23. else
  24. {
  25. mysql_query("INSERT INTO `kolhoz_ban` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `msg` = '".my_esc($_POST['msg'])."', `izg` = '1'");
  26. header("Location:?user=$ank[id]");
  27. }
  28. }
  29. echo "<div class='event'><h1>$au[nick]</h1></div>";
  30. echo '<div class="content"><div class="block">';
  31. echo "<form method='post'>";
  32. echo "Sebeb:<br />\n";
  33. echo "<textarea name=\"msg\"></textarea><br />\n";
  34. echo "<input type='submit' value='Saytdan qov' />\n";
  35. echo "</form>\n";
  36. echo "</div>";
  37. include_once 'inc/foot.php';
  38. }
  39. elseif(isset($_GET['vipka']) && ($ku['status']==3))
  40. {
  41. $timevip=$time;
  42. if(isset($_POST['timevipka']))
  43. {
  44. if ($_POST['timevipka']=='min')$timevip+=intval($_POST['timev'])*60;
  45. if ($_POST['timevipka']=='chas')$timevip+=intval($_POST['timev'])*60*60;
  46. if ($_POST['timevipka']=='sut')$timevip+=intval($_POST['timev'])*60*60*24;
  47. if ($_POST['timevipka']=='mes')$timevip+=intval($_POST['timev'])*60*60*24*30;
  48. mysql_query("UPDATE `kolhoz_user` SET `vip_who` = '$ku[id]', `timevip` = '$timevip' WHERE `id` = '$ank[id]'");
  49. header("Location:?user=$ank[id]");
  50. }
  51. echo "<div class='event'><h1>$au[nick]</h1></div>";
  52. echo '<div class="content"><div class="block">';
  53. echo "<form method='post'>";
  54. echo "Vaxt:<br />\n";
  55. echo "<input type='text' name='timev' title='Vaxt&#305; sec' value='1' maxlength='11' size='3' />\n";
  56. echo "<select name=\"timevipka\">\n";
  57. echo "<option value='min'>Deqiqe</option>\n";
  58. echo "<option value='chas'>Saat</option>\n";
  59. echo "<option value='sut'>Gun</option>\n";
  60. echo "<option value='mes'>Ay</option>\n";
  61. echo "</select><br />\n";
  62. echo "<input type='submit' value='VIP -et' />\n";
  63. echo "</form>";
  64. echo "</div>";
  65. include_once 'inc/foot.php';
  66. }
  67. elseif(isset($_GET['ban']) && ($ku['id']==1 || $ku['status']>0) && $ku['id']!=$ank['id'])
  68. {
  69. if(isset($_POST['msg']))
  70. {
  71. $timeban=$time;
  72. if ($_POST['time']=='min')$timeban+=intval($_POST['timec'])*60;
  73. if ($_POST['time']=='chas')$timeban+=intval($_POST['timec'])*60*60;
  74. if ($_POST['time']=='sut')$timeban+=intval($_POST['timec'])*60*60*24;
  75. if ($_POST['time']=='mes')$timeban+=intval($_POST['timec'])*60*60*24*30;
  76. if ($timeban<$time)err_game('Ban vaxtini qeyd et');
  77. elseif(strlen2($_POST['msg'])<1)err_game("Sebebi qeyd et");
  78. else
  79. {
  80. mysql_query("INSERT INTO `kolhoz_ban` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `msg` = '".my_esc($_POST['msg'])."', `izg` = '0', `time` = '$timeban'");
  81. header("Location:?user=$ank[id]");
  82. }
  83. }
  84. echo "<div class='event'><h1>$au[nick]</h1></div>";
  85. echo '<div class="content"><div class="block">';
  86. echo "<form method='post'>";
  87. echo "Sebeb:<br />\n";
  88. echo "<textarea name=\"msg\"></textarea><br />\n";
  89. echo "Banin vaxti:<br />\n";
  90. echo "<input type='text' name='timec' title='Vaxti sec' value='1' maxlength='11' size='3' />\n";
  91. echo "<select name=\"time\">\n";
  92. echo "<option value='min'>Deqiqe</option>\n";
  93. echo "<option value='chas'>Saat</option>\n";
  94. echo "<option value='sut'>Gun</option>\n";
  95. echo "<option value='mes'>Ay</option>\n";
  96. echo "</select><br />\n";
  97. echo "<input type='submit' value='Ban et' />\n";
  98. echo "</form>";
  99. echo "</div>";
  100. include_once 'inc/foot.php';
  101. }
  102. elseif(isset($_GET['inct']) && $mcu['status']<=3 && isset($mc) && !isset($uct) && $ank['level']>=10)
  103. {
  104. if(mysql_result(mysql_query("SELECT COUNT(*) FROM `kolhoz_collective_invite` WHERE `id_user` = '$ank[id]'"),0)!=0)err_game("Bu fermere art&#305;q devet gonderilib");
  105. elseif($mc['users']==$mc['users_max'])err_game("Kolxoz sovetinde bo&#351; yer yoxdur");
  106. elseif($ank['invitect']==1)err_game("Bu fermer kolxoz devetlerini ba&#287;lay&#305;b");
  107. else
  108. {
  109. mysql_query("INSERT INTO `kolhoz_collective_invite` SET `id_user` = '$ank[id]', `id_collective` = '$mc[id]', `id_who` = '$ku[id]', `time` = '$time'");
  110. echo "<div class='feedback'><ul class='feedbackPanel'><li class='feedbackPanelINFO'><span class='feedbackPanelINFO'>Devet u&#287;urla gonderildi</span></li></ul></div>";
  111. }
  112. }
  113. if(isset($_GET['status_ct']) && $mcu['status']<=3 && isset($mc) && $ank['id']!=$ku['id'] && $uctu['status']>$mcu['status'] && isset($uct) && $uct['id']==$mc['id'])
  114. {
  115. if($_GET['status_ct']!=NULL && ($_GET['status_ct']==0 || $_GET['status_ct']==1 && $mcu['status']==1 || $_GET['status_ct']==2 || $_GET['status_ct']==3 || $_GET['status_ct']==4 || $_GET['status_ct']==5 || $_GET['status_ct']==6 || $_GET['status_ct']==7))
  116. {
  117. $status_ct=intval($_GET['status_ct']);
  118. if($status_ct>1 && $status_ct<=7 && $status_ct>$mcu['status'])
  119. {
  120. mysql_query("UPDATE `kolhoz_collective_user` SET `status` = '$status_ct' WHERE `id` = '$uctu[id]'");
  121. if($status_ct<$uctu['status'])mysql_query("INSERT INTO `kolhoz_collective_history` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `id_collective` = '$uct[id]', `time` = '$time', `type` = 'st_up', `dei` = 'who', `status` = '$status_ct'");
  122. else mysql_query("INSERT INTO `kolhoz_collective_history` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `id_collective` = '$uct[id]', `time` = '$time', `type` = 'st_down', `dei` = 'who', `status` = '$status_ct'");
  123. header("Location:?user=$ank[id]");
  124. }
  125. elseif($status_ct==1 && $mcu['status']==1)
  126. {
  127. if(isset($_GET['ok']))
  128. {
  129. mysql_query("UPDATE `kolhoz_collective_user` SET `status` = '1' WHERE `id` = '$uctu[id]'");
  130. mysql_query("UPDATE `kolhoz_collective_user` SET `status` = '2' WHERE `id` = '$mcu[id]'");
  131. mysql_query("INSERT INTO `kolhoz_collective_history` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `id_collective` = '$uct[id]', `time` = '$time', `type` = 'st_up', `dei` = 'who', `status` = '1'");
  132. mysql_query("INSERT INTO `kolhoz_collective_history` SET `id_user` = '$ku[id]', `id_who` = '$ku[id]', `id_collective` = '$uct[id]', `time` = '$time', `type` = 'st_down', `dei` = 'who', `status` = '2'");
  133. header("Location:?user=$ank[id]");
  134. }
  135. podtv("?user=$ank[id]&status_ct=1&ok","?user=$ank[id]&status_ct");
  136. include_once 'inc/foot.php';
  137. }
  138. elseif($status_ct==0 && $mcu['status']<=3 && isset($mc))
  139. {
  140. if(isset($_GET['ok']))
  141. {
  142. mysql_query("DELETE FROM `kolhoz_collective_user` WHERE `id` = '$uctu[id]'");
  143. mysql_query("INSERT INTO `kolhoz_collective_history` SET `id_user` = '$ank[id]', `id_who` = '$ku[id]', `id_collective` = '$uct[id]', `time` = '$time', `type` = 'out', `dei` = 'who'");
  144. mysql_query("UPDATE `kolhoz_user` SET `time_shmel` = '0', `time_yastreb` = '0', `time_drakon` = '0' WHERE `id` = '$ank[id]'");
  145. header("Location:?user=$ank[id]");
  146. }
  147. podtv("?user=$ank[id]&status_ct=0&ok","?user=$ank[id]&status_ct");
  148. include_once 'inc/foot.php';
  149. }
  150. }
  151. echo "<div class='event'><h1>$au[nick]</h1></div>";
  152. echo '<div class="content"><div class="block">';
  153. $array_status=array('sedr/' => '1', 'muavin/' => '2', 'aqronom/' => '3', 'ba&#351; fermer/ba&#351; fermer' => '4', 'briqadir/' => '5', 'usta/usta' => '6', 'kolxozcu/kolxozcu' => '7', 'kolxozdan qov/' => '0');
  154. echo "<ul>";
  155. foreach($array_status AS $key => $value)
  156. {
  157. $sname=explode('/',$key);
  158. if($sname[1]==NULL)$sname[1]=$sname[0];
  159. if($value==0)$img='cross';elseif($value==1)$img='crown';elseif($value==$uctu['status'])$img='arrow';elseif($value>$uctu['status'])$img='down';elseif($value<$uctu['status'])$img='up';
  160. echo "<li><img src='images/icons/".$img.".png'> ";
  161. echo ($value>$mcu['status'] && $mcu['status']!=$value || $mcu['status']==1 && $value==1 || $value==0?"<a href='?user=$ank[id]&status_ct=$value'>":null)."".($au['pol']==1?$sname[0]:$sname[1])."".($value>$mcu['status'] && $mcu['status']!=$value || $mcu['status']==1 && $value==1 || $value==0?"</a>":null)."</li>";
  162. }
  163. echo "</ul>";
  164. echo "</div>";
  165. include_once 'inc/foot.php';
  166. }
  167. if(isset($_GET['status']) && $ku['status']==3 && $ank['id']!=$ku['id'] && ($ku['status']>$ank['status'] || $ku['id']==1))
  168. {
  169. if($_GET['status']!=NULL && ($_GET['status']==0 || $_GET['status']==1 || $_GET['status']==2 || $_GET['status']==3))
  170. {
  171. mysql_query("UPDATE `kolhoz_user` SET `status` = '".intval($_GET['status'])."' WHERE `id` = '$ank[id]'");
  172. header("Location:?user=$ank[id]");
  173. }
  174. echo "<div class='event'><h1>$au[nick]</h1></div>";
  175.  
  176. echo '<div class="content"><div class="block">';
  177. echo "<li><img src='images/icons/".($ank['status']==3?"arrow.png":"up.png")."'> ".($ank['status']!=3?"<a href='?user=$ank[id]&status=3'>":null)."Administrator".($ank['status']==3?"</a>":null)."</li>";
  178. echo "<li><img src='images/icons/".($ank['status']==2?"arrow.png":"".($ank['status']>2?"down.png":"up.png")."")."'> ".($ank['status']!=2?"<a href='?user=$ank[id]&status=2'>":null)."Moderator".($ank['status']==2?"</a>":null)."</li>";
  179. echo "<li><img src='images/icons/".($ank['status']==1?"arrow.png":"".($ank['status']>1?"down.png":"up.png")."")."'> ".($ank['status']!=1?"<a href='?user=$ank[id]&status=1'>":null)."Texniki destek".($ank['status']==1?"</a>":null)."</li>";
  180. echo "<li><img src='images/icons/".($ank['status']==0?"arrow.png":"".($ank['status']>0?"down.png":"up.png")."")."'> ".($ank['status']!=0?"<a href='?user=$ank[id]&status=0'>":null)."игрок".($ank['status']!=0?"</a>":null)."</li>";
  181. echo "</div>";
  182. include_once 'inc/foot.php';
  183. }
  184. echo "<div class='event'><h1>$au[nick]</h1></div>";
  185. echo '<div class="content"><div class="block">';
  186. if (file_exists('images/avatars/'.$au['id'].'.png'))
  187. {
  188. echo "<img src='images/avatars/$au[id].png' alt='o'>";
  189. }
  190. else
  191. {
  192. echo "<img src='images/noavatar.png' alt='o'>";
  193. }
  194.  
  195.  
  196. if($ank['id']!=$ku['id']){echo "<div class='ptm'>";
  197. if($ank['id']!=$ku['id'])echo "<li><img alt='' width='16' height='16' src='images/icons/favorite.png'> <a href='?communication=$ank[id]&friend'><span>".(mysql_result(mysql_query("SELECT COUNT(*) FROM `kolhoz_friends` WHERE `id_user` = '$ku[id]' AND `id_ank` = '$ank[id]' LIMIT 1"),0)==0?"Dostlara elave et":"Dostluqdan cixar")."</span></a></li>";
  198. $zags=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_zags` WHERE `ona`='$ank[id]' OR `on`='$ku[id]'"));
  199. if ($ank['pol']==0 && $ku['pol']==1 && $zags==0)echo "<img width='16' height='16' src='images/icons/heart.png' alt='o'> <a href='?svad=$ank[id]'>Teklif et</a><br>";
  200. }
  201.  
  202.  
  203. echo "<div><h3>Texnika <span class='title'>(<span>$ank[tehnika]</span>)</span></h3>";
  204. echo "<ul>";
  205.  
  206. if($ank['gardener']==1)$name='Besdi';
  207. if($ank['garden_time']>$time)echo "<li><img width='16' height='16' alt='' src='images/icons/gardener".$ank[gardener].".png'> <a class='epic' href='?shop=gardener&id=".$ank[gardener]."'>I&#351;ci ".$name."</a><span class='minor'> vaxt <span>".time_left($ank['garden_time']-$time)."</span></span></li>";
  208. if($ank['darja']>$time)echo "<li><img width='16' height='16' alt='' src='images/gardeners/cook.png'> <a class='epic' href='?shop=worker&id=1'>Firudun</a><span class='minor'> vaxt <span>".time_left($ank['darja']-$time)."</span></span></li>";
  209. if($ank['flowerbed']>0)echo "<li><img width='16' height='16' src='images/icons/flowerbed.png' alt='o'> <a class='epic' href='?shop=flowerbed'>&#304;stixana</a> <span class='minor'>(<span>$ank[flowerbed]</span>)</span></li>";
  210. if($ank['cultivator']>0)echo "<li><img width='16' height='16' src='images/icons/dig.png' alt='o'> <a class='epic' href='?shop=cultivator'>Mikroblok</a> <span class='minor'>(<span>$ank[cultivator]</span>)</span></li>";
  211. if($ank['cultivator2']>0)echo "<li><img width='16' height='16' src='images/icons/autoplug.png' alt='o'> <a class='epic' href='?shop=cultivator2'>Tozsovuran</a> <span class='minor'>(<span>$ank[cultivator2]</span>)</span></li>";
  212. if($ank['irregate']>0)echo "<li><img width='16' height='16' src='images/icons/water.png' alt='o'> <a class='epic' href='?shop=irregate'>Su veren</a> <span class='minor'>(<span>$ank[irregate]</span>)</span></li>";
  213. if($ank['seeder']>0)echo "<li><img width='16' height='16' src='images/icons/seat.png' alt='o'> <a class='epic' href='?shop=seeder'>Toxum sepen</a>
  214. <span class='minor'>(<span>$ank[seeder]</span>)</span></li>";
  215. if($ank['seeder2']>0)echo "<li><img width='16' height='16' src='images/icons/seylka.png' alt='o'> <a class='epic' href='?shop=seeder2'>Salat haz&#305;rlayan</a> <span class='minor'>(<span>$ank[seeder2]</span>)</span></li>";
  216. if($ank['harvester']>0)echo "<li><img width='16' height='16' src='images/icons/harvest.png' alt='o'> <a class='epic' href='?shop=harvester'>Kombayn</a> <span class='minor'>(<span>$ank[harvester]</span>)</span></li>";
  217. if($ank['harvester2']>0)echo "<li><img width='16' height='16' src='images/icons/konveer.png' alt='o'> <a class='epic' href='?shop=harvester2'>Kombayn Don</a> <span class='minor'>(<span>$ank[harvester2]</span>)</span></li>";
  218. if($ank['catchfish']>0)echo "<li><img width='16' height='16' src='images/icons/riboulovitel.png' alt='o'> <a class='epic' href='?shop=catchfish'>Bal&#305;q yeti&#351;diren</a> <span class='minor'>(<span>$ank[catchfish]</span>)</span></li>";
  219. if($ank['sponder']>0)echo "<li><img width='16' height='16' src='images/icons/prudfilter.png' alt='o'> <a class='epic' href='?shop=sponder'>Akvarium filteri</a> <span class='minor'>(<span>$ank[sponder]</span>)</span></li>";
  220. if($ank['soiler']>0)echo "<li><img width='16' height='16' src='images/icons/soil.png' alt='o'> <a class='epic' href='?shop=soiler'>Gubre veren</a> <span class='minor'>(<span>$ank[soiler]</span>)</span></li>";
  221. if($ank['conveyor']>0)echo "<li><img width='16' height='16' src='images/icons/harvest.png' alt='o'> <a class='epic' href='?shop=conveyor'>Konveyer</a> <span class='minor'>(<span>$ank[conveyor]</span>)</span></li>";
  222. if($ank['fooder']>0)echo "<li><img width='16' height='16' src='images/icons/plate.png' alt='o'> <a class='epic' href='?shop=fooder'>Avtoyemleyici</a> <span class='minor'>(<span>$ank[fooder]</span>)</span></li>";
  223. if($ank['hydropinics_time']>$time)echo "<li><img width='16' height='16' src='images/icons/hydropinics.png' alt='o'> <a class='epic' href='?shop=hydropinics'>Hidroponika</a><span class='minor'> $ank[hydropinics_type]% vaxt <span>".time_left($ank['hydropinics_time']-$time)."</span></span></li>";
  224. if($ank['scarecrow_time']>$time)echo "<li><img width='16' height='16' src='images/icons/scarecrow.png' alt='o'> <a class='epic' href='?shop=scarecrow'>Qorxuluq</a><span class='minor'> vaxt <span>".time_left($ank['scarecrow_time']-$time)."</span></span></li>";
  225. if ($ku['is_marfa'] > 0)
  226. {
  227. $war=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_warehouse` WHERE `id` = '$ku[marfa_food]'"));
  228. $plant=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_plant` WHERE `id` = '$war[id_plant]'"));
  229. echo "<li><img width='16' height='16' alt='o' src='images/icons/marfa.png'> <a class='epic' href='?shop=workers&id=1'>Firidun</a> <span>(<a href=\"?shop=workers&id=1&options\">".hsc($plant['name']).", $war[count] eded</a>)</span> vaxt <span>".time_left($ku['is_marfa']-$time)."</span></li>";
  230.  
  231. echo "</ul>";
  232. echo "</div>";
  233. $ban=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_ban` WHERE `id_user` = '$ank[id]' AND (`time` > '$time' OR `izg` = '1') ORDER BY `id` DESC LIMIT 1"));
  234. $us_ban=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_user` WHERE `id` = '$ban[id_who]'"));
  235. if($ban['id'])
  236. {
  237. echo "<ul class='pt'>
  238. <div>
  239. <li class='major'><span>".($ban['izg']==1?'Saytdan qovuldu!':"Ban! Bitmesine qal&#305;r: ".vremja($ban['time']))."</span><br>Ban veren: ".($us_ban['pol']==0?'a':null)." <span>";
  240. echo on_k($us_ban['id']);
  241. echo "<a href='?user=$us_ban[id]'>".nc($us_ban['id'])."</a></span><span><br>Sebeb: (".output_text($ban['msg']).")</span></li></div></ul>";
  242. }
  243. $vip=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_user` WHERE `id` = '$ank[id]' AND `timevip` > '$time' ORDER BY `id` DESC LIMIT 1"));
  244. $us_vip=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_user` WHERE `id` = '$vip[vip_who]'"));
  245. if($vip['id'])
  246. {
  247. echo "<br><ul class='epic'><div><li><span><img width='16' height='16' src='images/vip.png' alt='o'> VIP statusun bitmesine qal&#305;r: ".vremja($vip['timevip'])."</span>";
  248. echo "</li></div></ul><span><img width='16' height='16' src='images/vip.png' alt='o'> <a href='?vipmenu'>VIP panel</a></span>";
  249. mysql_query("UPDATE `kolhoz_user` SET `vip` = '1' WHERE `id` = '$ank[id]'");
  250. }
  251. else
  252. {
  253. mysql_query("UPDATE `kolhoz_user` SET `vip` = '0' WHERE `id` = '$ank[id]'");
  254. }
  255.  
  256. if(isset($uct))
  257. {
  258. echo "<ul class='minor pt'>\n
  259. <li>Kolxoz: <a href='?collective=$uct[id]'><span>".hsc($uct['name'])."</span></a> (".($mcu['status']<=3 && isset($mc) && $ank['id']!=$ku['id'] && $uctu['status']>$mcu['status'] && $uct['id']==$mc['id']?"<a href='?user=$ank[id]&status_ct'>":null)."<span><span>$uctu[status_name]</span></span>".($mcu['status']<=3 && isset($mc) && $ank['id']!=$ku['id'] && $uctu['status']>$mcu['status'] && $uct['id']==$mc['id']?"</a>":null).")</li>\n
  260. <li>Kolxoz tecrubesi: <span><span class='title'>".rating($uctu['rating'])."</span> <span class='minor'>(<span>$uctu[rating]</span>)</span></span></li>\n
  261. <li>Gunluk tecrube: <span><span class='title'>".rating($uctu['rating_week'])."</span> <span class='minor'>(<span>$uctu[rating_week]</span>)</span></span></li>\n
  262. </ul>\n
  263. <ul class='minor'>\n
  264. <li>Rubin sermayesi: <span><span class='title'>$uctu[rubies]</span></span></li>\n
  265. <li>Manat sermayesi: <span><span class='title'>$uctu[money]</span></span></li>\n
  266. </ul>\n";
  267. }
  268.  
  269. if($ank['status']>0 || $ank['status']==0 && $ku['status']==3)echo "<ul class='pt'><li class='minor'>Vezife: ".($ank['status']==0?"Fermer":"<span
  270. class='nick".($ank['status']==1?"Supporter":null)."".($ank['status']==2?"Moderator":null)."".($ank['status']==3?"Admin":null)."'>".($ank['status']==1?"Texniki destek":null)."".($ank['status']==2?"Moderator":null)."".($ank['status']==3?"<img width='16' height='16' src='images/icons/popular.png' alt='o'> Administrator":null)."</span>")." ".($ku['status']==3 && $ank['id']!=$ku['id'] && ($ku['status']>$ank['status'] || $ku['status']==3)?"<a href='?user=$ank[id]&status'>(redakte)</a>":null)."</li></ul>";
  271. if($ank['vip']==1)echo "<font color='orange'>".($ank['id']==1?"Ba&#351; ":null)."VIP user</font>";
  272. if(isset($_GET['vip']) && $ku['status']==3 || isset($_GET['vip']))
  273. {
  274. mysql_query("UPDATE `kolhoz_user` SET `timevip` = '' WHERE `id` = '$ank[id]'");
  275. header("Location:?user=$ank[id]");
  276. }
  277. if($ku['status']==3 || $ku['id']==1)echo "<br><img width='16' height='16' src='images/vip.png' alt='o'> VIP: ".($ank['vip']==0?"<a href='?user=$ank[id]&vipka'>Aktiv</a>":"<a href='?user=$ank[id]&vip'>Deaktiv</a>")."";
  278. echo "<ul class='minor pt'><li>Tecrube: <span><span class='title'>".rating($ank['rating'])."</span> <span class='minor'>(<span>$ank[rating]</span>)</span></span></li>";
  279.  
  280. echo "<font color='red'>".($ank['id']==19628?"<li class='minor'><img width='16' height='16' src='images/icons/popular.png' alt='o'> Ba&#351; devetci":null)."</font></li>";
  281. echo "<li>Seviyye: <span class='title'>$ank[level]</span></li>";
  282. echo "<li>A&#351;pazl&#305;q tecrubesi: <span class='title'>$ank[aspaz]</span></li>";
  283. echo "<li>Aktivlik: <span class='title'>".time_left($ank['time'])."</span></li>";
  284. $t=time()-2000;
  285. if($ank['brak']!=NULL)
  286. {
  287. $brak = mysql_query("SELECT * FROM `kolhoz_user` WHERE `nick`='$ank[brak]'");
  288. $brak = mysql_fetch_assoc($brak);
  289. if ($ank['pol']==1) echo "<font color='Orangered'>Evlidir</font>: ";
  290. else echo "<font color='Orangered'>Evlidir</font>: ";
  291. echo on_k($brak['id']);
  292. echo '<span><a href="?user='.$brak["id"].'">'.nc($brak["id"]).'</a> </span></li>';
  293. }
  294. echo "<li>Veziyyet: ";
  295. echo "".on_k($ank['id'])."";
  296. echo " <span>".($au['date_last']<=$t?"<font color='red'>Offline</font>":"<font color='green'>Оnline</font>")."</span></li>";
  297. if($au['date_last']<=$t)echo "<li>Son giri&#351;: ".vremja($au['date_last'])."</li>";
  298. echo "<li>Qeydiyyat tarixi: <span>".vremja($ank['time_start'])."</span>";
  299. if($ank['expdouble']=='Mon')$day='Bazar ertesi';
  300. if($ank['expdouble']=='Tue')$day='Cer&#351;enbe ax&#351;ami';
  301. if($ank['expdouble']=='Wed')$day='Cer&#351;enbe';
  302. if($ank['expdouble']=='Thu')$day='Cume ax&#351;ami';
  303. if($ank['expdouble']=='Fri')$day='Cume';
  304. if($ank['expdouble']=='Sat')$day='&#350;enbe';
  305. if($ank['expdouble']=='Sun')$day='Bazar';
  306. echo "<li>2 qat tecrube gunu: <span class='title'>$day</span></li>";
  307. if($ku['status']==1 || $ku['status']==3)echo "<li><span><img width='16' height='16' src='images/icons/money.png' alt='o'> $ank[money] <img width='16' height='16' src='images/icons/ruby.png' alt='o'> $ank[rubies]</span></li>";
  308. echo "</ul>";
  309. echo "<ul class='pt'>";
  310. if(isset($mc) && $mcu['status']<=3 && isset($mc) && !isset($uct))echo "<li>".($ank['level']>=10?"<a href='?user=$ank[id]&inct'>":"<span>")."Kolxoza devet et".($ank['level']>=10?"</a>":"</span> <span class='minor'>(maksimum 10 seviyye olmalidir.)</span>")."</li>";echo "<li>[<a href='?ref=$ku[id]'>Devet paneli</a>]</li>";
  311. echo "<li><span><a href='?user=$ank[id]&history'>Emek kitabcas&#305;</a> <span class='title'>(<span>".mysql_result(mysql_query("SELECT COUNT(*) FROM `kolhoz_collective_history` WHERE `id_user` = '$ank[id]'"),0)."</span>)</span></li>";
  312. echo "<li></span><a href='?dostig=$ank[id]'>Nailiyyetler</a> <span class='title'>(<span>$ank[dostig]</span>)</span>
  313. </li>";
  314. if($ank['id']!=$ku['id'])
  315. {
  316. echo "<li></li>";
  317. echo "<li><a href='?uf=$ank[id]'>Ekinleri</a></li>";
  318. echo "<li><a href='?upf=$ank[id]'>Otlaqi</a></li>";
  319. echo "<li><a href='?uc=$ank[id]'>Zirzemisi</a></li>";
  320. }
  321. echo "</ul>";
  322. echo '<li>Bacariqlar: <span>
  323. <span>
  324. <img width="16" height="16" src="/images/icons/sword.png" alt="Zerbe" title="Zerbe"/> <span class="title">'.$ank['arena1'].'</span> |
  325. </span><span>
  326. <img width="16" height="16" src="/images/icons/heart.png" alt="Can" title="Can"/> <span class="title">'.$ank['arena2'].' </span> |
  327. </span><span>
  328. <img width="16" height="16" src="/images/icons/shield.png" alt="Mudafiye" title="Mudafiye"/> <span class="title">'.$ank['arena3'].'</span>
  329. </span>
  330. </span></li>';
  331. echo "<a href='?mail&new_msg=$ank[id]'>Mesaj yaz</a>";
  332. echo "<a href='?present&new_present=$ank[id]'>Hediyye gonder</a>";
  333. echo "</div>";
  334. if($ank['id']==$ku['id'])
  335. {if(isset($_GET['delcolor']))
  336. {
  337. mysql_query("UPDATE
  338. `kolhoz_user` SET `color` = '0' WHERE `id` = '$ku[id]'");
  339. echo "<div class='feedback'><ul class='feedbackPanel'><li class='feedbackPanelINFO'><span class='feedbackPanelINFO'>reng u&#287;urla silindi!</span></li></ul></div>";
  340. }
  341. echo "<br><a href='?user=$ku[id]&delcolor'>Rengli nikini sil</a><br>";
  342. }echo "<div class='pt'>".($ku['id']==$ank['id']?"<img width='16' height='16' src='images/icons/info11.png' alt='o'> <a href='?anketa'>":"<span>")."Haqq&#305;nda".($ku['id']==$ank['id']?"</a>":"</span>").": <span>".($ank['name']==NULL?'-':hsc($ank['name']))."</span>, <span>".($ank['city']==NULL?'-':hsc($ank['city']))."</span>, <span>".($ank['date']==NULL?'-':hsc($ank['date']))."</span>, <span>".($ank['contacts']==NULL?'-':hsc($ank['contacts']))."</span></div>";
  343. if($ank['id']==$ku['id'])
  344. {echo "<div><a href='?settings'>Qur&#287;ular</a></div>";
  345. echo "<div><a href='?change_nickname'>Niki deyi&#351;</a></div>";
  346.  
  347. }
  348.  
  349.  
  350.  
  351.  
  352. if($ku['status']>0){
  353. if($ku['id']==1 || $ku['status']>$ank['status'])
  354. {echo "<br>";
  355. echo "<li><div><font class='title'>IP:</font> <a href='http://ipgeobase.ru:7020/geo?ip=$ank[ip]'>$ank[ip]</a></div>";
  356. echo "<div><font class='title'>Browser:</font> $ank[browser]</div>";
  357. echo "</li><br>";
  358. }
  359.  
  360. //мульты/рефералы
  361. if($ku['status']>=1) echo "<li><a href='?refer=$ank[id]'>Devetleri</a> <span class='title'>(<span>$ank[count_ref]</span>)</span>";
  362. if($ank['refi']>0) echo "<img width='16' height='16' src='images/icons/nice.png' alt='o'> <a class=''href='?user=$ank[refi]'><span>".nc($ank['refi'])."</span></a>";
  363. if($ku['status']>=2) echo "<a href='?mult=$ank[ip]'>Diger nikleri</a> <span class='title'></span></li>";}
  364.  
  365.  
  366. if($ku['status']>0)
  367. {
  368.  
  369. echo "<div><a href='?user=$ank[id]&bans'>Ban siyahisi</a></div>";
  370. echo "<div><a href='?user=$ank[id]&logins'>Giri&#351; melumatlari</a></div>";
  371.  
  372. if(isset($_GET['logins']))
  373. {
  374. echo '<div class="block">';
  375. $post=mysql_result(mysql_query("SELECT COUNT(*) FROM `user_stats` WHERE `id_user` = '$ank[id]'"),0);
  376. if ($post==0) echo "Elaqe yoxdur...";
  377. else
  378. {
  379. $q=mysql_query("SELECT * FROM `user_stats` WHERE `id_user` = '$ank[id]' ORDER BY `intime`");
  380. while($post=mysql_fetch_array($q)) {
  381. echo "<div>".vremja($post['intime'])." IP: ".$post['user_ip']."</div>";
  382. }
  383. }
  384. echo '</div>';
  385. }
  386. }
  387. }
  388. echo "</div>";
  389. include_once 'inc/foot.php';
  390.  
  391. ?>
-By_KING- -By_KING- [Off] [#] (02.07.2014 / 09:04)
LOGMAN, Təşəkkür qaqa. ALLAH komeyin olsun. Deye bilersen line necededi? Copy elemey olmur
---------------------
LOGMAN, Sen atdiqin kodun hemde yarsi gorukmur. Olarki ele .txt da duzelis edib atasan?
---------------------
Davam
  Cemi: 7

Mövzuya Baxanlar (0 nəfər)
Müellife göre filtreleme
Mövzunu YükleForuma Keç
Üst Yenilikler
 Əsas Səhifə  Onlayn: 0 / 14 nəfər

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net