This post is about the Request successfully submitted page to display the message here and header or footer part of the student pages.
Save the code given below in new files.. 1st is name "succesful.php"
<?php
include("../db.php");
include("../functions.php");
if (isset($_GET['edit']))
{
$enrolmentno = $_GET['edit'];
$link = "<a href='index.php?edit=$enrolmentno'><img src='../images/gohome.png' title='Go Home'></a>";
}
if(isset($_POST['submit']))
{
mysql_query("update program_details set change_status=1 where enrolmentno = $enrolmentno");
header("Location: index.php?edit=$enrolmentno");
echo "Request Successfully Submitted.";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>Welcome To Online Admission(Student Zone)</title>
<link rel="STYLESHEET" type="text/css" href="../styles/admission_form.css" />
</head>
<body >
<?php include("header.php");?>
<div class='mainDiv'>
<div><font size="4" name="sans-serif" color="white"><div class="heading" align="center"><b>Welcome To Distance Education University Online Admission Form</b></br>Student Zone</div></font></br></br>
<pre align="center">Your Request Has Been Successfully Submitted For Approval.
<?php echo $link; ?>
</pre>
</div></br>
<?php include("footer.php");?>
</body>
</html>
The code given below is of header part save the code in new file name "header.php".
<div style="margin:auto;width:850px;border-color:#98bf21;">
<img src="../images/banner.png">
</div>
The last code given below is for footer part the page save it with name "footer.php".
</br>
<div style="margin:auto;width:850px;border-color:#98bf21;height:125px;" align="left">
<img src="../images/footer.png">
</div>
Save the code given below in new files.. 1st is name "succesful.php"
<?php
include("../db.php");
include("../functions.php");
if (isset($_GET['edit']))
{
$enrolmentno = $_GET['edit'];
$link = "<a href='index.php?edit=$enrolmentno'><img src='../images/gohome.png' title='Go Home'></a>";
}
if(isset($_POST['submit']))
{
mysql_query("update program_details set change_status=1 where enrolmentno = $enrolmentno");
header("Location: index.php?edit=$enrolmentno");
echo "Request Successfully Submitted.";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>Welcome To Online Admission(Student Zone)</title>
<link rel="STYLESHEET" type="text/css" href="../styles/admission_form.css" />
</head>
<body >
<?php include("header.php");?>
<div class='mainDiv'>
<div><font size="4" name="sans-serif" color="white"><div class="heading" align="center"><b>Welcome To Distance Education University Online Admission Form</b></br>Student Zone</div></font></br></br>
<pre align="center">Your Request Has Been Successfully Submitted For Approval.
<?php echo $link; ?>
</pre>
</div></br>
<?php include("footer.php");?>
</body>
</html>
The code given below is of header part save the code in new file name "header.php".
<div style="margin:auto;width:850px;border-color:#98bf21;">
<img src="../images/banner.png">
</div>
The last code given below is for footer part the page save it with name "footer.php".
</br>
<div style="margin:auto;width:850px;border-color:#98bf21;height:125px;" align="left">
<img src="../images/footer.png">
</div>
0 Comments:
Post a Comment