Hi There Friends,when i add a link to this code im getting a blank page,can anybody help me...thanks...
PHP Code:
else if($action=="cinvite")
{
addonline(getuid_sid($sid),"Chatroom Invitation","");
$rid=($_GET["rid"]);($rid);$tname=rname($rid);
echo "<head>";
echo "<title>$sitename</title>";
if($theme){echo "<link rel="StyleSheet" type="text/css" href="style/$theme[0]" />";
}
else{echo "<link rel="StyleSheet" type="text/css" href="style/style.css" />";
}
echo "</head>";
echo "<body>";
echo "<div class="phdr"><center><b>Inviting Users To Chatroom</b></center></div><br/>";
$shtm = time();
$msg='Hello Friends, Join Me In This [b][chat='.$rid.']'.$tname.'[/chat][/b] So We Can Chat :)';
mysql_query("INSERT INTO ibwf_shouts SET shout='".$msg."', shouter='".$uid."', shtime='".$shtm."'");
echo "<div class="pras2"><p align="center">A <b>Shout</b> Has Been Added By Your ID containing Chatroom Link.</div></center>";
echo "<br/>";
echo "<div class="gmenuu"><center><a href="chat.php?action=chat&rid=$rid&sid=$sid">$tname</a><br/></center></div>";
echo "<div class="list11" align="center">";
echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>";
echo "Home</a><br/>";
echo "</div>";
echo "<div class="phdra"><center><b>$copy</b></center></a></div>";
echo "</body>";
}
Comment