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
|
<table width='1000' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='<?= $_SESSION['bg_menu'] ?>'> <tr> <td height="60" align="center"><a href="http://www.dla.go.th/" target="_blank"><img src="../coremain/images/footer/001.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.surinlocal.go.th/" target="_blank"><img src="../coremain/images/footer/002.gif" width="195" height="56" border="0"></a><a href="http://www.surinlocal.go.th/" target="_blank"></a></td> <td height="60" align="center"><a href="http://www.thaigov.go.th/" target="_blank"><img src="../coremain/images/footer/005.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://newskm.moi.go.th/" target="_blank"><img src="../coremain/images/footer/40.gif" width="195" height="56" border="0"></a></td> </tr> <tr> <td height="60" align="center"><a href="http://www.nhso.go.th/" target="_blank"><img src="../coremain/images/footer/021.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.publicconsultation.opm.go.th/" target="_blank"><img src="../coremain/images/footer/015.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.cgd.go.th/" target="_blank"><img src="../coremain/images/footer/007.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.thaihealth.or.th/" target="_blank"><img src="../coremain/images/footer/013.gif" width="195" height="56" border="0"></a></td> </tr> <tr> <td height="60" align="center"><a href="http://www.damrongdhama.moi.go.th/" target="_blank"><img src="../coremain/images/footer/34.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.ddc.moph.go.th/" target="_blank"><img src="../coremain/images/footer/30.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.doe.go.th/" target="_blank"><img src="../coremain/images/footer/026.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.ppb.moi.go.th/" target="_blank"><img src="../coremain/images/footer/33.gif" width="195" height="56" border="0 /></a><a href=" http:="http:" www.cgd.go.th="" "="" target="_blank"></a></td>
</tr> <tr> <td height="60" align="center"><a href="http://www.sso.go.th/" target="_blank"><img src="../coremain/images/footer/025.gif" width="195" height="56" border="0"></a></td>
<td height="60" align="center"><a href="http://www.odloc.go.th/" target="_blank"><img src="../coremain/images/footer/29.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.ocpb.go.th/" target="_blank"><img src="../coremain/images/footer/32.gif" width="195" height="56" border="0"></a></td> <td height="60" align="center"><a href="http://www.dla.go.th/servlet/AseanShowServlet" target="_blank"><img src="../coremain/images/footer/36.gif" width="195" height="56" border="0"></a></td> </tr> </table> <?php $sqll="SELECT id_footer,name_file,name_title,url FROM cms_footer WHERE status='1' order by id_footer"; $ree=mysql_query($sqll); if($ree){ ?>
<!-- // ######################โฆษณา ############# --> <table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'> <tr> <td> <table width='<?= $step2 ?>' align=center border='0' cellpadding='0' cellspacing='0' bgcolor='<?= $_SESSION['bg_menu'] ?>'> <tr> <td> <?php include('coremain/module/footer/manage.php'); ?> </td> </tr> <tr> <td align=center> <?php include('coremain/module/footer/footer.php'); ?> </td> </tr> </table> </td> </tr> </table> <?php } ?>
<?php // Background 3 if ($_SESSION['herder_top_03'] == "") $_SESSION['herder_top_03'] = 60;
//============= Footer ==================// //ปรับความกว้างตามขนาดจอภาพ ?> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td> <table width='<?= $step2 ?>' align='center' border='0' cellpadding='0' cellspacing='0' height='<?= $_SESSION['herder_top_03'] ?>'> <tr valign=bottom> <td background='<?= $_SESSION['web_name'].'/theme/'.$_SESSION['themes_'].'/'.$_SESSION['footer_bg'] ?>'><font color='<?= $_SESSION['bg_body1'] ?>'> <?php // Admin add clms_main_data if ($_SESSION['admin_web'] == "admin") { ?><center><a href='index.php?mod=manage_main_data'><img src='coremain/images/edit.gif' title='แก้ไขข้อมูล' border='0'> <b>แก้ไขข้อมูล</b></a></center> <?php } ?> <br/> <?php if($main_data['status'] == 1 || $main_data['status'] == ""){ ?> <?= $main_data['name_web'] != "" ? '<center><b>'.$main_data['name_web'].'</b></center>' : '' ?> <?= $main_data['address'] != "" ? '<center>'.$main_data['address'].'</center>' : '' ?> <center><?= $main_data['tel'] != "" ? '<b>Tel</b> : '.$main_data['tel'] : '' ?> <?= $main_data['fax'] != "" ? ' <b>Fax</b> : '.$main_data['fax'] : '' ?></center> <?= $main_data['email'] != "" ? '<center><b>Email</b> : '.$main_data['email'].'</center>' : '' ?> <center>Copyright © 2020 by <a href='http://www.opstech.co.th' target='_blank'><b>OPSTECH</b></a> All Right Reserved.</font> </center> <?php } ?> <br/> </td> </tr> </table> </td> </tr> </table>
<script> var linkurl = window.location.href; if(linkurl.indexOf('?f=') > -1){ var arr = linkurl.split('?f='); var blog = $('#'+arr[1]); if(blog.length){ $('html, body').animate({ scrollTop: blog.offset().top - 50 }, 10); } } </script>
<?php if ($handle) { mysql_close($handle); } ?>
|