-
Notifications
You must be signed in to change notification settings - Fork 1
/
matandunit.php
157 lines (132 loc) · 4.92 KB
/
matandunit.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?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');
});
});
////////////////////////////////////
////////////////////////////////////
$(document).ready(function(){
$('#img4').width(83);
$('#img4').mouseover(function()
{
$(this).css("cursor","pointer");
$(this).animate({width: "150px"}, 'slow');
});
$('#img4').mouseout(function()
{
$(this).animate({width: "103px"}, 'slow');
});
});
////////////////////////////////////
////////////////////////////////////
$(document).ready(function(){
$('#img5').width(83);
$('#img5').mouseover(function()
{
$(this).css("cursor","pointer");
$(this).animate({width: "150px"}, 'slow');
});
$('#img5').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="typefood.php"><img id="img1" src="img/typefood.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="unit.php"><img id="img2" src="img/logo997.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="insert_menu.php"><img id="img3" src="img/logomenu1.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="typestore.php"><img id="img4" src="img/logores.png" class="img-responsive" width=80 height=80></a></td>
<td align=center style="width:20%;"><a href="insert_stock.php"><img id="img5" src="img/logo_stock1.png" 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>
<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' ?>