-
Notifications
You must be signed in to change notification settings - Fork 0
/
generatereport.php
executable file
·59 lines (53 loc) · 1.21 KB
/
generatereport.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
session_name("Project");
session_start();
require_once('dbconn.php');
if(!checkUserSession($_SESSION["user"]))
{
header("Location:login.php");
}
if(checkProjectPermission("GENREP") == false)
{
header("Location:error.php");
}
?>
<html>
<head>
<script>
</script>
</head>
<body>
<? include 'header.php'; ?>
<h3>Generate Project Status Report</h3>
<form name="timesheetListForm" >
<table>
<td>Status : </td>
<td>
<select id='tsstatus' name='tsstatus' value='' multiple='multiple' >
<option value='All' selected='selected'>All</option>
<option value='NOT SUBMITTED' >NOT SUBMITTED</option>
<option value='SUBMITTED' >SUBMITTED</option>
<option value='REJECTED' >REJECTED</option>
</select>
</td>
<td>Supervisor : </td>
<td>
<?
$_GET['q']='all';
include 'getemp.php'; ?>
</td>
<td>Employee : </td>
<td>
<?
include 'getemp1.php'; ?>
</td>
</tr>
</table>
<td><input type="button" value="Fetch" onClick="showDetails();"></td>
<td><input type="button" value="Summary" onClick="showSummary();"></td>
<tr>
<td><div id="txtDetails"><b></b></div></td>
</tr>
</form>
</body>
</html>