| Server IP : 172.67.216.113 / Your IP : 172.71.28.146 [ 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/horo2/number/ |
Upload File : |
<?php
include('include/class.php');
$title = 'อาจารย์ไก่ทำนายเบอร์มงคล';
include('include/header.php');
?>
<style>
.number_detail_left{background: rgba(0, 0, 0, .3);padding:10px 15px;border:1px solid #8d3c9f;min-height:80px;}
.number_detail_right{background: rgba(0, 0, 0, .3);padding:22px;border:1px solid #8d3c9f;border-left:0px;text-align:center;min-height:80px;font-weight:bold;font-size:24px;}
.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>
<?php
$phonenumber = $_GET['phonenumber'];
if($phonenumber <> '')
{
include('perl.php');
$Fullscore_p = 100 * count($pass3_all);
$percent_number = (($TotalScore_plus - abs($TotalScore_delete))*100)/$Fullscore_p;
$title_fa = $Phone_class->phonenumber_cover($phonenumber).'('.$p1_sum_number.')';
if($percent_number <= 40){ $txt_sum = 'เบอร์นี้จัดอยู่ในเกณฑ์ที่แย่ สมควรเปลี่ยนเบอร์อย่างยิ่ง';}
if($percent_number >= 41 && $percent_number <= 65){ $txt_sum = 'เบอร์นี้ยังมีตัวเลขที่ไม่ดีอยู่การเปลี่ยนเบอร์ขึ้นอยู่กับวิจารณญาณของผู้ใช้เบอร์';}
if($percent_number >= 66 && $percent_number <= 85){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ดี ถ้าเปลี่ยนควรหาเบอร์ที่เหมาะสมกับดวงของท่านให้มากขึ้น';}
if($percent_number >= 86){ $txt_sum = 'เบอร์นี้อยู่ในเกณฑ์ที่ดีมาก ขึ้นอยู่กับดวงแต่ละบุคคลและการใช้งาน';}
$description_fa = $txt_sum;
}
if($phonenumber <> '')
{
if($percent_number <= 40)
{
?>
<style>
body { background-image:url(images/bg_header_red.jpg);background-repeat:no-repeat;background-color:#000;}
</style>
<?php
}
if($percent_number >= 41 && $percent_number <= 65)
{
?>
<style>
body { background-image:url(images/bg_header_or.jpg);background-repeat:no-repeat;background-color:#000;}
</style>
<?php
}
if($percent_number >= 66 && $percent_number <= 85)
{
?>
<style>
body { background-image:url(images/bg_header_ya.jpg);background-repeat:no-repeat;background-color:#000;}
</style>
<?php
}
if($percent_number >= 86)
{
?>
<style>
body { background-image:url(images/bg_header_gre.jpg);background-repeat:no-repeat;background-color:#000;}
</style>
<?php
}
}
?>
<!-- Begin page content -->
<div class="">
<div class="HeadText2" align="center">
<h1>ทำนายเบอร์มงคล</h1>
</div>
<div style="margin-top:20px;">
<div class="container" style="max-width:1000px;">
<div class="row" style="margin-top:25px;">
<?php
if($phonenumber <> '')
{
?>
<div id="reading_results" style="padding-top:25px;padding-left:15px;padding-right:15px;">
<div class="row">
<div class="col-md-8 font_number" >
<div><?php echo $Phone_class->phonenumber($phonenumber)?></div>
</div>
<div class="col-md-4 font_numbersum">
<div>
<div align="center" style="font-size:12px;">ผลรวมเป็น</div>
<div><?php echo $p1_sum_number; ?></div>
</div>
</div>
</div>
<div class="row" style="margin-top:25px;">
<div class="col-md-8" >
<div class="row">
<div class="col-md-6 number_detail_left">
<div class="ndl_head">ผลรวมเป็น</div>
<div>( คิดเป็นเปอร์เซ็นต์ )</div>
</div>
<div class="col-md-6 number_detail_right">
<div>
<?php $percent_number = number_format($percent_number, 2, '.', ''); ?>
<?php
if($percent_number <= 40){ ?><span style="color:#F00"><?php echo $percent_number ?> %</span><?php }
if($percent_number >= 41 && $percent_number < 66){ ?><span style="color:#C60"><?php echo $percent_number ?> %</span><?php }
if($percent_number >= 66 && $percent_number < 86){ ?><span style="color:#FF0"><?php echo $percent_number ?> %</span><?php }
if($percent_number >= 86){ ?><span style="color:#090"><?php echo $percent_number ?> %</span><?php }
?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 number_detail_left h_120">
<div class="ndl_head">น้ำหนักคำพยากรณ์</div>
<div>( คำนวณเลขมงคล 7 หลัก )</div>
</div>
<div class="col-md-6 number_detail_right h_120">
<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 h_160">
<div class="col-md-6 number_detail_left h_160">
<div class="ndl_head" style="padding-top:15px;">เบอร์จัดอยู่ในระดับ</div>
</div>
<div class="col-md-6 number_detail_right h_160">
<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">
<div class="col-md-6 number_detail_left">
<div class="ndl_head" style="padding-top:15px;">อยู่ในหมวด</div>
</div>
<?php
$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);
?>
<div class="col-md-6 number_detail_right">
<div><?php echo $row_cat['title']; ?></div>
</div>
</div>
</div>
<div class="col-md-4">
<?php $element = $Phone_class->element($p1_sum_number);?>
<?php $arr_element = $Phone_class->element_forecast($element);?>
<div>
<div align="center"><img src="images/img_<?php echo $arr_element['nameimg']?>.png" width="340" height="350" class="img-responsive"></div>
<div align="center" class="ndl_head">ธาตุ<?php echo $arr_element['name']?></div>
</div>
</div>
</div>
<br>
<?php
$Fullscore = 5 * count($pass3_all);//จำนวนค่าที่นำมาคำนวณ
?>
<br>
<div align="center"><img src="images/line2.png" class="img-responsive" style="padding:15px 0"></div>
<div style="font-size:16px;" align="center">เบอร์ดีหรือไม่ดีนั้น ส่วนหนึ่งอยู่ที่การนำไปใช้ กับงานที่เหมาะสมด้วย</div>
<div align="center"><img src="images/line2.png" class="img-responsive" style="padding:15px 0"></div>
<?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;font-size:16px;"><?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;font-size:16px;"><?php echo $row_de4['detail']?></div><?php
}
?>
</div>
<?php include('recommend.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);
}
?>
<div align="center"> <img src="images/bg_forecast.png" class="img-responsive" /> </div>
</div>
</div>
</div>
</div>
<?php
include('include/footer.php');
?>
<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>