hello ppl im new to this and i know as a member on the masters sites he has host in normal v2 that works perfect, i tried to code this in but got errors can sum1 plz post it plz
here is new fun alerts that i just got
fun alerts....
here is new fun alerts that i just got
fun alerts....
PHP Code:
<?php
define('WCS',true);
include('./core/main.inc');
header_type();
cleardata();
if(ipbanned(ip(),browser())){
if(!shield(getuid_sid($sid))){
echo head_tag("Ip Blocked!!!",0,0);
echo ipbanned_msg();
echo foot_tag();
exit();
}
}
if(!islogged($sid)){
echo head_tag("Error!!!",0,0);
echo session_expired();
echo foot_tag();
exit();
}
$phpthumbs="phpThumb/phpThumb.php";
if(banned(getuid_sid($sid))){
echo head_tag("Error!!!",1,getnick_sid($sid));
echo banned_msg($sid);
echo foot_tag();
exit();
}
if($pass!=""){$pw="&pass=$pass";}
if($rid!=""){
$rooms=mysql_fetch_array(mysql_query("SELECT id, name FROM chatrooms WHERE id='".$rid."'"));
$rname=$rooms[1];
$chatlink="&rid=$rid$pw";
}
mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'");
//>
if($upalert==yes){
head_tag(getnick_sid($sid)."@Fun Alerts",1,getuid_sid($sid));
addonline(getuid_sid($sid),"Fun Alerts","$PHP_SELF");
$title.="
<b>$act Alert</b>";
$who=getuid_nick($username);
if($who==''){
$main.="<p style=\"text-align: center\">";
$main.="<img src=\"../$phpthumbs?src=../images/error.gif\" alt=\"\"/><br/>Sorry This Member Dos Not Exist";
$main.="</p>";
}else{
if($anon==1){
$byid="1";
$member="A Anonymouse Member";
}else{
$byid=getuid_sid($sid);
$member=getnick_sid($sid);
}
if($act=='Smelly'){
$text="$member Would Like To Tell You You Reak Of A Dirty Smell, And Would Be Over the Moon If You Had a Wash [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Love'){
$text="$member Would Like To Tell You That He/She Has Falling In Love With You And Hopes You Feel Same Way [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='****'){
$text="$member Would Like To Tell You That They Really Want To **** You [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Prat'){
$text="$member Would Like To Tell You That They Really Think Your A Prat And Relly Need To Grow Up [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Freek'){
$text="$member Would Like To Tell You That They Really Think Your A Freak And you Scare Them [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Cute'){
$text="$member Would Like To Tell You That They Really Think Your Cute And You Make There Day [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";
}
else if($act=='Cunt'){
$text="$member Would Like To Tell You That They Think Your A Cunt And You Should **** Off [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Spank'){
$text="$member Would Like To Tell You That They Wanna Give You A Hell Of A Good Spanking Now Be A Good Bitch And Obey Me [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Crush'){
$text="$member Would Like To Tell You That They Really Have A Crush On You [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Kiss'){
$text="$member Would Like To Tell You That They Really Think Your Fit And Would Love To Snog The Face Off You [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Bud me'){
$text="$member Would Like To Tell You That would love to become your bud plz bue me [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Lick'){
$text="$member Would Like To Lick Your Nipples Mmmmm [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";
}
else if($act=='Upset'){
$text="$member Would Like To Tell You They Are Upset, So If They Have A Go At You They Dont Mean It [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Strip'){
$text="$member Would Like To Ask You To Do A Strip Tease For Them Mmmmm [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Hug'){
$text="$member Would Like To give you a great big hug Awwwww [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Perv'){
$text="$member Would Like To Tell You That They Think Your A Perv And That You Should Go Find A Whore [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Board'){
$text="$member Would Like To Tell Your Boaring The Arse Off Them [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Stink'){
$text="$member Would Like To Tell You They Think You Are A Stinker And Need A Bath [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Single'){
$text="$member Would Like To Know If You Are Single And Would Like To Have A Chat [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Horney'){
$text="$member Would Like To Tell You There Horny And Want ****ed Now [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Suck'){
$text="$member Would Like To Tell You They Wanna Suck You Dry mmmmmmmmm [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Hand'){
$text="$member Says Talk To The Hand Because Im Not ****ing Listning [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
else if($act=='Leave'){
$text="$member Says Plz leave ya Partner And Wappie Me [br/][small]*These Alerts Are For Fun Only Please Dont Take These Personaly*[/small]";}
$main.="<p style=\"text-align: center\">";
$res=mysql_query("INSERT INTO inbox SET text='$text', byid='".$byid."', toid='".$who."', timesent='".time()."'");
if($res){
$main.="<img src=\"../$phpthumbs?src=../images/ok.gif\" alt=\"\"/>$act Alert Was Successfully Sent To ".getnick_uid($who)."<br/>";
}else{
$main.="<img src=\"../$phpthumbs?src=../images/error.gif\" alt=\"\"/><br/>Database Error!";}
}
$main.="</p>";
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid$chatlink\">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();
}
else if($alert==yes){
head_tag(getnick_sid($sid)."@Fun Alerts",1,getuid_sid($sid));
addonline(getuid_sid($sid),"Fun Alerts","$PHP_SELF");
$title.="<b>$act Alert</b>";
$main.="<form action=\"$PHP_SELF?sid=$sid&upalert=yes&act=$act\" method=\"post\"><p style=\"text-align: center\">";
$main.="Sent To: <input name=\"username\" size=\"11\" maxlength=\"100\"/><br/>";
$main.="Anonymous: <select name=\"anon\">";
$main.="<option value=\"0\">No</option>";
$main.="<option value=\"1\">Yes</option>";
$main.="</select><br/>";
$main.="<input type=\"Submit\" value=\"Send Alert\">";
$main.="</form>";
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid$chatlink\">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();
}
else if($apply==yes){
head_tag(getnick_sid($sid)."@Applying For Staff",1,getuid_sid($sid));
addonline(getuid_sid($sid),"Applying For Staff","$PHP_SELF");
$title.="<b>Applying For $act</b><br/>";
$main.="<p style=\"text-align: center\">";
if($act==Host){
$text="".getnick_sid($sid)." Would Like To Apply For The Hosting-space Vacancy";}
if($act==Site){
$text="".getnick_sid($sid)." Would Like To Apply For The Site Vacancy";}
if($act==Headadmin){
$text="".getnick_sid($sid)." Would Like To Apply For The HeadAdmin Vacancy";}
else if($act==Admin){
$text="".getnick_sid($sid)." Would Like To Apply For The Admin Vacancy";}
else if($act==Mod){
$text="".getnick_sid($sid)." Would Like To Apply For The Mod Vacancy";
}
$res=mysql_query("INSERT INTO inbox SET text='".$text."', byid='".getuid_sid($sid)."', toid='1', timesent='".time()."'");
if($res){
$main.="<img src=\"../$phpthumbs?src=../images/ok.gif\" alt=\"\"/>Successfully Sent To ".getnick_uid(1)."";
}else{
$main.="<img src=\"../$phpthumbs?src=../images/error.gif\" alt=\"\"/><br/>Database Error!";
}
$main.="</p>";
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid$chatlink\">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();
}
if($staff==yes){
head_tag(getnick_sid($sid)."@Fun Alerts",1,getuid_sid($sid));
addonline(getuid_sid($sid),"Fun Alerts","$PHP_SELF");
$title.="<b>Applying For Staff</b><br/>";
$main.="<p style=\"text-align: center\">";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Host\">Apply For Hosting</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Headadmin\">Apply For Headadmin</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Site\">Apply For a Site</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Headadmin\">Apply For Headadmin</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Admin\">Apply For Admin</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&apply=yes&act=Mod\">Apply For Mod</a><br/>";
$main.="</p>";
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid$chatlink\">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();
}
head_tag(getnick_sid($sid)."@Fun Alerts",1,getuid_sid($sid));
addonline(getuid_sid($sid),"Fun Alerts","$PHP_SELF");
$title.="<img src=\"../$phpthumbs?src=../images/alerts.gif\" width=\"100\" height=\"100\" alt=\"\"/><br/>";
$title.="<b>Welcome To The Fun Alert Menu</b>";
$main.="<p style=\"text-align: center\">";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Smelly\">Smell Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Love\">Love Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=****\">**** Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Prat\">Prat Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Cute\">Cute Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Crush\">Crush Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Cunt\">Cunt Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Lick\">Lick Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Kiss\">Kiss Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Spank\">Spank Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Strip\">Strip Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Upset\">Upset Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Freek\">Freak Alert</a><br/>";
//$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Bud\">Bud Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Single\">Single Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Perv\">Perv Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Hug\">Hug Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Board\">Board Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Stink\">Stinker Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Horney\">Horny Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Suck\">Suck Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Hand\">Talk To The Hand Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&alert=yes&act=Leave\">Get De-Wappied & Wappie Me Alert</a><br/>";
$main.="<a href=\"$PHP_SELF?sid=$sid&staff=yes\">Apply For Staff</a><br/>";
$main.="</p>";
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid$chatlink\">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();
?>
Comment