Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/project0416/
Upload File :
Current File : /var/www/html/venkat/project0416/phome.php

<?php

include("session.php");
include("db1.php");

$quer1=mysql_query("select * from projectrestriction where degree = '$degree'") or die("Invalid Accessss !!!");

if($row = mysql_fetch_array( $quer1 )) {
	$ndate=$row['date1'];
}

$quer1=mysql_query("select dept from projectstudent where rollno='$r'") or die("Invalid Access3 !!!");
	if($row=mysql_fetch_array( $quer1 )) {
        	$depta = $row['dept'];
	}

$my_t=date("Y-m-d");
?>
<html>
<body bgcolor="#F0F8FF">
<center> <font color="green"> Last Date for Project Creation/Verification is <?php echo($ndate);?> </font> </center>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" enctype="multipart/form-data" method="post" action="store.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



?>
<tr>
<td width="100"> Create the Project 
<?php 
if($depta == "ec") { 
	echo "<a href='ec-guide.pdf' target='_blank'> Instructions </a>"; 
}   ?>
</td>
<td width="16">:</td>
<td width="100">

<?php
date_default_timezone_set('Asia/Calcutta');

if (date("Y-m-d H:i:s") > date("2013-07-31 18:25:00"))
{
   echo"<a href='create.php'>Create</a><br>";
}
else
{

echo "Server Time Stamp :". date('Y-m-d H:i:s') ;
}
?>
</tr>

<tr>
<td width="100"> Edit the Project</td>
<td width="16">:</td>
<td width="100">
<a href="sfirstedit.php">Edit</a><br>
</tr>


<tr>
<td width="100"> Delete the Project</td>
<td width="16">:</td>
<td width="100">
<a href="sfirstdelete.php"><font color ="red"> Delete </font></a><br>
</tr>












</form>

</table>
</td>

</tr>
</table>

</html>