session_start(); $path = "/home/content/s/e/a/seangarrett/html"; require $path."/cgi/subscribe.php"; // first thing in this page make the generated random numbers invalid /* favourites include: favourite people favourite blogs favourite music favourite video */ // set the logged in flag $invalidInput235790L = "no23457890MN"; /* loginOk=0: user is not logged in. loginOk=2: login failed. loginOk=1: user is logged in. */ $loginOk = 0; $user = ""; $fname =""; include "$path/include/login_include.php"; ?>
|
| Submit News Terms of Use Legal Notices |
| include "menu.include"; ?> | - |
My Subscriptionsif($loginOk == 0 || $loginOk == 2){ // user is logged in, can submit article. if($loginOk == 2){ ?> Login failed.} else{ ?> You are not logged in.You should log in to view the blog. } include "./../login.include"; } else{ $type=$_GET['type']; if(!isset($_GET['type'])) $type=1; /* get favourite people for this page first. other tabs include favourite blogs, favourite videos, favourite music. */ //send the friendship request to the user. if($type ==1){ $table = getMyFavouriteBlogs($_SESSION['user5237Id']); } else if($type == 2){ $table = getMyFavouriteTable($_SESSION['user5237Id'], "video"); } else if($type ==3){ $table = getMyFavouriteTable($_SESSION['user5237Id'], "music"); } ?>
echo $text1; ?> Subscriptions ( echo $text2; ?> that have no entry will not show) echo $_SESSION['firstname']; ?>, you are subscribed to the following echo $text2; ?>: echo $table; ?> -To unsubscribe from a echo $text3; ?>, click on the Unsubscribe button ( ) next to each echo $text3; ?>.
}
?>
|
. | |||||||||||||||