403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/widgets/layout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/widgets/layout/dynamic-category-tab.php
<?php ?>
<div id="dynamic-category-tab-<?php echo $this->get_id(); ?>" class="dynamic-category-tab">

    <?php
    /**
     * Argument
     * for query post
     * ================
     */
    $count = 1;
    $args = array(
        'cat' => $cat_id,
        'orderby'	=> 'date',
        'order'		=> 'DESC',
        'post_type' =>  'post',
        'showposts'	=> $post_num_to_show,
        'post__not_in' => get_option("sticky_posts"),
    );
    $query = new WP_Query($args);
    ?>
    <div class="dynamic-category-tab-wrapper">
    <?php
    if($query->have_posts()):
        ?>
        <div id="<?php echo $this->get_id(); ?>" class="post-list-wrapper">
            <div class="post-content">
                <div class="ajax-content"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></div>
                <?php if(has_post_thumbnail()): ?>
                    <div class="tab-post-thumb">
                        <a href="<?php the_permalink(); ?>">
                            <?php the_post_thumbnail('full' ); ?>
                        </a>
                    </div>
                <?php endif; ?>
            </div>
            <div class="regular-post" id="<?php echo $this->get_id(); ?>" >
            <?php
            while($query->have_posts()):
                $query->the_post();
                ?>

                        <div class="regular-post-wrapper <?php echo ($count == 1) ? 'active' : ''; ?>" data-id="<?php echo get_the_ID(); ?>">

                            <div class="post-data">
                                <div class="post-title">
                                    <a href="<?php the_permalink(); ?>" class="regular-post-title regular-title">
                                        <h3><?php the_title(); ?></h3>
                                    </a>
                                </div>
                                <div class="post-meta">
                                    <div class="post-author"><?php echo get_the_author(); ?></div>
                                    <div class="seperator"> <span><?php esc_html_e('|', 'widgetkit-pro'); ?></span></div>
                                    <div class="post-date"><?php echo get_the_date(); ?></div>
                                </div>

                            </div>
                        </div>

                <?php
                $count++;
            endwhile;

            wp_reset_postdata();
            ?>
            </div>
        </div>
        <?php
    endif;
    ?>
    </div>
    
    <?php //wp_reset_query(); ?>

</div>

Youez - 2016 - github.com/yon3zu
LinuXploit