Informacion
 ".$uperror."
"; $file = "none.php"; break; case 7:$file="inbox.php"; include("checksession.php"); if(isset($rowcount)) { for($i=0;$i<$rowcount;$i++) { if(isset($chk[$i])) { $sql="delete from messages where messagesid=$chk[$i]"; mysql_query($sql); } } } break; case 8:$file="viewmessage.php"; if(isset($delid)) { $sql="delete from messages where messagesid=$delid"; mysql_query($sql); $cnarr=getPrevNextMessages($delid); $nextid=$cnarr[1]; if($nextid==0) { $file="inbox.php"; } else { $msgid=$nextid; } } include("checksession.php"); break; case 9:$file="replymessage.php"; include("checksession.php"); if(isset($tousername)) { $sql="insert into messages(message,fromusername,tousername,upldate,subject) values('$message','$ses_username','$tousername',now(),'$subject')"; newMessageSent($ses_username,$tousername); $res=mysql_query($sql); $mheading="Message sent"; $mmessage="Tu mensaje ha sido enviado a $tousername"; $file="displaymessage.php"; } break; case 10:$file="viewpics.php"; break; case 11:$file="searchresults.php"; break; case 12:$file="postcomment.php"; $rphid=$phid; include("checksession.php"); if(isset($comment)) { $approved=getSetting("APPROVECOMMENTS"); $sql="insert into comments(comment,photosid,byusername,approved,postdate) values('$comment',$phid,'$ses_username','$approved',now())"; newCommentPosted($ses_username,$phid); $res=mysql_query($sql); $mheading="Comments saved"; $mmessage="Tus comentarios han sido guardados!"; $file="displaymessage.php"; } break; case 19:$file="sendmessage.php"; $repusername=$username; include("checksession.php"); break; case 20:$file="viewprofile.php"; $repusername=$username; include("checksession.php"); break; case 21:$file="myphotos.php"; include("checksession.php"); $sql="select * from photos where photosid=$id"; $res=mysql_query($sql); while($obj=mysql_fetch_object($res)) { if($obj->filename!="")@unlink("photos/pics/$obj->filename"); } $sql="delete from photos where photosid=$id"; $res=mysql_query($sql); break; case 22: session_destroy(); $ses_username=""; $username=""; $file="mainpage.php"; break; } include("header.php"); ?>