AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ Reverse IP ]
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/simded.com/horo/daily/elemental2.php
<?php include('include/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_ck = array('table'=>'elemental','count'=>'COUNT(id) as num_id','where'=>'date_encode = "'.$_GET['d'].'"');
	$view_ck = $view_db->view($list_ck);
	//$result_ck = $view_db->q_re($view_ck);
	$row_ck = $view_db->q($view_ck);

	if($row_ck['num_id'] > 0)
	{

		$list = array('table'=>'elemental','where'=>'date_encode = "'.$_GET['d'].'"');
		$view = $view_db->view($list);
		$result = $view_db->q_re($view);
		$row_num = mysqli_num_rows($result);
		$row = $view_db->q($view);


		$G_today = $row['date'];//base64_decode($_GET['d']);// $_GET['d'];

		$d_today = date('Ymd');
		$arr_today = explode('-', $G_today );
		$g_day = $arr_today[0].$arr_today[1].$arr_today[2];


		$tm = (int)$arr_today[1];
		$todayy = $arr_today[0]+543;

		$today = $G_today;
		$tomorrow = date('Y-n-d',strtotime($today . "+1 days"));
		$arr_tomorrow = explode('-', $tomorrow );

		$date_N = date("N", mktime(0, 0, 0, $arr_tomorrow['1'], $arr_tomorrow['2'], $arr_tomorrow['0'])); //date('N', $tomorrow);//วัน
		//$arr_week_th = array('1'=>'วันจันทร์','วันอังคาร','วันพุธ','วันพฤหัสบดี','วันศุกร์','วันเสาร์','วันอาทิตย์');
    $arr_elemental_th = array('1'=>'ธาตุน้ำ','ธาตุไม้','ธาตุไฟ','ธาตุดิน','ธาตุทอง');
		$date_N_th = $arr_elemental_th[$date_N];
		$arr_month_th =  array('1'=>"มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");
		$m = $arr_tomorrow[1];
		$date_m_th = $arr_month_th[$m];

		$text_today = $arr_today[2] . ' ' .$arr_month_th[$tm] .' '. $todayy;

		$w_title = 'Daily';
		$w_description = 'ดูดวงรายวัน วันที่ '. $text_today;
		$w_keywords = 'ดูดวงรายวัน วันที่ '. $text_today;
	}
	?>

    <title>Daily</title>

    <meta name="title" content="<?php echo $w_title?> | <?php echo $webmain ?>">
    <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]-->
   <link href="css/styles.css" rel="stylesheet">
  </head>
<style>
.div-lucky-number-1{border-radius:6px;margin:0 10px;padding:10px;text-align:center}
.div-lucky-number-2{border-radius:6px;margin:0 0px;padding:10px;text-align:center}
.div-lucky-number-1{ display:none;}
.div-detail{ margin-top:30px;}

@media (max-width:768px)
{
	.div-lucky-number-2{ display:none;}
	.div-lucky-number-1{ display:block;float:left;width:80%}
	.img-day{ float:left;}
	.fn_detail,.fn_title{ font-size:12px;}
	.bg_tab{ padding-bottom: 15px;}
	.div-detail{ margin-top:15px;}
}
@media (max-width:667px)
{
	.div-lucky-number-1{ display:block;float:left;width:75%}
}
@media (max-width:414px)
{
	.img-logo{ width:100px;}
	.text_date{padding-top: 5px;padding-bottom: 5px;}
	.img-day{ width:50px;}
	.div-lucky-number-1{float:left;width:76%}


}
@media (max-width:375px)
{
	.div-lucky-number-1{float:left;width:73%}
}
.Dwater {
    border: 2px solid #015b7e;
    background-color: #FFF;
}
.Dwood{
  border: 2px solid #5f8808;
  background-color: #FFF;
}
.Dfire{
  border: 2px solid #87080f;
  background-color: #FFF;
}
.Dearth{
  border: 2px solid #733705;
  background-color: #FFF;
}
.Dgolden{
  border: 2px solid #c9a513;
  background-color: #FFF;
}
.btn-warning {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}
</style>
  <body>

  <div id="show_time" style="display:block;">
    <div class="container">
      <div class="logo" style="margin-top:5px;"> <img src="image/logo4.jpg" width="265" height="75"  class="img-responsive img-logo" > </div>

      <div class="">
        <div class="row">
          <div class="col-md-12 col-md-offset-1">
            <div class="text-center">
              <img src="redbag/elemental/img-elecmental.jpg" alt="" class="img-responsive" onclick="totalgle('show_time','show_time2')">
            </div>
          </div>
          <div class="col-md-11 col-md-offset-1">
            <div class="text-center" style="margin-top: 3rem; margin-bottom: 3rem;">
              <button type="button" name="button" onclick="totalgle('show_time','show_time2')" class=" btn btn-lg btn-warning" style="padding-left: 3rem; padding-right: 3rem;">อ่านคำทำนาย</button>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>
  <div id="show_time2" style="display: none">

    <div class="container">
      <div class="logo" style="margin-top:5px;"> <img src="image/logo4.jpg" width="265" height="75"  class="img-responsive img-logo" > </div>

      <div class="bg_tab">

        <?php
        if($row_ck['num_id'] > 0)
        {
          ?>
          <div class="text_date">
            วันที่ <?php echo $text_today; ?>
          </div>
          <div class="row">
            <div class="col-md-8 col-md-offset-2">
              <div class="">
                <ul class="nav nav-tabs">
                  <li class="active lisun"><a data-toggle="tab" href="#tab_sun" style="background-color: #015b7e;text-align: center;color: #ffffff;">
                    ธาตุน้ำ</a></li>
                  <li class="limon">
                    <a data-toggle="tab" href="#tab_mon" style="background-color: #5f8808;text-align: center;color: #ffffff;">
                    ธาตุไม้</a></li>
                  <li class="litue"><a data-toggle="tab" href="#tab_tue" style="background-color: #87080f;text-align: center;color: #ffffff;">
                    ธาตุไฟ</a></li>
                  <li class="liwed"><a data-toggle="tab" href="#tab_wed" style="background-color: #733705;text-align: center;color: #ffffff;">
                    ธาตุดิน</a></li>
                  <li class="lithu"><a data-toggle="tab" href="#tab_thu" style="background-color: #c9a513;text-align: center;color: #ffffff;">
                    ธาตุทอง</a></li>
                </ul>

                            <div class="tab-content">
                              <div id="tab_sun" class="tab-pane fade in active Dwater">

                                <div class="row">
                                  <div class="col-md-3">
                                    <img src="redbag/elemental/551245.png" width="150" height="150" class="img-responsive img-day" >

                                    <?php /*
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div class="div-lucky-number-1" style="border:2px solid #015b7e;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>

                                      <?php
                                    }
                                    ?>
                                    <div class="div-lucky-number-1" style="border:2px solid #015b7e;">
                                      ธาตุน้ำ
                                    </div>
                                    <div style="clear:left;"></div>

                                  </div>
                                  <div class="col-md-10 fn_detail">

                                    <?php
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div  class="div-lucky-number-2" style="border:2px solid #015b7e;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>
                                      <?php
                                    }*/
                                    ?>

                                    <div class="div-lucky-number-1" style="border:2px solid #015b7e;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุน้ำ
                                      </h3>
                                    </div>
                                    <div style="clear:left;"></div>

                                    </div>
                                    <div class="col-md-9 fn_detail">
                                    <div  class="div-lucky-number-2" style="border:2px solid #015b7e;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุน้ำ
                                      </h3>
                                    </div>


                                    ดูดวงคนเกิดธาตุ <span class="fn_title" style="color:#015b7e;"> น้ำ </span>
                                    <br>

                                    <div class="fn_titlesub" style="color:#015b7e;">ทั่วไป: </div>
                                    <?php echo $row['water_element'] ?> <br>

                                  </div>
                                </div>
                              </div>
                              <div id="tab_mon" class="tab-pane fade Dwood">

                                <div class="row">
                                  <div class="col-md-3"><img src="redbag/elemental/551246.png" width="150" height="150" class="img-responsive img-day" >

                                    <?php /*
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div class="div-lucky-number-1" style="border:2px solid #5f8808;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>

                                      <?php
                                    }
                                    ?>
                                    <div style="clear:left;"></div>

                                  </div>
                                  <div class="col-md-10 fn_detail">

                                    <?php
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div  class="div-lucky-number-2" style="border:2px solid #5f8808;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>
                                      <?php
                                    }*/
                                    ?>
                                    <div class="div-lucky-number-1" style="border:2px solid #5f8808;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุไม้
                                      </h3>
                                    </div>
                                    <div style="clear:left;"></div>

                                    </div>
                                    <div class="col-md-9 fn_detail">
                                    <div  class="div-lucky-number-2" style="border:2px solid #5f8808;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุไม้
                                      </h3>
                                    </div>


                                    ดูดวงคนเกิดธาตุ  <span class="fn_title" style="color:#5f8808;"> ไม้ </span>
                                    <br>

                                    <div class="fn_titlesub" style="color:#5f8808;">ทั่วไป: </div>
                                    <?php echo $row['wood_element'] ?> <br>


                                  </div>
                                </div>
                              </div>
                              <div id="tab_tue" class="tab-pane fade Dfire">



                                <div class="row">
                                  <div class="col-md-3"><img src="redbag/elemental/551247.png" width="150" height="150" class="img-responsive img-day" >

                                    <?php /*
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div class="div-lucky-number-1" style="border:2px solid #87080f;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>

                                      <?php
                                    }
                                    ?>
                                    <div style="clear:left;"></div>

                                  </div>
                                  <div class="col-md-10 fn_detail">

                                    <?php
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div  class="div-lucky-number-2" style="border:2px solid #87080f;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>
                                      <?php
                                    } */
                                    ?>

                                    <div class="div-lucky-number-1" style="border:2px solid #87080f;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุไฟ
                                      </h3>
                                    </div>
                                    <div style="clear:left;"></div>

                                    </div>
                                    <div class="col-md-9 fn_detail">
                                    <div  class="div-lucky-number-2" style="border:2px solid #87080f;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุไฟ
                                      </h3>
                                    </div>


                                    ดูดวงคนเกิดธาตุ  <span class="fn_title" style="color:#87080f;"> ไฟ </span>
                                    <br>

                                    <div class="fn_titlesub" style="color:#87080f;">ทั่วไป: </div>
                                    <?php echo $row['fire_element'] ?> <br>

                                  </div>
                                </div>
                              </div>
                              <div id="tab_wed" class="tab-pane fade Dearth">



                                <div class="row">
                                  <div class="col-md-3"><img src="redbag/elemental/551248.png" width="150" height="150" class="img-responsive img-day" >

                                    <?php /*
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div class="div-lucky-number-1" style="border:2px solid #733705;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>

                                      <?php
                                    }
                                    ?>
                                    <div style="clear:left;"></div>

                                  </div>
                                  <div class="col-md-10 fn_detail">

                                    <?php
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div  class="div-lucky-number-2" style="border:2px solid #733705;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>
                                      <?php
                                    } */
                                    ?>

                                    <div class="div-lucky-number-1" style="border:2px solid #733705;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุดิน
                                      </h3>
                                    </div>
                                    <div style="clear:left;"></div>

                                    </div>
                                    <div class="col-md-9 fn_detail">
                                    <div  class="div-lucky-number-2" style="border:2px solid #733705;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุดิน
                                      </h3>
                                    </div>


                                    ดูดวงคนเกิดธาตุ   <span class="fn_title" style="color:#733705;"> ดิน </span>
                                    <br>

                                    <div class="fn_titlesub" style="color:#733705;">ทั่วไป: </div>
                                    <?php echo $row['earth_element'] ?> <br>


                                  </div>
                                </div>
                              </div>
                              <div id="tab_thu" class="tab-pane fade Dgolden">



                                <div class="row">
                                  <div class="col-md-3"><img src="redbag/elemental/551244.png" width="150" height="150" class="img-responsive img-day" >

                                    <?php /*
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div class="div-lucky-number-1" style="border:2px solid #c9a513;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>

                                      <?php
                                    }
                                    ?>
                                    <div style="clear:left;"></div>

                                  </div>
                                  <div class="col-md-10 fn_detail">

                                    <?php
                                    if($row['lucky_number'] <> '')
                                    {
                                      ?>
                                      <div  class="div-lucky-number-2" style="border:2px solid #c9a513;">
                                        <?php echo $row['lucky_number']; ?>
                                      </div>
                                      <?php
                                    }*/
                                    ?>
                                    <div class="div-lucky-number-1" style="border:2px solid #c9a513;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุทอง
                                      </h3>
                                    </div>
                                    <div style="clear:left;"></div>

                                    </div>
                                    <div class="col-md-9 fn_detail">
                                    <div  class="div-lucky-number-2" style="border:2px solid #c9a513;">
                                      <h3 style="font-weight: 700;margin-top: 10px;">
                                        ธาตุทอง
                                      </h3>
                                    </div>


                                    ดูดวงคนเกิดธาตุ  <span class="fn_title" style="color:#c9a513;"> ทอง </span>
                                    <br>

                                    <div class="fn_titlesub" style="color:#c9a513;">ทั่วไป: </div>
                                    <?php echo $row['golden_element'] ?> <br>


                                  </div>
                                </div>
                              </div>

                            </div>



                          </div>


                        </div>
                      </div>
                      <?php
                    }
                    else
                    {
                      ?>
                      <div class="row">
                        <div class="col-md-8 col-md-offset-2">
                          <div style="border:2px solid #F00;background-color:#FFF;color:#F00;font-size:20px; text-align:center;padding:20px;margin:30px 0;"> ไม่พบข้อมูล </div>
                        </div>
                      </div>
                      <?php
                    }
                    ?>



                  </div>

                  <?php
                  if($row['detail'] <> '')
                  {
                    ?>
                    <div class="row div-detail">
                      <div class="col-md-6 col-md-offset-3">

                        <div align="center">
                          <?php
                          if($row['img'] == ''){?><img src="image/img_default2565.jpg" width="452" height="94" class="img-responsive" ><?php }
                          else
                          {
                            ?><img src="redbag/elemental/<?php echo $row['img']?>" width="452" height="94" class="img-responsive" ><?php
                          }
                          ?>
                        </div>
                        <div style="padding:20px;" align="center">
                          <?php echo $row['detail']?>
                        </div>

                      </div>
                    </div>
                    <?php
                  }
                  ?>




                </div><!-- /.container -->
  </div>

	<?php include('include/footer_js.php');?>
  <script>
    function totalgle(id,id2){
      var frm1 = document.getElementById(id);
      var frm2 = document.getElementById(id2);
      if(frm1.style.display === 'block'){
        frm1.style.display = 'none';
        frm2.style.display = 'block';
      }
    }
  </script>
  </body>
</html>

Anon7 - 2022
AnonSec Team