| 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/simded.com/horo/daily/ |
Upload File : |
<?php include('include_m/class.php');?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php
$list_num = array('table'=>'sms2','count'=>'COUNT(id) AS numid','where'=>'encode = "'.$_GET['d'].'"');
$view_num = $view_db->view($list_num);
$row_num = $view_db->q($view_num);
if($row_num['numid'] > 0)
{
$G_today = base64_decode($_GET['d']);
$list = array('table'=>'sms2','where'=>'encode = "'.$_GET['d'].'"');
$view = $view_db->view($list);
$row = $view_db->q($view);
//$G_today = '2018-05-23-17';
$d_today = date('Ymd');
$arr_date = explode('-', $row['date'] );
$arr_month_th = array('1'=>"มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
$m =(int)$arr_date[1];
$yth = $arr_date[0]+543;
//$text_today = $arr_date['3'].' - '.$arr_date['2'].' '.$arr_month_th[$m].' พ.ศ. '.$yth;
$text_today = 'วันที่ '. $arr_date['2'].' '.$arr_month_th[$m].' '.$yth;
$w_title = 'ดวงรายวัน ' .$row['name'];;
$w_description = 'ดวงรายวัน '. $row['name'];
$w_keywords = 'ดวงรายวัน ประจำวันที่ '. $row['name'];
}
?>
<title>ดวงรายวัน</title>
<meta name="title" content="<?php echo $w_title?>">
<meta name="description" content="<?php echo $w_description?>">
<meta name="keywords" content="<?php echo $w_keywords?>">
<!-- Bootstrap core CSS -->
<link href="plugin/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="plugin/bootstrap-3.3.7/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="plugin/bootstrap-3.3.7/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="clearfix" style="border-top:15px solid #e8e3e7;border-bottom:2px solid #e8e3e7;">
<div align="center"> <img src="image/texttoday.jpg" width="540" height="85" class="img-responsive"></div>
<?php
if($row_num['numid'] > 0)
{
?>
<p style="margin: 0px;margin-bottom: 6px;margin-top: 8px;;"><?php echo $text_today ?></p>
<p><span style="color:#C0392B"><strong><?php echo $row['name'] ?></strong></span></p>
<p><div style="color:#3498DB;text-indent: 0px;margin-top:5px;"><?php echo $row['detail1'] ?></div></p>
<p><div style="color:#F39C12;text-indent: 0px;"><?php echo $row['detail2'] ?></div></p> </div>
<?php
}
else
{
?>
<div class="row" style="margin-bottom:10px;">
<div class="col-md-8 col-md-offset-2">
<div style="border:0px solid #F00;background-color:#FFF;color:#F00;font-size:20px; text-align:center;padding:20px;margin:30px 0;"> ไม่พบข้อมูล </div>
</div>
</div>
<?php
}
?>
</div>
</div>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="plugin/bootstrap-3.3.7/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="plugin/bootstrap-3.3.7/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>