-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathemp_wspace.php
86 lines (72 loc) · 2.99 KB
/
emp_wspace.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php require_once 'server_connect.inc.php';
require_once 'get_logged.inc.php';
if(@($_SESSION['emp_id']==null || $_SESSION['emp_id']==""))
{
die(header('Location:index.php'));
}
?>
<html>
<head>
<meta charset="utf-8">
<title>Workspace</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/templatemo_main.css">
</head>
<body>
<div id="main-wrapper">
<div class="navbar navbar-inverse" role="navigation">
<div class="navbar-header">
<div class="logo"><h1>Employee Workspace</h1></div>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
</div>
<br><br><br><br><br>
<?php
echo '<div align="center"><div class="template-page-wrapper"><div class="table-responsive">'.
'<table class="table table-striped table-hover table-bordered">'.
'<thead>'.
'<tr>'.
'<th><a href="new_customer.php"><div align="center">New Customer</div></a></th>
</tr>
</thead>';
echo '<div class="table-responsive">'.
'<table class="table table-striped table-hover table-bordered">'.
'<thead>'.
'<tr>'.
'<th><a href="transaction.php"><div align="center">Transactions</div></a></th>
</tr>
</thead>';
echo'<table class="table table-striped table-hover table-bordered">'.
'<thead>'.
'<tr>'.
'<th><a href="javascript:;" data-toggle="modal" data-target="#confirmModal"><div align="center"><i class="fa fa-sign-out"></i>Logout</div></a></th>
</tr>
</thead></div>';
echo ' <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">Are you sure you want to sign out?</h4>
</div>
<div class="modal-footer">
<a href="logout.php" class="btn btn-primary">Yes</a>
<button type="button" class="btn btn-default" data-dismiss="modal">No</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/templatemo_script.js"></script>
';
?>