Allstyle
.quick {
position:relative; top:20px; left:200px;
height:140px; width:300px;
background-color:skyblue;
border:1px solid black;
a {
text-decoration:none; color:black;
tr {
width:170px; cursor:hand;
td {
width:170px; cursor:hand;
.top {
position:absolute;top:20px;left:200px;
background:url(top.jpg);height:150px; width:900px;
border:1px solid skyblue; background-repeat:no-repeat;
.left {
position:absolute;top:180px;left:200px;
background:url(left.jpg) no-repeat;height:700px;width:170px;
text-align:center;font-family:Times New Roman; z-index:2;
.right {
position:absolute; top:180px; left:380px; height:700px;
width:720px; border-top:5px solid skyblue;
.clock {
position:absolute; left:5px; top:15px; height:30px; width:160px;
#hov1 {
position:absolute; top:200px; left:160px; height:60px; width:210px;
border:2px solid skyblue; background-color:skyblue; display:none; z-index:3;
}
.design1{
position:absolute; top:100px; left:100px; height:180px; width:340px;
border:5px solid black; display:none; background-color:skyblue; z-index:3;
.design2{
position:absolute; top:0px; left:90%; height:20px; width:20px;
text-align:center; background-color:skyblue; cursor:hand;
.blur1 {position:relative;left:130px;
height:55px; width:290px;
border:1px solid blue; background-color:skyblue;
display:none; z-index:; text-align:center;
.blur2 {position:relative;left:180px;
height:30px; width:90px;
display:block; z-index:; text-align:center;
#t { font-size:12px; border:1px solid black; font-family:arial;
border-collapse:collapse;
Alljs
function date()
var now = new Date();
var m=now.getMonth();
var m1=m+1;
var dat=now.getDate()
dat = (dat < 10 ? "0" : "") + dat;
m1 = (m1 < 10 ? "0" : "") + m1;
var d=dat+"-"+m1+"-"+now.getFullYear();
var x=document.getElementById('dd0');
x.setAttribute('value',d);
}
function helpin(arg1)
var x=document.getElementById(arg1);
x.style.display="block";
function helpout(arg1)
var x=document.getElementById(arg1);
x.style.display="none";
function checkemail()
var e=document.getElementById('d11').value;
var pat=/^(\w{1,}|\w{1,}_\w{1,}|\w{1,}\-\w{1,}|\w{1,}\.\w{1,})@\w{1,}
(\.\w{1,3}\.\w{1,3}|\.\w{1,3})$/;
var f=pat.test(e);
if(f=="0")
document.getElementById('d11').value="";
}
function checkfields()
var j=0;
var k=0;
for(i=1;i<8;i++)
var cc=document.regis.elements[i].value;
if( (cc.length <1) || (cc==" ") )
j=1;
if(k==0)
{k=i;}
if(j==1)
alert('Please fill-up all the fields');
document.regis.elements[k].focus();
}
function setyearvalue()
var x= new Date();
var y=x.getFullYear();
document.getElementById('y1').value=y;
document.getElementById('y2').value=y+1;
function isleap(year)
year= parseInt(year);
if(year%4 == 0)
if(year%100 != 0)
return true;
else
if(year%400 == 0)
return true;
else
return false;
}
}
return false;
function showmonthdays()
var block1=document.getElementById('d28').style.display="none";
var block2=document.getElementById('d29').style.display="none";
var block3=document.getElementById('d30').style.display="none";
var block4=document.getElementById('d31').style.display="none";
var block1=document.getElementById('d28').value="";
var block2=document.getElementById('d29').value="";
var block3=document.getElementById('d30').value="";
var block4=document.getElementById('d31').value="";
var p=document.getElementById('mdefault').value;
var year=document.getElementById('ydefault').value;
if(p=="")
{
alert("Select Month");
return;
if(isleap(year))
if(p==00 || p==02 || p==04 || p==06 || p==07 || p==09 || p==11)
var shw=document.getElementById('d31').style.display="block";
return;
if(p==03 || p==05 || p==08 || p==10)
var shw=document.getElementById('d30').style.display="block";
return;
if(p==01)
var shw=document.getElementById('d29').style.display="block";
return;
}
else
if(p==00 || p==02 || p==04 || p==06 || p==07 || p==09 || p==11)
var shw=document.getElementById('d31').style.display="block";
return;
if(p==03 || p==05 || p==08 || p==10)
var shw=document.getElementById('d30').style.display="block";
return;
if(p==01)
var shw=document.getElementById('d28').style.display="block";
return;
function refresh1()
{
var block1=document.getElementById('d28').style.display="none";
var block2=document.getElementById('d29').style.display="none";
var block3=document.getElementById('d30').style.display="none";
var block4=document.getElementById('d31').style.display="none";
var block5=document.getElementById('mdefault').value="";
Clock
function clock(){
var now = new Date();
var hour = now.getHours();
var minutes = now.getMinutes();
var m=now.getMonth();
var m1=m+1;
var dat=now.getDate()
dat = (dat < 10 ? "0" : "") + dat;
m1 = (m1 < 10 ? "0" : "") + m1;
var d=dat+"-"+m1+"-"+now.getFullYear();
var sec = now.getSeconds();
minutes = (minutes < 10 ? "0" : "") + minutes;
hour = (hour < 10 ? "0" : "") + hour;
sec = (sec < 10 ? "0" : "") + sec;
var time = d + "   " + " <b> " + hour + ':' + minutes + ':' + sec + "</b>";
document.getElementById("block").innerHTML = time;
setTimeout('clock()','1000');
Home
function show(arg1)
var x=document.getElementById(arg1);
x.style.display="block";
}
function hide(arg1)
var x=document.getElementById(arg1);
x.style.display="none";
function hideall(arg1,arg2,arg3,arg4,arg5,arg6,arg7)
var x=document.getElementById(arg1);
x.style.display="none";
var x=document.getElementById(arg2);
x.style.display="none";
var x=document.getElementById(arg3);
x.style.display="none";
var x=document.getElementById(arg4);
x.style.display="none";
var x=document.getElementById(arg5);
x.style.display="none";
var x=document.getElementById(arg6);
x.style.display="none";
var x=document.getElementById(arg7);
x.style.display="none";
}
function light(arg1)
var y=document.getElementById(arg1);
y.style.backgroundColor="white";
function nolight(arg1)
var y=document.getElementById(arg1);
y.style.backgroundColor="";
function fresh(arg1)
document.getElementById(arg1).value="";
}
Dbcon
<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{ die('Could not connect to the server' . mysql_error());
mysql_select_db("spms",$con);
?>
Login
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Welcome to Student Project Management System. </b>
<hr color="skyblue"> <br>
<?php
include('dbcon.php');
$er="";
if(isset($_REQUEST['er']))
$er=$_REQUEST['er'];
echo "<b>". $er. "</b>";
?>
<hr>
<fieldset style="position:absolute; top:130px; left:10px; width:300px; height:210px; ">
<b><u> Sign In. </u></b>
<form action="login2.php" method="POST">
<input type="hidden" name="s" value="signin" size="6" >
<pre> Username: <input type="text" name="u" size="25" maxlength="35" ></pre>
<pre> Password: <input type="password" name="p" size="25" maxlength="15" ></pre>
<input type="hidden" name="q" value="none">
<input type="hidden" name="a" value="none">
<br>
<pre> <input type="submit" name="submit" value=" Sign In "></pre>
</form>
</fieldset>
<fieldset style="position:absolute; top:130px; left:360px; height:20px; width:310px; cursor:hand;"
onclick="show('sup');">
<u> Forgot Password !! </u>
</fieldset>
<fieldset style="position:absolute; top:170px; left:360px; width:310px; display:none;" id="sup">
<form action="forgot.php" method="POST">
<br>
<pre> Username: <input type="text" name="u" size="25" maxlength="35" name="u" ></pre>
<br>
<pre> Security
Question: <select name="q" >
<option value="" > -- </option>
<option value="Favourite Game ?" > Favourite Sport ? </option>
<option value="Favourite Food ?" > Favourite Food ? </option>
<option value="Favourite Subject ?" > Favourite Subject ? </option>
</select></pre>
<br>
<pre> Answer: <input type="text" name="a" size="25" maxlength="35" ></pre>
<br>
<hr>
<pre> New Password: <input type="password" name="p" size="25" maxlength="15" ></pre>
<pre> Re-enter
New Password: <input type="password" name="p2" size="25" maxlength="15" ></pre>
<hr>
<br>
<pre> <input type="submit" name="submit" value=" Change Password "></pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
login2
<?php
include('dbcon.php');
$s=$_POST['s'];
$u=$_POST['u'];
$p=md5($_POST['p']);
$q=$_POST['q'];
$a=$_POST['a'];
if($s=='signin')
$query="select * from user where username='$u' AND password='$p' ";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
$numrows=mysql_num_rows($result);
if($numrows==0)
echo "Invalid Username or Password";
echo "<br> <br> <hr> <a href='login.php'><< Back to Login Page </a>";
return;
if($numrows==1)
while($row=mysql_fetch_array($result))
$t=$row['usertype'];
session_start();
$_SESSION['username']=$u;
$_SESSION['usertype']=$t;
header("Location: $t/home.php?");
return;
?>
Forgot
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Welcome to Student Project Management System. </b>
<hr color="skyblue"> <br>
<?php
include('dbcon.php');
$u=$_POST['u'];
$q=$_POST['q'];
$a=$_POST['a'];
$p=md5($_POST['p']);
$p2=md5($_POST['p2']);
if( $u=="" || $q=="" || $a=="" || $p=="" || $p2=="" )
$er=" Please enter information in all the fields of <u>FORGOT PASSWORD SECTION </U>.. !!";
header("Location:login.php?er=$er");
return;
if($p!==$p2)
$er=" Password Mismatch. Please enter exact same password twice in <u>FORGOT PASSWORD
SECTION </U>.. !!";
header("Location:login.php?er=$er");
return;
$query="select * from user where username='$u' AND question='$q' AND answer='$a' ";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
$numrows=mysql_num_rows($result);
if($numrows==1)
{
$sql="Update user set password='$p'where username='$u' AND question='$q' AND answer='$a' ";
mysql_query($sql,$con);
echo "YOU HAVE SUCCESSFULLY CHANGED YOUR PASSWORD.";
echo "<br> <br> <hr> <a href='login.php' style='color:blue;'><< Back to Login Page (Enter using New
Password.) </a>";
else
echo "Please Enter Correct Username, Security Question & Answer to Change Password.. !!";
echo "<br> <br> <hr> <a href='login.php' style='color:blue;'><< Back to Login Page </a>";
return;
?>
</div>
<br>
</body>
</html>
Home
function show(arg1)
var x=document.getElementById(arg1);
x.style.display="block";
function hide(arg1)
var x=document.getElementById(arg1);
x.style.display="none";
function hideall(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8)
var x=document.getElementById(arg1);
x.style.display="none";
var x=document.getElementById(arg2);
x.style.display="none";
var x=document.getElementById(arg3);
x.style.display="none";
var x=document.getElementById(arg4);
x.style.display="none";
var x=document.getElementById(arg5);
x.style.display="none";
var x=document.getElementById(arg6);
x.style.display="none";
var x=document.getElementById(arg7);
x.style.display="none";
var x=document.getElementById(arg8);
x.style.display="none";
function light(arg1)
var y=document.getElementById(arg1);
y.style.backgroundColor="white";
function nolight(arg1)
var y=document.getElementById(arg1);
y.style.backgroundColor="";
function fresh(arg1)
document.getElementById(arg1).value="";
reg1
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<br> <br>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<b> New Registration > </b> Student Data Collection </b>
<hr color="skyblue">
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<br>
<b>Enter Student Information: </b>
<br>
<form name="regis" action="data.php" method="POST">
<fieldset>
<br>
<pre> Date: <input type="text" id="dd0" name="d0" size="25" maxlength="35" value="" >
</pre>
<pre> Name: <input type="text" id="d7" name="d1" size="25" maxlength="35"
onfocus="helpin('dd1');" onblur="helpout('dd1');" > <br> <div class="blur1" id="dd1" > <br> Ex: Name
Title <br> (put space between Name and Title) </div> </pre>
<pre> Qualification: <input type="text" id="d8" name="d2" size="25" maxlength="15"
onfocus="helpin('dd2');" onblur="helpout('dd2');" > <br> <div class="blur1" id="dd2" > <br> Note:
Separate with comma <br> (max 15 characters) </div> </pre>
<pre> Address: <input type="text" id="d9" name="d3" size="25" maxlength="50"
onfocus="helpin('dd3');" onblur="helpout('dd3');" > <br> <div class="blur1" id="dd3" > <br> Note:
Maximum characters: 50 </div> </pre>
<pre> Contact: <input type="text" id="d10" name="d4" size="25" maxlength="25"
onfocus="helpin('dd4');" onblur="helpout('dd4');" > <br> <div class="blur1" id="dd4" > <br> Note:
Maximum characters: 25 </div> </pre>
<pre> Email-Id: <input type="text" id="d11" name="d5" size="25" maxlength="40"
onfocus="helpin('dd5');" onblur="helpout('dd5'); checkemail('d11');" > <br> <div class="blur1"
id="dd5" > <br> Ex:
[email protected] <br> Allows: [ '.' , '-' , '_' , '@' ] </div> </pre>
<pre> Purpose of project: <input type="text" id="d12" name="d6" size="25" maxlength="25"
onfocus="helpin('dd6');" onblur="helpout('dd6');" > <br> <div class="blur1" id="dd6" > <br> Note:
Maximum characters: 25 </div> </pre>
<br>
<pre> <input type="submit" name="submit" value="Submit" onfocus="checkfields();"
onmouseover="checkfields();"> <input type="reset" name="reset" value=" Reset "
onmouseout="date();"> </pre>
</fieldset>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</form>
</div>
<br>
</body>
</html>
Cap
<?php
include('dbcon.php');
$v=$_POST["v"];
$cap=$_POST["cap"];
if( $cap=="" )
header("Location: info2.php?t=none&f=none&v=none");
return;
mysql_select_db("spms",$con);
$query="update guide set capacity='$cap' where guide_id='$v'";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
$t='guide';
$f='guide_id';
header("Location:info2.php?t=$t&f=$f&v=$v");
?>
Certificatedate
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script>
function disp(arg1)
{
var x=document.getElementById(arg1);
x.style.display="block";
function nodisp(arg1,arg2)
var x=document.getElementById(arg1);
x.style.display="none";
var x=document.getElementById(arg2);
x.style.display="none";
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<br>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="reg1.php">
New Registration </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');"
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block8');"
onMouseOut="nolight('m2');"> Allocate Guide </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="certificatedate.php"> Project Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> PROJECT CONDUCTANCE </b>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<form><br> <pre> <input style="background-color:skyblue; width:200px; height:30px;"
type="button" value="Check: Completion & Payment" onclick="disp('f3'); nodisp('f2','f1');"
ondblclick=nodisp('f3','f3');> </pre> </form>
<fieldset id="f3" style="position:absolute; top:90px; left:220px; width:400px; display:none;">
<form action="checkcompletion2.php" method="POST"><br>
<pre> Project ID: <input type="text" name="pid" value="" maxlength="4"> </pre>
<pre> <input type="submit" name="submit" value=" Submit "></pre>
</form>
</fieldset>
<form><br> <pre> <input style="background-color:skyblue; width:200px; height:30px;"
type="button" value="Enter Date of Certification" onclick="disp('f1'); nodisp('f2','f3');"
ondblclick=nodisp('f1','f1');> </pre> </form>
<fieldset id="f1" style="position:absolute; top:170px; left:220px; width:400px; display:none;">
<form action="certificateupdate2.php" method="POST"><br>
<input type="hidden" value="certification_date" name="f">
<pre> Date of Certification: <input type="text" name="date" value="" maxlength="10" id="dd0">
</pre>
<pre> Project ID: <input type="text" name="pid" value="" maxlength="4"> </pre>
<pre> <input type="submit" value=" Submit " name="submit"> </pre>
</form>
</fieldset>
<form><br> <pre> <input style="background-color:skyblue; width:200px; height:30px;"
type="button" value="Enter Date of Receipt" onclick="disp('f2'); nodisp('f1','f3');"
ondblclick=nodisp('f2','f2');> </pre> </form>
<fieldset id="f2" style="position:absolute; top:250px; left:220px; width:400px; display:none;">
<form action="certificateupdate2.php" method="POST"><br>
<input type="hidden" value="receiving_date" name="f">
<pre> Date of Receipt: <input type="text" name="date" value="" maxlength="10" id="dd0"> </pre>
<pre> Project ID: <input type="text" name="pid" value="" maxlength="4"> </pre>
<pre> <input type="submit" value=" Submit " name="submit"> </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Certificateupdate
<?php
include('dbcon.php');
$f=$_POST['f'];
$p=$_POST['pid'];
$d=$_POST['date'];
$query1="select student_id,guide_id from guide_allocation where project_id='$p'";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res1))
$sid=$row['student_id'];
$gid=$row['guide_id'];
$query2="select platform_id from student where student_id='$sid'";
$res2=mysql_query($query2)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res2))
$plat=$row['platform_id'];
$sql1="Insert into certificate (project_id,guide_id,student_id,platform_id,submission_date)
values('$p','$gid','$sid','$plat','$d'); ";
mysql_query($sql1,$con);
header("Location: showcertificate.php?pid=$p");
?>
certificateupdate2
<?php
include('dbcon.php');
$f=$_POST['f'];
$p=$_POST['pid'];
$d=$_POST['date'];
$sql1="update certificate set $f='$d' where project_id='$p' ;";
mysql_query($sql1,$con);
header("Location: showcertificate.php?pid=$p");
?>
checkcompletion2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<br>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="reg1.php">
New Registration </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');"
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block8');"
onMouseOut="nolight('m2');"> Allocate Guide </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="certificatedate.php"> Project Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Completion > </b> Confirm Completion
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<br>
<?php
include('dbcon.php');
$pid=$_POST['pid'];
?>
<hr><br>
<b>   Enter: </b>
<fieldset>
<br>
<form action="certificateupdate.php" method="POST">
<input type="hidden" name="f" value="submission_date" maxlength="4">
<pre> Project ID: <input type="text" name="pid" value="<?php echo $pid; ?>" > </pre>
<pre> Date of Submission: <input type="text" name="date" value="" maxlength="10" id="dd0">
</pre>
<pre> <input type="submit" name="submit" value=" Submit Project "></pre>
</form>
</fieldset>
<?php
$sql="select project_status,student_id from attendance where project_id='$pid'and
project_status='completed' limit 1";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res))
$chk=$row['project_status'];
$sid=$row['student_id'];
if($chk=='completed')
echo "<br> <b>Project is Completed</b> ";
$sql1="select * from attendance where project_id='$pid'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
echo"<br><br> <b> Project Completion Check </b><hr><br>";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th><th id='t'>STUDENT ID</th>
<th id='t'>DATE</th> <th id='t'>PROJECT STATUS</th> </tr>";
while($row=mysql_fetch_array($res1))
{
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td>
<td id='t'>",$row['date'], "</td> <td id='t'>", $row['project_status'], "</td> </tr>";
echo "</table>";
$sql2="select * from payment where student_id='$sid'";
$res2=mysql_query($sql2)
or die("Query Failed: ".mysql_error());
echo"<br><br> <b> Payment Status Check.</b><hr><br>";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PAYMENT ID</th> <th id='t'>DATE OF PAYMENT</th>
<th id='t'>PAYMENT AMOUNT</th> </tr>";
while($row=mysql_fetch_array($res2))
{
echo "<tr id='t'> <td id='t'>", $row['payment_id'], "</td> <td id='t'>", $row['dop'], "</td>
<td id='t'>", $row['amount'], "</td> </tr>";
echo "</table> <br> <br> <br>";
?>
</div>
<br>
</body>
</html>
Data
<?php
include('dbcon.php');
$a0=$_POST["d0"];
$a1=$_POST["d1"];
$a2=$_POST["d2"];
$a3=$_POST["d3"];
$a4=$_POST["d4"];
$a5=$_POST["d5"];
$a6=$_POST["d6"];
if( $a0=="" || $a1=="" || $a2=="" || $a3=="" || $a4=="" || $a5=="" || $a6=="" )
header("Location: reg1.php");
return;
mysql_select_db("spms",$con);
$sql="Insert into student (dor,name,qualification,address,contact,email,purpose)
values('$a0','$a1','$a2','$a3','$a4','$a5','$a6'); ";
mysql_query($sql,$con);
$query="select student_id, name from student order by student_id desc limit 1";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($result))
$tempid=$row['student_id'];
header("Location:temp.php?tempid=$tempid");
?>
Glist
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<br>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="reg1.php">
New Registration </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block8');"
onMouseOut="nolight('m2');"> Allocate Guide </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="certificatedate.php"> Project Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<b> Guide Allocation > </b> Guide List
<br>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<?php
include('dbcon.php');
$id=$_POST['d'];
$query1="select student_id,name,platform_id from student where student_id=$id";
$res=mysql_query($query1)
or die("Query Failed: ".mysql_error());
$numrows2=mysql_num_rows($res);
if($numrows2==0)
header("Location: home.php");
return;
while($row=mysql_fetch_array($res))
$n1=$row['name'];
$n2=$row['student_id'];
$n3=$row['platform_id'];
$name=ucwords($n1);
$query2="select project_id from project where student_id=$id";
$res2=mysql_query($query2)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res2))
$n4=$row['project_id'];
$querychk="select * from guide_allocation where student_id='$n2' ";
$resultchk=mysql_query($querychk)
or die("Query Failed: ".mysql_error());
$numrows=mysql_num_rows($resultchk);
if($numrows>0)
echo"<b> Guide Already Allocated for <u> $name </u> </b> <hr> <br> ";
return;
}
if($numrows==0)
echo " <br> Student ID: <b> $n2 </b> <br> Student Name: <b> $name </b> <br> Platform ID: <b> $n3
</b> <br> Project ID: <b> $n4 </b> <br>";
echo" <hr> <br> ";
$query1="select guide_id,guide_name,capacity from expertise inner join guide using (guide_id) where
platform_id='$n3'";
$res=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "
<form action='gselect.php' method='POST'>
<fieldset>
<table id='t'>
<b><u> Guide Engaged Status: </u></b>
<br><br>
";
echo "<tr id='t'><th id='t' style='background-color:skyblue;' > SELECT </th> <th id='t'>GUIDE ID</th>
<th id='t'>GUIDE NAME</th> <th id='t'>CAPACITY</th> <th id='t' style='background-
color:skyblue;'>ENGAGED</th> </tr>";
while($row=mysql_fetch_array($res))
$x=$row['guide_id'];
$x1=$row['capacity'];
$query2="select count(project_id) from project inner join guide_allocation using(project_id)
where completion_date is null group by guide_id having guide_id='$x'";
$res2=mysql_query($query2)
or die("Query Failed: ".mysql_error());
while($row2=mysql_fetch_array($res2))
$r=$row2['count(project_id)'];
if($x1==$r)
{
echo "<tr id='t'> <td id='t' style='width:50px;'> </td> <td id='t'>", $row['guide_id'], "</td><td id='t'>",
$row['guide_name'], "</td> <td id='t'>", $row['capacity'], "</td> <td id='t' style='background-
color:skyblue;'>", $r, "</td> </tr>";
if($x1>$r)
echo "<tr id='t'><td id='t' style='width:50px; text-align:center;'><input type='radio' name='g' value='",
$row['guide_id'], "'></td> <td id='t'>", $row['guide_id'], "</td><td id='t'>", $row['guide_name'],
"</td> <td id='t'>", $row['capacity'], "</td> <td id='t' style='background-color:skyblue;'>", $r, "</td>
</tr>";
$r=0;
echo "</table>
<br> <br> <br>
<input type='hidden' maxlength='4' name='hid' value='$n2'>
<input type='submit' name='submit' value='Select Guide'>
<br><br>
</form>
</fieldset>
";
echo" <br> <hr> <br>";
?>
</div>
<br>
</body>
</html>
Gselect
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
<br>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
</head>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<br>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="reg1.php">
New Registration </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block8');"
onMouseOut="nolight('m2');"> Allocate Guide </td></tr>
<tr> <td id='m4' onMouseOver="light('m4'); show('hov1');" onMouseOut="nolight('m4');
hide('hov1');"> Project Completion </td></tr>
</table>
<table id="hov1" onMouseOver="show('hov1')"; onMouseOut="hide('hov1')";>
<tr style="width:210px;"> <td id='sub1' onMouseOver="light('sub1');" style="width:210px;"
onMouseOut="nolight('sub1');"> <a href="checkcompletion.php">Completion & Payment Check
</a> </td></tr>
<tr style="width:210px;"> <td id='sub2' onMouseOver="light('sub2');" style="width:210px;"
onMouseOut="nolight('sub2');"> <a href="certificatedate.php">Certificate & Receipt Dates</a>
</td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<b> New Registration > </b> Guide Selection Confirmation. </b>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<?php
include('dbcon.php');
if(!isset($_POST['hid']) || !isset($_POST['g']))
header("Location: home.php");
return;
$sid=$_POST['hid'];
$gid=$_POST['g'];
echo "<br>";
$query1="select name,platform_id from student where student_id=$sid";
$res=mysql_query($query1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res))
$n1=$row['name'];
$n3=$row['platform_id'];
$n2=ucwords($n1);
$query2="select project_id from project where student_id='$sid'";
$res2=mysql_query($query2)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res2))
$n4=$row['project_id'];
$query3="select guide_name from guide where guide_id='$gid'";
$res3=mysql_query($query3)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res3))
$n5=$row['guide_name'];
$n6=ucwords($n5);
echo " <br>";
echo "Guide   <b><u>$n6</u></b>   has been selected for Student  
<b><u>$n2</u></b>   with Student_id   <b><u>$sid</u></b>  . <br> <br>";
echo "<table id='t' style='position:absolute; left:140px;' >";
echo "<tr id='t'> <td id='t'> STUDENT ID </td> <td id='t'>", $sid, "</td></tr>";
echo "<tr id='t'> <td id='t'> STUDENT NAME </td> <td id='t'>", $n2, "</td></tr>";
echo "<tr id='t'> <td id='t'> PLATFORM ID </td> <td id='t'>", $n3, "</td></tr>";
echo "<tr id='t'> <td id='t'> PROJECT ID </td> <td id='t'>", $n4, "</td></tr>";
echo "<tr id='t'> <td id='t' style='background-color:skyblue;'> GUIDE ID </td> <td id='t'
style='background-color:skyblue;'>", $gid, "</td></tr>";
echo "<tr id='t'> <td id='t' style='background-color:skyblue;'> GUIDE NAME </td> <td id='t'
style='background-color:skyblue;'>", $n6, "</td></tr>";
echo "</table> <br> <br>";
$sql1="Insert into guide_allocation (guide_id,student_id,project_id)
values('$gid','$sid','$n4'); ";
mysql_query($sql1,$con);
?>
</div>
<br>
</body>
</html>
Info
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<body>
<div class="top"> </div>
<div class="right" style="left:200px; width:900px;">
<form>
<input style="background-color:skyblue; width:160px; height:30px;" type="button" value="Back to
HOME" onclick="window.location='home.php';">
</form>
<hr>
<?php
include('dbcon.php');
$t=$_POST['t'];
$f=$_POST['f'];
$v=$_POST['v'];
if ($t=='guide')
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>GUIDE ID</th> <th id='t'>GUIDE NAME</th> <th id='t'>CAPACITY</th>
<th id='t'> CONTACT</th> <th id='t'>QUALIFICATION</th> <th id='t'>EMAIL ID</th> </tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['guide_id'], "</td> <td id='t'>", $row['guide_name'], "</td>
<td id='t'>", $row['capacity'], "</td><td id='t'>", $row['contact'], "</td>
<td id='t'>", $row['qualification'], "</td><td id='t'>", $row['email'], "</td></tr>";
echo "</table> <br> <br> ";
return;
if ($t=='project')
{
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th> <th id='t'>STUDENT ID</th> <th id='t'>PLATFORM ID</th>
<th id='t'> PROJECT TITLE</th> <th id='t'>PROJECT STARTING DATE</th> <th id='t'>PROJECT
COMPLETION DATE</th> </tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td>
<td id='t'>", $row['platform_id'], "</td><td id='t'>", $row['project_title'], "</td>
<td id='t'>", $row['starting_date'], "</td><td id='t'>", $row['completion_date'],
"</td></tr>";
echo "</table> <br> <br> ";
return;
}
if ($t=='student')
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>STUDENT ID</th> <th id='t'>STUDENT NAME</th> <th id='t'>DATE OF
REGISTRATION</th>
<th id='t'> PLATFORM ID</th> <th id='t'>CONTACT</th> <th id='t'>QUALIFICATION</th> <th
id='t'>EMAIL ID</th>
<th id='t'>ADDRESS</th> <th id='t'>PURPOSE OF PROJECT</th></tr>";
while($row=mysql_fetch_array($res))
{
echo "<tr id='t'> <td id='t'>", $row['student_id'], "</td> <td id='t'>", $row['name'], "</td>
<td id='t'>", $row['dor'], "</td><td id='t'>", $row['platform_id'], "</td>
<td id='t'>", $row['contact'], "</td><td id='t'>", $row['qualification'], "</td>
<td id='t'>", $row['email'], "</td><td id='t'>", $row['address'], "</td>
<td id='t'>", $row['purpose'], "</td></tr>";
echo "</table> <br> <br> ";
return;
if ($t=='payment')
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>STUDENT ID</th> <th id='t'>PAYMENT ID</th> <th id='t'>DATE OF
PAYMENT</th> <th id='t'>AMOUNT / FEES</th></tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['student_id'], "</td> <td id='t'>", $row['payment_id'], "</td>
<td id='t'>", $row['dop'], "</td><td id='t'>", $row['amount'], "</td></tr>";
echo "</table> <br> <br> ";
return;
if ($t=='certificate')
{
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Information Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>CERTIFICATE No.</th> <th id='t'>PROJECT ID</th><th id='t'>STUDENT
ID</th>
<th id='t'>GUIDE ID</th> <th id='t'>PLATFORM ID</th> <th id='t'>DATE OF SUBMISSION</th>
<th id='t'>DATE OF CERTIFICATION</th>
<th id='t'>DATE OF RECEIPT</th> </tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['certificate_no'], "</td> <td id='t'>", $row['project_id'], "</td>
<td id='t'>", $row['student_id'], "</td> <td id='t'>", $row['guide_id'], "</td>
<td id='t'>", $row['platform_id'], "</td><td id='t'>", $row['submission_date'], "</td>
<td id='t'>", $row['certification_date'], "</td> <td id='t'>", $row['receiving_date'],
"</td></tr>";
}
echo "</table> <br> <br> ";
return;
if ($t=='expertise')
$sql="select guide_id,guide_name,platform_id from expertise inner join guide using(guide_id) order
by guide_id";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
echo"<br> <b> Guide Expertise Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>GUIDE ID</th> <th id='t'>GUIDE NAME</th><th id='t'>PLATFORM
ID</th></tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['guide_id'], "</td> <td id='t'>", $row['guide_name'], "</td>
<td id='t'>", $row['platform_id'], "</td></tr>";
echo "</table> <br> <br> ";
return;
if ($t=='platform_fees')
{
$sql="select * from platform_fees inner join platform using(platform_id)";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
echo"<br> <b> Platform and Fees Table </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PLATFORM ID</th> <th id='t'>FEES</th> <th id='t'>FRONTEND_TOOL</th>
<th id='t'>BACKEND_TOOL</th></tr>";
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['PLATFORM_ID'], "</td><td id='t'>", $row['AMOUNT'], "</td><td
id='t'>", $row['FRONTEND_TOOL'], "</td><td id='t'>", $row['BACKEND_TOOL'], "</td> </tr>";
echo "</table> <br> <br> ";
return;
}
?>
<hr color="skyblue">
</div>
<br>
</body>
</html>
info2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<body>
<div class="top"> </div>
<div class="right" style="left:200px; width:900px;">
<?php
include('dbcon.php');
$t=$_REQUEST['t'];
$f=$_REQUEST['f'];
$v=$_REQUEST['v'];
if($t=='none')
{
echo "Enter Capacity";
echo "<br> <br> <hr> <a href='home.php' style='color:blue;'><< Back to Home Page </a>";
return;
if ($t=="guide")
$sql="select * from $t where $f='$v' ";
$res=mysql_query($sql)
or die("Query Failed: ".mysql_error());
$t2=ucfirst($t);
echo"<br> <b> $t2 Capacity Changed </b> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>GUIDE ID</th> <th id='t'>GUIDE NAME</th> <th id='t' style='background-
color:skyblue;'>CAPACITY</th>
<th id='t'> CONTACT</th> <th id='t'>QUALIFICATION</th> <th id='t'>EMAIL ID</th> </tr>";
while($row=mysql_fetch_array($res))
{
echo "<tr id='t'> <td id='t'>", $row['guide_id'], "</td> <td id='t'>", $row['guide_name'], "</td>
<td id='t' style='background-color:skyblue;'>", $row['capacity'], "</td><td id='t'>",
$row['contact'], "</td>
<td id='t'>", $row['qualification'], "</td><td id='t'>", $row['email'], "</td></tr>";
echo "</table> <br> <br> ";
echo "<br> <br> <hr> <a href='home.php' style='color:blue;'><< Back to Home Page </a>";
return;
?>
<hr color="skyblue">
</div>
<br>
</body>
</html>
login3
<?php
include('dbcon.php');
$fn=$_POST['fn'];
$u=$_POST['u'];
$p=$_POST['p'];
$p2=$_POST['p2'];
$q=$_POST['q'];
$a=$_POST['a'];
$qua=$_POST['qua'];
$cont=$_POST['cont'];
$ema=$_POST['ema'];
$cap=$_POST['cap'];
$c='none';
if(!isset($_POST['c']) || $fn=="" || $u=="" || $p=="" || $p2=="" || $q=="" || $a=="" || $qua=="" ||
$cont=="" || $ema=="" || $cap=="" )
$er=" Please enter information in all the fields below.. !!";
header("Location:home.php?er=$er");
return;
}
$pl=strlen($p);
$pl2=strlen($p2);
if( $pl<4 || $pl2<4 )
$er=" Password should be between 4 - 10 chars) !!";
header("Location:home.php?er=$er");
return;
$p=md5($_POST['p']);
$p2=md5($_POST['p2']);
if($p!==$p2)
$er=" Password Mismatch. Please enter exact same password twice..(between 4 - 10 chars) !!";
header("Location:home.php?er=$er");
return;
}
$sql="Insert into guide (guide_name,qualification,capacity,email,contact)
values('$fn','$qua','$cap','$ema','$cont'); ";
mysql_query($sql,$con);
$sql2="Insert into user (username,password,question,answer,usertype)
values('$u','$p','$q','$a','guide'); ";
mysql_query($sql2,$con);
$query="select guide_id from guide order by guide_id desc limit 1";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($result))
$gid=$row['guide_id'];
}
$c=$_POST['c'];
while( list($key,$val)=each($c))
$sql2="Insert into expertise (guide_id,platform_id)
values('$gid','$val'); ";
mysql_query($sql2,$con);
$er='New Guide Added and Signed Up Successfully..';
header("Location:home.php?er=$er");
return;
?>
Showcertificate
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<div class="top"> </div>
<div class="right" style="left:200px; width:900px;">
<br>
<b> Project Conductance > </b> Attendance Updation.
<hr color="skyblue">
<br>
<form>
<pre> <input style="background-color:skyblue; width:200px; height:30px;" type="button"
value="Back to HOME" onclick="window.location='home.php';"> </pre>
</form>
<hr>
<br>
<b><u>Certificate Information Table</u></b>
<br>
<?php
include('dbcon.php');
$p=$_REQUEST['pid'];
$sql1="select * from certificate where project_id='$p'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
echo"<br>";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>CERTIFICATE No.</th> <th id='t'>PROJECT ID</th><th id='t'>STUDENT
ID</th> <th id='t'>GUIDE ID</th> <th id='t'>PLATFORM ID</th> <th id='t'>DATE OF SUBMISSION</th>
<th id='t'>DATE OF CERTIFICATION</th> <th id='t'>DATE OF RECEIPT</th> </tr>";
while($row=mysql_fetch_array($res1))
echo "<tr id='t'> <td id='t'>", $row['certificate_no'], "</td> <td id='t'>", $row['project_id'], "</td>
<td id='t'>", $row['student_id'], "</td> <td id='t'>", $row['guide_id'], "</td>
<td id='t'>", $row['platform_id'], "</td><td id='t'>", $row['submission_date'], "</td>
<td id='t'>", $row['certification_date'], "</td> <td id='t'>", $row['receiving_date'],
"</td></tr>";
echo "</table>";
?>
</div>
<br>
</body>
</html>
Signout
<?php
include('dbcon.php');
session_start();
session_destroy();
header("Location: ../login.php?");
?>
Temp
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
<br>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
</head>
<body>
<div class="top"> </div>
<div class="right" style="left:200px; width:900px;">
<b> Process: New Registration > </b> Temporary Student Information. [For Cash Section: Payment &
Platform Choice ] </b>
<hr color="skyblue">
<?php
include('dbcon.php');
$tempid=$_REQUEST['tempid'];
echo "<br>";
?>
<form>
<pre> <input style="background-color:skyblue; width:120px; height:30px;" type="button" value="
PRINT " onclick="window.print();"> </pre>
<pre> <input style="background-color:skyblue; width:120px; height:30px;" type="button"
value="Home" onclick="window.location='home.php';"> </pre>
</form>
<hr>
<?php
$query1="select name from student where student_id=$tempid";
$res=mysql_query($query1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res))
$n=$row['name'];
$name=ucwords($n);
echo"<b> PROVIDE THIS SLIP AT CASH SECTION </b>";
echo" <hr> <br> <br>";
$query="select * from student where student_id=$tempid";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
echo "<table id='t' style='position:absolute; left:100px;' >";
while($row=mysql_fetch_array($result))
echo "<tr id='t'> <td id='t' style='background-color:skyblue;'> STUDENT ID </td> <td id='t'
style='background-color:skyblue;'>", $row['student_id'], "</td></tr>";
echo "<tr id='t'> <td id='t'> STUDENT NAME </td> <td id='t'>", $row['name'], "</td></tr>";
echo "<tr id='t'> <td id='t'> DATE OF REGISTRATION </td> <td id='t'>", $row['dor'], "</td></tr>";
echo "<tr id='t'> <td id='t'> EMAIL </td> <td id='t'>", $row['email'], "</td></tr>";
echo "<tr id='t'> <td id='t'> ADDRESS </td> <td id='t'>", $row['address'], "</td></tr>";
echo "<tr id='t'> <td id='t'> CONTACT </td> <td id='t'>", $row['contact'], "</td></tr>";
$query="select payment_id from payment where student_id=$tempid";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($result))
echo "<tr id='t'> <td id='t'> PAYMENT ID / INVOICE No. </td> <td id='t'>", $row['payment_id'],
"</td></tr>";
}
echo "</table> <br> <br> ";
?>
</div>
<br>
</body>
</html>
Home
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a
href="platformselect.php"> Payment & Platform </a> </td></tr>
<tr> <td> </td></tr>
<tr> <td> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Welcome <?php echo ucfirst($_SESSION['username']); ?> </b>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Confirmation
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
<br>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
</head>
<body>
<div class="top"> </div>
<div class="right" style="left:200px; width:900px;">
<b> Process: New Registration Confirmation > </b> Student Id, Payment Confirmation & Platform
Selection </b>
<hr color="skyblue">
<form>
<pre> <input style="background-color:skyblue; width:120px; height:30px;" type="button" value="
PRINT " onclick="window.print();"> </pre>
<pre> <input style="background-color:skyblue; width:120px; height:30px;" type="button"
value="Home" onclick="window.location='home.php';"> </pre>
</form>
<hr>
<?php
include('dbcon.php');
$tempid=$_REQUEST['tempid'];
$query1="select name from student where student_id=$tempid";
$res=mysql_query($query1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res))
$n=$row['name'];
$name=ucwords($n);
echo"<b> $name </b> has been successfully registered.";
echo" <hr> <br> <br>";
$query="select * from student where student_id=$tempid";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
echo "<table id='t' style='position:absolute; left:100px;' >";
while($row=mysql_fetch_array($result))
{
echo "<tr id='t3'> <td id='t3' style='background-color:skyblue;'> STUDENT ID : </td> <td id='t3'
style='background-color:skyblue;'>", $row['student_id'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> STUDENT NAME :</td> <td id='t3'>", ucwords($row['name']),
"</td></tr>";
echo "<tr id='t3'> <td id='t3'> DATE OF REGISTRATION :</td> <td id='t3'>", $row['dor'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> PLATFORM ID :</td> <td id='t3'>", $row['platform_id'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> QUALIFICATION :</td> <td id='t3'>", $row['qualification'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> EMAIL :</td> <td id='t3'>", $row['email'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> ADDRESS :</td> <td id='t3'>", $row['address'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> CONTACT :</td> <td id='t3'>", $row['contact'], "</td></tr>";
echo "<tr id='t3'> <td id='t3'> PURPOSE :</td> <td id='t3'>", $row['purpose'], "</td></tr>";
$query="select payment_id from payment where student_id=$tempid";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($result))
echo "<tr id='t3'> <td id='t3'> PAYMENT ID / INVOICE No. :</td> <td id='t3'>", $row['payment_id'],
"</td></tr>";
echo "</table> <br> <br> ";
?>
</div>
<br>
</body>
</html>
Pay
<?php
include('dbcon.php');
$a1=$_POST["p1"];
$a2=$_POST["p2"];
$r=$_POST["r"];
$query="select amount from platform_fees where platform_id='$r'";
$res=mysql_query($query)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res))
$amt=$row['amount'];
}
if( $a1=="" || $a2=="" || $r=="" )
header("Location: platformselect.php?tempid=$a2&name=$a0");
return;
$query2="select * from payment where student_id='$a2'";
$res2=mysql_query($query2)
or die("Query Failed: ".mysql_error());
mysql_select_db("demo",$con);
$sql="Insert into payment (dop,student_id,amount) values('$a1','$a2','$amt');";
mysql_query($sql,$con);
$sql2="update student set platform_id='$r' where student_id='$a2' ;";
mysql_query($sql2,$con);
$sql="insert into project (student_id,platform_id) values('$a2','$r')";
mysql_query($sql,$con);
header("Location:confirmation.php?tempid=$a2");
?>
Platformselect
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
<br>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
</head>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a
href="platformselect.php"> Payment & Platform </a> </td></tr>
<tr> <td> </td></tr>
<tr> <td> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> <?php echo ucfirst($_SESSION['username']); echo " Section"; ?> </b>
<hr color="skyblue">
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
{
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<hr>
<form action="pay.php" method="POST">
<fieldset>
<br>
<pre> Payment Date: <input type="text" id="dd0" name="p1" size="25" maxlength="10"
value="" > </pre>
<pre> Enter Temporary-Student-Id: <input type="text" id="pay2" name="p2" size="25"
maxlength="4" value="" > </pre>
<br>
<?php
$query="select * from platform_fees inner join platform using(platform_id)";
$result=mysql_query($query)
or die("Query Failed: ".mysql_error());
echo "<table id='t'>";
echo "<tr id='t'><th id='t' style='background-color:skyblue;' > SELECT </th> <th id='t'>PLATFORM
ID</th> <th id='t'>FEES (Rs.)</th> <th id='t'>FRONTEND_TOOL</th> <th
id='t'>BACKEND_TOOL</th></tr>";
while($row=mysql_fetch_array($result))
echo "<tr id='t'><td id='t' style='width:50px; text-align:center;'><input type='radio' name='r' value='",
$row['PLATFORM_ID'], "'></td> <td id='t'>", $row['PLATFORM_ID'], "</td><td id='t'>",
$row['AMOUNT'], "</td><td id='t'>", $row['FRONTEND_TOOL'], "</td><td id='t'>",
$row['BACKEND_TOOL'], "</td> </tr>";
echo "</table> <br> <br> ";
?>
<br>
<pre> <input type="submit" name="submit" value="Confirm Payment" > <input
type="reset" name="reset" value=" Reset " onmouseout="date();"> </pre>
</fieldset>
</form>
</div>
<br>
</body>
</html>
Attendance
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Conductance > </b> Attendance Updation.
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<h5> Enter Information: </h5>
<fieldset> <br>
<form action="updation.php" method="POST"> <br>
<pre> Project ID <input type="text" name="p1" maxlength="4"> </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Completion
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Completion > </b> Confirm Completion
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<br>
<hr><br>
<b>   Enter Project ID To Confirm Completion.</b>
<fieldset>
<br>
<form action="completion2.php" method="POST">
<pre> Project ID: <input type="text" name="pid" value="" maxlength="4"> </pre>
<pre> Date: <input type="text" maxlength="10" name="date" id="dd0" value=""></pre>
<pre> <input type="hidden" name="ps" value="completed"> </pre>
<pre> <input type="submit" name="submit" value=" Submit "></pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
completion2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Completion > </b> Confirm Completion
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<br>
<?php
include('dbcon.php');
$pid=$_POST['pid'];
$ps=$_POST['ps'];
$date=$_POST['date'];
if($pid==0 | $pid==NULL)
header("Location: completion.php");
return;
$query1="select student_id from project where project_id='$pid'";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res1))
$sid=$row['student_id'];
$sql1="Insert into attendance (project_id,student_id,date,project_status)
values('$pid','$sid','$date','$ps'); ";
mysql_query($sql1,$con);
$sql3="update project set completion_date='$date' where project_id='$pid' ;";
mysql_query($sql3,$con);
$sql2="select * from attendance where project_id='$pid'";
$res2=mysql_query($sql2)
or die("Query Failed: ".mysql_error());
echo"<br>";
echo"<b> Project Status Updated to 'Completed' </b>";
echo"<br> <br>";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th><th id='t'>STUDENT ID</th> <th id='t'>DATE</th> <th
id='t'>PROJECT STATUS</th> </tr>";
while($row=mysql_fetch_array($res2))
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td> <td
id='t'>",$row['date'], "</td> <td id='t'>", $row['project_status'], "</td> </tr>";
}
echo "</table>";
?>
</div>
<br>
</body>
</html>
Home
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Welcome <?php echo ucfirst($_SESSION['username']); ?> </b>
<hr color="skyblue">
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Schedule
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> PROJECT CONDUCTANCE > </b> Enter Guide ID / Project ID / Student ID :-
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<script>
function disp(arg1)
var x=document.getElementById(arg1);
x.style.display="block";
function nodisp(arg1)
var x=document.getElementById(arg1);
x.style.display="none";
</script>
<?php
include('dbcon.php');
?>
<b>View Project Schedule by:- </b> (double-click to close)
<pre>
<input style="background-color:skyblue; width:180px; height:40px;" type="button" value="Guide "
onclick="disp('f1');nodisp('f2');" ondblclick="nodisp('f1');"> </pre>
<fieldset id="f1" style="position:absolute; top:90px; left:190px; width:400px; display:none;">
<form action="schedule2.php" method="POST"> <br>
<input type="hidden" name="f" maxlength="8" value="guide_id">
<pre> Guide Name <?php
$query1="select guide_name,guide_id from guide";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v' >";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
}
echo "</select> ";
?>
</pre>
<pre> Project ID : <input type="text" name="p" maxlength="4"> </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<pre>
<input style="background-color:skyblue; width:180px; height:40px;" type="button" value="Student "
onclick="disp('f2');nodisp('f1');" ondblclick="nodisp('f2');"> </pre>
<fieldset id="f2" style="position:absolute; top:145px; left:190px; width:400px;
display:none;">
<form action="schedule2.php" method="POST"> <br>
<input type="hidden" name="f" maxlength="10" value="student_id">
<pre> Student ID <input type="text" name="v" maxlength="4"> </pre>
<pre> Project ID <input type="text" name="p" maxlength="4"> </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
schedule2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> PROJECT CONDUCTANCE > </b> Project Schedule ( Next Date and Time ).
<hr color="skyblue">
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<hr>
<br>
<?php
include('dbcon.php');
$f=$_POST['f'];
$v=$_POST['v'];
$p=$_POST['p'];
echo "<b> <u>Next Project Schedule</u> </b>";
echo"<br><br>";
$sql1="select * from schedule where project_id='$p' AND $f='$v'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th> <th id='t'>GUIDE ID</th> <th id='t'>STUDENT ID</th> <th
id='t'>DATE</th> <th id='t'>TIME</th> </tr>";
while($row=mysql_fetch_array($res1))
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['guide_id'], "</td> <td
id='t'>",
$row['student_id'], "</td> <td id='t'>", $row['date'], "</td> <td id='t'>", $row['time'], "</td>
</tr>";
echo "</table>";
?>
</div>
<br>
</body>
</html>
Signout
<?php
include('dbcon.php');
session_start();
session_destroy();
header("Location: ../login.php?");
?>
Start
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> PROJECT CONDUCTANCE </b>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<fieldset>
<br>
<form action="start2.php" method="POST">
<pre> Project ID: <input type="text" name="p" value="" maxlength="4"> </pre>
<pre> Enter Title: <input type="text" name="t" value="" maxlength="40"> </pre>
<pre> Enter Starting Date: <input type="text" name="d" value="" maxlength="10" id="dd0" > </pre>
<pre> <input type="submit" name="submit" value="Submit"> </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
start2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> PROJECT CONDUCTANCE </b>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<?php
include('dbcon.php');
$p=$_POST['p'];
$t=$_POST['t'];
$d=$_POST['d'];
$sql1="select starting_date from project where project_id='$p'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res1))
$verify=$row['starting_date'];
if($verify!=NULL)
echo "Project Alredy Started.. !!!";
return;
else
$sql2="update project set project_title='$t',starting_date='$d' where project_id='$p'";
mysql_query($sql2,$con);
echo " <b> Project Starts From Today.</b> <br><br>";
$sql3="select * from project where project_id='$p'";
$res3=mysql_query($sql3)
or die("Query Failed: ".mysql_error());
echo "<table id='t' style='position:absolute; left:100px;' >";
while($row=mysql_fetch_array($res3))
echo "<tr id='t'> <td id='t'> STUDENT ID </td> <td id='t'>", $row['student_id'], "</td></tr>";
echo "<tr id='t'> <td id='t'> PPROJECT ID </td> <td id='t'>", $row['project_id'], "</td></tr>";
echo "<tr id='t'> <td id='t'> PROJECT TITLE </td> <td id='t' style='background-color:skyblue;'>",
$row['project_title'], "</td></tr>";
echo "<tr id='t'> <td id='t'> PROJECT STARTING DATE </td> <td id='t' style='background-
color:skyblue;'>", $row['starting_date'], "</td></tr>";
echo "</table> <br> <br> ";
$sql5="select guide_id,student_id from guide_allocation where project_id='$p'";
$res5=mysql_query($sql5)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res5))
$g=$row['guide_id'];
$s=$row['student_id'];
$sql4="Insert into schedule (project_id,guide_id,student_id,date,time)
values('$p','$g','$s','$d','DAY_1'); ";
mysql_query($sql4,$con);
$sql5="Insert into attendance (project_id,student_id,date,project_status)
values('$p','$s','$d','DAY_1_ATTENDED'); ";
mysql_query($sql5,$con);
?>
</div>
<br>
</body>
</html>
Updation
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date(); setyearvalue();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Conductance > </b> Attendance Updation. (Check previous attendance and status below.)
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<script>
var x= new Date();
var y=x.getFullYear();
</script>
<?php
include('dbcon.php');
$p=$_REQUEST['p1'];
?>
<b>Enter today`s Project Status and Next Schedule:- </b>
<hr>
<br>
<fieldset> <br>
<form action="updation2.php" method="POST">
<input type="hidden" maxlength="4" name="u1" value="<?php echo $p; ?>">
<pre> Date: <input type="text" maxlength="10" size="25" name="u3" id="dd0"
value=""></pre>
<pre> Project Status: <input type="text" maxlength="30" size="25" name="u4"> </pre> <br>
<pre> <b><u>Next Schedule:</u></b> </pre>
<pre> Next Date: <table>
<tr>
<td style="position:relative; top:0px; left:0px; width:70px;">
<select name="y" id="ydefault" onchange="refresh1();">
<option id="y1" value="" size="" ><script>document.write(y);</script> </option>
<option id="y2" value="" size=""> <script>document.write(y+1);</script> </option>
</select>
</td>
<td style="position:relative; top:0px; left:0px; width:70px; ">
<select name="m" id="mdefault" onchange="showmonthdays();">
<option id="" value="" > -- </option>
<option id="m1" value="00" > Jan </option>
<option id="m2" value="01" > Feb </option>
<option id="m3" value="02" > Mar </option>
<option id="m4" value="03" > Apr </option>
<option id="m5" value="04" > May </option>
<option id="m6" value="05" > Jun </option>
<option id="m7" value="06" > Jul </option>
<option id="m8" value="07" > Aug </option>
<option id="m9" value="08" > Sep </option>
<option id="m10" value="09" > Oct </option>
<option id="m11" value="10" > Nov </option>
<option id="m12" value="11" > Dec </option>
</select>
</td>
<td style="width:70px;">
<div style="position:relative; top:0px; left:0px; height:22px;">
<select name="d31" id="d31" style="position:absolute; top:0px; left:0px; display:none;">
<option value="" > -- </option>
<option value="01" >1</option>
<option value="02" > 2</option>
<option value="03" > 3</option>
<option value="04" > 4</option>
<option value="05" > 5</option>
<option value="06" > 6</option>
<option value="07" > 7</option>
<option value="08" > 8</option>
<option value="09" > 9</option>
<option value="10" > 10</option>
<option value="11" > 11</option>
<option value="12" > 12</option>
<option value="13" > 13</option>
<option value="14" > 14</option>
<option value="15" > 15</option>
<option value="16" > 16</option>
<option value="17" > 17</option>
<option value="18" > 18</option>
<option value="19" > 19</option>
<option value="20" > 20</option>
<option value="21" > 21</option>
<option value="22" > 22</option>
<option value="23" > 23</option>
<option value="24" > 24</option>
<option value="25" > 25</option>
<option value="26" > 26</option>
<option value="27" > 27</option>
<option value="28" > 28</option>
<option value="29" > 29</option>
<option value="30" > 30</option>
<option value="31" > 31</option>
</select>
<select name="d30" id="d30" style="position:absolute; top:0px; left:0px; display:none;">
<option value="" > -- </option>
<option value="01" > 1</option>
<option value="02" > 2</option>
<option value="03" > 3</option>
<option value="04" > 4</option>
<option value="05" > 5</option>
<option value="06" > 6</option>
<option value="07" > 7</option>
<option value="08" > 8</option>
<option value="09" > 9</option>
<option value="10" > 10</option>
<option value="11" > 11</option>
<option value="12" > 12</option>
<option value="13" > 13</option>
<option value="14" > 14</option>
<option value="15" > 15</option>
<option value="16" > 16</option>
<option value="17" > 17</option>
<option value="18" > 18</option>
<option value="19" > 19</option>
<option value="20" > 20</option>
<option value="21" > 21</option>
<option value="22" > 22</option>
<option value="23" > 23</option>
<option value="24" > 24</option>
<option value="25" > 25</option>
<option value="26" > 26</option>
<option value="27" > 27</option>
<option value="28" > 28</option>
<option value="29" > 29</option>
<option value="30" > 30</option>
</select>
<select name="d29" id="d29" style="position:absolute; top:0px; left:0px; display:none;">
<option value="" > -- </option>
<option value="01" > 1</option>
<option value="02" > 2</option>
<option value="03" > 3</option>
<option value="04" > 4</option>
<option value="05" > 5</option>
<option value="06" > 6</option>
<option value="07" > 7</option>
<option value="08" > 8</option>
<option value="09" > 9</option>
<option value="10" > 10</option>
<option value="11" > 11</option>
<option value="12" > 12</option>
<option value="13" > 13</option>
<option value="14" > 14</option>
<option value="15" > 15</option>
<option value="16" > 16</option>
<option value="17" > 17</option>
<option value="18" > 18</option>
<option value="19" > 19</option>
<option value="20" > 20</option>
<option value="21" > 21</option>
<option value="22" > 22</option>
<option value="23" > 23</option>
<option value="24" > 24</option>
<option value="25" > 25</option>
<option value="26" > 26</option>
<option value="27" > 27</option>
<option value="28" > 28</option>
<option value="29" > 29</option>
</select>
<select name="d28" id="d28" style="position:absolute; top:0px; left:0px; display:none;">
<option value="" > -- </option>
<option value="01"> 1</option>
<option value="02"> 2</option>
<option value="03"> 3</option>
<option value="04"> 4</option>
<option value="05"> 5</option>
<option value="06"> 6</option>
<option value="07"> 7</option>
<option value="08"> 8</option>
<option value="09"> 9</option>
<option value="10"> 10</option>
<option value="11"> 11</option>
<option value="12"> 12</option>
<option value="13"> 13</option>
<option value="14"> 14</option>
<option value="15"> 15</option>
<option value="16"> 16</option>
<option value="17"> 17</option>
<option value="18"> 18</option>
<option value="19"> 19</option>
<option value="20"> 20</option>
<option value="21"> 21</option>
<option value="22"> 22</option>
<option value="23"> 23</option>
<option value="24"> 24</option>
<option value="25"> 25</option>
<option value="26"> 26</option>
<option value="27"> 27</option>
<option value="28"> 28</option>
</select>
</div>
</td>
</tr>
</table>
Time: <select name="u6" > <option value="" > -- </option>
<option value="10:00" > 10:00 </option>
<option value="11:00" > 11:00 </option>
<option value="12:00" > 12:00 </option>
<option value="13:00" > 13:00 </option>
<option value="14:00" > 14:00 </option>
<option value="15:00" > 15:00 </option>
<option value="16:00" > 16:00 </option>
<option value="17:00" > 17:00 </option>
<option value="18:00" > 18:00 </option>
<option value="19:00" > 19:00 </option>
<option value="20:00" > 20:00 </option>
</select>
</pre>
<br> <pre> <input type="submit" name="submit" value=" Submit "></pre>
</form>
</fieldset>
<br><hr>
<?php
$sql1="select * from attendance where project_id='$p'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
echo"<br>";
echo " <b> <u> Previous - Attendance & Project Status: </u> </b> ";
echo" <br> <br> ";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th><th id='t'>STUDENT ID</th> <th id='t'>DATE</th> <th
id='t'>PROJECT STATUS</th> </tr>";
while($row=mysql_fetch_array($res1))
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td> <td
id='t'>",$row['date'], "</td> <td id='t'>", $row['project_status'], "</td> </tr>";
echo "</table> <br> <hr> <br>";
?>
</div>
<br>
</body>
</html>
updation2
<html>
<head>
<title> Student Project Management Status - HOME </title>
<link rel="stylesheet" type="text/css" href="allstyle.css">
</head>
<script src="clock.js" type="text/javascript">
</script>
<script src="home.js" type="text/javascript">
</script>
<script src="alljs.js" type="text/javascript">
</script>
<body onLoad="clock(); date();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<div class="left" >
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
<tr> <td id='m0' onMouseOver="light('m0');" onMouseOut="nolight('m0');"> <a href="home.php">
Home - <?php echo ucfirst($_SESSION['username']); ?> </a> </td></tr>
<tr> <td id='s0' onMouseOver="light('s0');" onMouseOut="nolight('s0');"> <?php echo "<a
href='signout.php'> SignOut </a>"; ?> </td></tr>
</table>
<hr width="160px">
<table>
<tr> <td id='m1' onMouseOver="light('m1');" onMouseOut="nolight('m1');"> <a href="start.php">
Start New Project </a> </td></tr>
<tr> <td id='m2' onMouseOver="light('m2');" onMouseOut="nolight('m2');"> <a
href="schedule.php"> Schedule </a> </td></tr>
<tr> <td id='m3' onMouseOver="light('m3');" onMouseOut="nolight('m3');"> <a
href="attendance.php"> Attendance </a> </td></tr>
<tr> <td id='m4' onMouseOver="light('m4');" onMouseOut="nolight('m4');"> <a
href="completion.php"> Confirm Completion </a> </td></tr>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr> <td id='m5' onMouseOver="light('m5'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block1');"
onMouseOut="nolight('m5');"> Guide </td></tr>
<tr> <td id='m6' onMouseOver="light('m6'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block2');fresh('b2');" onMouseOut="nolight('m6');"> Project </td></tr>
<tr> <td id='m7' onMouseOver="light('m7'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block3');fresh('b3');" onMouseOut="nolight('m7');"> Student </td></tr>
<tr> <td id='m8' onMouseOver="light('m8'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block4');fresh('b4');" onMouseOut="nolight('m8');"> Payment </td></tr>
<tr> <td id='m9' onMouseOver="light('m9'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8');
show('block5');fresh('b5');" onMouseOut="nolight('m9');"> Certificate </td></tr>
<tr> <td id='m10' onMouseOver="light('m10'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block6');"
onMouseOut="nolight('m10');"> Guide Expertise </td></tr>
<tr> <td id='m11' onMouseOver="light('m11'); "
onclick="hideall('block1','block2','block3','block4','block5','block6','block7','block8'); show('block7');"
onMouseOut="nolight('m11');"> Platforms & Fees</td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b> Project Conductance > </b> Attendance Updation.
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block1');">
<b>x</b>
</div>
Guide Information <hr> <br>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
or die("Query Failed: ".mysql_error());
echo "<select name='v'>";
while($row=mysql_fetch_array($res1))
echo "<option value='", $row['guide_id'],"' size='35' > ", $row['guide_name'], "</option>";
echo "</select> ";
?>
<input type="hidden" value="guide" name="t">
<input type="hidden" value="guide_id" name="f">
<pre> <input type="submit" value=" Submit " name="submit" style="background-color:skyblue;">
</pre>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block2');">
<b>x</b>
</div>
Project Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="project" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b2'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block3');">
<b>x</b>
</div>
Student Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="student" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b3'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block4');">
<b>x</b>
</div>
Payment Information <hr> <br>
<pre> Enter Student ID: </pre>
<input type="hidden" value="payment" name="t">
<input type="hidden" value="student_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b4'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block5">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block5');">
<b>x</b>
</div>
Certificate Information <hr> <br>
<pre> Enter Project ID: </pre>
<input type="hidden" value="certificate" name="t">
<input type="hidden" value="project_id" name="f">
<pre> <input type="text" value="" name="v" maxlength="4" id='b5'> <input type="submit"
value=" Submit " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block6">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block6');">
<b>x</b>
</div>
Guide Expertise <hr> <br>
<pre> </pre>
<input type="hidden" value="expertise" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<form action="info.php" method="POST">
<div class="design2" onclick="hide('block7');">
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
<input type="hidden" value="none" name="f">
<pre> <input type="hidden" value="none" name="v" maxlength="4" > <input type="submit"
value=" Click here.. " name="submit" style="background-color:skyblue;"> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<form action="glist.php" method="POST">
<div class="design2" onclick="hide('block8');">
<b>x</b>
</div>
Enter Student ID: <hr> <br>
<pre> <br> Enter Student ID [ Ex: 0021 ] </pre>
<pre> <input type="text" name="d" id="d1" maxlength="4" id='b6' > </pre>
<pre> <input type="submit" name="submit" value="Submit" > </pre>
</form>
</fieldset>
<br>
<?php
include('dbcon.php');
$p=$_POST['u1'];
$d=$_POST['u3'];
$status=$_POST['u4'];
$nexty=$_POST['y'];
$nextm=$_POST['m'];
$nexttime=$_POST['u6'];
if($_POST['d28'])
{$nextd=$_POST['d28'];}
if($_POST['d29'])
{$nextd=$_POST['d29'];}
if($_POST['d30'])
{$nextd=$_POST['d30'];}
if($_POST['d31'])
{$nextd=$_POST['d31'];}
$nextm2=$nextm+1;
if(strlen($nextm2)<2)
{$nextm2="0".$nextm2;}
$nextdate=$nextd."-".$nextm2."-".$nexty;
if( (strlen($nextdate)<10) || (!$nexttime) )
header("Location: updation.php?p1=$p");
return;
$sql1="select guide_id from guide_allocation where project_id='$p'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res1))
$g=$row['guide_id'];
$sql3="select student_id from project where project_id='$p'";
$res3=mysql_query($sql3)
or die("Query Failed: ".mysql_error());
while($row=mysql_fetch_array($res3))
$s=$row['student_id'];
$sql2="Insert into schedule (project_id,guide_id,student_id,date,time)
values('$p','$g','$s','$nextdate','$nexttime'); ";
mysql_query($sql2,$con);
$sql5="Insert into attendance (project_id,student_id,date,project_status)
values('$p','$s','$d','$status'); ";
mysql_query($sql5,$con);
$sql1="select * from attendance where project_id='$p'";
$res1=mysql_query($sql1)
or die("Query Failed: ".mysql_error());
echo"<br>";
echo "<table id='t'>";
echo "<tr id='t'> <th id='t'>PROJECT ID</th><th id='t'>STUDENT ID</th> <th id='t'>DATE</th> <th
id='t'>PROJECT STATUS</th> </tr>";
while($row=mysql_fetch_array($res1))
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td> <td
id='t'>",$row['date'], "</td> <td id='t'>", $row['project_status'], "</td> </tr>";
echo "</table>";
?>
<br> <br>
</div>
<br>
</body>
</html>