03.
<head>
04.
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
05.
<title>Untitled Document</title>
06.
<style type=
"text/css"
>
07.
body,td,th {
08.
font-family:
"Courier New"
, Courier, monospace;
09.
font-size: 14pt;
10.
}
11.
a:link {
12.
text-decoration: none;
13.
color: #000;
14.
}
15.
a:visited {
16.
text-decoration: none;
17.
color: #000;
18.
}
19.
a:hover {
20.
text-decoration: underline;
21.
}
22.
a:active {
23.
text-decoration: none;
24.
}
25.
</style>
26.
<script src=
"SpryAssets/SpryTabbedPanels.js"
type=
"text/javascript"
></script>
27.
<link href=
"SpryAssets/SpryTabbedPanels.css"
rel=
"stylesheet"
type=
"text/css"
/>
28.
</head>
29.
30.
<body>
31.
<form id=
"form1"
name=
"form1"
method=
"post"
action=
""
>
32.
<img src=
"../pic/headformadd.jpg"
width=
"865"
height=
"152"
/>
33.
</form>
34.
35.
<div id=
"TabbedPanels1"
class
=
"TabbedPanels"
>
36.
<ul
class
=
"TabbedPanelsTabGroup"
>
37.
<li
class
=
"TabbedPanelsTab"
tabindex=
"0"
>เพิ่มข้อมูล</li>
38.
<li
class
=
"TabbedPanelsTab"
tabindex=
"0"
>แก้ไขข้อมูล</li>
39.
<li
class
=
"TabbedPanelsTab"
tabindex=
"0"
>ลบข้อมูล</li>
40.
<li
class
=
"TabbedPanelsTab"
tabindex=
"0"
>ค้นหาข้อมูล</li>
41.
</ul>
42.
<div
class
=
"TabbedPanelsContentGroup"
>
43.
<div
class
=
"TabbedPanelsContent"
><a href=
"formaddem.php"
target=
"_new"
>เพิ่มข้อมูลพนักงาน</a>|<a href=
"formnum.php"
>เพิ่มเบอร์โทรศัพท์</a></div>
44.
45.
<div
class
=
"TabbedPanelsContent"
><a href=
"edit2.php"
>แก้ไขเบอร์โทรศัพท์</a></div>
46.
<div
class
=
"TabbedPanelsContent"
><a href=
"formdel.php"
>ลบเบอร์โทรศัพท์</a></div>
47.
<div
class
=
"TabbedPanelsContent"
><a href=
"searchf.php"
>ค้นหาเบอร์โทรศัพท์</a></div>
48.
</div>
49.
</div>
50.
---------
51.
<?
52.
if
(
$_REQUEST
[
'To'
]==
"search"
) {
53.
echo
"<td colspan=\"2\" align=\"center\" valign=\"top\">"
;
include
"search.php"
;
"</td>"
;
54.
}
55.
?>
56.
---------
57.
<script type=
"text/javascript"
>
58.
var
TabbedPanels1 =
new
Spry.Widget.TabbedPanels(
"TabbedPanels1"
);
59.
</script>
60.
</body>
61.
</html>