| Current Path : /var/www/html/venkat/project-june2016/ |
| Current File : /var/www/html/venkat/project-june2016/fcoguide.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> -->
<br>
</center>
<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="7"><strong>Following are your students Project as Co-Guide </strong></td>
</tr>
<tr>
<td><b>Semester </b> </td>
<td><b>Roll No. </b> </td>
<td><b>Name </b> </td>
<td><b><center>Title </center> </b> </td>
<td><b>Date of Cre./Veri. </b> </td>
<td><b>Main Guide(MG) </b> </td>
<td><b>MG Acceptance </b> </td>
</tr>
<?php
$pid="s";
$mid = 0;
$slno = 1;
//$quer2=mysql_query("select * from projectsubmit where guide='$name1' and coguide <> 'No' order by projectid") or die("Invalid Access3 !!!");
$quer2=mysql_query("select * from projectsubmit where coguide='$name1' order by projectid") or die("Invalid Access3 !!!");
while($row = mysql_fetch_array( $quer2 )) {
$id=$row['projectid'];
$rollno=$row['rollno'];
$semester=$row['semester'];
$name=$row['name'];
$faculty=$row['guide'];
$date=$row['date'];
$title=$row['title'];
$accepted=$row['accepted'];
$verified=$row['verified'];
$mid++;
$k = 0;
/* if($pid!=$id) {
echo "<tr> <td> <b> ". $slno. ": Group Id: ".$id."</td> <td><input type='submit' name ='a/r' value='Reject:$id'></td> <td><input type='submit' name ='a/r' value='Accept:$id'></td></tr>";
$pid=$id;
$k = 1;
$slno++;
}*/
?>
<tr>
<td> <center> <?php echo($semester); ?> </center> </font></td>
<td><?php echo($rollno); ?></font></td>
<td><?php echo($name); ?></font></td>
<td><?php echo($title); ?></font></td>
<td><?php echo($date); ?></font></td>
<td><?php echo($faculty); ?></font></td>
<td><?php echo($accepted); ?></font></td>
</tr>
<?php
}
/*if($mid >= 1)
{
?>
<tr> <td> <input type="submit" STYLE="color: green" name ="a/r" value="Accept All"> </font> </td> </tr>
<?php
}*/
?>
</form>
</table>
</td>
</tr>
</table>
<center>n - Not Yet Decided | yes - Accepted </center>
</html>