Raptotech Admin


Number of posts: 94 Location: At This Web SIte Occupation: Student, Web Designer House: ALL OF THEM !!! Registration date: 2007-06-11
 | Subject: The RW/Lavalair Coding & Snippets (php) Mon Jun 11, 2007 12:29 pm | |
| Post all snippets and coding regarding this scripts.
Last edited by on Mon Jun 18, 2007 7:42 am; edited 1 time in total |
|
Raptotech Admin


Number of posts: 94 Location: At This Web SIte Occupation: Student, Web Designer House: ALL OF THEM !!! Registration date: 2007-06-11
 | Subject: Re: The RW/Lavalair Coding & Snippets (php) Tue Jun 12, 2007 7:03 pm | |
| Enable smilies in the shoutbox -------------------------------------------------------------------- -------------------------------------------------------------------- ////////////////////////Function shoutbox REMOVE THIS CODE:| Code: | $shbox .= htmlspecialchars($lshout[0]); |
ADD THIS CODE:
| Code: | $shbox .= parsepm($lshout[0],$sid); |
Thats It |
|
Raptotech Admin


Number of posts: 94 Location: At This Web SIte Occupation: Student, Web Designer House: ALL OF THEM !!! Registration date: 2007-06-11
 | Subject: Re: The RW/Lavalair Coding & Snippets (php) Tue Jun 12, 2007 7:05 pm | |
| logout script -------------------------------------------------------------------- -------------------------------------------------------------------- | Code: | }
else if($action=="logout") { $uid =getuid_sid($sid); $whonick = getnick_uid($uid); addonline(getuid_sid($sid),"Wants to Log Out",""); echo "<p>"; echo "<b>$whonick</b> are you sure you want to log out?<br><br>"; echo "<a href="index.php?action=main&sid=$sid\"><img src="images/notok.gif\" alt="No\">"; echo "No</a><br>"; echo "<a href="index.php?action=logoutyes&sid=$sid\"><img src="images/ok.gif\" alt="Yes\">"; echo "Yes</a>"; echo "</p>"; } else if($action=="logoutyes") { $uid =getuid_sid($sid); $whonick = getnick_uid($uid); addonline(getuid_sid($sid),"Wants to Log Out",""); echo "<p>"; echo "Good bye <b>$whonick</b><br><br>"; echo "<small>Whe hope you had a great time here, and hope to see you soon</small>"; $logoutses = mysql_query("DELETE FROM ibwf_ses WHERE uid='".$uid."'"); $logoutonline = mysql_query("DELETE FROM ibwf_online WHERE userid='".$uid."'"); echo "<br><br><a href="ADD LINK HERE\"><img src="images/ok.gif\" alt="OK\">"; echo "Click Here To Continue</a>"; echo "</p>"; } else{ |
|
|