help please find a friend

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • crazybrumi
    replied
    topic closed.

    Leave a comment:


  • brand
    replied
    Originally posted by crazybrumi View Post
    Code:
    <?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]."&amp;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

    Leave a comment:


  • crazybrumi
    replied
    Code:
    <?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]."&amp;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;
    }
    Last edited by crazybrumi; 06.12.09, 15:48.

    Leave a comment:


  • brand
    replied
    can any one help with this please

    Leave a comment:


  • brand
    started a topic help please find a friend

    help please find a friend

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

    Code:
    <?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]&amp;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
Working...
X