Funmobile Xhtml Userfunn

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

10 replies · 1,036 views · started 19 years ago · 1 min read

3 participants
Guest #1

create userfun.php chanege jayd_gpoints to ibwf_gpoints CODE

<?php include("config.php"); include("core.php"); if($mime== WEB) { echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";

}else{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

} $bcon = connectdb(); if (!$bcon) {

echo dberror($mime);

}

$getuthm = mysql_fetch_array(mysql_query("SELECT theme FROM jayd_users WHERE id='".$uid."'")); $uth = $getuthm[0]; if(!$uth=="") { $uthm = "$uth"; $uthm = utheme($uthm); }else{ $uthm = "default.css"; }

$action = $_GET["action"];
$page = $_GET["page"];
$who = $_GET["who"];
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();

if(($action != "") && ($action!="terms")) { if((islogged($ses)==false)||($uid==0)) { echo notlogged($mime); }

}

if(isipbanned($uip,$ubr))
	{

  if(!isshield(getuid_ses($ses)))
  {
echo useripbanned($mime,$uip,$ubr);
  }
	}

//echo isbanned($uid);
if(isbanned($uid))
	{
echo userbanned($mime,$uid);
	}

cleardata();
$res = mysql_query("UPDATE jayd_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_ses($ses)."'");
$wnick = getnick_uid($who);
$sex = mysql_fetch_array(mysql_query("SELECT sex FROM jayd_users WHERE id='".$who."'"));
if($sex[0]=="M")
{
	$pron = "he";
	$pron2 = "him";
	$pron3 = "his";
}else{
	$pron = "she";
	$pron2 = "her";
	$pron3 = "her";
}

if($action=="profile") { addonline($uid,"having fun with another member External image (may be gone)","");

if($mime== WEB) { echo webhead($uthm,$stitle);

echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT gpoints FROM jayd_users WHERE id='".$who."'")); echo "Game Plusses: $nopl[0]

";

/////////////////////////////////////////////////////// echo "<img src="smilies/smooch.gif" alt="smooch"/>Smooch's: "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='smooch'")); echo "Have smooched: <a href="lists.php?action=smc&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='smooch'")); echo "Have been Smooched: <a href="lists.php?action=smd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "Poor $wnick, a fat old lady have smooched $pron2 untill $pron almost choked! yes you can smooch $wnick but don't kill $pron2 "; echo "<a href="userfun.php?action=smooch&who=$who&ses=$ses">Smooch!</a>

";

////////////////////////////////////////////////////// echo "<img src="smilies/kick.gif" alt="kick"/>Kicks: "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='kick'")); echo "Have Kicked: <a href="lists.php?action=kck&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='kick'")); echo "Have been Kicked: <a href="lists.php?action=kcd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "And yes $wnick have been kicked on the shin untill it's smashed, I think it'll be funny to kick $wnick on the chin hehe "; echo "<a href="userfun.php?action=kick&who=$who&ses=$ses">Kick!</a>

";

///////////////////////////////////////////////////////
echo "<img src=\"smilies/poke.gif\" alt=\"poke\"/>**Pokes:**

"; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='poke'")); echo "Have Poked: <a href="lists.php?action=pok&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='poke'")); echo "Have been Poked: <a href="lists.php?action=pkd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "the last thing that $wnick needs now is another poke, $pron have a hole in $pron3 tummy because of the last poke, and no the other sese of the hole is not in $pron3 back, some of us are obsessed with butts you know "; echo "<a href="userfun.php?action=poke&who=$who&ses=$ses">Poke!</a>

";

///////////////////////////////////////////////////////
echo "<img src=\"smilies/cuddle.gif\" alt=\"hug\"/>**Hugs:**

"; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='hug'")); echo "Have Hugged: <a href="lists.php?action=hgs&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='hug'")); echo "Have been Hugged: <a href="lists.php?action=hgd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "Poor $wnick, remember that fat lady who choked $pron2? well.. she hugged $pron2 untill she broke $pron3 ribs, $pron surely needs a hug from you now "; echo "<a href="userfun.php?action=hug&who=$who&ses=$ses">Hug!</a>";

echo "

";

echo "

"; echo "<a href="index.php?action=givegp&who=$who&ses=$ses">Donate Game Plusses</a> "; echo "<a href="index.php?action=viewuser&who=$who&ses=$ses">"; echo "$wnick's profile</a> "; echo "<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo webfoot(); }

}else if ($action=="hug" || $action=="smooch" || $action=="kick" || $action=="poke") { if($mime== WEB) { echo webhead($uthm,$stitle);

echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT gpoints FROM jayd_users WHERE id='".$uid."'")); if($nopl[0]<5) { echo "<img src="images/notok.gif" alt="X"/>You should have at least 5 game plusses to perform an action on other members

";

}else{
	$actime = mysql_fetch_array(mysql_query("SELECT actime FROM jayd_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1"));
	$timeout = $actime[0] + (10*24*60*60);
	if(time()<$timeout)
	{
		echo "<img src=\"images/notok.gif\" alt=\"X\"/>You can only perform one action on the same user every 10 days

"; }else{ if($uid==$who) { echo "<img src="images/notok.gif" alt="X"/>Why on earth you wanna $action your self?

"; }else{ $res = mysql_query("INSERT INTO jayd_usfun SET uid='".$uid."', action='".$action."', target='".$who."', actime='".time()."'"); if(!$res) { echo mysql_error()." "; echo "<img src="images/notok.gif" alt="X"/>DATABASE ERROR!

"; }else{ mysql_query("UPDATE jayd_users SET gpoints=gpoints-5 WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="+"/>You just have ".$action."ed $wnick, where did you do that, I'm not gonna tell <img src="smilies/spiteful.gif" alt="haba"/>

"; echo "5 game plusses were subtracted from you, and you can't perform any other action on $wnick for the next 10 days

"; } } }

}

echo "<a href=\"index.php?action=givegp&amp;who=$who&amp;ses=$ses\">Donate Game Plusses</a>

"; echo "<a href="index.php?action=viewuser&who=$who&ses=$ses">"; echo "$wnick's profile</a> "; echo "<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " ";

echo webfoot(); } } ?>

Guest #2

change all jayd to ibwf easy my using macromedia dreamweaver

metulj Super moderator Principal · 1,726 posts #3

create userfun.php chanege jayd_gpoints to ibwf_gpoints CODE

<?php include("config.php"); include("core.php"); if($mime== WEB) { echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";

}else{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

} $bcon = connectdb(); if (!$bcon) {

echo dberror($mime);

}

$getuthm = mysql_fetch_array(mysql_query("SELECT theme FROM jayd_users WHERE id='".$uid."'")); $uth = $getuthm[0]; if(!$uth=="") { $uthm = "$uth"; $uthm = utheme($uthm); }else{ $uthm = "default.css"; }

$action = $_GET["action"];
$page = $_GET["page"];
$who = $_GET["who"];
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();

if(($action != "") && ($action!="terms")) { if((islogged($ses)==false)||($uid==0)) { echo notlogged($mime); }

}

if(isipbanned($uip,$ubr))
	{

  if(!isshield(getuid_ses($ses)))
  {
echo useripbanned($mime,$uip,$ubr);
  }
	}

//echo isbanned($uid);
if(isbanned($uid))
	{
echo userbanned($mime,$uid);
	}

cleardata();
$res = mysql_query("UPDATE jayd_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_ses($ses)."'");
$wnick = getnick_uid($who);
$sex = mysql_fetch_array(mysql_query("SELECT sex FROM jayd_users WHERE id='".$who."'"));
if($sex[0]=="M")
{
	$pron = "he";
	$pron2 = "him";
	$pron3 = "his";
}else{
	$pron = "she";
	$pron2 = "her";
	$pron3 = "her";
}

if($action=="profile") { addonline($uid,"having fun with another member External image (may be gone)","");

if($mime== WEB) { echo webhead($uthm,$stitle);

echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT gpoints FROM jayd_users WHERE id='".$who."'")); echo "Game Plusses: $nopl[0]

";

/////////////////////////////////////////////////////// echo "<img src="smilies/smooch.gif" alt="smooch"/>Smooch's: "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='smooch'")); echo "Have smooched: <a href="lists.php?action=smc&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='smooch'")); echo "Have been Smooched: <a href="lists.php?action=smd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "Poor $wnick, a fat old lady have smooched $pron2 untill $pron almost choked! yes you can smooch $wnick but don't kill $pron2 "; echo "<a href="userfun.php?action=smooch&who=$who&ses=$ses">Smooch!</a>

";

////////////////////////////////////////////////////// echo "<img src="smilies/kick.gif" alt="kick"/>Kicks: "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='kick'")); echo "Have Kicked: <a href="lists.php?action=kck&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='kick'")); echo "Have been Kicked: <a href="lists.php?action=kcd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "And yes $wnick have been kicked on the shin untill it's smashed, I think it'll be funny to kick $wnick on the chin hehe "; echo "<a href="userfun.php?action=kick&who=$who&ses=$ses">Kick!</a>

";

///////////////////////////////////////////////////////
echo "<img src=\"smilies/poke.gif\" alt=\"poke\"/>**Pokes:**

"; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='poke'")); echo "Have Poked: <a href="lists.php?action=pok&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='poke'")); echo "Have been Poked: <a href="lists.php?action=pkd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "the last thing that $wnick needs now is another poke, $pron have a hole in $pron3 tummy because of the last poke, and no the other sese of the hole is not in $pron3 back, some of us are obsessed with butts you know "; echo "<a href="userfun.php?action=poke&who=$who&ses=$ses">Poke!</a>

";

///////////////////////////////////////////////////////
echo "<img src=\"smilies/cuddle.gif\" alt=\"hug\"/>**Hugs:**

"; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE uid='".$who."' AND action='hug'")); echo "Have Hugged: <a href="lists.php?action=hgs&who=$who&ses=$ses">$nopl[0]</a> Times "; $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM jayd_usfun WHERE target='".$who."' AND action='hug'")); echo "Have been Hugged: <a href="lists.php?action=hgd&who=$who&ses=$ses">$nopl[0]</a> Times "; echo "Poor $wnick, remember that fat lady who choked $pron2? well.. she hugged $pron2 untill she broke $pron3 ribs, $pron surely needs a hug from you now "; echo "<a href="userfun.php?action=hug&who=$who&ses=$ses">Hug!</a>";

echo "

";

echo "

"; echo "<a href="index.php?action=givegp&who=$who&ses=$ses">Donate Game Plusses</a> "; echo "<a href="index.php?action=viewuser&who=$who&ses=$ses">"; echo "$wnick's profile</a> "; echo "<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo webfoot(); }

}else if ($action=="hug" || $action=="smooch" || $action=="kick" || $action=="poke") { if($mime== WEB) { echo webhead($uthm,$stitle);

echo "

"; $nopl = mysql_fetch_array(mysql_query("SELECT gpoints FROM jayd_users WHERE id='".$uid."'")); if($nopl[0]<5) { echo "<img src="images/notok.gif" alt="X"/>You should have at least 5 game plusses to perform an action on other members

";

}else{
	$actime = mysql_fetch_array(mysql_query("SELECT actime FROM jayd_usfun WHERE uid='".$uid."' AND target='".$who."' ORDER BY actime DESC LIMIT 1"));
	$timeout = $actime[0] + (10*24*60*60);
	if(time()<$timeout)
	{
		echo "<img src=\"images/notok.gif\" alt=\"X\"/>You can only perform one action on the same user every 10 days

"; }else{ if($uid==$who) { echo "<img src="images/notok.gif" alt="X"/>Why on earth you wanna $action your self?

"; }else{ $res = mysql_query("INSERT INTO jayd_usfun SET uid='".$uid."', action='".$action."', target='".$who."', actime='".time()."'"); if(!$res) { echo mysql_error()." "; echo "<img src="images/notok.gif" alt="X"/>DATABASE ERROR!

"; }else{ mysql_query("UPDATE jayd_users SET gpoints=gpoints-5 WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="+"/>You just have ".$action."ed $wnick, where did you do that, I'm not gonna tell <img src="smilies/spiteful.gif" alt="haba"/>

"; echo "5 game plusses were subtracted from you, and you can't perform any other action on $wnick for the next 10 days

"; } } }

}

echo "<a href=\"index.php?action=givegp&who=$who&ses=$ses\">Donate Game Plusses</a>

"; echo "<a href="index.php?action=viewuser&who=$who&ses=$ses">"; echo "$wnick's profile</a> "; echo "<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " ";

echo webfoot(); } } ?>

this is already included in funmobile script... and it would be nice if you could learn to use BB code for such posts External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

SodaPoP #4

Dont understan. Kuakahkah

Guest #6

its not on the funmobile xhtml/wml and i post it for such users. you got it didnt you so why da fus im very busy

metulj Super moderator Principal · 1,726 posts #8

its not on the funmobile xhtml/wml and i post it for such users. you got it didnt you so why da fus im very busy

like said... its already attached in original funmobile script External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

subzero Super moderator Fellow · 3,954 posts #10

drugsbunny lol tuts External image (may be gone) was me edit that

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Guest #11

Did someone have the code to display total online time of a particular user in funmobile script?? Please.. thanx.

Sign in to reply.

Similar topics

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