<?php $ProjectName = 'Default.php'; if (isset($_GET['prj'])) { $ProjectName = $_GET['prj']; } require_once "./include/Functions.php"; echo Headers("Prakash Gautam:: Projects ", "My projects", "Projects"); $ProjectLocation = "Projects/" . $ProjectName; ?> <table class="IndexTable" align="center" valign="top"> <tr valign="top"> <td class="LeftSidebar"><?php include_once "LeftSidebar.php"; ?> </td> <td align="left"> <?php include_once $ProjectLocation; ?> </td> <td class="RightSidebar"><?php include_once "RightSidebar.php"; ?> </td> </tr> </table> <?php include_once "./include/Footer.php";
<?php require_once "./include/Functions.php"; echo Headers("Prakash Gautam :: Downloads", "And certainly a test", "Downloads"); $Sections = array("Fifth Semester", "SixthSemester", "Seventh Semester"); ?> <table class="IndexTable" align="center" valign="top"> <tr valign="top"> <td class="LeftSidebar"><?php include_once "LeftSidebar.php"; ?> </td> <td> <?php include 'Downloads/SeventhSemester.php'; ?> <?php include 'Downloads/FifthSemester.php'; ?> </td> <td class="RightSidebar"><?php include_once "RightSidebar.php"; ?> </td> </tr> </table> <?php include_once "./include/Footer.php";
<?php $PostName = 'Default.php'; if (isset($_GET['ref'])) { $PostName = $_GET['ref']; } require_once "./include/Functions.php"; echo Headers("Prakash Gautam:: Blog Posts ", "My Blog Posts", "Blog"); $PostLocation = "BlogPost/" . $PostName; ?> <table class="IndexTable" align="center" valign="top"> <tr valign="top"> <td class="LeftSidebar"> <?php include_once "LeftSidebar.php"; ?> </td> <td align="left"> <?php include_once $PostLocation; ?> </td> <td class="RightSidebar"><?php include_once "RightSidebar.php"; ?> </td> </tr> </table> <?php include_once "./include/Footer.php";
<?php if (isset($_GET["ref"])) { } require_once "./include/Functions.php"; $PageTitle = "Prakash Gautam :: Welcome to my website"; $ContentTitle = " Homepage "; echo Headers($PageTitle, $ContentTitle, "Home"); require_once "MainBody.php"; require_once "include/Footer.php";
$User = new CommonUser($Array); $Message = $User->Exists(); $FirstName = $User->BasicInfo["FirstName"]; $LastName = $User->BasicInfo["LastName"]; $PageTitle = "Ulitmate Entrance :: User Details "; $ContentTitle = "Details of Mr. {$FirstName} {$LastName} "; $TabName = "Welcome {$FirstName}"; //Double space here betn Welcome and FirstName if ($Message == NO_USERNAME) { header("Location: Login.php"); } else { $Flag = 1; } } if ($Flag) { echo Headers($PageTitle, $ContentTitle, $TabName); ?> <table align="center" class="AboutMeTable"> <tr> <td>First Name </td> <td><?php echo $FirstName; ?> </td> </tr> <tr> <td>Last Name</td> <td><?php echo $LastName; ?>
<?php require_once "./include/Functions.php"; echo Headers("Projects :: Graph Plotter ", "3D Graph Plotter", "Downloads"); ?> <table class="IndexTable" align="center" valign="top"> <tr valign="top"> <td class="LeftSidebar"><?php include_once "LeftSidebar.php"; ?> </td> <td align="left"> <?php echo BattaHeader("((LaTeX)) test"); ?> <?php echo file_get_contents("File/3DGraphPlotter.php"); ?> <?php echo BattaFooter(); ?> </td> <td class="RightSidebar"><?php include_once "RightSidebar.php"; ?> </td> </tr> </table> <?php include_once "./include/Footer.php";
<?php require_once "./include/Functions.php"; echo Headers("THis is fun", "((LaTeX)) test", "Downloads"); ?> <table class="IndexTable" align="center" valign="top"> <tr valign="top"> <td class="LeftSidebar"><?php include_once "LeftSidebar.php"; ?> </td> <td align="left"> <?php echo BattaHeader("((LaTeX)) test"); ?> <?php echo file_get_contents("File/LatexTest.tex"); ?> <?php echo BattaFooter(); ?> </td> <td class="RightSidebar"><?php include_once "RightSidebar.php"; ?> </td> </tr> </table> <?php include_once "./include/Footer.php";
<?php require_once "include/Functions.php"; $PageTitle = "Welcome to the login page"; $ContentTitle = " Existing users log on"; echo Headers($PageTitle, $ContentTitle, "About Me"); ?> <table align=center color=red bgcolor="#ABCDEF" class="IndexTable"> <tr><td>We? </br> We Rock Baby, We simply rock</td></tr> </table> <?php include_once "include/Footer.php";
<?php require_once "include/Functions.php"; $PageTitle = "Welcome to the login page"; $ContentTitle = " Existing users log on"; echo Headers($PageTitle, $ContentTitle, "Forum"); ?> <table align=center color=red bgcolor="#ABCDEF" class="IndexTable"> <tr><td>You mean to talk on forum? </br> Don't waste your time talking on a paid website. Go practice tests.</td></tr> </table> <?php include_once "include/Footer.php";
<?php require_once "./include/Functions.php"; $PageTitle = "Ultimate Entrance :: Register New User "; $ContentTitle = "Enter your registration details "; $RegisterSuccessFlag = 0; $Message = "Please, Fill in the following form "; if (isset($_POST["SubmitButton"])) { require_once "User.Class.php"; $CurrentUser = new CommonUser($_POST); $Message = $CurrentUser->Exists(); if ($Message == NO_USERNAME) { $CurrentUser->WriteToDatabase(); } } echo Headers($PageTitle, $ContentTitle, "Register"); ?> <table class="AllQuestionTable"> <tr> <td width="50%"><img height="100%" width="100%" src="images/RegisterCommunity.png" alt="Community register image" /></td> <td align="center"> <?php if ($Message == NO_USERNAME) { echo "Successfully registered "; } else { echo $Message; require_once "include/RegisterForm.php"; } ?> </td> </tr>
$PageTitle = "Welcome to the login page"; $ContentTitle = " Existing users log on"; $LoginSuccessFlag = 0; $Message = ""; if (isset($_POST['LoginButton'])) { $CurrentUser = new CommonUser($_POST); $Message = $CurrentUser->Exists(); if ($Message == LOGIN_SUCCESS) { $UserName = $CurrentUser->LoginCredential["Username"] . " " . $CurrentUser->BasicInfo['FirstName']; $CookieValue = Encrypt($UserName); setcookie("User", $CookieValue, time() + 20 * 60); $Reference = "Location: index.php"; header($Reference); } } echo Headers($PageTitle, $ContentTitle, "Log On"); ?> <table class="LoginTable"> <tr> <td> <?php echo '<a href="Register.php">Or Create Account</a><br/>'; if ($Message != "") { echo '<span class="ErrorText">' . $Message . '</span>'; } if ($Message != LOGIN_SUCCESS) { include_once "include/LoginForm.php"; } ?> </td> </tr>