help please find a friend

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

4 replies · 347 views · started 16 years ago · 1 min read

2 participants
brand Senior · 391 posts #1

hi very one i am trying to sort out a mixed male for find afriend part

<?php
define('WCS',true);
include('../core/main.inc');
header_type();
addvisitor();
cleardata();
if(ipbanned(ip(),browser())){
if(!shield(getuid_sid($sid))){
echo head_tag("Ip Blocked!!!",0,0);
echo ipbanned_msg();
echo foot_tag();
exit();
}
}

//////////////////////////////////Mix A male
addonline(getuid_sid($sid),"mix a male","");
echo head_tag(getnick_sid($sid)."@mix a male",1,getnick_sid($sid));
    $main.="<p align=\"center\">"; 
    $main.="<img src=\"images/group.gif\" alt=\"*\"/><br/>";
    $main.="Here You Go Mate, This Could Be Your New Buddy/Friend! Give Him A Try, Or If You Dont Think This Buddy Is Right For You, Then Feel Free To Try Again -ENJOY-!<br/>";
$main.="<a href=\"mixmale.php?sid=$sid\">Try Again!</a><br/><br/>"; 
$result = mysql_query("select * from profiles WHERE sex='M' order by RAND() desc limit 1");
while($r=mysql_fetch_array($result))
{		
   //getting each variable from the table
   $uid=$r["uid"]; 
$name = mysql_fetch_array(mysql_query("SELECT username FROM users WHERE id='$uid'"));
$main.="Random Buddy: <a href=\"./profile.php?who=$name[0]&sid=$sid\" style=\"color:$color;\">$name[0]</a><br/>";

      $main.="If You Like The Above User/Buddy, Check His Profile And See If He Could Become Your New Buddy/Friend!<br/>"; 
    $main.="</p>"; 
  $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
$L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
$L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
$L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
$L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>";
echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
echo foot_tag();
exit;
}

this is the coding i am using now when i click the name it comes up with can some one help me with this please i want it so it only shows mate and that is it

thanks to any one that can help me i am using wapdesire v_2 script User Does Not exist

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

crazybrumi Super moderator Principal · 1,064 posts #3
<?php
define('WCS',true);
include('../core/main.inc');
header_type();
addvisitor();
cleardata();
if(ipbanned(ip(),browser())){
if(!shield(getuid_sid($sid))){
echo head_tag("Ip Blocked!!!",0,0);
echo ipbanned_msg();
echo foot_tag();
exit();
}
}

//////////////////////////////////Mix A male
addonline(getuid_sid($sid),"mix a male","");
echo head_tag(getnick_sid($sid)."@mix a male",1,getnick_sid($sid));
$title="title goes here";
$main.="<p align=\"center\">"; 
$main.="<img src=\"http://coding-talk.com/images/group.gif\" alt=\"*\"/><br/>";

$main.="Here You Go Mate, This Could Be Your New Buddy/Friend! Give Him A Try, Or If You Dont Think This Buddy Is Right For You, Then Feel Free To Try Again -ENJOY-!<br/>";
$main.="<a href=\"mixmale.php?sid=$sid\">Try Again!</a><br/><br/>"; 

$result = mysql_query("select * from profiles WHERE sex='M' order by RAND() desc limit 1");
while($r=mysql_fetch_array($result))
{        

$name = mysql_fetch_array(mysql_query("SELECT * FROM users WHERE id='".$r[uid]."'"));
$main.="Random Buddy: <a href=\"./profile.php?who=".$name[id]."&sid=$sid\" style=\"color:$color;\">".$name[username]."</a><br/>";

$main.="If You Like The Above User/Buddy, Check His Profile And See If He Could Become Your New Buddy/Friend!<br/>"; 
$main.="</p>"; 

$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
$L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
$L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
$L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
$L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>";
echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
echo foot_tag();
exit;
}

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

brand Senior · 391 posts #4

crazybrumi wrote:

<?php
define('WCS',true);
include('../core/main.inc');
header_type();
addvisitor();
cleardata();
if(ipbanned(ip(),browser())){
if(!shield(getuid_sid($sid))){
echo head_tag("Ip Blocked!!!",0,0);
echo ipbanned_msg();
echo foot_tag();
exit();
}
}

//////////////////////////////////Mix A male
addonline(getuid_sid($sid),"mix a male","");
echo head_tag(getnick_sid($sid)."@mix a male",1,getnick_sid($sid));
$title="title goes here";
$main.="<p align=\"center\">"; 
$main.="<img src=\"http://coding-talk.com/images/group.gif\" alt=\"*\"/><br/>";

$main.="Here You Go Mate, This Could Be Your New Buddy/Friend! Give Him A Try, Or If You Dont Think This Buddy Is Right For You, Then Feel Free To Try Again -ENJOY-!<br/>";
$main.="<a href=\"mixmale.php?sid=$sid\">Try Again!</a><br/><br/>"; 


$result = mysql_query("select * from profiles WHERE sex='M' order by RAND() desc limit 1");
while($r=mysql_fetch_array($result))
{        

$name = mysql_fetch_array(mysql_query("SELECT * FROM users WHERE id='".$r[uid]."'"));
$main.="Random Buddy: <a href=\"./profile.php?who=".$name[id]."&sid=$sid\" style=\"color:$color;\">".$name[username]."</a><br/>";


$main.="If You Like The Above User/Buddy, Check His Profile And See If He Could Become Your New Buddy/Friend!<br/>"; 
$main.="</p>"; 

$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
$L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
$L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
$L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
$L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>";
echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
echo foot_tag();
exit;
}

thanks mate works a treat

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

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