.Quick (Position:relative Top:20px Left:200px Height:140px Width:300px Background-Color:skyblue Border:1px Solid Black )
.Quick (Position:relative Top:20px Left:200px Height:140px Width:300px Background-Color:skyblue Border:1px Solid Black )
.quick {
height:140px; width:300px;
background-color:skyblue;
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;
.left {
position:absolute;top:180px;left:200px;
background:url(left.jpg) no-repeat;height:700px;width:170px;
.right {
.clock {
#hov1 {
}
.design1{
.design2{
.blur1 {position:relative;left:130px;
height:55px; width:290px;
.blur2 {position:relative;left:180px;
height:30px; width:90px;
Alljs
function date()
var m=now.getMonth();
var m1=m+1;
var dat=now.getDate()
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;
j=1;
if(k==0)
{k=i;}
if(j==1)
document.regis.elements[k].focus();
}
function setyearvalue()
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))
var shw=document.getElementById('d31').style.display="block";
return;
var shw=document.getElementById('d30').style.display="block";
return;
if(p==01)
var shw=document.getElementById('d29').style.display="block";
return;
}
else
var shw=document.getElementById('d31').style.display="block";
return;
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 m1=m+1;
var dat=now.getDate()
var d=dat+"-"+m1+"-"+now.getFullYear();
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)
mysql_select_db("spms",$con);
?>
Login
<html>
<head>
</script>
</script>
<body onLoad="clock();">
<br>
<hr width="160px">
<br>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<?php
include('dbcon.php');
$er="";
if(isset($_REQUEST['er']))
$er=$_REQUEST['er'];
?>
<hr>
<br>
</form>
</fieldset>
</fieldset>
<fieldset style="position:absolute; top:170px; left:360px; width:310px; display:none;" id="sup">
<br>
<br>
<pre> Security
</select></pre>
<br>
<br>
<hr>
<pre> Re-enter
New Password: <input type="password" name="p2" size="25" maxlength="15" ></pre>
<hr>
<br>
</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')
$result=mysql_query($query)
$numrows=mysql_num_rows($result);
if($numrows==0)
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>
</head>
</script>
</script>
<body onLoad="clock();">
<br>
<br>
<hr width="160px">
<br>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<?php
include('dbcon.php');
$u=$_POST['u'];
$q=$_POST['q'];
$a=$_POST['a'];
$p=md5($_POST['p']);
$p2=md5($_POST['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)
$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 "<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>
</head>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<br> <br>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<hr color="skyblue">
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<br>
<br>
<fieldset>
<br>
<pre> Date: <input type="text" id="dd0" name="d0" size="25" maxlength="35" value="" >
</pre>
<br>
</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);
$result=mysql_query($query)
$t='guide';
$f='guide_id';
header("Location:info2.php?t=$t&f=$f&v=$v");
?>
Certificatedate
<html>
<head>
</head>
</script>
</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();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
<br>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</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>
</form>
</fieldset>
</form>
</fieldset>
<pre> Date of Receipt: <input type="text" name="date" value="" maxlength="10" id="dd0"> </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Certificateupdate
<?php
include('dbcon.php');
$f=$_POST['f'];
$p=$_POST['pid'];
$d=$_POST['date'];
while($row=mysql_fetch_array($res1))
$sid=$row['student_id'];
$gid=$row['guide_id'];
$res2=mysql_query($query2)
while($row=mysql_fetch_array($res2))
$plat=$row['platform_id'];
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>
</head>
<script src="clock.js" type="text/javascript">
</script>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
<br>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<fieldset class="design1" id="block1">
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<b>x</b>
</div>
</form>
</fieldset>
<br>
<?php
include('dbcon.php');
$pid=$_POST['pid'];
?>
<hr><br>
<fieldset>
<br>
<pre> Project ID: <input type="text" name="pid" value="<?php echo $pid; ?>" > </pre>
</form>
</fieldset>
<?php
$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')
$res1=mysql_query($sql1)
while($row=mysql_fetch_array($res1))
{
echo "<tr id='t'> <td id='t'>", $row['project_id'], "</td> <td id='t'>", $row['student_id'], "</td>
echo "</table>";
$res2=mysql_query($sql2)
while($row=mysql_fetch_array($res2))
{
echo "<tr id='t'> <td id='t'>", $row['payment_id'], "</td> <td id='t'>", $row['dop'], "</td>
?>
</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"];
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)
while($row=mysql_fetch_array($result))
$tempid=$row['student_id'];
header("Location:temp.php?tempid=$tempid");
?>
Glist
<html>
<head>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
<br>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></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>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<?php
include('dbcon.php');
$id=$_POST['d'];
$res=mysql_query($query1)
$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);
$res2=mysql_query($query2)
while($row=mysql_fetch_array($res2))
$n4=$row['project_id'];
$resultchk=mysql_query($querychk)
$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>";
$query1="select guide_id,guide_name,capacity from expertise inner join guide using (guide_id) where
platform_id='$n3'";
$res=mysql_query($query1)
echo "
<fieldset>
<table id='t'>
";
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'];
$res2=mysql_query($query2)
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)
$r=0;
echo "</table>
<br><br>
</form>
</fieldset>
";
?>
</div>
<br>
</body>
</html>
Gselect
<html>
<head>
<br>
</script>
<script src="home.js" type="text/javascript">
</script>
</script>
</head>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
<br>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></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>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
</form>
</fieldset>
<b>x</b>
</div>
</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>";
$res=mysql_query($query1)
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)
while($row=mysql_fetch_array($res2))
$n4=$row['project_id'];
$res3=mysql_query($query3)
while($row=mysql_fetch_array($res3))
$n5=$row['guide_name'];
$n6=ucwords($n5);
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>";
values('$gid','$sid','$n4'); ";
mysql_query($sql1,$con);
?>
</div>
<br>
</body>
</html>
Info
<html>
<head>
</head>
<body>
<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')
$res=mysql_query($sql)
$t2=ucfirst($t);
echo "<tr id='t'> <th id='t'>GUIDE ID</th> <th id='t'>GUIDE NAME</th> <th id='t'>CAPACITY</th>
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['guide_id'], "</td> <td id='t'>", $row['guide_name'], "</td>
return;
if ($t=='project')
{
$sql="select * from $t where $f='$v'";
$res=mysql_query($sql)
$t2=ucfirst($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>
return;
}
if ($t=='student')
$res=mysql_query($sql)
$t2=ucfirst($t);
echo "<tr id='t'> <th id='t'>STUDENT ID</th> <th id='t'>STUDENT NAME</th> <th id='t'>DATE OF
REGISTRATION</th>
while($row=mysql_fetch_array($res))
{
echo "<tr id='t'> <td id='t'>", $row['student_id'], "</td> <td id='t'>", $row['name'], "</td>
return;
if ($t=='payment')
$res=mysql_query($sql)
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>
return;
if ($t=='certificate')
{
$res=mysql_query($sql)
$t2=ucfirst($t);
echo "<tr id='t'> <th id='t'>CERTIFICATE No.</th> <th id='t'>PROJECT ID</th><th id='t'>STUDENT
ID</th>
while($row=mysql_fetch_array($res))
echo "<tr id='t'> <td id='t'>", $row['certificate_no'], "</td> <td id='t'>", $row['project_id'], "</td>
}
echo "</table> <br> <br> ";
return;
if ($t=='expertise')
$res=mysql_query($sql)
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>
return;
if ($t=='platform_fees')
{
$sql="select * from platform_fees inner join platform using(platform_id)";
$res=mysql_query($sql)
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>";
return;
}
?>
<hr color="skyblue">
</div>
<br>
</body>
</html>
info2
<html>
<head>
</head>
<body>
<?php
include('dbcon.php');
$t=$_REQUEST['t'];
$f=$_REQUEST['f'];
$v=$_REQUEST['v'];
if($t=='none')
{
echo "<br> <br> <hr> <a href='home.php' style='color:blue;'><< Back to Home Page </a>";
return;
if ($t=="guide")
$res=mysql_query($sql)
$t2=ucfirst($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>
while($row=mysql_fetch_array($res))
{
echo "<tr id='t'> <td id='t'>", $row['guide_id'], "</td> <td id='t'>", $row['guide_name'], "</td>
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';
header("Location:home.php?er=$er");
return;
}
$pl=strlen($p);
$pl2=strlen($p2);
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);
values('$u','$p','$q','$a','guide'); ";
mysql_query($sql2,$con);
$result=mysql_query($query)
while($row=mysql_fetch_array($result))
$gid=$row['guide_id'];
}
$c=$_POST['c'];
while( list($key,$val)=each($c))
values('$gid','$val'); ";
mysql_query($sql2,$con);
header("Location:home.php?er=$er");
return;
?>
Showcertificate
<html>
<head>
</head>
</script>
</script>
<body onLoad="clock();">
<br>
<hr color="skyblue">
<br>
<form>
</form>
<hr>
<br>
<br>
<?php
include('dbcon.php');
$p=$_REQUEST['pid'];
$res1=mysql_query($sql1)
echo"<br>";
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>
echo "</table>";
?>
</div>
<br>
</body>
</html>
Signout
<?php
include('dbcon.php');
session_start();
session_destroy();
header("Location: ../login.php?");
?>
Temp
<html>
<head>
<br>
</script>
</script>
</script>
</head>
<body>
<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>
</form>
<hr>
<?php
$res=mysql_query($query1)
while($row=mysql_fetch_array($res))
$n=$row['name'];
$name=ucwords($n);
$result=mysql_query($query)
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>";
$result=mysql_query($query)
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>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
<input type="hidden" value="guide" name="t">
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Confirmation
<html>
<head>
<br>
</script>
</script>
</script>
</head>
<body>
<b> Process: New Registration Confirmation > </b> Student Id, Payment Confirmation & Platform
Selection </b>
<hr color="skyblue">
<form>
</form>
<hr>
<?php
include('dbcon.php');
$tempid=$_REQUEST['tempid'];
while($row=mysql_fetch_array($res))
$n=$row['name'];
$name=ucwords($n);
$result=mysql_query($query)
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>";
$result=mysql_query($query)
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>";
?>
</div>
<br>
</body>
</html>
Pay
<?php
include('dbcon.php');
$a1=$_POST["p1"];
$a2=$_POST["p2"];
$r=$_POST["r"];
$res=mysql_query($query)
while($row=mysql_fetch_array($res))
$amt=$row['amount'];
}
if( $a1=="" || $a2=="" || $r=="" )
header("Location: platformselect.php?tempid=$a2&name=$a0");
return;
$res2=mysql_query($query2)
mysql_select_db("demo",$con);
mysql_query($sql,$con);
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>
<br>
<script src="clock.js" type="text/javascript">
</script>
</script>
</script>
</head>
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
{
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<hr>
<fieldset>
<br>
<br>
<?php
$result=mysql_query($query)
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))
?>
<br>
</fieldset>
</form>
</div>
<br>
</body>
</html>
Attendance
<html>
<head>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<fieldset class="design1" id="block2">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block7">
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<fieldset> <br>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Completion
<html>
<head>
</head>
</script>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<br>
<hr><br>
<fieldset>
<br>
</form>
</fieldset>
</div>
<br>
</body>
</html>
completion2
<html>
<head>
</head>
</script>
<script src="home.js" type="text/javascript">
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<div class="clock" id="block"> </div>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td><b> Information: </b></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
<input type="hidden" value="guide" name="t">
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block3">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<fieldset class="design1" id="block8">
<b>x</b>
</div>
</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;
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
$sid=$row['student_id'];
values('$pid','$sid','$date','$ps'); ";
mysql_query($sql1,$con);
$sql3="update project set completion_date='$date' where project_id='$pid' ;";
mysql_query($sql3,$con);
$res2=mysql_query($sql2)
echo"<br>";
echo"<br> <br>";
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>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
</div>
<br>
</body>
</html>
Schedule
<html>
<head>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</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');
?>
<pre>
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
}
echo "</select> ";
?>
</pre>
</form>
</fieldset>
<pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
schedule2
<html>
<head>
<title> Student Project Management Status - HOME </title>
</head>
</script>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></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">
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<hr>
<br>
<?php
include('dbcon.php');
$f=$_POST['f'];
$v=$_POST['v'];
$p=$_POST['p'];
echo"<br><br>";
$res1=mysql_query($sql1)
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>
</head>
</script>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$query1="select guide_name,guide_id from guide order by guide_name";
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
Certificate Information <hr> <br>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset>
<br>
<pre> Enter Starting Date: <input type="text" name="d" value="" maxlength="10" id="dd0" > </pre>
</form>
</fieldset>
</div>
<br>
</body>
</html>
start2
<html>
<head>
</head>
</script>
<body onLoad="clock();">
<?php
include('dbcon.php');
session_start();
?>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<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>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
while($row=mysql_fetch_array($res1))
?>
<input type="hidden" value="guide" name="t">
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<?php
include('dbcon.php');
$p=$_POST['p'];
$t=$_POST['t'];
$d=$_POST['d'];
while($row=mysql_fetch_array($res1))
$verify=$row['starting_date'];
if($verify!=NULL)
return;
else
mysql_query($sql2,$con);
$res3=mysql_query($sql3)
or die("Query Failed: ".mysql_error());
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>";
$res5=mysql_query($sql5)
while($row=mysql_fetch_array($res5))
$g=$row['guide_id'];
$s=$row['student_id'];
values('$p','$g','$s','$d','DAY_1'); ";
mysql_query($sql4,$con);
values('$p','$s','$d','DAY_1_ATTENDED'); ";
mysql_query($sql5,$con);
?>
</div>
<br>
</body>
</html>
Updation
<html>
<head>
</script>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<br>
<br>
<hr width="160px">
<br>
<table>
</table>
<hr width="160px">
<table>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></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>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<fieldset class="design1" id="block4">
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
Platforms & Fees <hr> <br>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<script>
var x= new Date();
var y=x.getFullYear();
</script>
<?php
include('dbcon.php');
$p=$_REQUEST['p1'];
?>
<hr>
<br>
<fieldset> <br>
<pre> Project Status: <input type="text" maxlength="30" size="25" name="u4"> </pre> <br>
<tr>
</select>
</td>
</select>
</td>
<td style="width:70px;">
</select>
</select>
</select>
</select>
</div>
</td>
</tr>
</table>
</select>
</pre>
</form>
</fieldset>
<br><hr>
<?php
$res1=mysql_query($sql1)
echo"<br>";
echo " <b> <u> Previous - Attendance & Project Status: </u> </b> ";
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>";
?>
</div>
<br>
</body>
</html>
updation2
<html>
<head>
</head>
</script>
</script>
</script>
<?php
include('dbcon.php');
session_start();
?>
<div class="top"> </div>
<br>
<br>
<hr width="160px">
<br>
<table>
</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>
</table>
<hr width="160px">
<table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
<hr width="160px">
<br><br><br><br>
</div>
<div class="right">
<br>
<hr color="skyblue">
<hr>
<b>x</b>
</div>
Guide Name
<?php
include('dbcon.php');
$res1=mysql_query($query1)
?>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</form>
</fieldset>
<b>x</b>
</div>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
</form>
</fieldset>
<b>x</b>
</div>
<pre> </pre>
<input type="hidden" value="platform_fees" name="t">
</form>
</fieldset>
<b>x</b>
</div>
</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;
header("Location: updation.php?p1=$p");
return;
$res1=mysql_query($sql1)
while($row=mysql_fetch_array($res1))
$g=$row['guide_id'];
$res3=mysql_query($sql3)
$s=$row['student_id'];
values('$p','$g','$s','$nextdate','$nexttime'); ";
mysql_query($sql2,$con);
values('$p','$s','$d','$status'); ";
mysql_query($sql5,$con);
$res1=mysql_query($sql1)
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>