| 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 : /home2/cp648411/public_html/kainumber.com/reading/ |
Upload File : |
<?php include('../include/class.php');?>
<script>
window.onload = function() {
// document.getElementById("reading_results").focus();
// $('html, body').animate({ scrollTop: $('#reading_results').offset().top }, 'slow');
$('html, body').animate( scrollTop: $('#reading_results').offset().top );
};
</script>
<?php
function gen_rand( $from , $to , $amount )
{
$keepvalue = array();
for($i=0;$i<$amount;$i++) {
$value = rand($from , $to);
if ( in_array( $value , $keepvalue) ) {
$i = count($keepvalue)-1;
} else {
$keepvalue[] = $value;
}
}
return $keepvalue;
}
function sh_ad($var1)
{
if($var1 == 1){ $text = '<a href="https://simded.com/home/reading.php" target="_blank"><img src="../image/c1gif.gif" class="img-fluid rounded-4"></a>';}
if($var1 == 2){ $text = '<a href="https://homhuan.com/" target="_blank"><img src="../image/hh1gif.gif" class="img-fluid rounded-4"></a>';}
if($var1 == 3){ $text = '<a href="https://simded.com/seamsi/index.php" target="_blank"><img src="../image/scGif.gif" class="img-fluid rounded-4"></a>';}
if($var1 == 4){ $text = '<a href="https://simded.com/home/reading.php" target="_blank"><img src="../image/LL12.gif" class="img-fluid rounded-4"></a>';}
return $text;
}
$arr_num = gen_rand( 1 , 4 ,2);
$p1 = $arr_num[0];
$p2 = $arr_num[1];
$phonenumber = $_GET['phonenumber'];
$ID_card = $_GET['ID_card'];
$img_fa = 'http://www.kainumber.com/image/text_logo1.jpg';
if($phonenumber <> '')
{
include('perl.php');
$Fullscore_p = 100 * count($pass3_all);
$percent_number = (($TotalScore_plus - abs($TotalScore_delete))*100)/$Fullscore_p;
$img_fa = 'http://www.kainumber.com/image/text_logo1.jpg';
$title_fa = $Phone_class->phonenumber_cover($phonenumber).'('.$p1_sum_number.')';
if($percent_number <= 40){ $txt_sum = 'เบอร์นี้จัดอยู่ในเกณฑ์ที่แย่ สมควรเปลี่ยนเบอร์อย่างยิ่ง';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg';}
if($percent_number >= 41 && $percent_number <= 65){ $txt_sum = 'เบอร์นี้ยังมีตัวเลขที่ไม่ดีอยู่การเปลี่ยนเบอร์ขึ้นอยู่กับวิจารณญาณของผู้ใช้เบอร์';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg'; }
if($percent_number >= 66 && $percent_number <= 85){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ดี ถ้าเปลี่ยนควรหาเบอร์ที่เหมาะสมกับดวงของท่านให้มากขึ้น'; $img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg';}
if($percent_number >= 86){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ที่ดีมาก ขึ้นอยู่กับดวงแต่ละบุคคลและการใช้งาน';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg'; }
$description_fa = $txt_sum;
}
function Switch_numbers($value)
{
$rest_1 = substr($value, 0,1);
$rest_2 = substr($value, 1,1);
if($rest_1 <= $rest_2)
{
$set_1 = $rest_1.$rest_2;
$set_2 = $rest_2.$rest_1;
$set = $set_1.','.$set_2;
}else
{
$set_1 = $rest_1.$rest_2;
$set_2 = $rest_2.$rest_1;
$set = $set_2.','.$set_1;
}
return $set;
}
if($ID_card <> '')
{
$arrnum = $Phone_class->readingidcard($ID_card);
$Fullscore = 100 * count($arrnum);
foreach( $arrnum as $value )
{
//$set_number = Switch_numbers($value);
$list = array('table'=>'meaningnumber,score','where'=>'meaningnumber.id = score.meaning_id AND meaningnumber.number LIKE "%'.$value.'%" LIMIT 0 , 1');
$view = $view_db->view($list);
$row = $view_db->q($view);
$arr_num[$value] = $row['scoretotal'];
$total = $total + $row['scoretotal'];
$detail = $detail . $row['detail'];
}
$percent_number = ($total*100)/$Fullscore;
$img_fa = 'http://www.kainumber.com/image/text_logo1.jpg';
$title_fa = $Phone_class->phonenumber_cover($phonenumber).'('.$p1_sum_number.')';
if($percent_number <= 40){ $txt_sum = 'เบอร์นี้จัดอยู่ในเกณฑ์ที่แย่ สมควรเปลี่ยนเบอร์อย่างยิ่ง';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg';}
if($percent_number >= 41 && $percent_number <= 65){ $txt_sum = 'เบอร์นี้ยังมีตัวเลขที่ไม่ดีอยู่การเปลี่ยนเบอร์ขึ้นอยู่กับวิจารณญาณของผู้ใช้เบอร์';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg'; }
if($percent_number >= 66 && $percent_number <= 85){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ดี ถ้าเปลี่ยนควรหาเบอร์ที่เหมาะสมกับดวงของท่านให้มากขึ้น'; $img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg';}
if($percent_number >= 86){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ที่ดีมาก ขึ้นอยู่กับดวงแต่ละบุคคลและการใช้งาน';$img_fa = 'http://www.kainumber.com/image/text_logo_shareX.jpg'; }
$description_fa = $txt_sum;
}
?>
<?php include('../include/header_2.php'); ?>
<?php $menu = 'forecast'; ?>
<?php include('../theme/menu.php'); ?>
<?php
//$phonenumber = $_GET['phonenumber'];
if($phonenumber <> '')
{
if($percent_number <= 40)
{
?>
<style>
.border-kai2{border: 3px solid #ff0000;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #ff0000, #ff0000);
background: linear-gradient( #ff0000, #ff0000);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #ff0000, #ff0000);
border-right: 3px solid #ff0000;
}
</style>
<?php
}
if($percent_number >= 41 && $percent_number <= 65)
{
?>
<style>
.border-kai2{border: 3px solid #ff4200;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #ff4200, #ff4200);
background: linear-gradient( #ff4200, #ff4200);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #ff4200, #ff4200);
border-right: 3px solid #ff4200;
}
</style>
<?php
}
if($percent_number >= 66 && $percent_number <= 85)
{
?>
<style>
.border-kai2{border: 3px solid #fff200;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #fff200, #fff200);
background: linear-gradient( #fff200, #fff200);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #fff200, #fff200);
border-right: 3px solid #fff200;
}
</style>
<?php
}
if($percent_number >= 86)
{
?>
<style>
.border-kai2{border: 3px solid #2fe140;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #2fe140, #2fe140);
background: linear-gradient( #2fe140, #2fe140);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #2fe140, #2fe140);
border-right: 3px solid #2fe140;
}
</style>
<?php
}
}
?>
<!-- /.body -->
<style>
.bn_forecast{margin-top:0px;height:50px;font-size:20px;}
@media (max-width:768px)
{
.bn_forecast{margin-top:15px;height:50px;font-size:20px;}
}
.line_gif{padding:0px;border:0px solid #FFF;}
.gif2{border:0px solid;margin-top:15px;}
.gif2_L{padding:0px;margin-left:-17px;}
.gif2_R{padding:0px;padding-left:10px;}
.ad_google2{ padding-left:0px;padding-top:20px;}
.fm_reading{padding-top:30px;}
.br_s{ display:inline}
@media (max-width:768px)
{
.line_gif{margin:0 auto;text-align:center;max-width:599px;}
.gif2{margin:0 auto;max-width:599px;border:0px solid;margin-top:15px;padding-left:15px;}
.gif2_L{padding:0px;margin-left:-17px;padding-top:20px;}
.gif2_R{padding:0px;padding-left:10px;padding-top:20px;}
.ad_google2{ padding-left:15px;margin-top:20px;}
.fm_reading{padding-top:0px;}
.br_s{ display:none}
}
@media (max-width:500px)
{
.gif2_L{padding:0px;padding-left:15px;padding-top:15px;}
.gif2_R{padding:0px;padding-left:15px;padding-top:15px;}
.ad_google2{ padding-left:15px;margin-top:20px;}
.fm_reading{padding-top:0px;}
.br_s{ display:none}
}
</style>
<div class="container mt-5 mt-md-0 px-lg-5" <?php if($_GET['phonenumber'] == '' && $_GET['ID_card'] == ''){echo 'id="reading_results"';} ?>>
<div class="row justify-content-center px-lg-5 ">
<div class="col-auto text-center mb-3 text-white mt-md-0">
<h1 class="fw-loungethbold mt-md-0 border-kai-bottom-light">ทำนายเบอร์</h1>
<!--<hr class="line1">-->
</div>
</div>
<div class="row justify-content-center px-xxl-5 px-3">
<div class="col-12 col-md-12 px-xxl-2 px-lg-4 fw-loungethbold mb-md-0">
<form class="" action="../reading/index.php" method="get" name="fmforecastphone" onsubmit="return fm_fmforecastphone();">
<div class="row pe-lg-1 px-xxl-1 justify-content-center align-center mb-3 mb-md-1">
<div class="col-12 col-md-2 col-xxl-fix me-md-2">
<label for="textInput" class="">อาจารย์ไก่ทำนายเบอร์</label>
</div>
<div class="col-10 col-md-6 col-xxl-6 ps-0 me-md-0 me-xxl-0 ms-xxl-d-1">
<input type="text" class="form-control h-fix" id="phonenumber" name="phonenumber" placeholder="หมายเลขโทรศัพท์"
onkeypress="return validate_number(event)" value="<?php echo $_GET['phonenumber'];?>" maxlength="10">
</div>
<div class="col-2 col-md-2 col-xxl-2 px-0 me-xxl-2 pe-xxl-1 text-start">
<button type="submit" class="btn btn-kai1 w-fix h-fix">ทำนาย</button>
</div>
</div>
</form>
</div>
</div>
<div class="row justify-content-center px-xxl-5 px-3 mt-4">
<div class="col-12 col-md-auto px-xxl-2 px-lg-0 fw-loungethbold d-md-flex">
<div class="bg-warning-sim ps-5 pe-4 rounded-3 position-relative me-2 mb-4 mb-md-3 h-fix align-items-center d-flex justify-content-center cursor-pointer"
onclick="window.location.href='../seamsi/'">
<img src="../image/icon-n-1.png" alt="" class="position-absolute" height="65" style="top: -17px;left: 0px;">
กดเสี่ยงเซียมซี
</div>
<div class="bg-warning-sim ps-5 pe-4 rounded-3 position-relative me-2 mb-4 mb-md-3 h-fix align-items-center d-flex justify-content-center cursor-pointer"
onclick="window.location.href='../numerology/'">
<img src="../image/icon-n-2.png" alt="" class="position-absolute" height="65" style="top: -17px;left: 3px;">
เลขเด็ดอาจารย์ดัง
</div>
<div class="bg-warning-sim ps-5 pe-4 rounded-3 position-relative me-2 mb-4 mb-md-3 h-fix align-items-center d-flex justify-content-center cursor-pointer"
onclick="window.location.href='../wallpaper/'">
<img src="../image/icon-n-3.png" alt="" class="position-absolute" height="65" style="top: -17px;left: 3px;">
วอลเปเปอร์มงคล
</div>
<div class="bg-warning-sim ps-5 pe-4 rounded-3 position-relative me-2 mb-4 mb-md-3 h-fix align-items-center d-flex justify-content-center cursor-pointer"
onclick="window.location.href='../reading_lover/'">
<img src="../image/icon-n-4.png" alt="" class="position-absolute" height="65" style="top: -17px;left: 3px;">
กดทำนายเบอร์คุ่รัก
</div>
</div>
</div>
<!--
<div class="row justify-content-center px-xxl-5 px-3">
<div class="col-12 col-md-12 px-xxl-2 px-lg-4 fw-loungethbold">
<form class="" action="../reading/index.php" method="get" name="fmforecastid" onsubmit="return fm_forecastid();">
<div class="row pe-lg-1 px-xxl-1 justify-content-center align-center">
<div class="col-12 col-md-2 col-xxl-fix me-md-2">
<label for="textInput" class="">อาจารย์ไก่ทำนายบัตรประชาชน</label>
</div>
<div class="col-10 col-md-6 col-xxl-6 ps-0 me-md-0 me-xxl-0 ms-xxl-d-1">
<input type="text" class="form-control h-fix" id="ID_card" name="ID_card" placeholder="บัตรประชาชน"
onkeypress="return validate_number(event)" value="<?php echo $_GET['ID_card'];?>" maxlength="13">
</div>
<div class="col-2 col-md-2 col-xxl-2 px-0 me-xxl-2 pe-xxl-1 text-start">
<button type="submit" class="btn btn-kai1 w-fix h-fix">ทำนาย</button>
</div>
</div>
</form>
</div>
</div>
-->
</div>
<div class="container px-xxl-5">
<div class="row fm_reading pt-md-0" style="">
<div class="col-md-12 px-xxl-3">
<!-- /.forecast_number -->
<?php
if( $_GET['phonenumber'] == '' && $_GET['ID_card'] == '')
{
?>
<div class="row justify-content-center">
<div class="col-md-5 col-lg-3 text-center text-md-end mb-4 mb-md-0 pe-0" >
<div class="col-md-12 mb-4"><a href="https://lin.ee/egzGHWJ" target="_blank"><img src="../image/linegif2.gif" class="img-fluid rounded-4"></a></div>
<div class="col-md-12"><a href="https://www.facebook.com/kainumber/" target="_blank"><img src="../image/kk2.gif" class="img-fluid rounded-4"></a></div>
</div>
<div class="col-md-5 col-lg-3 text-center text-md-start">
<div class="col-md-12 mb-4"> <?php echo sh_ad($p1); ?></div>
<div class="col-md-12"> <?php echo sh_ad($p2); ?></div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-7">
<div style="padding:15px 0">
<?php include('../include/ad_google.php')?>
</div>
</div>
</div>
<?php
}
?>
</div>
<?php
if( $_GET['phonenumber'] == '' && $_GET['ID_card'] == '')
{
?>
<?php
}
?>
<!-- /.forecast_number -->
</div>
</div>
<?php
if( $_GET['phonenumber'] == '' && $_GET['ID_card'] == '')
{
?>
<?php include("footer.php"); ?>
<?php } ?>
</div>
<style>
.h_120{min-height:120px;}
.h_160{min-height:165px;}
@media (max-width:1024px)
{
.h_160{min-height:185px;}
}
@media (max-width:768px)
{
.h_160{min-height:100px;}
.h_120{min-height:80px;}
}
</style>
<div id="reading_results">
<?php
if($phonenumber <> '')
{
?>
<?php
$phonenumber = $_GET['phonenumber'];
include('perl.php');
$Fullscore_p = 100 * count($pass3_all);
$percent_number = (($TotalScore_plus - abs($TotalScore_delete))*100)/$Fullscore_p;
$list_pho = array('table'=>'phonenumber','where'=>'phonenumber = "'.$phonenumber.'"');
$view_pho = $view_db->view($list_pho);
$row_pho = $view_db->q($view_pho);
$dpr = 0;
$dpr = $percent_number*4.4;
//$dpr = $row_pho['sum_number']*4.4;
//$dpr = 50 * 4.4;
$dpr = 440 - $dpr;
?>
<?php
if($percent_number <= 40)
{
?>
<style>
.border-kai2{border: 3px solid #ff0000;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #ff0000, #ff0000);
background: linear-gradient( #ff0000, #ff0000);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #ff0000, #ff0000);
border-right: 3px solid #ff0000;
}
.border-kai-bottom-n{border-bottom: 3px solid #ff0000;}
.border-kai-right-n{border-right: 3px solid #ff0000;}
.progressbar__svg-circle1{stroke: #ff0000;}
.shadow-html {filter: drop-shadow(0 0 5px #ff0000);}
</style>
<?php
}
if($percent_number >= 41 && $percent_number <= 65)
{
?>
<style>
.border-kai2{border: 3px solid #ff4200;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #ff4200, #ff4200);
background: linear-gradient( #ff4200, #ff4200);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #ff4200, #ff4200);
border-right: 3px solid #ff4200;
}
.border-kai-bottom-n{border-bottom: 3px solid #ff4200;}
.border-kai-right-n{border-right: 3px solid #ff4200;}
.progressbar__svg-circle1{stroke: #ff4200;}
.shadow-html {filter: drop-shadow(0 0 5px #ff4200);}
</style>
<?php
}
if($percent_number >= 66 && $percent_number <= 85)
{
?>
<style>
.border-kai2{border: 3px solid #fff200;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #fff200, #fff200);
background: linear-gradient( #fff200, #fff200);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #fff200, #fff200);
border-right: 3px solid #fff200;
}
.border-kai-bottom-n{border-bottom: 3px solid #fff200;}
.border-kai-right-n{border-right: 3px solid #fff200;}
.progressbar__svg-circle1{stroke: #fff200;}
.shadow-html {filter: drop-shadow(0 0 5px #fff200);}
</style>
<?php
}
if($percent_number >= 86)
{
?>
<style>
.border-kai2{border: 3px solid #2fe140;}
.border-kai-bottom2{
border-image-source: linear-gradient(to top, #2fe140, #2fe140);
background: linear-gradient( #2fe140, #2fe140);
}
.border-kai-right{
border-image-source: linear-gradient(to top, #2fe140, #2fe140);
border-right: 3px solid #2fe140;
}
.border-kai-bottom-n{border-bottom: 3px solid #2fe140;}
.border-kai-right-n{border-right: 3px solid #2fe140;}
.progressbar__svg-circle1{stroke: #2fe140;}
.shadow-html {filter: drop-shadow(0 0 5px #2fe140);}
</style>
<?php
}
?>
<div class="container mt-5 mt-md-0 px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2 " >
<div class="row">
<div class="col-12 col-md-12 border-kai2 py-3 px-4 overflow-auto">
<div class="text-center d-flex ">
<div class="col-8 col-md-8 border-kai-bottom-n border-kai-right-n">เบอร์</div>
<div class="col-4 col-md-4 border-kai-bottom-n ">ผลรวม</div>
</div>
<div class="text-center d-flex">
<div class="col-8 col-md-8 border-kai-right-n pb-0 pt-3 f-fix"><?php echo $Phone_class->phonenumber($phonenumber)?></div>
<div class="col-4 col-md-4 pb-0 pt-3 f-fix"><?php echo $p1_sum_number; ?></div>
</div>
</div>
<!--<hr class="line1 my-1">-->
</div>
</div>
</div>
</div>
<style media="screen">
.progressbar1{width: 160px;height: 160px;}
.progressbar__svg-circle1{stroke-width: 10px;}
.circle-html1 {
-webkit-animation: anim_circle-html1 1s ease-in-out forwards;
animation: anim_circle-html1 1s ease-in-out forwards;
}
@-webkit-keyframes anim_circle-html1 {
to {
stroke-dashoffset: <?php echo $dpr; ?>;
}
}
@keyframes anim_circle-html1 {
to {
stroke-dashoffset: <?php echo $dpr; ?>;
}
}
</style>
<?php $perr = number_format($percent_number,0); ?>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2" >
<div class="row border-kai2 py-4 justify-content-between align-items-center">
<div class="col-12 col-lg-3 mb-5 mb-lg-0">
<div class="container__progressbars text-center lh-sm" >
<div class="progressbar1">
<svg class="progressbar__svg">
<circle cx="74" cy="75" r="70" class="progressbar__svg-circle1 circle-html1 shadow-html"
style="stroke-dashoffset: ;"> </circle>
</svg>
<span class="progressbar__text shadow-html">
<!--
<img src="../redbag/category/<?php echo $cate_img; ?>" alt="" class="w-100" >
-->
<h3 class="progressbar_text2 mb-0 pb-0" style="top: 2px"> <?php echo number_format($percent_number,2); ?>%</h3>
</span>
</div>
<h5 class="progressbar_text2 mt-3 mb-0" style="top: 2px"> ผลรวมเป็น</h5>
<small class="progressbar_text2 fix-s" style="top: 2px">(คิดเป็นเปอร์เซ็น)</small>
</div>
</div>
<div class="col-12 col-lg-8 text-center text-md-start">
<div class="row">
<div class="col-md-6 lh-sm">
<div>น้ำหนักคำพยากรณ์</div>
<div>( คำนวณเลขมงคล 7 หลัก )</div>
</div>
<div class="col-md-6">
<div>
<?php echo substr($phonenumber,0,3); ?>.
<?php
foreach ($p2_score as $value)
{
$number_2 = $number_2 . $value['combination'].' ';
}
echo $number_2;
?>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
<div>เบอร์จัดอยู่ในระดับ</div>
</div>
<div class="col-md-6">
<div>
<?php
if($percent_number <= 40){ ?><span style="color:#F00;font-size:26px;">เบอร์นี้จัดอยู่ในเกณฑ์ที่แย่ สมควรเปลี่ยนเบอร์อย่างยิ่ง</span><?php }
if($percent_number >= 41 && $percent_number < 66){ ?><span style="color:#C60;font-size:22px;">เบอร์นี้ยังมีตัวเลขที่ไม่ดีอยู่การเปลี่ยนเบอร์ขึ้นอยู่กับวิจารณญาณของผู้ใช้เบอร์ </span><?php }
if($percent_number >= 66 && $percent_number < 86){ ?><span style="color:#FF0;font-size:22px;">เบอร์นี้อยู่ในเกณฑ์ดี ถ้าเปลี่ยนควรหาเบอร์ที่เหมาะสมกับดวงของท่านให้มากขึ้น </span><?php }
if($percent_number >= 86){ ?><span style="color:#090;font-size:26px;">เบอร์นี้อยู่ในเกณฑ์ที่ดีมาก ขึ้นอยู่กับดวงแต่ละบุคคลและการใช้งาน</span><?php }
?>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
<div>อยู่ในหมวด</div>
</div>
<div class="col-md-6">
<div>
<?php
rsort($pass3_all);
$list_cat = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$pass3_all[0]['list'].'%"');
$view_cat = $view_db->view($list_cat);
$row_cat = $view_db->q($view_cat);
?>
<?php //echo $row_cat['title']; ?>
<?php echo $Phone_class->catshort_number('',$phonenumber);; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5 mt-md-0 px-lg-5 px-3">
<div class="row px-md-5 mb-3 ">
<div class="col-md-12 px-md-3 text-center" >
<h2 class="pb-0 mb-0 fw-loungethbold " style="color: #ffc000;">* เบอร์ดีหรือไม่ดีนั้น ส่วนหนึ่งอยู่ที่การนำไปใช้ กับงานที่เหมาะสมด้วย *</h2>
</div>
</div>
</div>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2" >
<div class="row border-kai2 py-4">
<div class="col-12 col-md-12 text-center text-md-start">
<?php
foreach( $pass3_all as $value )
{
$list_de = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$value['list'].'%"');
$view_de = $view_db->view($list_de);
$row_de = $view_db->q($view_de);
?><div style="margin-top:20px;"><?php echo $row_de['detail']?></div><?php
}
if($arr_P4['list'] <> '')
{
$list_de4 = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$arr_P4['list'].'%"');
$view_de4 = $view_db->view($list_de4);
$row_de4 = $view_db->q($view_de4);
?><div style="margin-top:20px;"><?php echo $row_de4['detail']?></div><?php
}
?>
</div>
</div>
</div>
</div>
</div>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3 mb-md-0">
<div class="col-md-12 px-md-2" >
<div class="row py-4 py-md-0">
<div class="col-12 col-md-12">
<!--
<div align="right" style="padding-top:10px;"><a href="../home/" style="color:#FFF;">กลับ...</a></div>
-->
<div align="right">
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<script>
var this_main_number = 0;
function share_to_fb()
{
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent('http://www.kainumber.com/reading/index.php?phonenumber=<?php echo $_GET['phonenumber']?>'),'addthis_popup','toolbar=0,status=0,width=626,height=436');
}
</script>
<a onClick="javascript:share_to_fb();"
style="cursor: pointer;color:#FFF;"
title="แบ่งปันให้เพื่อน">
<img src="../image/fa-b.png" width="50" style="border:none;"/>
แชร์
</a>
</div>
</div>
<div class="col-12 col-md-12 mb-3" align="center">
<input class="btn btn-kai1 px-4" type="button" value="ย้อนกลับ" onclick="window.location.href='<?php echo $_SESSION['HTTP_REFERER']; ?>'">
</div>
<div class="col-12 col-md-12">
<div class="row justify-content-center" style="margin-bottom:15px;">
<div class="col-md-5 col-lg-3 text-center text-md-end mb-4 mb-md-0 pe-0">
<div class="col-md-12 mb-3"><a href="http://line.me/ti/p/O-MUYsqUwe" target="_blank"><img src="../image/linegif2.gif" class="img-fluid rounded-4"></a></div>
<div class="col-md-12"><a href="https://www.facebook.com/kainumber/" target="_blank"><img src="../image/kk2.gif" class="img-fluid rounded-4"></a></div>
</div>
<div class="col-md-5 col-lg-3 text-center text-md-start">
<div class="col-md-12 mb-3"><?php echo sh_ad($p1); ?></div>
<div class="col-md-12"><?php echo sh_ad($p2); ?></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5 mt-md-0 px-md-5">
<div class="row px-md-5 d-md-flex justify-content-center ">
<div class="col-12 col-md-auto text-center px-0 mb-3 mb-md-0">
<a href="https://lin.ee/egzGHWJ" target="_blank" class="text-decoration-none text-light">
<img src="../image/line_n1.png" alt="" >
@kainumber
</a>
</div>
<span class="col-md-auto px-2 d-none d-md-block">/</span>
<div class="col-12 col-md-auto text-center px-0">
<a href="https://th-th.facebook.com/kainumber/" target="_blank" class="text-decoration-none text-light">
<img src="../image/fb_n1.png" alt="" >
อาจารย์ไก่ เบอร์มงคล
</a>
</div>
</div>
<div class="row px-md-5 d-md-flex justify-content-center">
<div class="col-12 col-md-5 text-center mt-3">
<img src="../image/text_logotop.png" alt="" class="img-fluid col-8 col-md-8">
</div>
</div>
</div>
<?php
// $Fullscore = 5 * count($pass3_all);//จำนวนค่าที่นำมาคำนวณ
?>
<?php //include('recommend.php')?>
<?php //include('../theme/phone_guide.php')?>
<?php
$list = array(
'table'=>'log_reading',
'phonenumber'=>"'".@$_GET['phonenumber']."'",
'type'=>'1',
'createtime_U'=>"'".date("U")."'",
'createtime'=>"'".date("Y-m-d H:i:s")."'",
);
$add = $actiondata_db->add_db($list);
}
if($ID_card <> '')
{
?>
<?php
$dpr = 0;
$dpr = $percent_number*4.4;
$dpr = 440 - $dpr;
//echo $dpr;
?>
<?php
if($percent_number <= 40)
{
?>
<style>
.progressbar__svg-circle1{stroke: #ff0000;}
.shadow-html {filter: drop-shadow(0 0 5px #ff0000);}
</style>
<?php
}
if($percent_number >= 41 && $percent_number <= 65)
{
?>
<style>
.progressbar__svg-circle1{stroke: #ff4200;}
.shadow-html {filter: drop-shadow(0 0 5px #ff4200);}
</style>
<?php
}
if($percent_number >= 66 && $percent_number <= 85)
{
?>
<style>
.progressbar__svg-circle1{stroke: #fff200;}
.shadow-html {filter: drop-shadow(0 0 5px #fff200);}
</style>
<?php
}
if($percent_number >= 86)
{
?>
<style>
.progressbar__svg-circle1{stroke: #2fe140;}
.shadow-html {filter: drop-shadow(0 0 5px #2fe140);}
</style>
<?php
}
?>
<div class="container mt-5 mt-md-0 px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2 " >
<div class="row">
<div class="col-12 col-md-12 border-kai2 py-3 px-4 overflow-auto">
<div class="text-center d-flex border-kai-bottom">
<div class="col-12 col-md-12 border-kai-bottom-n">บัตรประชาชน</div>
</div>
<div class="text-center d-flex justify-content-center">
<div class="col-8 col-md-12 pb-0 pt-3 f-fix"><?php echo $Phone_class->idcard($ID_card); ?></div>
</div>
</div>
<!--<hr class="line1 my-1">-->
</div>
</div>
</div>
</div>
<style media="screen">
.progressbar1{width: 160px;height: 160px;}
.progressbar__svg-circle1{stroke-width: 10px;}
.circle-html1 {
-webkit-animation: anim_circle-html1 1s ease-in-out forwards;
animation: anim_circle-html1 1s ease-in-out forwards;
}
@-webkit-keyframes anim_circle-html1 {
to {
stroke-dashoffset: <?php echo $dpr; ?>;
}
}
@keyframes anim_circle-html1 {
to {
stroke-dashoffset: <?php echo $dpr; ?>;
}
}
</style>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2" >
<div class="row border-kai2 py-4 justify-content-between align-items-center">
<div class="col-12 col-lg-3 mb-5 mb-lg-0">
<div class="container__progressbars text-center lh-sm" >
<div class="progressbar1">
<svg class="progressbar__svg">
<circle cx="74" cy="75" r="70" class="progressbar__svg-circle1 circle-html1 shadow-html"> </circle>
</svg>
<span class="progressbar__text shadow-html">
<!--
<img src="../redbag/category/<?php echo $cate_img; ?>" alt="" class="w-100" >
-->
<h3 class="progressbar_text2 mb-0 pb-0" style="top: 2px"> <?php echo number_format($percent_number,2); ?>%</h3>
</span>
</div>
<h5 class="progressbar_text2 mt-3 mb-0" style="top: 2px"> ผลรวมเป็น</h5>
<small class="progressbar_text2 fix-s" style="top: 2px">(คิดเป็นเปอร์เซ็น)</small>
</div>
</div>
<div class="col-12 col-lg-8 text-center text-md-start">
<div class="row">
<div class="col-md-6 lh-sm">
<div>น้ำหนักคำพยากรณ์</div>
<div>( คำนวณเลขมงคล 7 หลัก )</div>
</div>
<div class="col-md-6">
<div>
<?php echo substr($ID_card,0,7); ?>.
<?php
foreach( $arrnum as $value )
{
$number_2 = $number_2 . $value.' ';
}
echo $number_2;
?>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
<div>เบอร์จัดอยู่ในระดับ</div>
</div>
<div class="col-md-6">
<div>
<span style="">ดวงเกิดของคุณสามารถหนุนดวงให้ดีขึ้นได้ด้วยเบอร์มงคล เพื่อให้เหมาะสมกับดวงเกิดและการใช้งาน</span>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
<div>อยู่ในหมวด</div>
</div>
<div class="col-md-6">
<div>
<?php
asort($arr_num);
$i=1;
foreach($arr_num as $Key=>$value){
if($i==1)
{
$list_cat = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$Key.'%"');
$view_cat = $view_db->view($list_cat);
$row_cat = $view_db->q($view_cat);
}
$i++;
}
?>
<?php //echo $row_cat['title']; ?>
<?php echo $Phone_class->catshort_number('',$phonenumber);; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5 mt-md-0 px-lg-5 px-3">
<div class="row px-md-5 mb-3 ">
<div class="col-md-12 px-md-3 text-center" >
<h2 class="pb-0 mb-0 fw-loungethbold " style="color: #ffc000;">* ดวงเกิดดีหรือไม่ดีนั้น เราสามารถหนุนดวงได้ด้วยเบอร์มงคล *</h2>
</div>
</div>
</div>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3 pt-md-0">
<div class="col-md-12 px-md-2" >
<div class="row border-kai2 py-4 py-md-3">
<div class="col-12 col-md-12 text-center text-md-start">
<?php
foreach($arr_num as $Key=>$value)
{
$list_de = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$Key.'%"');
$view_de = $view_db->view($list_de);
$row_de = $view_db->q($view_de);
?><div class="px-xxl-5" style="margin-top:20px;"><?php echo $row_de['detail']?></div><?php
}
?>
</div>
</div>
</div>
</div>
</div>
<div class="container px-lg-5 px-3">
<div class="row px-md-5 mb-3">
<div class="col-md-12 px-md-2" >
<div class="row py-4 py-md-0">
<div class="col-12 col-md-12">
<!--
<div align="right" style="padding-top:10px;"><a href="../home/" style="color:#FFF;">กลับ...</a></div>
-->
<div align="right">
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<script>
var this_main_number = 0;
function share_to_fb()
{
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent('http://www.kainumber.com/reading/index.php?ID_card=<?php echo $_GET['ID_card']?>'),'addthis_popup','toolbar=0,status=0,width=626,height=436');
}
</script>
<a
onClick="javascript:share_to_fb();"
style="cursor: pointer;color:#FFF;"
title="แบ่งปันให้เพื่อน">
<img src="../image/fa-b.png" width="50" style="border:none;"/>แชร์</a>
</div>
</div>
<div class="col-12 col-md-12 mb-3 md-md-0" align="center">
<input class="btn btn-kai1 px-4" type="button" value="ย้อนกลับ" onclick="window.location.href='<?php echo $_SESSION['HTTP_REFERER']; ?>'">
</div>
</div>
</div>
</div>
</div>
<?php include("footer.php"); ?>
<div class="container mt-5 px-md-5 mt-md-3">
<div class="row d-md-flex justify-content-center ">
<?php include("../theme/link_line.php"); ?>
<div class="col-12 col-md-auto text-center px-0 mb-3 mb-md-0">
</div>
</div>
</div>
<div class="container mt-5 px-md-5 mt-md-3">
<div class="row px-md-5 d-md-flex justify-content-center ">
<div class="col-12 col-md-auto text-center px-0 mb-3 mb-md-0">
<a href="https://lin.ee/egzGHWJ" target="_blank" class="text-decoration-none text-light">
<img src="../image/line_n1.png" alt="" >
@kainumber
</a>
</div>
<span class="col-md-auto px-2 d-none d-md-block">/</span>
<div class="col-12 col-md-auto text-center px-0">
<a href="https://th-th.facebook.com/kainumber/" target="_blank" class="text-decoration-none text-light">
<img src="../image/fb_n1.png" alt="" >
อาจารย์ไก่ เบอร์มงคล
</a>
</div>
</div>
<div class="row px-md-5 d-md-flex justify-content-center">
<div class="col-12 col-md-5 text-center mt-3">
<img src="../image/text_logotop.png" alt="" class="img-fluid col-8 col-md-8">
</div>
</div>
</div>
<!-- <?php //include('recommend.php')?> -->
<?php //include('../theme/phone_guide.php')?>
<?php
$list = array(
'table'=>'log_reading',
'phonenumber'=>"'".@$_GET['ID_card']."'",
'type'=>'2',
'createtime_U'=>"'".date("U")."'",
'createtime'=>"'".date("Y-m-d H:i:s")."'",
);
$add = $actiondata_db->add_db($list);
}
?>
</div>
<?php //include('footer.php')?>
<script>
function fm_forecastid()
{
if(document.fmforecastid.ID_card.value==""){alert("ขออภัยค่ะกรุณากรอกหมายเลขบัตรประชาชน13หลัก");document.fmforecastid.ID_card.focus();return false;}
if(isNaN(document.fmforecastid.ID_card.value)){alert("ขออภัยค่ะกรุณากรอกหมายเลขบัตรประชาชน13หลัก");document.fmforecastid.ID_card.focus();return false;}
if(document.fmforecastid.ID_card.value.length <13){alert("ขออภัยค่ะกรุณากรอกหมายเลขบัตรประชาชน13หลัก");document.fmforecastid.ID_card.focus();return false;}
}
</script>
<script>
function validate_number(evt) {
var theEvent = evt || window.event;
var key = theEvent.keyCode || theEvent.which;
key = String.fromCharCode( key );
var regex = /[0-9]|\./;
if( !regex.test(key) ) {
theEvent.returnValue = false;
if(theEvent.preventDefault) theEvent.preventDefault();
}
}
</script>
<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>