Chatzonechatzonechatzonechatzone

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

7 replies · 1,001 views · started 19 years ago · 1 min read

5 participants
ori Lead · 512 posts #2

All updates and mods please guys, i beg yous???

chatzonechatzonechatzonechatzone

DreamWap

Thanx in advance

which chatzone ? lol

thunderwap Developer · 169 posts #3

All updates and mods please guys, i beg yous???

chatzonechatzonechatzonechatzone

DreamWap

Thanx in advance

do u mean u need chatzone script mate

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

SpiderWap Lead · 622 posts #4

Not the script,,,,

Or wait, if someone perhaps got a more updated script, it would really be nice.....

But was looking for updates on the script, example, blocking of lesb room 18+ room etc,,, or any other updates

ori Lead · 512 posts #5

as in chatzonez.net? chatzone.com ???

GiLL Senior · 356 posts #6

man if u need lil help then i can help u check my site chat.2-wap.net and it would be good if you do yourself all updates

left wap stuff

Guest #7

Look great....

wat script hav u used in http://www.chat.2-wap.net ???????

can u tell me wat is the script name ?

waiting for ur reply.....

ReGzBk Developer · 115 posts #8

jst change ua two files as below

here is enter.php

<?php header ("Content-type:text/vnd.wap.wml; charset=utf-8"); print '<?xml version="1.0" encoding="utf-8"?>';

print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">'. '<wml>'; include "./ini.php"; print '<card title="'.$lang['holl'].'">'. " "; if(!empty($login)) $q = @mysql_query("select id from ".$px.$utable." where login='".$login."';"); $pr_count = @mysql_query("SELECT count() FROM ".$px.$utable." WHERE ltime>'".intval(time()-$offline)."';"); $pdc = @mysql_fetch_array($pr_count); $count = $pdc['count()']; if(empty($id)) { //§ ¯à®á ¢ ¬ �ᨢ $data = @mysql_fetch_array($q); //¨¤ ¯®«ì§®¢ ⥫� $id = $data['id']; } $login = autorize(); if($login) { if(!$login['ip']) { @mysql_query("update ".$px.$utable." set ip='".getenv(REMOTE_ADDR)."' where id='".$id."';"); } if(!$login['soft']) { @mysql_query("update ".$px.$utable." set soft='".getenv(HTTP_USER_AGENT)."' where id='".$id."';"); } if($login['fsize'] == "small") { $fsize1 = ""; $fsize2 = ""; } elseif($login['fsize'] == "big") { $fsize1 = ""; $fsize2 = ""; } else { $fsize1 = ""; $fsize2 = ""; } print $fsize1; @mysql_query("update ".$px.$utable." set ltime='".time()."', room='$room' where id='".$id."';"); $q_letters_in = @mysql_query("select count() from ".$px.$ltable." where to_user='".$login['login']."' and new=1;"); $num_in=@mysql_fetch_array($q_letters_in); //㧥� ª®«¨ç¥á⢮ ¢å®¤ïé¨å ®¢ëå ¯¨á¥¬ $q_letters_in_all = @mysql_query("select count() from ".$px.$ltable." where to_user='".$login['login']."'"); $num_in_all=@mysql_fetch_array($q_letters_in_all); //㧥� ª®«¨ç¥á⢮ ¢å®¤ïé¨å ¯¨á¥¬

if($login['admin']==2) print "<a href="./owner.php?id=$id&pass=$pass">OwnerCP</a> "; if($login['admin']) print "<a href="./admin.php?id=$id&pass=$pass">".$lang['admining']."</a> "; if($login['moder']) print "<a href="./moder.php?id=$id&pass=$pass">".$lang['modering']."</a> "; $modlog=mysql_fetch_array(mysql_query("SELECT MAX(id) FROM chatlog")); if($login['moder']) print "<a href="./modlog.php?id=$id&pass=$pass">ModLOG($modlog[0])</a> $divide"; /////////////////////////////////////////////////////// $q_num_meets = @mysql_query("select count() from ".$px.$meettable." where 1"); $num_meets=@mysql_fetch_array($q_num_meets); print ''.$lang['letters'].'('.$num_in['count()'].'/'.$num_in_all['count()'].') '. "<a href="meets.php?id=$id&pass=$pass">".$lang['meets']."(".$num_meets['count()'].")</a> ". ''.$lang['who_online'].'('.$count.') '. $divide; $q = @mysql_query("select var,val1 from ".$px.$stable." where mod='room' order by val3;"); while($droom = @mysql_fetch_array($q)) { $q_online = @mysql_query("SELECT * FROM ".$px.$utable." WHERE ltime>'".intval(time()-$offline)."' AND room='".$droom['var']."' order by ltime desc;"); $q_count = @mysql_query("SELECT count() FROM ".$px.$utable." WHERE ltime>'".intval(time()-$offline)."' AND room='".$droom['var']."';"); $sex=mysql_fetch_array(mysql_query("SELECT sex, byear FROM chat_users WHERE id=$id")); $age=0; $age=2006-$sex[1]; if ($age>60) $age=0; $dcount = @mysql_fetch_array($q_count); if($droom['var']<>"room4" && $droom['var']<>"room2" && $droom['var']<>"room3") print '.'"]'.$droom['val1'].'('.$dcount['count()'].') '; else if((!$login['moder'] or $droom['var']<>"room4") && ((!$login['moder'] or $droom['var']<>"") && ($droom['var']<>"room2" or $sex[0]<>"zh")) && ($age<18 or $droom['var']<>"room3")) print $droom['val1'].'('.$dcount['count()'].') '; if($login['moder'] && $droom['var']=="room4") print '.'"]'.$droom['val1'].'('.$dcount['count()'].') '; if(($login['moder']&& $droom['var']=="") or ($droom['var']=="room2" && $sex[0]=="zh")) print '.'"]'.$droom['val1'].'('.$dcount['count()'].') '; if($age>18 && $droom['var']=="room3") print '.'"]'.$droom['val1'].'('.$dcount['count()'].') '; } print $divide. ''.$lang['stats'].' '. ''.$lang['search'].' '. ''.$lang['help'].' '. ''.$lang['ignor'].' '. ''.$lang['settings'].' '. ''.$lang['profile'].' '. $divide. ''.$lang['main'].''; $pr_count = @mysql_query("SELECT count() FROM ".$px.$utable." WHERE ltime>'".intval(time()-$offline)."' AND room='';"); $pdc = @mysql_fetch_array($pr_count); print ' '.$lang['people_in_holl'].': '.$pdc['count()'].' '; print $fsize2; } else { print $lang['not_loged']; } print ' '. '</card>'. '</wml>'; @mysql_close(); ?>

and online.php

<?php header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); print "<?xml version=\"1.0\"?>";

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml>

<?php include "./ini.php"; // ¢â®à¨§ æ¨ï $login = autorize(); //§ ¯à®á �᫮ ®« ©­ $q_count = @mysql_query("SELECT count(*) FROM `".$px.$utable."` WHERE ltime>'".intval(time()-$offline)."'"); //¢ ¬ �ᨢ $count = @mysql_fetch_array($q_count); //¯à®¤®«¦ ¥¬ ¢ë¢®¤ ¢ ¡à 㧥� print '<card title="'.$lang['who_online'].' ('.$count['count(*)'].')">'. ' '; //ãáâ ¢«¨¢ ¥¬ à §¬¥à èà¨äâ if($login['fsize'] == "small") { $fsize1 = ""; $fsize2 = ""; } elseif($login['fsize'] == "big") { $fsize1 = ""; $fsize2 = ""; } elseif($login['fsize'] == "medium") { $fsize1 = ""; $fsize2 = ""; } else { $fsize1 = ""; $fsize2 = ""; } print $fsize1; //ª®¤ ¢ë¢®¤ ááë«®ª ª®¬âë $pr_count = @mysql_query("SELECT count(*) FROM `".$px.$utable."` WHERE ltime>'".intval(time()-$offline)."' AND room='';"); $pdc = @mysql_fetch_array($pr_count); print "<a href=\"enter.php?id=$id&amp;pass=$pass\">".$lang['holl']." (".$pdc['count(*)'].")</a> "; $q = @mysql_query("select `var`,`val1` from `".$px.$stable."` where `mod`='room' order by val3;"); //¢ 横«¥ ¯¥ç â ¥¬ áá뫪¨ while($droom = @mysql_fetch_array($q)) { $q_online = @mysql_query("SELECT * FROM `".$px.$utable."` WHERE ltime>'".intval(time()-$offline)."' AND room='".$droom['var']."' order by ltime desc;"); $q_count = @mysql_query("SELECT count(*) FROM `".$px.$utable."` WHERE `ltime`>'".intval(time()-$offline)."' AND `room`='".$droom['var']."';"); $sex=mysql_fetch_array(mysql_query("SELECT sex, byear FROM chat_users WHERE id=$id")); $age=0; $age=2006-$sex[1]; if ($age>60) $age=0; $dcount = @mysql_fetch_array($q_count); if($droom['var']<>"room11223344" && $droom['var']<>"room2" && $droom['var']<>"room3") print '.'"]'.$droom['val1'].'('.$dcount['count(*)'].') '; else if((!$login['moder'] or $droom['var']<>"room11223344") && ((!$login['moder'] or $droom['var']<>"") && ($droom['var']<>"room2" or $sex[0]<>"zh")) && ($age<18 or $droom['var']<>"") && ($age<18 or $droom['var']<>"room3")) print $droom['val1'].'('.$dcount['count(*)'].') '; if($login['moder'] && $droom['var']=="room11223344") print '.'"]'.$droom['val1'].'('.$dcount['count(*)'].') '; if(($login['moder']&& $droom['var']=="") or ($droom['var']=="room2" && $sex[0]=="zh")) print '.'"]'.$droom['val1'].'('.$dcount['count(*)'].') '; if($age>18 && $droom['var']=="room3") print '.'"]'.$droom['val1'].'('.$dcount['count(*)'].') '; if ($donline['sex']=='m') $s=""; else $s=""; while($donline = @mysql_fetch_array($q_online)) { $nic = $donline['login']; $query_staff = @mysql_query("select * from `".$px.$utable."` where login='".$nic."';"); $staff = @mysql_fetch_array($query_staff); $b=""; $n=""; $ni=$nic; $bc=""; $co=", "; if ($staff['moder']) $b=""; if ($staff['moder']) $bc=""; if ($staff['moder']) $co; if ($staff['admin']==1) $b="**"; if ($staff['admin']==1) $bc="**"; if ($staff['admin']==1) $co; if ($staff['admin']==2) $b="**"; if ($staff['admin']==2) $bc="**"; if ($staff['admin']==2) $co; print $b; print $nic; print $bc; print $co; } print ' '; } print "<a href=\"enter.php?id=$id&amp;pass=$pass\">".$lang['holl']." (".$pdc['count(*)'].")</a> "; print $fsize2; print ' '. '</card>'. '</wml>'; //à §àë¢ ¥¬ ᮥ¤¨¥¨¥ á ¡¤ @mysql_close(); ob_end_flush(); ?>

ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt

Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close