/home/banprang/domains/plai.go.th/public_html/coremain/module/move/postq.php


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
<?php
$navig
['move']="ข้อมูลการโอนย้าย อปท.";
$navig['webboard']="กระดานสนทนา";
navigator($navig);
echo
"<br>";
bar_header("ตั้งประเด็น"); // Bar_Header
fieldset_top("กระดานสนทนา");

?>

    <center>
    <font class="Menu1"><b>เชิญตั้งประเด็นได้ที่นี่</b></font> 
    </font>
    <br>

    <form method=post action="index.php?mod=post&path=move" name="add" id="add" onSubmit="return checkadd()">

    <table border=0   cellpadding=0 cellspacing=0 width='95%' align=center>
    <tr height='40'><td align=left width='37%'><img src='coremain/images/marker.gif'> <b>ประเด็นคำถาม</b></td><td><input type=text name="QTitle" size=70 maxlength=100></td></tr>

<?php
        text_editor
("445","260",$data[fulltexts],"รายละเอียด"); // Text Editor
?>
    </td></tr>
    <tr height='40'><td align=left><img src='coremain/images/marker.gif'> <b>ผู้ตั้งประเด็น</b></td><td><input type=text name="QName" size=70 maxlength=50 value='<?echo $_SESSION[name_post]?>'></td></tr>
    <tr height='40'><td align=left><img src='coremain/images/marker.gif'> <b>อีเมล์</b></td><td><input type=text name="QEmail" size=70 maxlength=50 value='<?echo $_SESSION[name_email]?>'></td></tr>

<tr height='40'>
<td align=left><img src='coremain/images/marker.gif'> <b>รหัสลับ</b></td>
<td><img src='coremain/module/webboard/login1_image.php' align='center' title='ป้อนตามที่เห็นในภาพ'></td>
</tr> 

<tr height='40'>
<td align=left><img src='coremain/images/marker.gif'> <b>ป้อนรหัสลับ</b></td>
<td><input type=text size=70  name='from_pic'>&nbsp;<img src='coremain/images/bu.gif' title='ป้อนรหัสลับตามที่ปรากฏ' onmouseover=this.style.cursor='hand'></td>
</tr>

    <tr><td align=center colspan=0>

    </td></tr>
    </table>
    <br>
    <input type=submit value="ตั้งประเด็น" onmouseover=this.style.cursor='hand'> 

    </form>

</center>

<?echo fieldset_down();?>
<script language="javascript">
function checkadd() {
 if(document.add.QTitle.value=="") {
alert("กรุณากรอก ประเด็นคำถาม !") ;
document.add.QTitle.focus() ;
return false ;
}

else if(document.add.QName.value=="") {
alert("กรุณากรอกผู้ตั้งประเด็น!") ;
document.add.QName.focus() ;
return false ;
}
else if(document.add.from_pic.value=="") {
alert("กรุณาป้อนรหัสลับตามที่ปรากฏ!") ;
document.add.from_pic.focus() ;
return false ;
}

else 
return true ;
}
</script>