| Current Path : /var/www/html/venkat/project1/ |
| Current File : //var/www/html/venkat/project1/phome.php |
<?php
include("session.php");
include("db1.php");
$quer1=mysql_query("select * from projectrestriction") or die("Invalid Accessss !!!");
if($row = mysql_fetch_array( $quer1 )) {
$ndate=$row['date1'];
}
$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</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="edit.php">Edit</a><br>
</tr>
<tr>
<td width="100"> Delete the Project</td>
<td width="16">:</td>
<td width="100">
<a href="sdelete.php"><font color ="red"> Delete </font></a><br>
</tr>
</form>
</table>
</td>
</tr>
</table>
</html>