| Current Path : /var/www/html/venkat/project1may2017/ |
| Current File : /var/www/html/venkat/project1may2017/fopted.php |
<?php
include("fhome.php");
$name1 = "hello";
$quer1=mysql_query("select name from faculty where id='$r'") or die("Invalid Access3 !!!");
if($row=mysql_fetch_array( $quer1 )) {
$name1=$row['name'];
}
?>
<center> <font color="red">
<!--No. of Vacancies under you : <?php echo($available);?></font> -->
</center>
<br> <table width="800" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" enctype="multipart/form-data" method="post" action="accept.php">
<td>
<table width="100%" border="1" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="5"><strong>Following projects are registered under you.</strong></td>
</tr>
<tr>
<!--<td><b>Project Id</font></td>-->
<td><b>Semester </b> </td>
<td><b>Roll No. </b> </td>
<td><b>Name </b> </td>
<td><b>Date of Cre./Veri. </b> </td>
<td><b>Verified by Students </b> </td>
</tr>
<?php
$pid="s";
$quer1=mysql_query("select * from projectsubmit where guide='$name1'order by projectid") or die("Invalid Access3 !!!");
$slno = 1;
while($row = mysql_fetch_array( $quer1 )) {
$id=$row['projectid'];
$rollno=$row['rollno'];
$name=$row['name'];
$faculty=$row['guide'];
$semester = $row['semester'];
$date=$row['date'];
$title=$row['title'];
$verified=$row['verified'];
if($pid!=$id) {
echo "<tr> <td> <b> ". $slno. ": Group Id: ".$id."</td> <td colspan ='4'> <b> Title: ".$title."</td> </tr>";
$pid=$id;
$slno++;
}
?>
<tr>
<!--<td><?php echo($id); ?></font></td>-->
<td><center> <?php echo($semester); ?> </center> </font></td>
<td><?php echo($rollno); ?></font></td>
<td><?php echo($name); ?></font></td>
<td><?php echo($date); ?></font></td>
<td><?php echo($verified); ?></font></td>
</tr>
<?php
}
?>
</form>
</table>
</td>
</tr>
</table>
<br>
</center>