403Webshell
Server IP : 35.154.56.2  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-0-189 6.8.0-1029-aws #31-Ubuntu SMP Wed Apr 23 18:20:04 UTC 2025 aarch64
User : ubuntu ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /srv/prima-automation.com/html/wp-content/themes/bapl/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/prima-automation.com/html/wp-content/themes/bapl/views/view-brochures.php
<?php    
    $pageDocumentAttributes = get_post_meta(get_the_ID(), 'pagedocumentattributes', true);

    if(is_array($pageDocumentAttributes) && count($pageDocumentAttributes)) :
        ?><div class="row"><?php            
            foreach($pageDocumentAttributes as $item) {             
                $imgSRC = wp_get_attachment_image_src($item['page-document-image'], 'full');
                $fileID = $item['page-document-file'];
                $downalodFile = wp_get_attachment_url($fileID);
                $filesize = filesize( get_attached_file($fileID) );                
                ?>
                <div class="col-md-3 col-sm-6 col-xs-6">
                    <div class="brochure-img">
                        <a href="<?php echo $downalodFile; ?>" target="_blank" title="<?php echo $item['page-document-title']; ?>">
                            <img src="<?php echo $imgSRC[0]; ?>" alt="" class="img-responsive center-block">
                            <span class="border-overlay"><span class="zoom"></span></span>
                        </a>
                        <h4><?php echo $item['page-document-title']; ?></h4>
                        <span class="small">Size: <?php echo size_format($filesize); ?></span>
                    </div>
                </div>                       
                <?php
            }                        
        ?></div><?php        
    endif;    
?>

Youez - 2016 - github.com/yon3zu
LinuXploit