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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/tabatabaei/.trash/wp-content.1/themes/eportfolio/classes/about-render.php
<?php
/**
* About Rencer Content.
*
* @package ePortfolio
*/


$base_url = home_url();

$eportfolio_panels_sections = array(

	'theme_general_settings' => array(

		'title' => esc_html__('General Settings','eportfolio'),
		'sections' => array(

			array(
				'title' => esc_html__('Logo & Site Identity','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bcontrol%5D=custom_logo'),
				'icon'	=> 'dashicons-format-image',
			),
			array(
				'title' => esc_html__('Header Media','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=header_image'),
                'icon'	=> 'dashicons-desktop',
			),
			array(
				'title' => esc_html__('Background Image','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=background_image'),
                'icon'	=> 'dashicons-desktop',
			),
			array(
				'title' => esc_html__('Menu Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bpanel%5D=nav_menus'),
				'icon'	=> 'dashicons-menu',
			),

		),

	),
	'theme_colors_panel' => array(

		'title' => esc_html__('Color Settings','eportfolio'),
		'sections' => array(

			array(
				'title' => esc_html__('Color Options','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=colors'),
                'icon'	=> 'dashicons-admin-customizer',
			),
			array(
				'title' => esc_html__('Color Scheme','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=color_schema'),
                'icon'	=> 'dashicons-art',
			),

		),

	),
	'home_sections_repeater' => array(

		'title' => esc_html__('Homepage Content Section','eportfolio'),
		'sections' => array(

			array(
				'title' => esc_html__('Homepage Content Section','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=home_sections_repeater'),
                'icon'	=> 'dashicons-admin-generic',
			),

		),

	),
	'theme_option_panel' => array(

		'title' => esc_html__('Theme Options','eportfolio'),
		'sections' => array(

			array(
				'title' => esc_html__('Header Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=main_header_setting'),
                'icon'	=> 'dashicons-align-center',
			),
			array(
				'title' => esc_html__('Pagination Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=eportfolio_pagination_section'),
                'icon'	=> 'dashicons-ellipsis',
            ),
			array(
				'title' => esc_html__('Article Meta Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=posts_settings'),
                'icon'	=> 'dashicons-admin-settings',
			),
			array(
				'title' => esc_html__('Single Post Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=single_post_setting'),
                'icon'	=> 'dashicons-welcome-write-blog',
			),
			array(
				'title' => esc_html__('Layout Settings','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=layout_setting'),
                'icon'	=> 'dashicons-layout',
			),
			array(
				'title' => esc_html__('Footer Setting','eportfolio'),
				'url'	=> esc_url( $base_url.'/wp-admin/customize.php?autofocus%5Bsection%5D=footer_settings'),
                'icon'	=> 'dashicons-admin-generic',
			),

		),

	),

);

$eportfolio_panel_compare = array(
    array(
        'title' => __('Supports One Click Demo Import', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Logo and Site Title Option', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Header Image', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Background Image', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Basic Color Option', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Advance Color Option', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Webmaster Tools', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Typography Style Option', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Custom Widgets', 'eportfolio'),
        'free' => __('less', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('ePortfolio :- Bio Widget', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('ePortfolio :- Recent Post', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('ePortfolio :- Slider Post', 'eportfolio'),
        'free' => __('3 Layout', 'eportfolio'),
        'pro' => __('5 Layout', 'eportfolio'),
    ),
    array(
        'title' => __('ePortfolio :- Social Widget', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Footer Widgets Area', 'eportfolio'),
        'free' => __('3', 'eportfolio'),
        'pro' => __('4', 'eportfolio'),
    ),
    array(
        'title' => __('Table of Contents', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Coming Soon - Maintenance mode', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Onsite Popup Messages', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Social Nav Options', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Pagination Options', 'eportfolio'),
        'free' => __('4', 'eportfolio'),
        'pro' => __('4', 'eportfolio'),
    ),
    array(
        'title' => __('Archive Options', 'eportfolio'),
        'free' => __('Limited', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Single Post Options', 'eportfolio'),
        'free' => __('Limited', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Copyright Text Edit Option', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Pre-loader Animations', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Instagram Feed Integration', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Twitter Feed Integration', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Facebook Fanpage widget', 'eportfolio'),
        'free' => __('no', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Theme Support', 'eportfolio'),
        'free' => __('Normal', 'eportfolio'),
        'pro' => __('High Priority', 'eportfolio'),
    ),
    array(
        'title' => __('Responsive Layout', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('Translations Ready', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),
    array(
        'title' => __('SEO Optimized', 'eportfolio'),
        'free' => __('yes', 'eportfolio'),
        'pro' => __('yes', 'eportfolio'),
    ),

);
include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
$rec_plugins = ePortfolio_Getting_started::eportfolio_recommended_plugins();
$theme_version = wp_get_theme()->get( 'Version' );
$theme_info = wp_get_theme();
$theme_name = $theme_info->__get('Name');
$pro_theme_name = $theme_name . ' Pro';
?>
<div class="twp-about-main">

	<div class="about-page-header">
		<div class="about-wrapper">
            <div class="about-wrapper-inner">
                <div class="about-header-left">
                    <h1 class="about-theme-title">
                        <a href="<?php echo esc_url( 'https://www.themeinwp.com/theme/eportfolio' ); ?>">
                            <img src="<?php echo esc_url( get_template_directory_uri().'/assets/img/eportfolio-logo.png' ); ?>" class="about-theme-logo">
                            <span class="theme-version"><?php echo esc_html( $theme_version ); ?></span>
                        </a>
                    </h1>
                </div>
                <div class="about-header-right">
                    <div class="about-header-navigation">
                        <a target="_blank" class="about-header-links header-links-home"
                           href="<?php echo esc_url('https://www.themeinwp.com/theme/eportfolio'); ?>">
                            <?php esc_html_e('Theme Details', 'eportfolio'); ?>
                        </a>
                        <a target="_blank" class="about-header-links header-links-preview"
                           href="<?php echo esc_url('https://demo.themeinwp.com/eportfolio'); ?>">
                            <?php esc_html_e('View Demo', 'eportfolio'); ?>
                        </a>
                        <a target="_blank" class="about-header-links header-links-review"
                           href="<?php echo esc_url('https://wordpress.org/support/theme/eportfolio/reviews/?filter=5'); ?>">
                            <?php esc_html_e('Rate This Theme', 'eportfolio'); ?>
                        </a>
                    </div>
                </div>
            </div>
		</div>
	</div>

    <div class="about-tab-navbar">
        <div class="about-wrapper">
            <ul class="tab-navbar-list">
                <li><a href="#about-panel-1"><?php esc_html_e('Getting started', 'eportfolio'); ?></a></li>
                <li><a class="active" href="#about-panel-2"><?php esc_html_e('Free vs Pro', 'eportfolio'); ?></a></li>
                <li><a href="#about-panel-3"><?php esc_html_e('Changelog', 'eportfolio'); ?></a></li>
            </ul>
        </div>
    </div>

    <div class="about-page-content">
	    <div class="about-wrapper">
            <div class="about-wrapper-inner">

                <div class="about-content-left">
                    <div class="about-tab-content">
                        <div id="about-panel-1" class="about-panel-item about-panel-general">
                            <?php
                            foreach( $eportfolio_panels_sections as $panels ){ ?>

                                <div class="about-content-panel">

                                    <?php if( isset( $panels['title'] ) && $panels['title'] ){ ?>

                                        <h2 class="about-panel-title"><?php echo esc_html( $panels['title'] );  ?></h2>

                                    <?php } ?>
                                    <div class="about-panel-items about-panel-2-columns">
                                    <?php

                                    if( isset( $panels['sections'] ) && $panels['sections'] ){

                                        foreach( $panels['sections'] as $section ){ ?>


                                            <div class="about-items-wrap">
                                                <?php if( isset( $section['icon'] ) && $section['icon'] ){ ?>
                                                    <span class="about-items-icon dashicons <?php echo esc_attr( $section['icon'] ); ?>"></span>
                                                <?php } ?>

                                                <?php if( isset( $section['title'] ) && $section['title'] && isset( $section['url'] ) && $section['url'] ){ ?>
                                                    <span class="about-items-title">
                                                        <a href="<?php echo esc_url( $section['url'] ); ?>"><?php echo esc_html( $section['title'] ); ?></a>
                                                    </span>
                                                <?php } ?>
                                            </div>


                                    <?php }

                                    } ?>
                                    </div>
                                </div>

                            <?php } ?>

                            <div class="about-content-panel">

                                <h2 class="about-panel-title"><?php esc_html_e('Recommended Plugins','eportfolio'); ?></h2>

                                <div class="about-panel-items about-panel-1-columns">

                                    <?php foreach ($rec_plugins as $key => $plugin) {

                                        $plugin_info = plugins_api(
                                            'plugin_information',
                                            array(
                                                'slug' => sanitize_key(wp_unslash($key)),
                                                'fields' => array(
                                                    'sections' => false,
                                                ),
                                            )
                                        );

                                        $plugin_status = ePortfolio_Getting_started::eportfolio_plugin_status($plugin['class'], $key, $plugin['PluginFile']); ?>

                                        <div id="<?php echo 'eportfolio-' . esc_attr($key); ?>" class="about-items-wrap">
                                            <div class="theme-recommended-plugin <?php if ($plugin_status['status'] == 'active') { echo 'recommended-plugin-active'; } ?>">

                                                <?php if (isset($plugin_info->name)) { ?>
                                                    <a href="javascript:void(0)"><?php echo esc_html($plugin_info->name); ?></a>
                                                <?php } ?>

                                                <?php if (isset($plugin_status['status']) && isset($plugin_status['string'])) { ?>

                                                    <a class="recommended-plugin-status <?php echo 'twp-plugin-' . esc_attr($plugin_status['status']); ?>"
                                                       plugin-status="<?php echo esc_attr($plugin_status['status']); ?>"
                                                       plugin-file="<?php echo esc_attr($plugin['PluginFile']); ?>"
                                                       plugin-folder="<?php echo esc_attr($key); ?>"
                                                       plugin-slug="<?php echo esc_attr($key); ?>"
                                                       plugin-class="<?php echo esc_attr($plugin['class']); ?>"
                                                       href="javascript:void(0)"><?php echo esc_html($plugin_status['string']); ?></a>

                                                <?php } ?>

                                            </div>

                                        </div>

                                    <?php } ?>

                                </div>

                            </div>
                        </div>

                        <div id="about-panel-2" class="about-panel-item about-panel-compare about-panel-item-active">
                            <?php

                            $free_pro = $eportfolio_panel_compare;
                            if (!empty($free_pro)) {
                                $defaults = array(
                                    'title' => '',
                                    'desc' => '',
                                    'free' => '',
                                    'pro' => '',
                                );

                                if (!empty($free_pro) && is_array($free_pro)) {
                                    echo '<div id="free_pro" class="theme-info-tab-pane theme-info-fre-pro">';
                                    echo '<table class="free-pro-table">';
                                    echo '<thead>';
                                    echo '<tr>';
                                    echo '<th></th>';
                                    echo '<th>' . $theme_name . '</th>';
                                    echo '<th>' . $pro_theme_name . '</th>';
                                    echo '</tr>';
                                    echo '</thead>';
                                    echo '<tbody>';
                                    foreach ($free_pro as $feature) {

                                        $instance = wp_parse_args((array)$feature, $defaults);

                                        /*allowed 7 value in array */
                                        $title = $instance['title'];
                                        $desc = $instance['desc'];
                                        $free = $instance['free'];
                                        $pro = $instance['pro'];

                                        echo '<tr>';
                                        if (!empty($title) || !empty($desc)) {
                                            echo '<td>';
                                            if (!empty($title)) {
                                                echo '<h3 class="compare-tabel-title">' . wp_kses_post($title) . '</h3>';
                                            }
                                            if (!empty($desc)) {
                                                echo '<p>' . wp_kses_post($desc) . '</p>';
                                            }
                                            echo '</td>';
                                        }

                                        if (!empty($free)) {
                                            if ('yes' === $free) {
                                                echo '<td class="theme-feature-check"><span class="dashicons-before dashicons-yes"></span></td>';
                                            } elseif ('no' === $free) {
                                                echo '<td class="theme-feature-cross"><span class="dashicons-before dashicons-no-alt"></span></td>';
                                            } else {
                                                echo '<td class="theme-feature-check">' . esc_html($free) . '</td>';
                                            }

                                        }
                                        if (!empty($pro)) {
                                            if ('yes' === $pro) {
                                                echo '<td class="theme-feature-check"><span class="dashicons-before dashicons-yes"></span></td>';
                                            } elseif ('no' === $pro) {
                                                echo '<td class="theme-feature-cross"><span class="dashicons-before dashicons-no-alt"></span></td>';
                                            } else {
                                                echo '<td class="theme-feature-check">' . esc_html($pro) . '</td>';
                                            }
                                        }
                                        echo '</tr>';
                                    }



                                    echo '</tbody>';
                                    echo '</table>';
                                    echo '</div>';

                                }
                            } ?>
                        </div>

                        <div id="about-panel-3" class="about-panel-item about-panel-changelog">
                            <?php
                            WP_Filesystem();
                            global $wp_filesystem;
                            if (is_child_theme()) {
                                $changelog = $wp_filesystem->get_contents(get_stylesheet_directory() . '/classes/changelog.txt');
                            } else {
                                $changelog = $wp_filesystem->get_contents(get_template_directory() . '/classes/changelog.txt');
                            }
                            if (is_wp_error($changelog)) {
                                $changelog = '';
                            }

                            if (!empty($changelog)) {
                                echo '<div class="featured-section changelog">';
                                echo "<pre class='changelog'>";
                                echo $changelog;
                                echo "</pre>";
                                echo '</div>';
                            }
                            ?>
                        </div>
                    </div>
                </div>

                <div class="about-content-right">

                    <div class="about-content-panel">
                        <h2 class="about-panel-title"><span class="dashicons dashicons-sos"></span> <?php esc_html_e('Looking for help?','eportfolio'); ?></h2>
                        <div class="about-content-info">
                            <p><?php esc_html_e('We have some resources available to help you in the right direction.','eportfolio'); ?></p>
                            <ul>
                                <li>
                                    <a href="<?php echo esc_url( 'https://www.themeinwp.com/support/' ); ?>" target="_blank" rel="noopener"><?php esc_html_e('Create a Ticket','eportfolio'); ?> &#187;</a>
                                </li>
                                <li>
                                    <a href="<?php echo esc_url( 'https://www.themeinwp.com/knowledgebase/' ); ?>" target="_blank" rel="noopener"><?php esc_html_e('Knowledge Base','eportfolio'); ?> &#187;</a>
                                </li>
                                <li>
                                    <a href="<?php echo esc_url( 'https://docs.themeinwp.com/docs/eportfolio' ); ?>" target="_blank" rel="noopener"><?php esc_html_e('Theme Documentation','eportfolio'); ?> &#187;</a>
                                </li>
                            </ul>
                            <p><?php esc_html_e('Behind every single customer support question stands a real person ready to fix the problem in real-time and guide you through.','eportfolio'); ?></p>
                        </div>
                    </div>

                </div>

            </div>
        </div>

        <div class="about-wrapper">
            <div class="about-wrapper-inner">
                <div class="about-content-full">
                    <div class="about-wrapper-footer">
                        <h2 class="about-panel-title"><?php printf( __( 'Unlock all the Features with %1$s Pro', 'eportfolio' ), esc_html( $theme_name ) ); ?></h2>
                        <div class="about-footer-leftside">
                            <ul>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('Color Options','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('800+ Font Families','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('More Custom Widgets','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('More Customizer controls','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('More page/post meta options','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('Webmaster Tools','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('Remove Footer Attribution (copyright)','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-yes"></span><?php esc_html_e('VIP priority Support','eportfolio'); ?></li>
                                <li><span class="dashicons dashicons-plus"></span><?php esc_html_e('much more stuff...','eportfolio'); ?></li>
                            </ul>
                        </div>
                        <div class="about-footer-rightside">
                            <div class="about-footer-upgrade">
                                <h3 class="footer-upgrade-title">
                                    <?php esc_html_e('Upgrade to Pro','eportfolio'); ?>
                                </h3>
                                <div class="footer-upgrade-price">
                                    <sup><?php esc_html_e('$','eportfolio'); ?></sup>
                                    <span><?php esc_html_e('49','eportfolio'); ?></span>
                                </div>
                                <div class="footer-upgrade-link">
                                    <a target="_blank" class="button button-primary button-primary-upgrade" href="<?php echo esc_url( 'https://www.themeinwp.com/theme/eportfolio-pro/' ); ?>"><?php esc_html_e('Upgrade to Pro','eportfolio'); ?></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

haha - 2025