Вы не зашли.
Главная » PHP » привет вот етот на страниче php где ошипка?
#1. Reno Off (0)
Участник
2011.10.16 20:08
привет вот етот на страниче  php где ошипка? и поиагите мне извелич ашипку

Код:
span style="color: #0000BB"><?phpheader( "Cache-Control: no-store, no-cache, must-revalidate" );header( "Content-type:text/vnd.wap.wml; charset=utf-8" );require( "inc.php" );$sqltable = connect_db( );list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);$online = time( ) + $vaxt;mysql_query( "UPDATE `users` SET `time` = '".$online."' WHERE `id` = '".$id."' LIMIT 1;" );$tm = time( );$colseds = file( "file/qefes/qefes.dat" );$close = trim( $colseds[0] );$dat_config_limit = trim( $colseds[1] );$dat_user_cont = trim( $colseds[2] );echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"\n'>http://www.wapforum.org/DTD/wml12.dtd\">\n";echo "<wml>\n";echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>\n";echo "<card id=\"qefes\" title=\"Virtual Qefes\">\n";if ( $cid != "0" && $close == "2" ){ echo "<p align =\"center\">\n"; echo $fsize1; echo "<b>Virtual Qefes</b><br/>*****<br/>\n"; echo "Qefes Oyunu müveqqeti dayandırılıb!<br/>"; echo "*****<br/>\n"; if ( $cid ) { echo "<a href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Virtual Qefes</a><br/>"; } else { echo "<a href=\"enter.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Dehliz</a><br/>\n"; } echo $fsize2; echo "</p>\n"; echo "</card>\n"; echo "</wml>\n"; mysql_close( $sqltable ); exit( );}if ( $cid != "0" && $close == "x" ){ echo "<p align =\"center\">\n"; echo $fsize1; $mesaj = file( "file/qefes/1.dat" ); $mesaj3 = trim( $mesaj[1] ); echo "<b>Virtual Qefes</b><br/>*****<br/>"; echo "{$mesaj3}---<br/>\n"; echo "Virtual Qefes sona çatdı.<br/>\n"; echo "Qefes Oyununun növbeti turu tezlikle başlayacaq."; echo "<br/>*****<br/>"; echo "<a href=\"enter.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Dehliz</a><br/>\n"; echo $fsize2; echo "</p>\n"; echo "</card>\n"; echo "</wml>\n"; mysql_close( $sqltable ); exit( );}echo "<p align =\"center\">\n";echo $fsize1;switch ( $cid ){case "0" : do { do { if ( !( $id == 1 ) ) { break; } else { default : switch ( $jo ) { $adminpanel = 1; echo "<b>Qefes Panel</b><br/>*****<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<a href=\"qefes.php?cid=0&amp;jo=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Qefes Qurğuları</a><br/>\n"; echo "<a href=\"qefes.php?cid=0&amp;jo=2&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Ümumi Mesaj</a><br/>\n"; echo "<a href=\"qefes.php?cid=0&amp;jo=3&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Dehliz Mesaj</a><br/>\n"; echo "<a href=\"qefes.php?cid=0&amp;jo=4&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Qefesi Temizle</a>\n"; break; case "3" : include( "file/qefes/filed.php" ); break; case "4" : do { if ( !( $x == 1 ) ) { break; } else { mysql_query( "UPDATE `users` SET `qefes` = '0' WHERE `qefes` != '0';" ); mysql_query( "TRUNCATE `qefes`;" ); mysql_query( "TRUNCATE `qefess`;" ); echo "<b>Qefes Temizlendi!</b><br/>----<br/>\n"; echo "<a href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Virtual Qefes</a>\n"; } } while ( 0 ); echo "<b>Qefesi temizlemeye eminsiniz?</b><br/>----<br/>\n"; echo "<a href=\"qefes.php?cid=0&amp;jo=4&amp;x=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">He</a> |\n"; echo "<a href=\"qefes.php?cid=0&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">yox</a><br/>----\n"; break; case "1" : do { if ( isset( $_POST['action'] ) ) { break; } else { $hediyye = trim( $colseds[3] ); echo "<b>Qefes Panel</b><br/>*****<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "Qefes Qurğuları<br/>\n"; echo $fsize2; echo "<select name=\"colsed_up{$ref}\">"; if ( $close == 0 ) { echo "<option value=\"0\">Oyun başlasın</option>"; echo "<option value=\"1\">Bilet satılsın</option>"; echo "<option value=\"2\">Oyun bağlansın</option>"; } else if ( $close == 1 ) { echo "<option value=\"1\">Bilet satılsın</option>"; echo "<option value=\"2\">Oyun bağlansın</option>"; echo "<option value=\"0\">Oyun başlasın</option>"; } else { echo "<option value=\"2\">Oyun bağlansın</option>"; echo "<option value=\"0\">Oyun başlasın</option>"; echo "<option value=\"1\">Bilet satılsın</option>"; } echo "</select><br/>"; echo $fsize1; echo "Qefesde iştirakciların sayı<br/>\n"; echo $fsize2; echo "<select name=\"dat_user_cont_up{$ref}\">"; if ( $dat_user_cont == 15 ) { echo "<option value=\"15\">15 nefer</option>"; echo "<option value=\"21\">21 nefer</option>"; echo "<option value=\"33\">33 nefer</option>"; echo "<option value=\"9\">9 nefer</option>"; } else if ( $dat_user_cont == 21 ) { echo "<option value=\"21\">21 nefer</option>"; echo "<option value=\"33\">33 nefer</option>"; echo "<option value=\"9\">9 nefer</option>"; echo "<option value=\"15\">15 nefer</option>"; } else if ( $dat_user_cont == 33 ) { echo "<option value=\"33\">33 nefer</option>"; echo "<option value=\"9\">9 nefer</option>"; echo "<option value=\"15\">15 nefer</option>"; echo "<option value=\"21\">21 nefer</option>"; } else { echo "<option value=\"9\">9 nefer</option>"; echo "<option value=\"15\">15 nefer</option>"; echo "<option value=\"21\">21 nefer</option>"; echo "<option value=\"33\">33 nefer</option>"; } echo "</select><br/>"; echo $fsize1; echo "Her gün oyunu terk etsin (en az sesi olan).<br/>\n"; echo $fsize2; echo "<select name=\"dat_config_limit_up{$ref}\">"; if ( $dat_config_limit == 1 ) { echo "<option value=\"1\">1 nefer</option>"; echo "<option value=\"2\">2 nefer</option>"; echo "<option value=\"3\">3 nefer</option>"; } else if ( $dat_config_limit == 2 ) { echo "<option value=\"2\">2 nefer</option>"; echo "<option value=\"3\">3 nefer</option>"; echo "<option value=\"1\">1 nefer</option>"; } else { echo "<option value=\"3\">3 nefer</option>"; echo "<option value=\"1\">1 nefer</option>"; echo "<option value=\"2\">2 nefer</option>"; } echo "</select><br/>"; echo $fsize1; echo "Uduş hediyyesi. [u]<u>test</u>[/u], [i]<i>test</i>[/i], [b]<b>test</b>[/b] - [br]<br/>\n"; echo $fsize2; $hediyye = str_replace( "</i>", "[/i]", $hediyye ); $hediyye = str_replace( "<i>", "[i]", $hediyye ); $hediyye = str_replace( "</u>", "[/u]", $hediyye ); $hediyye = str_replace( "<u>", "[u]", $hediyye ); $hediyye = str_replace( "</b>", "[/b]", $hediyye ); $hediyye = str_replace( "<b>", "[b]", $hediyye ); $hediyye = str_replace( "<br/>", "[br]", $hediyye ); echo "<input type=\"text\" name=\"hediyye_up{$ref}\" maxlength=\"500\" value=\"{$hediyye}\"/><br/>\n"; echo $fsize1; echo "<anchor>[Yenile]<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=0&amp;jo=1&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"colsed_up\" value=\"\$(colsed_up{$ref})\"/>\n"; echo "<postfield name=\"dat_user_cont_up\" value=\"\$(dat_user_cont_up{$ref})\"/>\n"; echo "<postfield name=\"dat_config_limit_up\" value=\"\$(dat_config_limit_up{$ref})\"/>\n"; echo "<postfield name=\"hediyye_up\" value=\"\$(hediyye_up{$ref})\"/>\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor><br/>-----\n"; } } while ( 0 ); include( "file/require/sh_files" ); $hediyye_up = narmobil( $hediyye_up ); $hediyye_up = str_replace( "[/i]", "</i>", $hediyye_up ); $hediyye_up = str_replace( "[i]", "<i>", $hediyye_up ); $hediyye_up = str_replace( "[/u]", "</u>", $hediyye_up ); $hediyye_up = str_replace( "[u]", "<u>", $hediyye_up ); $hediyye_up = str_replace( "[/b]", "</b>", $hediyye_up ); $hediyye_up = str_replace( "[b]", "<b>", $hediyye_up ); $hediyye_up = str_replace( "[br]", "<br/>", $hediyye_up ); $file = fopen( "file/qefes/qefes.dat", "w" ); $datadata .= "{$colsed_up}\n"; $datadata .= "{$dat_config_limit_up}\n"; $datadata .= "{$dat_user_cont_up}\n"; $datadata .= "{$hediyye_up}"; fwrite( $file, $datadata ); fclose( $file ); if ( $colsed_up == "0" ) { $dat_qefes = file( "file/qefes/1.dat" ); $gun = date( "w" ); $test2 = trim( $dat_qefes[1] ); $test3 = trim( $dat_qefes[2] ); $test4 = trim( $dat_qefes[3] ); $birdate = fopen( "file/qefes/1.dat", "w" ); $data .= "{$gun}\n"; $data .= "{$test2}\n"; $data .= "{$test3}\n"; $data .= "{$test4}"; fwrite( $birdate, $data ); fclose( $birdate ); } echo "Melumat Yenilendi!<br/>"; break; case "2" : } $dat_qefes = file( "file/qefes/1.dat" ); $dat_gun = trim( $dat_qefes[0] ); $dat_elan_time = trim( $dat_qefes[2] ); $dat_extra_duel = trim( $dat_qefes[3] ); if ( isset( $_POST['action'] ) ) { break; } else { $dat_mesaj = trim( $dat_qefes[1] ); $dat_mesaj = str_replace( "</i>", "[/i]", $dat_mesaj ); $dat_mesaj = str_replace( "<i>", "[i]", $dat_mesaj ); $dat_mesaj = str_replace( "</u>", "[/u]", $dat_mesaj ); $dat_mesaj = str_replace( "<u>", "[u]", $dat_mesaj ); $dat_mesaj = str_replace( "</b>", "[/b]", $dat_mesaj ); $dat_mesaj = str_replace( "<b>", "[b]", $dat_mesaj ); $dat_mesaj = str_replace( "<br/>", "[br]", $dat_mesaj ); echo "<b>Qefes Panel</b><br/>*****<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; $gun = date( "w" ); echo "Ümumi mesaj. (<small>[u]<u>test</u>[/u], [i]<i>test</i>[/i], [b]<b>test</b>[/b] - [br]</small>)<br/>"; echo $fsize2; echo "<input type=\"text\" name=\"dat_mesaj{$ref}\" maxlength=\"500\" value=\"{$dat_mesaj}\"/><br/>\n"; echo $fsize1; echo "<anchor>[Yenile]<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=0&amp;jo=2&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"dat_mesaj\" value=\"\$(dat_mesaj{$ref})\"/>\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor><br/>-----\n"; } } } while ( 0 ); include( "file/require/sh_files" ); $dat_mesaj = narmobil( $dat_mesaj ); $dat_mesaj = str_replace( "[/i]", "</i>", $dat_mesaj ); $dat_mesaj = str_replace( "[i]", "<i>", $dat_mesaj ); $dat_mesaj = str_replace( "[/u]", "</u>", $dat_mesaj ); $dat_mesaj = str_replace( "[u]", "<u>", $dat_mesaj ); $dat_mesaj = str_replace( "[/b]", "</b>", $dat_mesaj ); $dat_mesaj = str_replace( "[b]", "<b>", $dat_mesaj ); $dat_mesaj = str_replace( "[br]", "<br/>", $dat_mesaj ); $sra2 = $sra2 * 3600 + time( ); $file = fopen( "file/qefes/1.dat", "w" ); $data .= "{$dat_gun}\n"; $data .= "{$dat_mesaj}\n"; $data .= "{$dat_elan_time}\n"; $data .= "{$dat_extra_duel}"; fwrite( $file, $data ); fclose( $file ); echo "Melumat Yenilendi!<br/>"; break; echo "<br/>"; if ( !( $jo != "" ) ) { break; } echo "<a href=\"qefes.php?cid=0&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Qefes Panel</a><br/>\n"; } while ( 0 ); break;case "news" : $hediyye = trim( $colseds[3] ); echo "<b>Show haqqında</b><br/>*****<br/>\n"; echo "Qaydalar çox sadedir, {$dat_user_cont} istifadeçi bilet aldıqdan sonra, her günün sonunda en az sesi olan {$dat_config_limit} istifadeçi qefesi terk edecek...<br/>\n"; echo "Sona qeder mübarize aparıb qefesde qalan 1 istifadeçi, qalib olacaq.<br/>--<br/>\n"; echo "Virtual Qefesin qalibi \"{$hediyye}\" qazanacaq!.<br/>--<br/>\n"; echo "<b>QEYD</b>: <u>Virtual Qefes oyunu heçbir adminin müdaxilesi olmadan, yani avtomatik rejimde işleyir.</u><br/>\n"; break;case "1" : do { do { $hediyye = trim( $colseds[3] ); $bals = file( "file/bal_bot/0.dat" ); $qefes_b = trim( $bals[20] ); if ( $close != 1 ) { echo "<b>Xeta</b><br/>*****<br/>"; echo "<i>Virtual Qefes Showsuna Start verilib</i>. <br/>\r\nİştirakçı seçimi dayandırılıb!<br/>"; break; } if ( !isset( $_POST['action'] ) ) { $userall = mysql_query( "select count(`id`) as `num` from `qefes`" ); $usm = mysql_fetch_array( $userall ); $nam = $usm['num']; $bosh = $dat_user_cont - $nam; echo "<b>İştirakçı Qebulu</b><br/>*****<br/>\n"; echo "\"<u>Virtual Qefes</u>\"-in növbeti seçim turu başladı.<br/>\n"; echo "Qefese {$dat_user_cont} iştirakcı Üzv olduqdan sonra, Show START götürecek.<br/>-----<br/>\n"; echo "Virtual Qefesin qalibi <b>{$hediyye}</b> qazanacaq.<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<a href=\"qefes.php?cid=news&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Show haqqında</a><br/>-----<br/>\n"; if ( $nam != $dat_user_cont ) { echo "Hal-hazırda qefesde {$bosh} boş yer var.<br/>\n"; echo "Aşağıdakı {$nam} nefer ise namizetdir.<br/>\n"; } else { echo "Virtual Qefes-in {$dat_user_cont} iştirakçısı seçilib...<br/>\n"; echo "Oyuna 24 Saat Erzinde Start verilecek!<br/>----<br/>\n"; echo "Qefes oyununda iştirak edecek {$nam} iştirakçı aşağdakılardır.<br/>\n"; } if ( $nam != 0 ) { echo "-----<br/>\n"; $r = @mysql_query( "SELECT `user`,`uid`,`ses` FROM `qefes` ORDER BY `id` ASC LIMIT 0,{$dat_user_cont};" ); $i = 1; while ( $a = mysql_fetch_array( $r ) ) { if ( $id == $a[uid] ) { echo $i++.") <b><a href=\"qefes.php?cid=info&amp;info=".$a['uid']."&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">".$a['user']."</a></b><br/>\n"; } else { echo $i++.") <a href=\"qefes.php?cid=info&amp;info=".$a['uid']."&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">".$a['user']."</a><br/>\n"; } } } $qefes = $row['qefes']; if ( $qefes == 0 ) { if ( $nam < $dat_user_cont ) { echo "-----<br/>\n"; echo "<b>Biletin</b>, qiymeti {$qefes_b} baldır.<br/>\n"; echo "<b><anchor title=\"go\">Qefes üçün bilet al<go href=\"qefes.php?cid=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor></b><br/>\n"; } } else { $user = $row['user']; echo "-----<br/>\n"; echo "Hörmetli <b>{$user}</b><br/>Siz Virtual Qefes-in Üzvüsünüz...<br/>\n"; } break; } $qefes = $row['qefes']; if ( $qefes == 1 ) { echo "<b>Tebrikler</b>!<br/>*****<br/> Siz Virtual-Qefes Oyununa bilet aldınız.<br/>----<br/>\n"; echo "Öz Platformanızı qeyd etmeyi unutmayin!<br/>"; echo "<a href=\"qefes.php?cid=plat&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Platformanız</a><br/>\n"; break; } $bal = $row['bal']; if ( !( $qefes_b <= $bal ) ) { break; } else { $q = mysql_query( "Select * from `qefes` where `uid` = '".$id."' limit 1" ); if ( !( mysql_num_rows( $q ) == 0 ) ) { break; } else { $newbal = $bal - $qefes_b; $user = $row['user']; mysql_query( "UPDATE `users` SET `bal` = '".$newbal."', `qefes` = '1' WHERE `id` = '".$id."';" ); $sql = mysql_query( "INSERT INTO `qefes` SET `uid` = '".$id."', `user`='".$user."'" ); if ( $sql ) { echo "<b>Tebrikler</b>!<br/>*****<br/> Siz Virtual-Qefes Oyununa bilet aldınız.<br/>----<br/>\n"; echo "Öz Platformanızı qeyd etmeyi unutmayin!<br/>"; } echo "<a href=\"qefes.php?cid=plat&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Platformanız</a><br/>\n"; $mes = "<b>{$user} - Virtual Qefes</b>, oyununa bilet aldı. Tebrikler uğurlu olsun!"; $i = 0; while ( $i <= 9 ) { $st = time( ); $today = date( "H:i", mktime( date( "H" ) + $xsat ) ); $rnd = rand( 0, 99999999 ); mysql_query( "Insert into room{$i} set klu4= '".$rnd."', time='".$today."', who='Qefes', message='".$mes."', id='".$st."', towhom='', hid='0', usid='11'" ); ++$i; } } } $online = time( ) + $onvaxt; $rnd = rand( 0, 9 ); mysql_query( "UPDATE `users` SET `time` = '".$online."', `room` = '".$rnd."' WHERE `id` = '11';" ); break; } while ( 0 ); echo "<b>Hesabınızda bal yetersizdir.</b><br/>-----<br/>\n"; echo "Virtual Qefes Show-ya bilet elde etmek üçün {$qefes_b} balınız olmalıdır.<br/>\n"; echo "Sizin Hesabınızda ise <b>{$bal}</b>. bal var.<br/>-----<br/>\n"; echo "<a href=\"hesab.php?bolme=bal&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Bal Yükleme Qaydası</a><br/>\n"; break; } while ( 0 ); break;case "3" : if ( $close != 0 ) { echo "<b>Virtual Qefes</b><br/>*****<br/><u>Virtual Qefes Show-suna Start Verilmeyib</u>. <br/>\r\n{$dat_user_cont} İştirakçı seçildikden sonra START verilecek!<br/>"; break; } if ( $uid != "" ) { $qefes1 = mysql_query( "Select * from `qefes` where `id` = '".$uid."' LIMIT 1;" ); if ( mysql_affected_rows( ) == 0 ) { echo "<b>Virtual Qefes Showsunda Axtardığınız iştirakçı tapılmadı...</b><br/>-----<br/>"; echo "<a href=\"qefes.php?cid=3&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>"; break; } $mm = mysql_fetch_array( $qefes1 ); $sid = $mm['id']; $cuid = $mm['uid']; $login = $mm['user']; $qeyd = $mm['qeyd']; $usid = $mm['usid']; $off = $mm['off']; $ses = $mm['ses']; $ruser = $mm['ruser']; $date = $mm['date']; echo "<b>İştirakçı Platforması</b><br/>----<br/>\n"; echo "Leqebi: <u>{$login}</u><br/>\n"; if ( $qeyd ) { echo "----<br/>\n"; echo "<i>{$qeyd}</i><br/>-----<br/>\n"; } echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<b>Statistikası</b>:<br/>\n"; echo "----<br/>"; $vses = mysql_query( "select count(`klu4`) as `num` from `qefess` where `kime` = '{$cuid}';" ); $vs = mysql_fetch_array( $vses ); $verilen = $vs['num']; echo "<u>Ses verenler</u>: <b><a href=\"qefes.php?cid=ses_veren&amp;id={$id}&amp;ps={$ps}&amp;uid={$cuid}&amp;ref={$ref}\">".$verilen." nefer</a></b><br/>\n"; echo "<u>Ses sayı</u>: <b>".$ses."</b><br/>\n"; if ( $ses != 0 ) { include( "file/qefes/config.php" ); $r = @mysql_query( "SELECT `uid` FROM `qefes` where `off` ='0' ORDER BY `ses` desc LIMIT 0,{$dat_user_cont};" ); $i = 1; while ( $a = mysql_fetch_array( $r ) ) { if ( $cuid == $a['uid'] ) { echo "Reytinqde <b>".cuci( $i )."</b>, yerdedir.\n"; if ( $i <= 3 ) { echo "<img src=\"file/qefes/img/{$i}.gif\" alt=\"{$i}-{$qa}\"/>"; } echo "<br/>"; } else { ++$i; } } } else { echo "<i>Heleki ses verilmeyib</i><br/>"; } if ( $off == 0 ) { echo $fsize2; echo "<select name=\"send_ses{$ref}\">"; echo "<option value=\"1\">1</option>"; echo "<option value=\"2\">5</option>"; echo "<option value=\"3\">10</option>"; echo "<option value=\"4\">30</option>"; echo "<option value=\"5\">50</option>"; echo "<option value=\"6\">100 </option>"; echo "</select>\n"; echo $fsize1; echo "[<anchor>ses ver<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=ses&amp;ref={$ref}\" method=\"post\">"; echo "<postfield name=\"kime\" value=\"{$login}\"/>"; echo "<postfield name=\"send\" value=\"\$(send_ses{$ref})\"/>"; echo "<postfield name=\"action\" value=\"save\"/>"; echo "</go></anchor>]<br/>\n"; } else if ( $off == 1 ) { echo "<br/><b>Diqqet</b>: <u>Bu İştirakçı <b>{$date}</b>, tarixinde meğlub oldu...</u><br/>"; } else { echo "<br/><b>Istifadeci melumatlarinda sehvlik var</b><br/>"; } break; } echo "<b>İştirakçılar</b><br/>*****<br/>\n"; $r = @mysql_query( "SELECT `user`,`off`,`id`,`ses`,`usid`,`uid` FROM `qefes` where `off`='0' ORDER BY `ses` DESC LIMIT 0,{$dat_user_cont};" ); $i = 1; if ( mysql_affected_rows( ) == 0 ) { echo "Virtual Qefes oyununa <b>Start</b>, verilmeyib...<br/>\n"; } else { if ( mysql_affected_rows( ) == 2 ) { $hediyye = trim( $colseds[3] ); echo "<b>Extra Duel</b> başladı...<br/>"; echo "Bu istifadeçilerden 1-i \"<b>{$hediyye}</b>\" qazanacaq.<br/>\n"; echo "Ses verin qalibi seçin.<br/>"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; while ( $a = mysql_fetch_array( $r ) ) { echo "{$i})<a href=\"qefes.php?cid=3&amp;uid=".$a['id']."&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">".$a['user']."</a> (<b><a href=\"qefes.php?cid=ses_veren&amp;id={$id}&amp;ps={$ps}&amp;uid=".$a['uid']."&amp;ref={$ref}\">".$a['ses']."</a></b>-ses)\n"; if ( $i <= 3 ) { echo "<img src=\"file/qefes/img/{$i}.gif\" alt=\"{$i}-{$qa}\"/>"; } echo "<br/>"; ++$i; } } else { echo "<i>İştirakçılara destek olun onlari 1-ci edin</i><br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; while ( $a = mysql_fetch_array( $r ) ) { echo "{$i})<a href=\"qefes.php?cid=3&amp;uid=".$a['id']."&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">".$a['user']."</a> (<b><a href=\"qefes.php?cid=ses_veren&amp;id={$id}&amp;ps={$ps}&amp;uid=".$a['uid']."&amp;ref={$ref}\">".$a['ses']."</a></b>-ses)\n"; if ( $i <= 3 ) { echo "<img src=\"file/qefes/img/{$i}.gif\" alt=\"{$i}-{$qa}\"/>"; } echo "<br/>"; ++$i; } } } break;case "ses" : do { if ( $close != 0 ) { echo "<b>Virtual Qefes</b><br/>*****<br/><u>Virtual Qefes Show-suna Start Verilmeyib</u>. <br/>\r\n{$dat_user_cont} İştirakçı seçildikden sonra START verilecek!<br/>"; break; } if ( !isset( $_POST['kime'] ) ) { echo "<b>Sesverme</b><br/>*****<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<b>Kime: ?</b><br/>\n"; echo $fsize2; echo "<select name=\"nick{$ref}\">"; $r = @mysql_query( "SELECT `user`,`uid` FROM `qefes` where `off`='0' ORDER BY `ses` DESC;" ); $i = 1; while ( $a = mysql_fetch_array( $r ) ) { echo "<option value=\"".$a['uid']."\">".$a['user']."</option>"; } echo "</select><br/>\n"; echo $fsize1; echo "<u>Neçe ses</u>?<br/>"; echo $fsize2; echo "<select name=\"send_ses{$ref}\">"; echo "<option value=\"1\">1</option>"; echo "<option value=\"2\">5</option>"; echo "<option value=\"3\">10</option>"; echo "<option value=\"4\">30</option>"; echo "<option value=\"5\">50</option>"; echo "<option value=\"6\">100 </option>"; echo "</select>\n"; echo $fsize1; echo "ses<br/>"; echo "<anchor>Ses ver<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=ses&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"kime\" value=\"\$(nick{$ref})\"/>\n"; echo "<postfield name=\"send\" value=\"\$(send_ses{$ref})\"/>\n"; echo "</go></anchor><br/>\n"; break; } if ( $send == 6 ) { $send = 100; } else if ( $send == 5 ) { $send = 50; } else if ( $send == 4 ) { $send = 30; } else if ( $send == 3 ) { $send = 10; } else if ( $send == 2 ) { $send = 5; } else if ( $send == 1 ) { $send = 1; } else { exit( ); } if ( $send <= 0 ) { echo "<b>Xeta</b><br/>-----<br/>0 ses vermek olmur :=)<br/>-----<br/>"; echo "<a href=\"hesab.php?bolme=bal&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Bal Yükleme Qaydası</a><br/>\n"; echo "<anchor>Geri Qayıt<prev/></anchor><br/>\n"; break; } $bal = $row['bal']; if ( $bal < $send ) { echo "<b>Xeta</b><br/>-----<br/>Göndermek istediyiniz mebleğ hesabınızda yoxdur!<br/>-----<br/>"; echo "<a href=\"hesab.php?bolme=bal&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Bal Yükleme Qaydası</a><br/>\n"; echo "<anchor>Geri Qayıt<prev/></anchor><br/>\n"; break; } if ( !ctype_digit( $kime ) ) { $kime = trim( $kime ); if ( $kime == "" ) { $kime = 0; } $latuser = strtolower( $kime ); $uusers = mysql_query( "select `id` from `users` where `latuser` = '".$latuser."'" ); } else { $uusers = mysql_query( "select `id` from `users` where `id` = '".$kime."'" ); } if ( mysql_affected_rows( ) == 0 ) { echo "<b>Xeta</b><br/>-----<br/>Ses vermek istediyiniz istifadeçi Bazada tapılmadı<br/>-----<br/>\n"; echo "<a href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=ses&amp;ref={$ref}\">Geri Qayıt</a><br/>"; break; } $row1 = mysql_fetch_array( $uusers ); $uuid = $row1['id']; $ishtirak = mysql_query( "select `uid`,`user`,`off`,`ses`,`ruser`,`date` from `qefes` where `uid` = '".$uuid."'" ); if ( mysql_affected_rows( ) == 0 ) { echo "<b>Xeta</b><br/>-----<br/>Ses vermek istediyiniz istifadeçi Qefes oyununda iştirak etmir!<br/>\n"; echo "Siz yalniz <u>Virtual Qefes</u>-de iştirak eden istifadeçilere ses vere bilersiz.<br/>-----<br/>\n"; echo "<anchor>Geri Qayıt<prev/></anchor><br/>\n"; break; } $row2 = mysql_fetch_array( $ishtirak ); $suid = $row2['uid']; $suser = $row2['user']; $soff = $row2['off']; $sses = $row2['ses']; $sruser = $row2['ruser']; $sdate = $row2['date']; if ( $soff != "0" ) { if ( $soff == "1" ) { echo "Bu istifadeçi meğlub olub.<br/>"; } else if ( $soff == "2" ) { echo "<b>Xeta</b><br/>-----<br/>Bu istifadeçi <u>{$sdate}</u>. tarixinde meğlub olub.<br/>"; } echo "<u>Siz yalnız Virtual Qefes-de iştirak eden istifadeçilere ses vere bilersiz</u>!<br/>-----<br/>"; echo "<anchor>Geri Qayıt<prev/></anchor><br/>\n"; break; } include( "file/qefes/update.php" ); if ( !( 10 <= $send ) ) { break; } else { if ( $id == $suid ) { $mes = "\"<b>".$row['user']."</b>\" - Qefes Oyununda özüne <b>".$send."</b>, ses verdi! <img src=\"file/qefes/img/uraa.gif\" alt=\".uraa.\"/>"; } else { $mes = "\"<b>".$row['user']."</b>\" - Qefes Oyununda \"<b>".$suser."</b>\" leqebli istifadeçiye <b>".$send."</b>, ses verdi! <img src=\"file/qefes/img/ura.gif\" alt=\".ura.\"/>"; } $i = 0; while ( $i <= 9 ) { $st = time( ); $today = date( "H:i", mktime( date( "H" ) + $xsat ) ); $rnd = rand( 0, 99999999 ); mysql_query( "Insert into room{$i} set klu4= '".$rnd."', time='".$today."', who='Qefes', message='".$mes."', id='".$st."', towhom='', hid='0', usid='11'" ); ++$i; } } $online = time( ) + $vaxt; $rnd = rand( 0, 9 ); mysql_query( "UPDATE `users` SET `time` = '".$online."', `room` = '".$rnd."' WHERE `id` = '11';" ); } while ( 0 ); echo "<b>{$suser}</b>, üçün verdiyiniz <b>{$send}</b> qebul olundu!<br/>"; echo "<i>Teşekkürler</i><br/>"; echo "<a href=\"qefes.php?cid=3&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>"; break;case "5" : if ( $close != 0 ) { echo "<b>Virtual Qefes</b><br/>*****<br/><u>Virtual Qefes Show-suna Start Verilmeyib</u>. <br/>\r\n{$dat_user_cont} İştirakçı seçildikden sonra START verilecek!<br/>"; break; } $r = @mysql_query( "SELECT `user`,`id`,`ses`,`nses` FROM `qefes` where `off`!='0' ORDER BY `nses` DESC LIMIT 0,{$dat_user_cont};" ); $i = 1; if ( mysql_affected_rows( ) == 0 ) { echo "Virtual Qefes oyunu yeni başlayıb meğlub olan istifadeçi yoxdur...<br/>\n"; break; } if ( $uid != "" ) { $qefes1 = mysql_query( "Select * from `qefes` where `id` = '".$uid."' LIMIT 1;" ); if ( mysql_affected_rows( ) == 0 ) { echo "<b>Virtual Qefes Showsunda Axtardığınız iştirakçı tapılmadı...</b><br/>-----<br/>"; echo "<a href=\"qefes.php?cid=3&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>"; break; } echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; $mm = mysql_fetch_array( $qefes1 ); $cuid = $mm['uid']; $login = $mm['user']; $qeyd = $mm['qeyd']; $off = $mm['off']; $date = $mm['date']; echo "Leqebi: \n"; echo "<b><a href=\"inside.php?id={$id}&amp;ps={$ps}&amp;nk={$cuid}&amp;ref={$ref}\">{$login}</a></b><br/>"; echo "*****<br/>\n"; echo "<i>{$qeyd}</i><br/>\n"; echo "----<br/>\n"; if ( $off == 0 ) { echo "<b>[<a href=\"qefes.php?cid=ses&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}&amp;login={$login}\">ses ver</a>]</b><br/>"; } else if ( $off == 1 ) { echo "<b>Diqqet</b>: <u>Bu İştirakçı {$date}, tarixinde meğlub oldu...</u><br/>"; } else { echo "<i>Adminstrator terefinden Qefesden qovulub...</i><br/>"; } break; } echo "<b>Meğlub olanlar</b><br/>*****<br/>\n"; echo "<i>Bu İştirakçılar zeyif olduqları üçün meğlub olublar.</i><br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; while ( $a = mysql_fetch_array( $r ) ) { echo "{$i})<a href=\"qefes.php?cid=5&amp;uid=".$a['id']."&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">".$a['user']."</a> (".$a['ses']."-ses)\n"; if ( $row['seviy'] == 9 ) { echo "[".$a['nses']."]\n"; } echo "<br/>"; ++$i; } break;case "plat" : $q = mysql_query( "Select `id`,`qeyd` from `qefes` where `uid` = '".$id."'" ); if ( mysql_num_rows( $q ) == 0 ) { if ( $close != 1 ) { echo "Bilet satilmir qefes START götürüb!<br/>"; break; } $bals = file( "file/bal_bot/0.dat" ); $qefes_b = trim( $bals[20] ); echo "Siz Virtual Qefes-in üzvü deyilsiz.<br/>-----<br/>"; echo "<b>Biletin</b>, qiymeti {$qefes_b} baldır.<br/>\n"; echo "<b><anchor title=\"go\">Qefes üçün bilet al<go href=\"qefes.php?cid=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor></b><br/>\n"; break; } if ( !isset( $_POST['action'] ) ) { $arr = mysql_fetch_array( $q ); $qeyd = $arr['qeyd']; echo "<b>Platformanız</b><br/>*****<br/>\n"; echo "Platforma yani ki, özünüz haqqında ele sözler yazmalısız ki, başqa istifadeçilerin reğbetini<br/> qazanasız ve onlar Size daha çox ses versinler.<br/>-----<br/>"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<i>Platformanıza yazacağınız sözler infonuzda görünecek</i>.<br/>----<br/>\n"; echo "<b>Platformanız:</b><br/>\n"; echo $fsize2; echo "<input name=\"qeyd{$ref}\" maxlength=\"100\" value=\"{$qeyd}\" title=\"text\"/><br/>\n"; echo $fsize1; echo "<anchor title=\"send\">Elave et<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=plat&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"qeyd\" value=\"\$(qeyd{$ref})\"/>\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor><br/>\n"; break; } if ( strlen( $qeyd ) < 1 ) { echo "<i>Platforma bölmesini boş saxlamaq olmaz.</i><br/>-----<br/>\n"; echo "<u>Platforma bölmesine ele sozler yazın ki dost tanışlarınız Size ses versin</u><br/>-----<br/>\n"; echo "<a href=\"qefes.php?cid=plat&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>\n"; break; } if ( 100 < strlen( $qeyd ) ) { echo "<b>Diqqet</b><br/>----<br/>\n"; echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; echo "<i>Platformanıza 100 simvoldan artıq söz yazmaq olmaz</i>.<br/>----<br/>\n"; echo "<b>Platformanız:</b><br/>\n"; echo $fsize2; echo "<input name=\"qeyd{$ref}\" maxlength=\"100\" value=\"".$_POST['qeyd']."\" title=\"text\"/><br/>\n"; echo $fsize1; echo "<anchor title=\"send\">Elave et<go href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;cid=plat&amp;ref={$ref}\" method=\"post\">\n"; echo "<postfield name=\"qeyd\" value=\"\$(qeyd{$ref})\"/>\n"; echo "<postfield name=\"action\" value=\"save\"/>\n"; echo "</go></anchor><br/>\n"; break; } include( "file/require/sh_files" ); $qeyd = narmobil( $qeyd ); echo "<b>Elave Edildi!</b><br/>\n"; mysql_query( "UPDATE `qefes` SET `qeyd` = '".$qeyd."' WHERE `uid` = '".$id."';" ); break;case "info" : do { do { if ( $close == 0 ) { echo "<u>Virtual Qefes Oyununa Start verilib</u>!<br/>"; break; } if ( !( $info != "" ) ) { break; } else { $qefes1 = mysql_query( "Select * from `qefes` where `uid` = '".$info."' LIMIT 1;" ); if ( mysql_affected_rows( ) == 0 ) { echo "<b>Xeta</b><br/>-----<br/>Virtual Qefes Showsunda Axtardığınız iştirakçı tapılmadı...<br/>\n"; break; } echo $fsize2; echo "</p>\n"; echo "<p align =\"left\">\n"; echo $fsize1; $mm = mysql_fetch_array( $qefes1 ); $login = $mm['user']; $qeyd = $mm['qeyd']; $cuid = $mm['uid']; echo "İştirakçı:\n"; echo "<a href=\"inside.php?id={$id}&amp;ps={$ps}&amp;nk={$cuid}&amp;ref={$ref}\">{$login}</a><br/>\n"; if ( !$qeyd ) { break; } else { echo "----<br/>\n"; echo "<i>{$qeyd}</i><br/>\n"; } } break; } while ( 0 ); echo "Axtardığınız istifadeçi tapılmadı<br/>\n"; } while ( 0 ); echo "----<br/>\n"; echo "<a href=\"qefes.php?cid=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri qayıt</a><br/>\n"; break;case "ses_veren" :}$user = @mysql_fetch_array( @mysql_query( "Select `user` from `qefes` where `uid` = '".$uid."' LIMIT 1;" ) );$userm = mysql_query( "select count(`klu4`) as `num` from `qefess` where `kime` = '".$uid."';" );$usm = mysql_fetch_array( $userm );$num = $usm['num'];if ( $user[0] == "" ){ echo "<b>Xeta</b><br/>-----<br/>Axtardığınız istifadeçi Virtual Qefes-de iştirak etmir!<br/>-----<br/>"; echo "<a href=\"qefes.php?cid=3&amp;uid={$cuid}&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>\n"; break;}if ( $num == 0 ){ echo "<b>{$user['0']}</b> leqebli iştirakçıya ses veren olmayıb...<br/>-----<br/>"; echo "<a href=\"qefes.php?cid=3&amp;uid={$cuid}&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Geri Qayıt</a><br/>\n";}else{ include( "file/qefes/win.php" );}break;$gun = date( "w" );if ( $close == "0" ){ $dat_qefes = file( "file/qefes/1.dat" ); $dat_gun = trim( $dat_qefes[0] ); if ( $dat_gun != $gun ) { include( "file/qefes/title.php" ); if ( $nam == 1 ) { $dat_mesaj = trim( $dat_qefes[1] ); echo "<b>Tebrikler</b><br/>*****<br/>Virtual Qefes-in bu turu sona chatdı.<br/>"; echo "{$dat_mesaj}"; echo "---<br/>Qefes Oyununun növbeti turu 24 saat erzinde başlayacaq.<br/>"; echo "Hazır olun:)<br/>"; break; } if ( $nam == 2 ) { include( "file/qefes/input.php" ); include( "file/qefes/cool.php" ); mysql_query( "UPDATE `qefes` SET `ses` = '0';" ); break; } $mesaj = "En az sesi olan {$limit} iştirakçı ("; $dats = date( "d.m.y" ); $query = mysql_query( "select `user`,`uid` from `qefes` where `off` = '0' ORDER BY `ses` ASC LIMIT {$limit}" ); $i = 0; while ( $info = mysql_fetch_array( $query ) ) { $mesaj .= "<u>".$info['user']."</u>, "; $nmesaj .= "<u>".$info['user']."</u>, "; ++$i; mysql_query( "UPDATE `users` SET `qefes` = '5' WHERE `id` = '".$info['uid']."';" ); mysql_query( "UPDATE `qefes` SET `off` = '1', `date` = '".$dats."' WHERE `uid` = '".$info['uid']."';" ); } $nmesaj = substr( $nmesaj, 0, strlen( $nmesaj ) - 2 ); $mesaj = substr( $mesaj, 0, strlen( $mesaj ) - 2 ); $mesaj .= "), qefesi terk etdi...<br/>"; echo "<b>Diqqet</b><br/>----<br/>{$mesaj}"; mysql_query( "TRUNCATE TABLE `qefess`" ); $r = @mysql_query( "SELECT `uid`,`ses` FROM `qefes` WHERE `ses` != '0';" ); while ( $a = mysql_fetch_array( $r ) ) { $u_id = $a['uid']; $u_ses = $a['ses']; mysql_query( "UPDATE `qefes` SET `nses` = '".$u_ses."'+`nses` WHERE `uid` = '".$u_id."';" ); } mysql_query( "UPDATE `qefes` SET `ses` = '0';" ); if ( $extra == 1 ) { $us1 = mysql_query( "select `user`,`uid` from `qefes` where `off` ='0' order by `ses` desc limit 0,1" ); $u_s1 = mysql_fetch_array( $us1 ); $u_user1 = $u_s1['user']; $us2 = mysql_query( "select `user`,`uid` from `qefes` where `off` ='0' order by `ses` desc limit 1,2" ); $u_s2 = mysql_fetch_array( $us2 ); $u_user2 = $u_s2['user']; $hediyye = trim( $colseds[3] ); $mesaj2 = "<br/><b>Extra Duel</b> başladı...<br/>Qefesde \"<u>{$u_user1}</u>\" ve \"<u>{$u_user2}</u>\" qaldı.<br/>Bu gün bu istifadeçilerden biri \"<b>{$hediyye}</b>\" qazanacaq!<br/>"; $mes = "<br/>Qefesde \"<u>{$u_user1}</u>\" ve \"<u>{$u_user2}</u>\" qaldı.<br/><b>Extra Duel</b> başladı...<br/>Bu gün bu istifadeçilerden biri \"<b>{$hediyye}</b>\" qazanacaq! <img src=\"file/qefes/img/ura.gif\" alt=\".ura.\"/><img src=\"file/qefes/img/ura.gif\" alt=\".ura.\"/><img src=\"file/qefes/img/ura.gif\" alt=\".ura.\"/>"; $i = 0; while ( $i <= 9 ) { $st = time( ); $today = date( "H:i", mktime( date( "H" ) + $xsat ) ); $rnd = rand( 0, 99999999 ); mysql_query( "Insert into room{$i} set klu4= '".$rnd."', time='".$today."', who='Qefes', message='".$mes."', id='".$st."', towhom='', hid='0', usid='11'" ); ++$i; } $online = time( ) + $vaxt; $rnd = rand( 0, 9 ); mysql_query( "UPDATE `users` SET `time` = '".$online."', `room` = '".$rnd."' WHERE `id` = '11';" ); } else { $mes = "En az sesi olan {$limit} iştirakçı ({$nmesaj}), qefesi terk etdi...<img src=\"file/qefes/img/qemli.gif\" alt=\".qemli.\"/>"; $i = 0; while ( $i <= 9 ) { $st = time( ); $today = date( "H:i", mktime( date( "H" ) + $xsat ) ); $rnd = rand( 0, 99999999 ); mysql_query( "Insert into room{$i} set klu4= '".$rnd."', time='".$today."', who='Qefes', message='".$mes."', id='".$st."', towhom='', hid='0', usid='11'" ); ++$i; } $online = time( ) + $vaxt; $rnd = rand( 0, 9 ); mysql_query( "UPDATE `users` SET `time` = '".$online."', `room` = '".$rnd."' WHERE `id` = '11';" ); } $msgtime = time( ) + 54000; $fpa = fopen( "file/qefes/1.dat", "w" ); $xeber .= "{$gun}\n"; $xeber .= "{$mesaj}\n"; $xeber .= "{$msgtime}\n"; $xeber .= "{$mesaj2}"; fputs( $fpa, $xeber ); fclose( $fpa ); $hediyye = trim( $colseds[3] ); if ( $extra == 1 ) { if ( !file_exists( "file/qefes/0_aktiv.dat" ) ) { @rename( "file/qefes/0_deaktiv.dat", "file/qefes/0_aktiv.dat" ); } $newmesaj = "Sabah Virtual Qefes-de 1 nefer {$hediyye} qazanacaq.<br/>"; $newdat = fopen( "file/qefes/0_aktiv.dat", "w" ); $news .= "{$gun}\n"; $news .= "{$newmesaj}"; fputs( $newdat, $news ); fclose( $newdat ); } $cid = 1; break; }}if ( file_exists( "file/qefes/img/qefes.gif" ) ){ echo "<img src=\"file/qefes/img/qefes.gif\" alt=\"Virtual Qefes\"/><br/>\n";}else{ echo "<b>Virtual Qefes</b><br/>\n";}echo "*****<br/>\n";if ( $id == 1 ){ echo "<a href=\"qefes.php?cid=0&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Qefes Panel</a><br/>\n";}echo "<a href=\"qefes.php?cid=news&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Show haqqında</a><br/>\n";echo "-----<br/>\n";$mesaj = file( "file/qefes/1.dat" );$mesajes = trim( $mesaj[1] );echo "{$mesajes}\n";echo $fsize2;echo "</p>\n";echo "<p align =\"left\">\n";echo $fsize1;$qefes = $row['qefes'];if ( $close == "1" ){ echo "<b><a href=\"qefes.php?cid=1&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">İştirakçı Qebulu</a></b><br/>-----<br/>\n";}if ( $qefes == 1 ){ echo "<a href=\"qefes.php?cid=plat&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Platformanız</a><br/>-----<br/>\n";}echo "<img src=\"file/qefes/img/p.gif\" alt=\"1\"/>-<a href=\"qefes.php?cid=3&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">İştirakçılar</a><br/>\n";echo "<img src=\"file/qefes/img/s.gif\" alt=\"2\"/>-<a href=\"qefes.php?cid=ses&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">İştirakçılara ses ver</a><br/><br/>\n";echo "<img src=\"file/qefes/img/son.gif\" alt=\"4\"/>-<a href=\"qefes.php?cid=5&amp;id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Meğlub olanlar</a><br/>\n";break;echo "*****<br/>\n";if ( $cid ){ echo "<a href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Virtual Qefes</a><br/>";}else{ if ( $adminpanel == 1 ) { echo "<a href=\"qefes.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Virtual Qefes</a><br/>\n"; echo "<a href=\"admin.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Admin Panel</a><br/>\n"; } echo "<a href=\"enter.php?id={$id}&amp;ps={$ps}&amp;ref={$ref}\">Dehliz</a><br/>\n";}echo $fsize2;echo "</p>\n";echo "</card>\n";echo "</wml>\n";mysql_close( $sqltable );?>
Отредактировано Gemorroj (2011.10.16 21:09)
#2. DarkDaNTe Off (11)
Участник
2011.10.16 22:10
wml *facepalm*
#3. TLENS Off (14)
Moderator
2011.10.16 22:10
DarkDaNTe Давно о нем не слыхал
Страниц: 1
Главная
WEB
PunBB Mod v0.6.2
0.022 s