| Server IP : 104.21.37.246 / Your IP : 104.23.243.32 [ 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/kainumber.com/theme_old/ |
Upload File : |
<!-- /.search_number -->
<div class="container" style="padding-top:25px;">
<div class="row">
<div align="center"><img src="../image/line.png" width="425" height="35" class="img-responsive" ></div>
</div>
</div>
<script>
function Jump(obj,i)
{
if(document.getElementById(obj.id).value.length == 1)
document.getElementById('mun_pos'+i).focus();
}
</script>
<form action="../home/search.php" method="post" id="formsearch" name="formsearch">
<div class="container" style="padding-top:5px;background-color:#0e0516">
<div class="row">
<div class="col-md-3" style="border:0px solid #F00;" align="center"><img src="../image/img_search.png" width="252" height="250" class="img-responsive" ></div>
<div class="col-md-9" style="border:0px solid #0F0;">
<div>
<input type="text" name="num_post[1]" value="0" class="input_number" placeholder="0" disabled >
<input type="text" name="num_post[2]" id="mun_pos2" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][2]?>" onkeyup="Jump(this,3)">
<input type="text" name="num_post[3]" id="mun_pos3" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][3]?>" onkeyup="Jump(this,4)">
<input type="text" name="" value="" disabled class="input_number_line" maxlength="1">
<input type="text" name="num_post[4]" id="mun_pos4" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][4]?>" onkeyup="Jump(this,5)">
<input type="text" name="num_post[5]" id="mun_pos5" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][5]?>" onkeyup="Jump(this,6)">
<input type="text" name="num_post[6]" id="mun_pos6" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][6]?>" onkeyup="Jump(this,7)">
<input type="text" name="num_post[7]" id="mun_pos7" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][7]?>" onkeyup="Jump(this,8)">
<input type="text" name="num_post[8]" id="mun_pos8" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][8]?>" onkeyup="Jump(this,9)">
<input type="text" name="num_post[9]" id="mun_pos9" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][9]?>" onkeyup="Jump(this,10)">
<input type="text" name="num_post[10]" id="mun_pos10" class="input_number" maxlength="1" value="<?php echo @$_POST['num_post'][10]?>">
</div>
<div style="padding:5px 0;">
<div class="row">
<div class="col-md-12">
<div class="fms_left">เลขที่ชอบ :</div>
<div class="fms_right">
0 <input type="checkbox" name="num_like[0]" value="1" <?php if(@$_POST['num_like'][0] == 1){?>checked="checked"<?php }?>>
1 <input type="checkbox" name="num_like[1]" value="1" <?php if(@$_POST['num_like'][1] == 1){?>checked="checked"<?php }?>>
2 <input type="checkbox" name="num_like[2]" value="1" <?php if(@$_POST['num_like'][2] == 1){?>checked="checked"<?php }?>>
3 <input type="checkbox" name="num_like[3]" value="1" <?php if(@$_POST['num_like'][3] == 1){?>checked="checked"<?php }?>>
4 <input type="checkbox" name="num_like[4]" value="1" <?php if(@$_POST['num_like'][4] == 1){?>checked="checked"<?php }?>>
5 <input type="checkbox" name="num_like[5]" value="1" <?php if(@$_POST['num_like'][5] == 1){?>checked="checked"<?php }?>>
6 <input type="checkbox" name="num_like[6]" value="1" <?php if(@$_POST['num_like'][6] == 1){?>checked="checked"<?php }?>>
7 <input type="checkbox" name="num_like[7]" value="1" <?php if(@$_POST['num_like'][7] == 1){?>checked="checked"<?php }?>>
8 <input type="checkbox" name="num_like[8]" value="1" <?php if(@$_POST['num_like'][8] == 1){?>checked="checked"<?php }?>>
9 <input type="checkbox" name="num_like[9]" value="1" <?php if(@$_POST['num_like'][9] == 1){?>checked="checked"<?php }?>>
</div>
<div style="clear:left"></div>
</div>
</div>
</div>
<div>
<div class="row">
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">เครือข่าย :</div>
<div class="fms_right"><select class="drop" name="network" id="network">
<option value="">ทั้งหมด</option>
<?php
$list_mw = array('table'=>'mobilenetwork','where'=>'status = 1 ','order'=> "ORDER BY id ASC");
$view_mw = $view_db->view($list_mw);
//echo $view_mw;
$result_mw = $view_db->q_re($view_mw);
while($row_mw = $view_db->q_ro($result_mw))
{
?><option value="<?php echo $row_mw['id']?>" <?php if($_POST['network'] == $row_mw['id']){?>selected="selected"<?php }?>><?php echo $row_mw['name']?></option><?php
}
?>
</select>
</div>
<div style="clear:left"></div>
</div>
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">รวม :</div>
<div class="fms_right"><select class="drop" name="sunnumber">
<option value="">ทั้งหมด</option>
<?php
for($i=8;$i<=108;$i++)
{
?><option value="<?php echo $i?>" <?php if($_POST['sunnumber'] == $i){?>selected="selected"<?php }?>><?php echo $i?></option><?php
}
?>
</select></div>
<div style="clear:left"></div>
</div>
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">หมวด :</div>
<div class="fms_right"><select class="drop" name="cat">
<option value="">ทั้งหมด</option>
<?php
$list_mw = array('table'=>'category','where'=>'status = 1 ','order'=> "ORDER BY id ASC");
$view_mw = $view_db->view($list_mw);
$result_mw = $view_db->q_re($view_mw);
while($row_mw = $view_db->q_ro($result_mw))
{
?><option value="<?php echo $row_mw['id']?>" <?php if($_POST['cat'] == $row_mw['id']){?>selected="selected"<?php }?>><?php echo $row_mw['name']?></option><?php
}
?>
</select></div>
<div style="clear:left"></div>
</div>
</div>
</div>
<div>
<div class="row">
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">ธาตุ :</div>
<div class="fms_right"><select class="drop" name="element">
<option value="">ทั้งหมด</option>
<?php
$list_mw = array('table'=>'element','where'=>'status = 1 ','order'=> "ORDER BY id ASC");
$view_mw = $view_db->view($list_mw);
$result_mw = $view_db->q_re($view_mw);
while($row_mw = $view_db->q_ro($result_mw))
{
?><option value="<?php echo $row_mw['id']?>" <?php if($_POST['element'] == $row_mw['id']){?>selected="selected"<?php }?>><?php echo $row_mw['name']?></option><?php
}
?>
</select></div>
<div style="clear:left"></div>
</div>
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">เพศ :</div>
<div class="fms_right"><select class="drop" name="sex">
<option value="">ทั้งหมด</option>
<?php
$list_mw = array('table'=>'sex','where'=>'status = 1 ','order'=> "ORDER BY id ASC");
$view_mw = $view_db->view($list_mw);
$result_mw = $view_db->q_re($view_mw);
while($row_mw = $view_db->q_ro($result_mw))
{
?><option value="<?php echo $row_mw['id']?>" <?php if($_POST['sex'] == $row_mw['id']){?>selected="selected"<?php }?>><?php echo $row_mw['name']?></option><?php
}
?>
</select></div>
<div style="clear:left"></div>
</div>
<div class="col-md-4" style="padding:5px 0;">
<div class="fms_left">ราคา :</div>
<div class="fms_right"><select class="drop" name="price_re">
<option value="">ทั้งหมด</option>
<option value="1" <?php if($_POST['price_re'] == 1){?>selected="selected"<?php }?>>1 - 5,000</option>
<option value="2" <?php if($_POST['price_re'] == 2){?>selected="selected"<?php }?>>5,001 - 10,000</option>
<option value="3" <?php if($_POST['price_re'] == 3){?>selected="selected"<?php }?>>10,001 - 50,000</option>
<option value="4" <?php if($_POST['price_re'] == 4){?>selected="selected"<?php }?>>50,001 ขึ้นไป</option>
</select></div>
<div style="clear:left"></div>
</div>
</div>
</div>
<div style="padding:5px 0;" align="right">
<input type="hidden" name="page_number" id="page_number" value="" />
<input type="image" src="../image/bt_search.png" border="0" alt="Submit" class="img-responsive" />
</div>
</div>
</div>
</div>
</form>
<div class="container" style="padding-top:0px;">
<div class="row">
<div align="center"><img src="../image/line.png" width="425" height="35" class="img-responsive" ></div>
</div>
</div>
<!-- /.search_number -->
<script>
function submit_formsearch(var1)
{
document.getElementById("page_number").value = var1;
document.getElementById("formsearch").submit();
}
</script>
<div class="show_moblie">
<?php include('../theme/login_left.php');//login?>
</div>