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
|
<?php /* // Status Package Module $status_module=select_query("status_module","cms_status_module","id","29"); if($status_module[0]!=1) { fieldset_no_module(); }
if(id_sub_permission(5)!=1){ permission_fail(); } */ $navig['faqs']="ถาม-ตอบ"; $navig['faqs_add']="เพิ่มข้อมูล";
navigator($navig); echo"<br>"; bar_header("เพิ่มข้อมูล"); // Bar_Header fieldset_top("ถาม-ตอบ"); ?> <form action="index.php?mod=faqs_output&path=faqs" method="post" name="add" id="add" onSubmit="return checkadd()"> <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1"> <?php text_editor('450', '260', 'คำถาม', 2, '', 'question');
// Status Package Module $status_module=select_query("status_module","cms_status_module","id","29"); if($status_module[0]!=1) { text_editor('450', '260', 'คำตอบ', 2, '', 'ans'); }
button_text('เพิ่มข้อมูล'); ?> <!-- <tr> <td width=15% ><img src='coremain/images/marker.gif'> <strong>คำถาม</strong></td> <td width=85% ><? $oFCKeditor = new FCKeditor('question') ; $oFCKeditor->BasePath = 'coremain/editor/'; $oFCKeditor->Value = $values; $oFCKeditor->Width = 450; $oFCKeditor->Height = 260; $oFCKeditor->Create() ;
?></td> </tr> <tr> <td><img src='coremain/images/marker.gif'> <strong>คำตอบ</strong></td> <td><? $oFCKeditor = new FCKeditor('ans') ; $oFCKeditor->BasePath = 'coremain/editor/'; $oFCKeditor->Value = $values; $oFCKeditor->Width = 450; $oFCKeditor->Height = 260; $oFCKeditor->Create() ; ?></td> </tr>-->
<!-- <tr height='50'> <td colspan='2' align='center'><?text_button_insert();?></td> </tr>--> </table> </form>
<?php fieldset_down();?>
|