| Server IP : 172.64.80.1 / Your IP : 172.70.131.125 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/admin_main/ |
Upload File : |
<?php
require_once('headMain_sidebar.php');
?>
<table width="50%" align="center" cellpadding="3" cellspacing="5">
<tr><div style="font-size: 20px; color: #FF0035; text-align: center"><hr>Current Date Range :
<?php
$sql="select * from report_setting where username='$userLogin'";
$sql_exe=$db->query($sql);
$sql_count=$sql_exe->rowCount();
if ($sql_count==1) {
$sql_fetch=$sql_exe->fetch(PDO::FETCH_BOTH);
$to=$sql_fetch['to_v'];
$from=$sql_fetch['from_v'];
echo "From: <b>". $from."</b> To: <b>".$to."</b>";
}else{
echo "Not Set Yet";
}
?>
<hr>
</div></tr>
<tr>
<td><fieldset>
<legend>
<h2>Enter Report Date Range</h2>
</legend>
<form id="form1" name="form1" method="post" action="report_range_process.php">
<label for="serial"></label>
<table width="80%" align="center" cellpadding="3" cellspacing="5">
<tr>
<?php
if (isset($_GET['id'])){
if ($_GET['id']==1){
echo '<td colspan="2" class="alert alert-success" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>Report Setting Configured Successfully';
}elseif($_GET['id']==2){
echo ' <td colspan="2" class="alert alert-danger" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>Report Setting Failed';
}
}
?>
</tr>
<!-- <td align="center"><input name="Montha" type="text" class="form-control" required="required" id="txtRound" size="40" placeholder="Enter Month" /></td>-->
<tr>
<td align="center">
<div>From <input type="date" name="fromTXT" class="form-control"></div>
</td>
</tr>
<td align="center">
<div>To <input type="date" name="toTXT" class="form-control"></div>
</td>
</tr>
<!-- <input name="yeara" type="text" class="form-control" required="required" id="txtRound" size="40" placeholder="Enter Year" />-->
</td>
</tr>
<tr>
<td align="center"> <br><input type="submit" name="button" id="button" value="Configure" class="btn btn-primary form-control" /></td>
</tr>
</table>
</form>
<p> </p>
</fieldset></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
<td align="right" valign="top"><!-- InstanceBeginEditable name="EditRegion4" --><!-- InstanceEndEditable --></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<?php
require_once ("footMain.php");
?>