| Server IP : 172.67.216.113 / 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 : /home/cp648411/www/simded.com/themes/ |
Upload File : |
<div id="carousel-example-generic" class="carousel slide" style="margin-top:0px;" data-ride="carousel">
<?php
$list_bn = array('table'=>'banner','where'=>'status = "1" AND postion = "2" ','order'=> "ORDER BY id DESC LIMIT 0,10");
$view_bn = $view_db->view($list_bn);
$result_bn = $view_db->q_re($view_bn);
$bn_num_rows = mysql_num_rows($result_bn);
?>
<div class="carousel-inner" role="listbox">
<?php
$numNB=1;
while($row_bn = $view_db->q_ro($result_bn))
{
?>
<div class="item <?php if($numNB==1){?>active<?php }?>">
<?php if(!$row_bn['url'] == ''){?><a href="<?php echo $row_bn['url']?>" target="_blank"><?php }?>
<img src="../redbag/banner/<?php echo $row_bn['image']?>" width="848" height="182">
<?php if(!$row_bn['url'] == ''){?> </a> <?php }?>
</div>
<?php
$numNB++;
}
?>
</div>
<?php
if($numNB > 2)
{
?>
<a class="left carousel-control carousel_BL" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control carousel_BL" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<?php
}
?>
</div>
<div style="height:25px;"> </div>
<div class="row">
<div class="col-md-12" style="margin-bottom:20px;">
<div class="DivSearch divpredict" style="padding:15px;">
<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" style="text-align:center;"><p class="TextFM-R">ทำนายเบอร์</p></div>
<div class="col-md-3">
<select class="form-control" name="type" style="width:100%;">
<option value="mobile" <?php if($_POST['type'] == 'mobile' || $_GET['type'] == 'mobile'){?>selected="selected"<?php }?>>เบอร์โทรศัพท์</option>
<option value="idcard" <?php if($_POST['type'] == 'idcard' || $_GET['type'] == 'idcard'){?>selected="selected"<?php }?>>บัตรประชาชน</option>
<option value="homenumber" <?php if($_POST['type'] == 'homenumber' || $_GET['type'] == 'homenumber'){?>selected="selected"<?php }?>>เลขที่บ้าน</option>
<option value="licenseplate" <?php if($_POST['type'] == 'licenseplate' || $_GET['type'] == 'licenseplate'){?>selected="selected"<?php }?>>ทะเบียนรถ</option>
</select>
</div>
<div class="col-md-6 np_p">
<div class="input-group">
<input type="text" class="form-control" name="phonenumber" placeholder="" 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 style="padding:0px 15px;">
<?php include('../themes/contact_btn.php');?>
</div>
</div>
</div>
<div style="border:0px solid #F00;" align="left">
<?php include('../themes/google_ad.php');?>
</div>
<style>
.help-block {
color:#333; z-index:0; position:relative; display:inline; text-align: left;
}
</style>