| Current Path : /var/www/html/venkat/project0416/ |
| Current File : /var/www/html/venkat/project0416/create1.php |
<?php
include("phome.php");
$quer1=mysql_query("select * from projectsubmit where rollno='$r'") or die("Invalid Access3 !!!");
if(mysql_fetch_array( $quer1 ))
{
?>
<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="verify.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="6"><strong>Project Details (if not verified please verify)</strong></td>
</tr>
<tr>
<td><b>Id</font></td>
<td><b>Roll No.</font></td>
<td><b>Name</font></td>
<td><b><center>Title </center></font></td>
<td><b>Guide</font></td>
<td><b>Co-Guide</font></td>
<td><b>Date of Cre./Veri.</font></td>
<td><b>Verified</font></td>
</tr>
<?php
$quer1=mysql_query("select projectid,verified from projectsubmit where rollno='$r'") or die("Invalid Access2 !!!");
if($row = mysql_fetch_array( $quer1 )) {
$id=$row['projectid'];
$verify=$row['verified'];
}
$quer1=mysql_query("select * from projectsubmit where projectid='$id'") or die("Invalid Access3 !!!");
while($row = mysql_fetch_array( $quer1 ))
{
$id=$row['projectid'];
$rollno=$row['rollno'];
$name=$row['name'];
$title=$row['title'];
$faculty=$row['guide'];
$coguide=$row['coguide'];
$date=$row['date'];
$verified=$row['verified'];
$accepted=$row['accepted'];
$register=$row['register'];
?>
<tr>
<td><?php echo($id); ?></font></td>
<td><?php if ($rollno == $register) { echo "<b>"; } echo($rollno); ?></font></td>
<td><?php echo($name); ?></font></td>
<td><?php echo($title); ?></font></td>
<td><?php echo($faculty); ?></font></td>
<td><?php echo($coguide); ?></font></td>
<td><?php echo($date); ?></font></td>
<td><?php echo($verified); ?></font></td>
</tr>
<?php
}
//echo $register; echo $r; echo $verified;
if($verify=="no" && $register != $r) {
?>
<tr>
<td colspan = "6"> <input type="submit" value="Verify here"> to give your acceptance to be part of the project </td>
</tr>
<?php
}
/*if($accepted=="n"){
?>
<tr>
<td colspan = "6"> <font color ="blue"> Your Project group is not yet accepted by your guide. Request your guide to accept it.</font> </td>
</tr>
<?php
}*/
if($accepted=="1"){
?>
<tr>
<td colspan = "4"> <font color ="red"> Your Project group is rejected by your guide. Please recreate your project. </font> </td>
</tr>
<?php
}
?>
</form>
</table>
</td>
</tr>
</table>
<?php
if($accepted=="n"){
?>
<center> <br><font color ="blue"> Your Project group is not yet accepted by your guide. Request your guide to accept it. </center></font>
<?php
}
}
else
{
if($ndate>=$my_t)
{
?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" enctype="multipart/form-data" method="post" action="pchoose.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>Choose your option</strong></td>
</tr>
<?php
include("size.php");
?>
<tr>
<td width="100"> </td>
<td width="16"></td>
<td align="right" width="25"><input type="submit" value="Submit" /></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<?php
}
}
?>