| Server IP : 104.21.37.246 / Your IP : 104.23.243.33 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/simded.com/simsalmon/control/themes/ |
Upload File : |
<?php
if($row_ss['analyzeber'] == 1)
{
?>
<div class="row">
<div class="col-md-12" style="margin-bottom:20px;margin-top:15px;">
<div class="DivSearch divpredict" style="padding:10px;">
<div class="row" style="padding-top:3px;">
<form class="fm_reading" action="../reading/index.php" name="fm_reading" id="fm_reading" method="get">
<div class="col-md-3" align="center"><p class="TextFM-R">ทำนายเบอร์</p></div>
<div class="col-md-3">
<select class="form-control" name="type" style="width:100%;">
<?php
$sql_s = 'id_shop = "'.$id_shop.'"';
$list = array('table'=>'package_detail','where'=>$sql_s);
$result = $view_db->view($list);
$row_pd = $view_db->q($result);
if($row_pd['predict_ber'] == '1'){
?><option value="mobile" <?php if($_POST['type'] == 'mobile'){?>selected="selected"<?php }?>>เบอร์โทรศัพท์</option><?php
}
if($row_pd['predict_card'] == '1'){
?><option value="idcard" <?php if($_POST['type'] == 'idcard'){?>selected="selected"<?php }?>>บัตรประชาชน</option><?php
}
if($row_pd['predict_car'] == '1'){
?><option value="homenumber" <?php if($_POST['type'] == 'homenumber'){?>selected="selected"<?php }?>>เลขที่บ้าน</option><?php
}
if($row_pd['predict_home'] == '1'){
?><option value="licenseplate" <?php if($_POST['type'] == 'licenseplate'){?>selected="selected"<?php }?>>ทะเบียนรถ</option><?php
}
?>
</select>
</div>
<div class="col-md-6 np_p">
<div class="input-group">
<input type="text" class="form-control" name="phonenumber" placeholder="xxxxxxxxxx" value="<?php echo $_POST['phonenumber']?>">
<span class="input-group-btn">
<button class="btn btn-secondary Btn-RedFM-R" type="submit">ทำนาย</button>
</span>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
}
?>