-
Notifications
You must be signed in to change notification settings - Fork 1
/
report_all.php
125 lines (100 loc) · 3.72 KB
/
report_all.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
include ('conn.php');
session_start();
if($_SESSION["Username"]=="") // ตรวจสอบว่าผ่านการ login หรือไม่
{
header('location:login.php');
exit();
}
include 'header.php';
?>
<script type="text/javascript">
$(document).ready(function(){
$('#img1').width(83);
$('#img1').mouseover(function()
{
$(this).css("cursor","pointer");
$(this).animate({width: "150px"}, 'slow');
});
$('#img1').mouseout(function()
{
$(this).animate({width: "103px"}, 'slow');
});
});
////////////////////////////////////
$(document).ready(function(){
$('#img2').width(83);
$('#img2').mouseover(function()
{
$(this).css("cursor","pointer");
$(this).animate({width: "150px"}, 'slow');
});
$('#img2').mouseout(function()
{
$(this).animate({width: "103px"}, 'slow');
});
});
////////////////////////////////////
////////////////////////////////////
$(document).ready(function(){
$('#img3').width(83);
$('#img3').mouseover(function()
{
$(this).css("cursor","pointer");
$(this).animate({width: "150px"}, 'slow');
});
$('#img3').mouseout(function()
{
$(this).animate({width: "103px"}, 'slow');
});
});
////////////////////////////////////
</script>
<div class="container" style="height:85vh;">
<div class="jumbotron">
<!--<h1><font face ="JasmineUPC">โรงพยาบาลเจ้าพระยาอภัยภูเบศร</font></h1>-->
<br>
<p><h3>รายงานสรุป</h3></p>
<div class="modal-body">
<table align=center>
<tr>
<td align=center style="width:20%;"><a href="reportmat.php"><img id="img1" src="img/report_mat.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="reportres.php"><img id="img2" src="img/report_buy.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="reportsell.php"><img id="img3" src="img/report_sell.png" class="img-responsive" width=80 height=80></a></td>
</tr>
<tr>
<td align=center><strong><h4>รายงานสรุปการใช้วัตถุดิบตามช่วงเวลา</h4></strong></td>
<td align=center><strong><h4>รายงานสรุปการสั่งซื้อวัตถุดิบจากร้านค้าตามช่วงเวลา</h4></strong></td>
<td align=center><strong><h4>รายสรุปยอดขายอาหารทางสายยาง</h4></strong></td>
</tr>
</table>
</div>
</div>
</div>
<script>
$(document).ready(function(){
// Initialize Tooltip
$('[data-toggle="tooltip"]').tooltip();
// Add smooth scrolling to all links in navbar + footer link
$(".navbar a, footer a[href='#myPage']").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
})
</script>
</body>
</html>
<?php include 'footer.php' ?>