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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" type="text/css" />
<!--------- code menu --------> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" type="text/css" href="css/font-awesome.css"> <link rel="stylesheet" type="text/css" href="css/menu.css"> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/function.js"></script> <!--------- code menu -------->
<!--------- code slide to top --------> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<style> body { background: url(images/bg-top-detail.jpg) no-repeat top center; background-color:f5f5f5; /* background-color:#2f2f2f;*/ } div#page { max-width: 900px; margin-left: auto; margin-right: auto; padding: 2px; } .back-to-top { position: fixed; bottom: 0em; right: 0px; text-decoration: none; color: #000000; /* background-color: rgba(235, 235, 235, 0.80); */ font-size: 12px; padding: 0em; display: none; }
.back-to-top:hover { /* background-color: rgba(135, 135, 135, 0.50); */ } </style> <!--------- code slide to top -------->
<!--<script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="js/lightbox.js"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> --> <script > function LoadDetailRef(RefID){ if(RefID!=""){ $("#showRef").hide(); $("#showRef").load("showref.php?ref="+RefID , function(){ $(this).fadeIn(900); }); } } </script> <!-- Add mousewheel plugin (this is optional) --> <script type="text/javascript" src="lib/jquery.mousewheel-3.0.6.pack.js"></script>
<!-- Add fancyBox main JS and CSS files --> <script type="text/javascript" src="source/jquery.fancybox.js?v=2.1.5"></script> <link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" />
<script type="text/javascript"> $(document).ready(function() { /* * Simple image gallery. Uses default settings */
$('.fancybox').fancybox();
/* * Different effects */
// Change title type, overlay closing speed $(".fancybox-effects-a").fancybox({ helpers: { title : { type : 'outside' }, overlay : { speedOut : 0 } } });
// Disable opening and closing animations, change title type $(".fancybox-effects-b").fancybox({ openEffect : 'none', closeEffect : 'none',
helpers : { title : { type : 'over' } } });
// Set custom style, close if clicked, change title type and overlay color $(".fancybox-effects-c").fancybox({ wrapCSS : 'fancybox-custom', closeClick : true,
openEffect : 'none',
helpers : { title : { type : 'inside' }, overlay : { css : { 'background' : 'rgba(238,238,238,0.85)' } } } });
// Remove padding, set opening and closing animations, close if clicked and disable overlay $(".fancybox-effects-d").fancybox({ padding: 0,
openEffect : 'elastic', openSpeed : 150,
closeEffect : 'elastic', closeSpeed : 150,
closeClick : true,
helpers : { overlay : null } });
/* * Button helper. Disable animations, hide close button, change title type and content */
$('.fancybox-buttons').fancybox({ openEffect : 'none', closeEffect : 'none',
prevEffect : 'none', nextEffect : 'none',
closeBtn : false,
helpers : { title : { type : 'inside' }, buttons : {} },
afterLoad : function() { this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : ''); } });
/* * Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked */
$('.fancybox-thumbs').fancybox({ prevEffect : 'none', nextEffect : 'none',
closeBtn : false, arrows : false, nextClick : true,
helpers : { thumbs : { width : 50, height : 50 } } });
/* * Media helper. Group items, disable animations, hide arrows, enable media and button helpers. */ $('.fancybox-media') .attr('rel', 'media-gallery') .fancybox({ openEffect : 'none', closeEffect : 'none', prevEffect : 'none', nextEffect : 'none',
arrows : false, helpers : { media : {}, buttons : {} } });
/* * Open manually */
$("#fancybox-manual-a").click(function() { $.fancybox.open('1_b.jpg'); });
$("#fancybox-manual-b").click(function() { $.fancybox.open({ href : 'iframe.html', type : 'iframe', padding : 5 }); });
$("#fancybox-manual-c").click(function() { $.fancybox.open([ { href : '1_b.jpg', title : 'My title' }, { href : '2_b.jpg', title : '2nd title' }, { href : '3_b.jpg' } ], { helpers : { thumbs : { width: 75, height: 50 } } }); });
}); </script>
</head>
<body> <center> <table width="1000" border="0" cellspacing="0" cellpadding="0" align="center" class="bg-content"> <tr> <td width="777" align="left" valign="top" style="padding-left:10px;"><?php include("menu.php"); ?> <?php $query="SELECT * FROM tbl_portfolio_data ORDER BY num ASC "; $resultMenu=mysql_query($query); ?> </td> <td width="223" align="right" valign="top"><img src="images/index/index_04.png" width="223" height="68" alt="" /></td> </tr> <tr> <td colspan="2" align="left" valign="top" width="1000" height="532" ><table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td height="20" colspan="2" align="right" valign="bottom" class="txt-header LR20"> </td> </tr> <tr> <td colspan="2" align="center" valign="bottom" class="txt-header LR20"><iframe src="SlideProduct/slide/index.html" width="800" height="260" frameborder="0" scrolling="no"></iframe></td> </tr> <tr> <td width="278" align="right" valign="bottom" class="txt-header LR20">ผลงาน | Reference</td> <td width="722" align="center" valign="top"> </td> </tr> <tr> <td align="left" valign="top" class="L40"> </td> <td align="left" valign="top" class="txt-product-red"> </td> </tr> <tr> <td align="center" valign="top"><table width="250" border="0" cellspacing="0" cellpadding="0" c="c"> <tr> <td height="5" bgcolor="#f92f00"></td> </tr> <tr> <td align="left" class="menu-left"><i class="icon-file-alt"></i><strong> ผลงานการติดตั้งทั้งหมด</strong></td> </tr> <?php while($menu=mysql_fetch_assoc($resultMenu)){ if(!$_GET['ref']){ $_GET['ref']=$menu['id']; } ?> <tr> <td align="left" class="menu-left"> <ul> <a href="javascript:void(0)" onclick="LoadDetailRef('<?php echo $menu['id']?>')"><li><?php echo $menu['product_name_th']?></li></a> </ul> </td> </tr> <?php } ?> <tr> <td height="5" bgcolor="#f92f00"></td> </tr> </table></td> <td valign="top" bgcolor="#CCFF33" class="txt-product-red"> <div id="showRef"></div> <?php if(($_GET['ref']!="")){ echo "<script>LoadDetailRef(".$_GET['ref'].")</script>"; } ?> <!-- <table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="5" bgcolor="#f92f00"></td> </tr> <tr> <td align="left" class="menu-left"><i class="icon-file-alt"></i><strong class="txt-product-red LRTB10">ผลงานการติดตั้ง เบญจพร คอนกรีต โปรดักส์</strong></td> </tr> <tr> <td align="center" valign="top" bgcolor="#333333" class="LRTB20"><a href="images/large/1.jpg" rel="lightbox[roadtrip]"><img src="images/small/1.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /></a><a href="images/large/2.jpg" rel="lightbox[roadtrip]"><img src="images/small/2.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /></a><a href="images/large/3.jpg" rel="lightbox[roadtrip]"><img src="images/small/3.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /></a><br /> <img src="images/small/4.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /><img src="images/small/5.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /><img src="images/small/6.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /><br /> <img src="images/small/5.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /><img src="images/small/6.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /><img src="images/small/9.jpg" alt="BJ Concrete Products" width="200" height="112" class="radius8" /></td> </tr> <tr> <td align="center" valign="top" bgcolor="#333333" class="LRTB20"><p><iframe width="600" height="400" src="https://www.youtube.com/embed/jIMvFmx_eNM" frameborder="0" allowfullscreen class="radius8"></iframe> </p></td> </tr> <tr> <td bgcolor="#333333"> <table width="680" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#E4E4E4"> <td width="128" height="20" align="left" class="LRTB10 txt-port-blue">ข้อมูลโครงการ</td> </tr> <tr> <td align="left" valign="top" bgcolor="#ebebeb" class=" LRTB20 txt-clipvdo">อบต.ท่าบอน อ.ระโนด บริษัทฯ มีความมุ่งมั่นในการผลิตสินค้าที่มีคุณภาพ ส่งมอบตรงเวลา ลูกค้าพึงพอใจ ใส่ใจในมาตรฐาน มุ่งมั่นพัฒนางานและบุคลากรอย่างต่อเนื่อง โดยมีวัตถุประสงค์และเป้าหมายคือ มุ่งมั่นอย่างจริงจังที่จะสร้างความพึงพอใจแก่ลูกค้าของบริษัทฯ ด้วยการออกแบบ ผลิต จัดจำหน่าย และให้บริการด้วยเทคโนโลยีระดับสูง ภายใต้ขบวนการทำงาน และวิธีการที่มีการควบคุมและเป็นระบบ</td> </tr> <tr bgcolor="#E4E4E4"> <td height="20" align="left" class="LRTB10 txt-port-blue">สถานที่ตั้ง</td> </tr> <tr> <td align="left" valign="top" bgcolor="#ebebeb" class=" LRTB20 txt-clipvdo">อบต.ท่าบอน อ.ระโนด</td> </tr> <tr> <td height="32" align="right" bgcolor="#ebebeb" > </td> </tr> <tr bgcolor="#E4E4E4"> <td height="30" align="right" class="LRTB10 txt-clipvdo">Update : 15 เมษายน 2558</td> </tr> </table></td> </tr> <tr> <td bgcolor="#333333"> </td> </tr> <tr> <td bgcolor="#333333"> </td> </tr> <tr> <td bgcolor="#333333"> </td> </tr> </table> --> </td> </tr> </table> </td> </tr> <tr> <td height="100" colspan="2" align="left" valign="top" > </td> </tr> </table> <?php include("footer.php"); ?> <!--------- code slide to top --------> <div><a href="#" class="back-to-top"><img src="images/gotop01a.png" alt="" width="104" height="73" /></a></div>
<script> jQuery(document).ready(function() { var offset = 220; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.back-to-top').fadeIn(duration); } else { jQuery('.back-to-top').fadeOut(duration); } }); jQuery('.back-to-top').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) }); </script> <!--------- code slide to top -------->
</center> </body> </html>
|