Lavalair Mods...

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

  • honkytonkman
    replied
    Originally posted by something else View Post
    i Got that on mine :P
    PHP Code:
    else if($action=="marry")
    {
        
    addonline(getuid_sid($sid),"Wappied List","");

       
    //////ALL LISTS SCRIPT <<

        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chapel WHERE ismd='1'"));
        if(
    $page=="" || $page<=0)$page=1;
        
    $num_items $noi[0]; //changable
        
    $items_per_page10;
        
    $num_pages ceil($num_items/$items_per_page);
        if((
    $page>$num_pages)&&$page!=1)$page$num_pages;
        
    $limit_start = ($page-1)*$items_per_page;

        
    //changable sql

            
    $sql "SELECT id, mid, uid, mdy FROM ibwf_chapel WHERE ismd='1' ORDER BY mdy DESC LIMIT $limit_start$items_per_page";


        echo 
    "<p>";
        
    $items mysql_query($sql);
        echo 
    mysql_error();
        if(
    mysql_num_rows($items)>0)
        {
        while (
    $item mysql_fetch_array($items))
        {
    $unick getnick_uid($item[2]);
    $wnick getnick_uid($item[1]);
    $lnk "<a href=\"index.php?action=viewuser&amp;who=$item[2]\">$unick </a><b>is Wappied To </b><a href=\"index.php?action=viewuser&amp;who=$item[1]\">$wnick </a><br/>";
          echo 
    "$lnk<br/>";
        }
        }
        echo 
    "</p>";
        echo 
    "<p align=\"center\">";
        if(
    $page>1)
        {
          
    $ppage $page-1;
          echo 
    "<a href=\"lists.php?action=marry&amp;page=$ppage\">«PREV</a> ";
        }
        if(
    $page<$num_pages)
        {
          
    $npage $page+1;
          echo 
    "<a href=\"lists.php?action=marry&amp;page=$npage\">Next»</a>";
        }
        echo 
    "<br/>$page/$num_pages<br/>";
        echo 
    "</p>";
        if(
    $num_pages>2)
        {
            
    $rets "<form action=\"lists.php\" method=\"get\">";
            
    $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
            
    $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
            
    $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
            
    $rets .= "</form>";
            echo 
    $rets;
        }

      
    ////// UNTILL HERE >>
        
    echo "<p align=\"center\">";
        echo 
    "<a href=\"chapel.php?action=main\">";
    echo 
    "Chapel</a><br/><br/>";
        echo 
    "<a href=\"index.php?action=stats\"><img src=\"http://coding-talk.com/images/stat.gif\" alt=\"*\"/>";
    echo 
    "Site Stats</a><br/>";

    might need to add sid into it and a few other things

    this code is good but don't works
    with the chapel sql tables i use:

    --
    -- Table structure for table `couple`
    --

    CREATE TABLE IF NOT EXISTS `couple` (
    `id` int(100) NOT NULL auto_increment,
    `who` int(100) NOT NULL default '0',
    `partner` int(100) NOT NULL default '0',
    `req` int(100) NOT NULL default '0',
    `accept` int(100) NOT NULL default '0',
    `joined` int(100) NOT NULL default '0',
    `time` int(100) NOT NULL default '0',
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=64 ;

    --
    -- Dumping data for table `couple`
    --
    ------------------------------------------------------------

    Leave a comment:


  • something else
    replied
    i Got that on mine :P
    PHP Code:
    else if($action=="marry")
    {
        
    addonline(getuid_sid($sid),"Wappied List","");

       
    //////ALL LISTS SCRIPT <<

        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chapel WHERE ismd='1'"));
        if(
    $page=="" || $page<=0)$page=1;
        
    $num_items $noi[0]; //changable
        
    $items_per_page10;
        
    $num_pages ceil($num_items/$items_per_page);
        if((
    $page>$num_pages)&&$page!=1)$page$num_pages;
        
    $limit_start = ($page-1)*$items_per_page;

        
    //changable sql

            
    $sql "SELECT id, mid, uid, mdy FROM ibwf_chapel WHERE ismd='1' ORDER BY mdy DESC LIMIT $limit_start$items_per_page";


        echo 
    "<p>";
        
    $items mysql_query($sql);
        echo 
    mysql_error();
        if(
    mysql_num_rows($items)>0)
        {
        while (
    $item mysql_fetch_array($items))
        {
    $unick getnick_uid($item[2]);
    $wnick getnick_uid($item[1]);
    $lnk "<a href=\"index.php?action=viewuser&amp;who=$item[2]\">$unick </a><b>is Wappied To </b><a href=\"index.php?action=viewuser&amp;who=$item[1]\">$wnick </a><br/>";
          echo 
    "$lnk<br/>";
        }
        }
        echo 
    "</p>";
        echo 
    "<p align=\"center\">";
        if(
    $page>1)
        {
          
    $ppage $page-1;
          echo 
    "<a href=\"lists.php?action=marry&amp;page=$ppage\">«PREV</a> ";
        }
        if(
    $page<$num_pages)
        {
          
    $npage $page+1;
          echo 
    "<a href=\"lists.php?action=marry&amp;page=$npage\">Next»</a>";
        }
        echo 
    "<br/>$page/$num_pages<br/>";
        echo 
    "</p>";
        if(
    $num_pages>2)
        {
            
    $rets "<form action=\"lists.php\" method=\"get\">";
            
    $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
            
    $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
            
    $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
            
    $rets .= "</form>";
            echo 
    $rets;
        }

      
    ////// UNTILL HERE >>
        
    echo "<p align=\"center\">";
        echo 
    "<a href=\"chapel.php?action=main\">";
    echo 
    "Chapel</a><br/><br/>";
        echo 
    "<a href=\"index.php?action=stats\"><img src=\"http://coding-talk.com/images/stat.gif\" alt=\"*\"/>";
    echo 
    "Site Stats</a><br/>";

    might need to add sid into it and a few other things
    Last edited by something else; 12.09.09, 09:35.

    Leave a comment:


  • honkytonkman
    replied
    i ended my chapel-deluxe at late..too tired..only now i see a little error
    i done on it..
    please replace in chapel.php
    Code:
    $nick = getnick_uid($who);
    $nic = getnick_uid($uid);
    $msg = "-sorry.. $nick has divorced from you..";
    in:
    Code:
    $nick = getnick_uid($who);
    $nic = getnick_uid($uid);
    $msg = "-sorry.. $nic has divorced from you..";
    it's at the end of the page

    Leave a comment:


  • Vayne
    replied
    Originally posted by makvanpor2000
    Hey guys,can any one help with the code for random blog
    try to select blogs with
    PHP Code:
    LIMIT 1 
    and
    PHP Code:
    ORDER BY RAND 

    Leave a comment:


  • honkytonkman
    replied
    okay..that's it..
    ain't free from little bugs in the body but the most important thing is that
    works full.. one that send marriage request to users already married i have fixed .
    Attached Files
    Last edited by honkytonkman; 10.09.09, 10:29.

    Leave a comment:


  • riderz
    replied
    Code:
    else if($action=="rwidc")
    {
        addonline(getuid_sid($sid),"$stitle ID - xHTML","index.php?action=$action");
        $pstyle = gettheme($sid);
        echo xhtmlhead("$stitle ID",$pstyle);
        echo "<p align=\"center\">";
        echo "<b>M! ID card</b><br/>";
        $uid = getuid_sid($sid);
        echo "<img src=\"http://chat.waplive.co.za/rwidc.php?id=$uid\" alt=\"M id\"/><br/><br/>";
        echo "This ID card is updated automatically everytime someone request it, the source to your card is http://chat.waplive.co.za/rwidc.php?id=$uid<br/><br/>";
        echo "you can use it as an avatar in other sites<br/><br/>";
        echo "To look at others cards view the user profile then go to more information&gt;$stitle ID card.";
        echo "</p>";
        echo "<p align=\"center\">";
        $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'"));
        $themeimageset = mysql_fetch_array(mysql_query("SELECT themedir FROM ibwf_iconset WHERE id='".$thid[0]."'"));
        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/themes/$themeimageset[0]/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
      echo "</p>";
        echo xhtmlfoot();
    }
    make sure to have a image in ur images rwidc.jpg
    replace this one with urs in index.php just rename the site name

    some script wont use rwidc they only use idc so just rename it to idc or make sure u have image idc in images
    Last edited by riderz; 05.09.09, 08:38.

    Leave a comment:


  • Vayne
    replied
    Originally posted by Vayne View Post
    blogs list with your comments
    PHP Code:
    else if($action=="mycombl")
    {
        
    addonline(getuid_sid($sid),"Viewing Blogs","");
        echo 
    "<card id=\"main\" title=\"wapaa.lv\">";
        
    $uid getuid_sid($sid);
        echo 
    "<p align=\"center\">";
        echo 
    "<b>Blogs with my comments</b><br/><br/>";
        echo 
    "</p>";
        
    //////ALL LISTS SCRIPT <<

        
    if($page=="" || $page<=0)$page=1;
        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner"));
         
    $num_items $noi[0]; //changable
        
    $items_per_page10;
        
    $num_pages ceil($num_items/$items_per_page);
        if((
    $page>$num_pages)&&$page!=1)$page$num_pages;
        
    $limit_start = ($page-1)*$items_per_page;
      
          
    $sql "SELECT a.id,a.bname AS bl FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner ORDER BY bgdate DESC LIMIT $limit_start$items_per_page";

        echo 
    "<p>";
        
    $items mysql_query($sql);
        echo 
    mysql_error();
        if(
    mysql_num_rows($items)>0)
        {
        while (
    $item mysql_fetch_array($items))
        {
          
    $bname htmlspecialchars($item[1]);
          
    $lnk "» <a href=\"index.php?action=viewblog&amp;bid=$item[0]&amp;sid=$sid\">$bname</a>";
          echo 
    "$lnk<br/>";
        }
        }
        echo 
    "</p>";
        echo 
    "<p align=\"center\">";
        if(
    $page>1)
        {
          
    $ppage $page-1;
          echo 
    "<a href=\"lists.php?action=$action&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«Previous</a> ";
        }
        if(
    $page<$num_pages)
        {
          
    $npage $page+1;
          echo 
    "<a href=\"lists.php?action=$action&amp;page=$npage&amp;sid=$sid&amp;who=$who\">next»</a>";
        }
        echo 
    "<br/>$page/$num_pages<br/>";
        if(
    $num_pages>2)
        {
          
    $rets "Jump to <input name=\"pg\" format=\"*N\" size=\"3\"/>";
            
    $rets .= "<anchor> Page";
            
    $rets .= "<go href=\"lists.php\" method=\"get\">";
            
    $rets .= "<postfield name=\"action\" value=\"$action\"/>";
            
    $rets .= "<postfield name=\"who\" value=\"$who\"/>";
            
    $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
            
    $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
            
    $rets .= "</go></anchor>";

            echo 
    $rets;
        }
        echo 
    "</p>";
      
    ////// UNTILL HERE >>
        
    echo "<p align=\"center\">";
        echo 
    "<a href=\"lists.php?action=allbl&amp;sid=$sid\">";
    echo 
    "All blogs</a><br/>";
        echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo 
    "Home</a>";
      echo 
    "</p>";
        echo 
    "</card>";



    bit modded,
    replace
    PHP Code:
          $sql "SELECT a.id,a.bname AS bl FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner ORDER BY bgdate DESC LIMIT $limit_start$items_per_page"
    with
    PHP Code:
          $sql "SELECT a.id,a.bname AS bl FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner ORDER BY bgdate DESC LIMIT $limit_start$items_per_page GROUP BY a.id"
    hope i write correct (dunno)

    Leave a comment:


  • honkytonkman
    replied
    this is my codes for update
    the last penalty reason text on user's profile in
    lava/wapdesire..
    for exemple: if you bann user JOHN DOE for 2 weeks,at
    the end of his banning time ,the owner can
    reset the last penalty reason text that appears on his
    profile, deleting the reason of the bann.

    add this on ownercp.php
    into action "user"
    Code:
       echo "<a href=\"ownrproc.php?action=REMOVEPNREASON&amp;sid=$sid&amp;who=$who\">REMOVE LAST PENALTY REASON</a><br/>";

    then, put this on ownerproc.php

    Code:
    //////////////////////////remove pn reason//////////////////////////
    
    else if($action=="REMOVEPNREASON")
    {
      $who = $_GET["who"];
      echo "<head>";
      echo "<title></title>";
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
      echo "</head>";
      echo "<body>";
      echo "<p align=\"center\">";
      echo "<br/>";
      
    
       
    
        $res = mysql_query("UPDATE ibwf_users SET lastpnreas='"."' WHERE id='".$who."'");
     
    
        
    
        
      
    
    
    
    
      if($res)
      {
      echo "<img src=\"../images/ok.gif\" alt=\"\"/>last penalty reason is removed from user's profile";
      }else{
      echo "<img src=\"../images/notok.gif\" alt=\"\"/>Error! ";
      }
      
      echo "<br/><b></b><a accesskey=\"9\" href=\"ownercp.php?action=ownercp&amp;sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>back</a><br/>";
      echo "<b></b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
    
      echo "</p></body>";
    }
    
    
    ////////////////////////////

    Leave a comment:


  • kiss
    replied
    PHP Code:
    $res false;
    $ext getext($vlink);
    if (
    $ext=="mp3" or $ext=="mmf" or $ext=="amr" or $ext=="wav" or $ext=="aac" or $ext=="mid")
    {
    $type 1;
    }elseif (
    $ext=="jpg" or $ext=="jpeg" or $ext=="gif" or $ext=="png" or $ext=="bmp" or $ext=="wbmp")
    {
    $type 2;
    }elseif (
    $ext=="mpg" or $ext=="mp4" or $ext=="wmv" or $ext=="3gp" or $ext=="avi" or $ext=="flv")
    {
    $type 3;
    }elseif (
    $ext=="jar" or $ext=="jad")
    {
    $type 4;
    }elseif (
    $ext=="sis" or $ext=="sisx" or $ext=="nth")
    {
    $type 5;
    }elseif (
    $ext=="cab" or $ext=="exe" or $ext=="iso")
    {
    $type 6;
    }elseif (
    $ext=="zip" or $ext=="rar" or $ext=="txt" or $ext=="srt" or $ext=="sub" or $ext=="torrent")
    {
    $type 7;
    }else{
    echo 
    "Error,invalid extension";

    Now it works ;)

    Leave a comment:


  • kiss
    replied
    PHP Code:
    $res false;
    $ext getext($vlink);
    if (
    $ext=="mp3" or $ext=="mmf" or $ext=="amr" or $ext=="wav" or $ext=="aac" or $ext=="mid")
    {
    $type 1;
    }
    if (
    $ext=="jpg" or $ext=="jpeg" or $ext=="gif" or $ext=="png" or $ext=="bmp" or $ext=="wbmp")
    {
    $type 2;
    }
    if (
    $ext=="mpg" or $ext=="mp4" or $ext=="wmv" or $ext=="3gp" or $ext=="avi" or $ext=="flv")
    {
    $type 3;
    }
    if (
    $ext=="jar" or $ext=="jad")
    {
    $type 4;
    }
    if (
    $ext=="sis" or $ext=="sisx" or $ext=="nth")
    {
    $type 5;
    }
    if (
    $ext=="cab" or $ext=="exe" or $ext=="iso")
    {
    $type 6;
    }
    if (
    $ext=="zip" or $ext=="rar" or $ext=="txt" or $ext=="srt" or $ext=="sub" or $ext=="torrent")
    {
    $type 7;

    How the hell i make to show an error for absent extension or wrong url?Thanx

    Leave a comment:


  • Ponick
    replied
    $chnick = getnick_uid($chat[0]);
    if(canenter!="")
    {

    echo "<i>$chnick has entered the room</i><br/>";
    }


    and

    if(islogged($sid)==false)||!$uexist)
    {

    echo "<i>$chnick has left the room</i><br/>";
    }


    im trying to make this for chat rooms .... butit still not working ... plz need help

    Leave a comment:


  • Vayne
    replied
    blogs list with your comments
    PHP Code:
    else if($action=="mycombl")
    {
        
    addonline(getuid_sid($sid),"Viewing Blogs","");
        echo 
    "<card id=\"main\" title=\"wapaa.lv\">";
        
    $uid getuid_sid($sid);
        echo 
    "<p align=\"center\">";
        echo 
    "<b>Blogs with my comments</b><br/><br/>";
        echo 
    "</p>";
        
    //////ALL LISTS SCRIPT <<

        
    if($page=="" || $page<=0)$page=1;
        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner"));
         
    $num_items $noi[0]; //changable
        
    $items_per_page10;
        
    $num_pages ceil($num_items/$items_per_page);
        if((
    $page>$num_pages)&&$page!=1)$page$num_pages;
        
    $limit_start = ($page-1)*$items_per_page;
      
          
    $sql "SELECT a.id,a.bname AS bl FROM ibwf_blogs a INNER JOIN ibwf_blogcomment b ON b.blogsigner='".$uid."' WHERE a.id=b.blogowner ORDER BY bgdate DESC LIMIT $limit_start$items_per_page";

        echo 
    "<p>";
        
    $items mysql_query($sql);
        echo 
    mysql_error();
        if(
    mysql_num_rows($items)>0)
        {
        while (
    $item mysql_fetch_array($items))
        {
          
    $bname htmlspecialchars($item[1]);
          
    $lnk "» <a href=\"index.php?action=viewblog&amp;bid=$item[0]&amp;sid=$sid\">$bname</a>";
          echo 
    "$lnk<br/>";
        }
        }
        echo 
    "</p>";
        echo 
    "<p align=\"center\">";
        if(
    $page>1)
        {
          
    $ppage $page-1;
          echo 
    "<a href=\"lists.php?action=$action&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«Previous</a> ";
        }
        if(
    $page<$num_pages)
        {
          
    $npage $page+1;
          echo 
    "<a href=\"lists.php?action=$action&amp;page=$npage&amp;sid=$sid&amp;who=$who\">next»</a>";
        }
        echo 
    "<br/>$page/$num_pages<br/>";
        if(
    $num_pages>2)
        {
          
    $rets "Jump to <input name=\"pg\" format=\"*N\" size=\"3\"/>";
            
    $rets .= "<anchor> Page";
            
    $rets .= "<go href=\"lists.php\" method=\"get\">";
            
    $rets .= "<postfield name=\"action\" value=\"$action\"/>";
            
    $rets .= "<postfield name=\"who\" value=\"$who\"/>";
            
    $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
            
    $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
            
    $rets .= "</go></anchor>";

            echo 
    $rets;
        }
        echo 
    "</p>";
      
    ////// UNTILL HERE >>
        
    echo "<p align=\"center\">";
        echo 
    "<a href=\"lists.php?action=allbl&amp;sid=$sid\">";
    echo 
    "All blogs</a><br/>";
        echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo 
    "Home</a>";
      echo 
    "</p>";
        echo 
    "</card>";

    Leave a comment:


  • Vayne
    replied
    last 10 topics.. by creation time, not last post time--wml

    PHP Code:
    else if($action=="lst10tpc")
    {

      
    addonline(getuid_sid($sid),"Jaunākās Foruma Tēmas","");

        echo 
    "<card id=\"main\" title=\"Newest Topics\">";

        
    $sql "SELECT name, crdate, authorid FROM ibwf_topics ORDER BY crdate DESC LIMIT 0 , 10";
       echo 
    "<p>";
       echo 
    "<small>";
    $items mysql_query($sql);
        echo 
    mysql_error();
        if(
    mysql_num_rows($items)>0)
        {
        while (
    $item mysql_fetch_array($items))
        {
      
    $niks getnick_uid($item[3]);
            echo 
    "$niks:<a href=\"index.php?action=viewtpc&amp;sid=$sid&amp;tid=$item[0]&amp;go=last\">".htmlspecialchars($item[1])."</a><br/>";
        }
        }
        echo 
    "</small>";
    echo 
    "</p>";
      echo 
    "<p align=\"center\">";
      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Hme</a>";
      echo 
    "</p>";
      echo 
    "</card>";

    Leave a comment:


  • CreativityKills
    replied
    Instead of avlink=="" try

    if($avlink==""||ceil(filesize($avlink)/1024)<1){
    ...
    }

    dat way, if file dnt exist, it stil shows the nopic.jpg file.

    Leave a comment:


  • ashuwap
    replied
    Originally posted by huwad View Post
    here's my latest topic like pinoywap's latest topic..

    Code:
    else if($action=="last15topic")
    {
    
      addonline(getuid_sid($sid),"Viewing Latest Forum Topics","index.php?action=$action");
    
          echo "<head>";
          echo "<title>Latest Forum Topics</title>";
          echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
          echo "</head>";
    
        $sql = "SELECT id, name, crdate, authorid FROM ibwf_topics ibwf_topics ORDER BY lastpost DESC LIMIT 0 , 15";
       echo "<p>";
       echo "<small>";
    $items = mysql_query($sql);
        echo mysql_error();
        if(mysql_num_rows($items)>0)
        {
        while ($item = mysql_fetch_array($items))
        {
          if(canaccess(getuid_sid($sid),getfid_tid($item[0])))
          {
      $tun = getnick_uid($item[3]);
            echo "<a href=\"index.php?action=viewtpc&amp;sid=$sid&amp;tid=$item[0]&amp;go=last\">$tun:".htmlspecialchars($item[1])."</a><br/>";
            }else{
              echo "Private Post<br/>";
            }
        }
        }
    echo "</p>";
      echo "<p align=\"center\">";
      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
    
    }
    usage

    Code:
    echo "<a href=\"index.php?action=last15topic&amp;sid=$sid\">Latest Forum Topics</a><br/>";
    AVATAR FOR CHAT
    $avlink = getavatar($chat[0]);
    if ($avlink!=""){
    echo "<img src=\"$avlink\" height=\"25\" width=\"25\" alt=\"avatar\"/>
    ";
    }else{
    echo "<img src=\"../images/nopic.jpg\" height=\"25\" width=\"25\" alt=\"avatar\"/>
    ";
    }

    Leave a comment:

Working...
X