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

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış
  Stsonline.php de Komek Lazimdir
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 12:45)
Salam Herkese!Xahiw etsem bu phpni kim ele ede bilerki Smaylik yazmaq olsun,statusa fikir bildiren yerde Smaylikleri acmir,men cox caliwdim alinmadi bacaran varsa komey etsin!
<?php
header("Cache-Control: no-cache");
header("Content-type:text/vnd.wap.wml");
require("inc.php");
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);

$bal = $row['bal'];
$stsonline = $row["stsonline"];

$sts = file("file/dat_folder/stsonline.dat");
$qiymet = str_replace("-", "", (int)trim($sts[0]));
$muellif = trim($sts[1]);

if (!ctype_digit($qiymet) or $qiymet==0)
$qiymet = 1;

echo $xml;
echo $dtd;
echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>\n";
switch ($b) {

default:
echo "<card id=\"chat\" title=\"Ne xeyal edirsen?\">\n";
echo "<p align=\"center\">\n";
echo $fsize1;
echo "<b>Ne xeyal edirsen?</b><br/>\n";
print $fsize2;
echo "</p><p align=\"left\">\n";
print $fsize1;
echo "Yazd&#305;q&#305;n&#305;z s&#246;z onlinede nikinizin alt&#305;nda g&#246;r&#252;necek.<br/>\n";
echo $fsize2;
echo "<input name=\"text$ref\" maxlength=\"30\" value=\"".$stsonline."\" title=\"Online Status\"/>";
print $fsize1;
if($row['level']==9)echo "<a href=\"stsonline.php?b=3&amp;id=$id&amp;ps=$ps&amp;ref=$ref\">&#xbb;&#xbb;</a>";
echo "<br/>\n";

echo "<anchor>Deyi&#351;<go href=\"stsonline.php?b=1&amp;id=$id&amp;ps=$ps&amp;ref=$ref\" method=\"post\">
<postfield name=\"text\" value=\"$(text$ref)\"/>
</go></anchor>(<b>".$qiymet."</b> bal)<br/>";
echo "<a href=\"stsonline.php?b=2&amp;id=$id&amp;ps=$ps&amp;ref=$ref\">Le&#287;v et</a> (<b>0</b> bal)<br/>\n";
echo $divide;
echo "<b>Qeyd</b>: <u>Her g&#252;n 24:00 dan sonra melumat bazas&#305; yenilenir.</u><br/>\n";
break;

case '5':
echo "<card id=\"chat\" title=\"Ne xeyal edirsen?\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
$y0xlama = mysql_query ("SELECT id,user,stsonline FROM `users` where id = '".$uid."'");
$oxu = mysql_fetch_array ($y0xlama);
echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;ref=$ref\">Yenile</a> - ";
echo "<a href=\"info.php?id=$id&amp;ps=$ps&amp;nk=".$oxu["id"]."&amp;ref=$ref\">".$oxu["user"]."</a><br/>";
echo "Online Statusu: \"<u><i>".$oxu["stsonline"]."</i></u>\"<br/>";
if (($row['level']==9)&&($_GET["del_c"])){
mysql_query("DELETE FROM ostatus_fikir WHERE id='".$_GET["del_c"]."'");
echo $divide;
echo "Fikir silindi!.<br/>";
}
if(isset($_POST['fikiri'])){
if ($row["posts"]<0){
echo $divide;
echo "Statusa &#351;erh vermek &#252;&#231;&#252;n <u>200</u> postunuz olmal&#305;d&#305;r.<br/>";
echo "<i><b>Diqqet!</b>: <u>Postunuz hesab&#305;n&#305;zdan &#231;&#305;x&#305;lmayacaq. Bu sadece &#231;at&#305;m&#305;z&#305;n seviyyesini qoruyub saxlamaq&#231;&#252;n nezerde tutulub.</u></i><br/>";
}else{


if(empty($fikiri)){$error = $divide."Fikrinizi qeyd etmediniz.<br/>";$cvb = 1;}
$x = mysql_query("SELECT * FROM `ostatus_fikir` WHERE `uid` = '".$uid."' and muellif = '".$id."' and fikir = '".$fikiri."';");
if(mysql_num_rows($x)!=0){$cvb = 1;}

if ($error){echo $error;}

if ($cvb!=1){
mysql_query("INSERT INTO `ostatus_fikir` SET `uid` = '".$uid."', muellif = '".$id."', vaxt = '".time()."', fikir = '".$fikiri."';");
}}}
echo "*****<br/>";
$sqleh = mysql_query("select id from ostatus_fikir where uid = '".$uid."'");
$total = mysql_num_rows($sqleh);

if($total == 0)echo "Bu statusa fikir bildiren olmay&#305;b.<br/>\n";
$max_page = 100;
$page = (!isset($_GET['page'])) ? 0 : $_GET['page'];
$start = (!isset($page)) ? 0 : ($page * $max_page);
$end = (!isset($page)) ? $max_page : ($start + $max_page);
if(ceil($total/$max_page) < $page)
{
$start = 0;
$end = $max_page;
}

$sql = mysql_query("SELECT * FROM `ostatus_fikir` where uid = '".$uid."' ORDER BY `vaxt` asc limit $start,$max_page;");

while($EH = mysql_fetch_array($sql))
{
$y0xlama = mysql_query ("SELECT * FROM `users` where id = '".$EH['muellif']."'");
if (mysql_affected_rows() == 0) {
$muellif = "[<u>nik silinib</u>]";
} else {
$oxu = mysql_fetch_array ($y0xlama);
$muellif = "<a href=\"info.php?id=$id&amp;ps=$ps&amp;nk=".$oxu["id"]."&amp;ref=$ref\">".$oxu["user"]."</a>";
}
if($row['level']==9)echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;del_c=".$EH['id']."&amp;ref=$ref\">x</a> ";
echo $muellif." ".$EH['fikir']."<br/>";
++$start;
}
if ($total > $max_page) {
echo navigation('stsonline.php?id='.$id.'&amp;ps='.$ps.'&amp;b=5&amp;uid='.$uid.'&amp;ref='.$ref.'', $total, $max_page, $page) ;
}

echo "*****<br/>";
echo $fsize2;
echo "<input type=\"text\" name=\"fikiri$ref\" maxlength=\"160\"/><br/>";
echo $fsize1."<anchor>Fikir Bildir<go href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;ref=$ref\" method=\"post\">
<postfield name=\"fikiri\" value=\"$(fikiri$ref)\"/>
</go></anchor><br/>";
break;

case '4':
if($row['level'] < 9){
echo "<card id=\"stspanel\" title=\"Olmaz\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin bura daxil olmaq icazeniz yoxdur.<br/>\n";
break;
}
echo "<card id=\"legv\" title=\"Le&#287;v oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
mysql_query("UPDATE `users` SET `stsonline` = '' WHERE `id` = '".$nk."';");
mysql_query("DELETE FROM ostatus_fikir WHERE uid = '".$nk."'");
echo "Qeyd etdiyiniz istifade&#231;ininsStatus yaz&#305;s&#305; le&#287;v olundu.<br/>\n";
break;

case '3':
if($row['level']!=9){
echo "<card id=\"stspanel\" title=\"Olmaz\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin bura daxil olmaq icazeniz yoxdur.<br/>\n";
break;
}
echo "<card id=\"stspanel\" title=\"Mini Panel\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;

if(!$_POST['qiymetup']){
echo "M&#252;ellif: <b>$muellif</b><br/>\n";
echo $divide;
echo "Qiymet:<br/>\n";
echo $fsize2;
echo "<input name=\"qiymetup$ref\" format=\"*N\" value=\"".$qiymet."\" title=\"Qiymet\"/><br/>\n";
print $fsize1;
echo "<anchor>Yenile<go href=\"stsonline.php?b=3&amp;id=$id&amp;ps=$ps&amp;ref=$ref\" method=\"post\">
<postfield name=\"qiymetup\" value=\"$(qiymetup$ref)\"/>
</go></anchor><br/>\n";
}else{
echo "Qiymet Yenilendi<br/>\n";
file_put_contents('file/dat_folder/stsonline.dat',$qiymetup."\n".$row['user']);
}

break;

case '2':
echo "<card id=\"legv\" title=\"Le&#287;v oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
mysql_query("UPDATE `users` SET `stsonline` = '' WHERE `id` = '".$id."';");
mysql_query("DELETE FROM ostatus_fikir WHERE uid = '".$id."'");
echo "Sizin status yaz&#305;n&#305;z le&#287;v olundu.<br/>\n";
break;

case '1':
if ($bal < $qiymet) {
echo "<card id=\"nookey\" title=\"Diqqet\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin <b>$bal</b> bal&#305;n&#305;z var. Bu xidmetinden yararlanmaq &#252;&#231;&#252;n <b>".$qiymet."</b> bal&#305;n&#305;z olmal&#305;d&#305;r.<br/>";
} else {
echo "<card id=\"okey\" title=\"Elave oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
$qaliq = $bal - $qiymet;

if(strlen($text)>=31)
$text = substr($text, 0, 30);
else
$text = substr($text, 0, 40);



if (mysql_query("UPDATE `users` SET `stsonline` = '".$text."', `bal` = '".$qaliq."' WHERE `id` = '".$id."';")) {
echo "D&#252;&#351;&#252;nd&#252;y&#252;n&#252;z qeyde al&#305;nd&#305;: <b>$text</b><br/>";
echo "Hesab&#305;n&#305;zdan <b>$qiymet</b> bal &#231;&#305;x&#305;ld&#305; ve hesab&#305;n&#305;zda <u>$qaliq</u> bal qald&#305;.<br/>";
} else {
echo "Bazada problem var. 30 saniyeden sora tekrar yoxlay&#305;n.<br/>";
}
}
break;
}
echo $divide;
if($b)
echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Geri qay&#305;t</a><br/>\n";
echo "<a href=\"on.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Online Mesaj</a><br/>\n";
echo $fsize2;
echo "</p></card></wml>";
?>
Sistem Sistem [Off] [#] (23.03.2013 / 12:45)
WapUsta.Net :)
Tebrikler !Yeni movzu ugurla yaradildi! Eger movzu Qaydalara uygun olmazsa silinecek. Odur ki bir daha Qaydalari diqqetle oxuyun ! Movzudan kenara chixan cezalandirilacaq !
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 12:52)
Yoxdu bunu bacaran bir allahin bendesi?
qafqaz qafqaz [Off] [#] (23.03.2013 / 13:02)
ozumde php ni teze Oyrenirem amma mence orda smaylik olan papkanaki ora cagirmaq lazimdi.belkede sef deyirem.
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 13:05)
qafqaz, qaqaw burda coxu bilire amma pul olmayanda qacirlar,o qeder komey elemiwemki burdakilara pulsuz
---------------------
Mene Komey Lazim Olan Komey eden Olmur!!!
Dj_K_R_A_L Dj_K_R_A_L [Off] [#] (23.03.2013 / 13:11)
yasamalcik, enter.php da online sms bax orda var, uygunlawdir fsyo
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 13:14)
Dj_K_R_A_L, qaqaw elemiwem alinmir axi
Dj_K_R_A_L Dj_K_R_A_L [Off] [#] (23.03.2013 / 13:16)
yasamalcik, yagin kodu sef goturmusen??
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 13:21)
Dj_K_R_A_L, onu oldugu kimi gtururem,orda msg yazlan yeri deyiwib edirem $fikiri bele olmali deyil?
EasY_NicK EasY_NicK [Off] [#] (23.03.2013 / 13:22)
*_AxMeDnick_*
Men duzetmiwem smaylikde acir znakda rengli nikde istesen tapib vererem
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 13:26)
EasY_NicK, Qaqaw ela olare etaga,Caniva duaci olaram
Dj_K_R_A_L Dj_K_R_A_L [Off] [#] (23.03.2013 / 13:27)
yasamalcik, pm yazdim.
TeGuFa TeGuFa [Off] [#] (23.03.2013 / 13:32)
indi telleyem duzelden olmasa birazdan kompla gelecem duzeldib ataram sade weydi.
EasY_NicK EasY_NicK [Off] [#] (23.03.2013 / 13:34)
*_AxMeDnick_*
yasamalcik (23.03.2013/14:26)
EasY_NicK, Qaqaw ela olare etaga,Caniva duaci olaram
Gozde
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 14:24)
TeGuFa, Cox sagol qaqam,Ya bura ya da pm yazarsanda mene phpni Qaqam birde men bu autoya qururam onuda nezere alarsan,
---------------------
EasY_NicK, burdayam qaqam
---------------------
davam bilen var? Php ni hazir versiyasi yoxdu heckimde?
TeGuFa TeGuFa [Off] [#] (23.03.2013 / 14:40)
yasamalcik, buyur bunu at


<?php
header("Cache-Control: no-cache");
header("Content-type:text/vnd.wap.wml");
require("inc.php");
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);

$bal = $row['bal'];
$stsonline = $row["stsonline"];

$sts = file("file/dat_folder/stsonline.dat");
$qiymet = str_replace("-", "", (int)trim($sts[0]));
$muellif = trim($sts[1]);

if (!ctype_digit($qiymet) or $qiymet==0)
$qiymet = 1;

echo $xml;
echo $dtd;
echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>\n";
switch ($b) {

default:
echo "<card id=\"chat\" title=\"Ne xeyal edirsen?\">\n";
echo "<p align=\"center\">\n";
echo $fsize1;
echo "<b>Ne xeyal edirsen?</b><br/>\n";
print $fsize2;
echo "</p><p align=\"left\">\n";
print $fsize1;
echo "Yazd&#305;q&#305;n&#305;z s&#246;z onlinede nikinizin alt&#305;nda g&#246;r&#252;necek.<br/>\n";
echo $fsize2;
echo "<input name=\"text$ref\" maxlength=\"30\" value=\"".$stsonline."\" title=\"Online Status\"/>";
print $fsize1;
if($row['level']==9)echo "<a href=\"stsonline.php?b=3&amp;id=$id&amp;ps=$ps&amp;ref=$ref\">&#xbb;&#xbb;</a>";
echo "<br/>\n";

echo "<anchor>Deyi&#351;<go href=\"stsonline.php?b=1&amp;id=$id&amp;ps=$ps&amp;ref=$ref\" method=\"post\">
<postfield name=\"text\" value=\"$(text$ref)\"/>
</go></anchor>(<b>".$qiymet."</b> bal)<br/>";
echo "<a href=\"stsonline.php?b=2&amp;id=$id&amp;ps=$ps&amp;ref=$ref\">Le&#287;v et</a> (<b>0</b> bal)<br/>\n";
echo $divide;
echo "<b>Qeyd</b>: <u>Her g&#252;n 24:00 dan sonra melumat bazas&#305; yenilenir.</u><br/>\n";
break;

case '5':
echo "<card id=\"chat\" title=\"Ne xeyal edirsen?\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
$y0xlama = mysql_query ("SELECT id,user,stsonline FROM `users` where id = '".$uid."'");
$oxu = mysql_fetch_array ($y0xlama);
echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;ref=$ref\">Yenile</a> - ";
echo "<a href=\"info.php?id=$id&amp;ps=$ps&amp;nk=".$oxu["id"]."&amp;ref=$ref\">".$oxu["user"]."</a><br/>";
echo "Online Statusu: \"<u><i>".$oxu["stsonline"]."</i></u>\"<br/>";
if (($row['level']==9)&&($_GET["del_c"])){
mysql_query("DELETE FROM ostatus_fikir WHERE id='".$_GET["del_c"]."'");
echo $divide;
echo "Fikir silindi!.<br/>";
}
if(isset($_POST['fikiri'])){
if ($row["posts"]<0){
echo $divide;
echo "Statusa &#351;erh vermek &#252;&#231;&#252;n <u>200</u> postunuz olmal&#305;d&#305;r.<br/>";
echo "<i><b>Diqqet!</b>: <u>Postunuz hesab&#305;n&#305;zdan &#231;&#305;x&#305;lmayacaq. Bu sadece &#231;at&#305;m&#305;z&#305;n seviyyesini qoruyub saxlamaq&#231;&#252;n nezerde tutulub.</u></i><br/>";
}else{


if(empty($fikiri)){$error = $divide."Fikrinizi qeyd etmediniz.<br/>";$cvb = 1;}
$x = mysql_query("SELECT * FROM `ostatus_fikir` WHERE `uid` = '".$uid."' and muellif = '".$id."' and fikir = '".$fikiri."';");
if(mysql_num_rows($x)!=0){$cvb = 1;}

if ($error){echo $error;}

if ($cvb!=1){



$fikir = $_POST['fikir'];



require("smile.php");
$minpos = 1200; $nm = 1200;
for ($j=0;$j<=count($smiles)-1;$j++){
$tmpp = strpos($fikir,$smiles[$j]);
if (($tmpp < $minpos)&&($tmpp !== false)){
$minpos = $tmpp; $nm = $j;};
};
if ($minpos !=1200){
if ($row["translit"]!=1){
$st1 = substr($fikir,0,$minpos+strlen($smiles[$nm]));
$st2 = substr($fikir,$minpos+strlen($smiles[$nm]),strlen($fikir)-strlen($st1));
$st1 = str_replace($smiles[$nm],$replaces[$nm],$st1);
$fikir = $st1.$st2;
} else {
$st1 = substr($fikir,0,$minpos);
$st2 = substr($fikir,$minpos, strlen($smiles[$nm]));
$st3 = substr($fikir,$minpos+strlen($smiles[$nm]),strlen($fikir)-strlen($st1)-strlen($st2));
$st1 = trun_to_rus($st1);
$st2 = $replaces[$nm];
$st3 = trun_to_rus($st3);
$fikir = $st1.$st2.$st3;
}
}

else if ($row["translit"]==1) $msg = trun_to_rus($msg);
Unset($smiles);
unset($replaces);


$fikiri = $fikir;



mysql_query("INSERT INTO `ostatus_fikir` SET `uid` = '".$uid."', muellif = '".$id."', vaxt = '".time()."', fikir = '".$fikiri."';");
}}}
echo "*****<br/>";
$sqleh = mysql_query("select id from ostatus_fikir where uid = '".$uid."'");
$total = mysql_num_rows($sqleh);

if($total == 0)echo "Bu statusa fikir bildiren olmay&#305;b.<br/>\n";
$max_page = 100;
$page = (!isset($_GET['page'])) ? 0 : $_GET['page'];
$start = (!isset($page)) ? 0 : ($page * $max_page);
$end = (!isset($page)) ? $max_page : ($start + $max_page);
if(ceil($total/$max_page) < $page)
{
$start = 0;
$end = $max_page;
}

$sql = mysql_query("SELECT * FROM `ostatus_fikir` where uid = '".$uid."' ORDER BY `vaxt` asc limit $start,$max_page;");

while($EH = mysql_fetch_array($sql))
{
$y0xlama = mysql_query ("SELECT * FROM `users` where id = '".$EH['muellif']."'");
if (mysql_affected_rows() == 0) {
$muellif = "[<u>nik silinib</u>]";
} else {
$oxu = mysql_fetch_array ($y0xlama);
$muellif = "<a href=\"info.php?id=$id&amp;ps=$ps&amp;nk=".$oxu["id"]."&amp;ref=$ref\">".$oxu["user"]."</a>";
}
if($row['level']==9)echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;del_c=".$EH['id']."&amp;ref=$ref\">x</a> ";
echo $muellif." ".$EH['fikir']."<br/>";
++$start;
}
if ($total > $max_page) {
echo navigation('stsonline.php?id='.$id.'&amp;ps='.$ps.'&amp;b=5&amp;uid='.$uid.'&amp;ref='.$ref.'', $total, $max_page, $page) ;
}

echo "*****<br/>";
echo $fsize2;
echo "<input type=\"text\" name=\"fikir$ref\" maxlength=\"160\"/><br/>";
echo $fsize1."<anchor>Fikir Bildir<go href=\"stsonline.php?id=$id&amp;ps=$ps&amp;b=5&amp;uid=$uid&amp;ref=$ref\" method=\"post\">
<postfield name=\"fikiri\" value=\"$(fikir$ref)\"/>
</go></anchor><br/>";
break;

case '4':
if($row['level'] < 9){
echo "<card id=\"stspanel\" title=\"Olmaz\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin bura daxil olmaq icazeniz yoxdur.<br/>\n";
break;
}
echo "<card id=\"legv\" title=\"Le&#287;v oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
mysql_query("UPDATE `users` SET `stsonline` = '' WHERE `id` = '".$nk."';");
mysql_query("DELETE FROM ostatus_fikir WHERE uid = '".$nk."'");
echo "Qeyd etdiyiniz istifade&#231;ininsStatus yaz&#305;s&#305; le&#287;v olundu.<br/>\n";
break;

case '3':
if($row['level']!=9){
echo "<card id=\"stspanel\" title=\"Olmaz\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin bura daxil olmaq icazeniz yoxdur.<br/>\n";
break;
}
echo "<card id=\"stspanel\" title=\"Mini Panel\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;

if(!$_POST['qiymetup']){
echo "M&#252;ellif: <b>$muellif</b><br/>\n";
echo $divide;
echo "Qiymet:<br/>\n";
echo $fsize2;
echo "<input name=\"qiymetup$ref\" format=\"*N\" value=\"".$qiymet."\" title=\"Qiymet\"/><br/>\n";
print $fsize1;
echo "<anchor>Yenile<go href=\"stsonline.php?b=3&amp;id=$id&amp;ps=$ps&amp;ref=$ref\" method=\"post\">
<postfield name=\"qiymetup\" value=\"$(qiymetup$ref)\"/>
</go></anchor><br/>\n";
}else{
echo "Qiymet Yenilendi<br/>\n";
file_put_contents('file/dat_folder/stsonline.dat',$qiymetup."\n".$row['user']);
}

break;

case '2':
echo "<card id=\"legv\" title=\"Le&#287;v oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
mysql_query("UPDATE `users` SET `stsonline` = '' WHERE `id` = '".$id."';");
mysql_query("DELETE FROM ostatus_fikir WHERE uid = '".$id."'");
echo "Sizin status yaz&#305;n&#305;z le&#287;v olundu.<br/>\n";
break;

case '1':
if ($bal < $qiymet) {
echo "<card id=\"nookey\" title=\"Diqqet\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
echo "Sizin <b>$bal</b> bal&#305;n&#305;z var. Bu xidmetinden yararlanmaq &#252;&#231;&#252;n <b>".$qiymet."</b> bal&#305;n&#305;z olmal&#305;d&#305;r.<br/>";
} else {
echo "<card id=\"okey\" title=\"Elave oldu\">\n";
echo "<p align=\"left\">\n";
echo $fsize1;
$qaliq = $bal - $qiymet;

if(strlen($text)>=31)
$text = substr($text, 0, 30);
else
$text = substr($text, 0, 40);



if (mysql_query("UPDATE `users` SET `stsonline` = '".$text."', `bal` = '".$qaliq."' WHERE `id` = '".$id."';")) {
echo "D&#252;&#351;&#252;nd&#252;y&#252;n&#252;z qeyde al&#305;nd&#305;: <b>$text</b><br/>";
echo "Hesab&#305;n&#305;zdan <b>$qiymet</b> bal &#231;&#305;x&#305;ld&#305; ve hesab&#305;n&#305;zda <u>$qaliq</u> bal qald&#305;.<br/>";
} else {
echo "Bazada problem var. 30 saniyeden sora tekrar yoxlay&#305;n.<br/>";
}
}
break;
}
echo $divide;
if($b)
echo "<a href=\"stsonline.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Geri qay&#305;t</a><br/>\n";
echo "<a href=\"on.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Online Mesaj</a><br/>\n";
echo $fsize2;
echo "</p></card></wml>";
?>
yasamalcik yasamalcik [Off] [#] (23.03.2013 / 18:47)
TeGuFa, qaqam burda neyise sehv yazmisan deyesen fikir bildirende fikir gorsenmir,Nikin qabagi bow olur,yazi gorsenmir
TeGuFa TeGuFa [Off] [#] (23.03.2013 / 19:39)
yasamalcik, mene yazmisan pmda iwledi cox sag ol ama burda yazirsanki neyise sef etmisen.o nediki onda da nese sef edem.qeribe insanlar vare deyirem.
Dey. TeGuFa (23.03.2013 / 19:43) [1]
  Cemi: 18

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

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net