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
|
<?php // Status Package Module $status_module=select_query("status_module","cms_status_module","id","29"); if($status_module[0]!=1) { fieldset_no_module(); }
$navig['faqs']="ถาม-ตอบ"; $navig['faqs_full']="รายละเอียด";
navigator($navig); echo "<br>"; bar_header("รายละเอียด"); // Bar_Header fieldset_top("ถาม-ตอบ");
import_request_variables('pG', 'p_'); if($p_ids!="") { $ids=trim($p_ids); } ?>
<table width='100%' border='0' cellspacing='1' align='center' cellpadding='0'> <tr> <td height="100" valign="top" align='center'> <?php $sqlnews = "select * from cms_faqs where id=$ids"; $resultnews = mysql_query($sqlnews); while ($datanews = mysql_fetch_array($resultnews)) { ?> <table width='98%' border='0' cellpadding='0' cellspacing='0'> <tr height='40' valign="top"> <td width='15%'><img src='coremain/images/arr3.jpg'> <b>คำถาม :</td> <td width='90%'><?php echo $datanews['question'] ?></td> </tr> <tr valign="top"> <td width='15%'><img src='coremain/images/arr3.jpg'> <b>คำตอบ :</b></td> <td align='left'><?php echo $datanews['ans'] ?></td> </tr> </table> <?php } ?> </td> </tr> </table>
<?php fieldset_down(); ?>
|