晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
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/LayerSlider/ |
Upload File : |
<?php
/*
CHECK THE "QUICK START GUIDE.HTML" FILE LOCATED
IN THIS DIRECTORY FOR INSTALLATION INSTRUCTIONS
AND OTHER HELPFUL RESOURCES.
*/
/*
Plugin Name: LayerSlider WP
Plugin URI: https://layerslider.kreaturamedia.com
Version: 6.11.2
Description: LayerSlider is a premium multi-purpose content creation and animation platform. Easily create sliders, image galleries, slideshows with mind-blowing effects, popups, landing pages, animated page blocks, or even a full website. LayerSlider empowers millions of active websites on a daily basis with stunning visuals and eye-catching effects.
Author: Kreatura Media
Author URI: https://kreaturamedia.com
License: Kreatura License
License URI: https://layerslider.kreaturamedia.com/licensing/
Text Domain: LayerSlider
Domain Path: /assets/locales
*/
// Prevent direct file access
defined( 'ABSPATH' ) || exit;
define( 'LS_MINIMUM_PHP_VERSION', '5.3' );
define( 'LS_MINIMUM_WP_VERSION', '3.5' );
$php_version = phpversion();
$wp_version = get_bloginfo('version');
// Detect duplicate versions of LayerSlider
if( defined('LS_PLUGIN_VERSION') || isset( $GLOBALS['lsPluginPath'] ) ) {
add_action( 'admin_notices', 'ls_duplicate_version_notice' );
// Check required PHP version
} elseif( version_compare( $php_version, LS_MINIMUM_PHP_VERSION, '<' ) ) {
add_action( 'admin_notices', 'ls_server_requirements_notice' );
// Check required WordPress version
} elseif( version_compare( $wp_version, LS_MINIMUM_WP_VERSION, '<' ) ) {
add_action( 'admin_notices', 'ls_wordpress_requirements_notice' );
// Initialize the plugin
} else {
define( 'LS_ROOT_FILE', __FILE__ );
define( 'LS_PLUGIN_VERSION', '6.11.2' );
define( 'LS_DB_VERSION', '6.9.0' );
require __DIR__.'/assets/init.php';
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if( ! function_exists( 'ls_duplicate_version_notice' ) ) {
function ls_duplicate_version_notice() { ?>
<div class="notice notice-error" style="text-align: justify;">
<h3>Action Required: Multiple LayerSlider instances detected</h3>
<p>It looks like you already had one copy of LayerSlider installed on your site. Having multiple copies installed simultaneously can cause serious issues, thus other copies are suppressed until this issue gets resolved. Here’s what you can do:</p>
<ul class="ul-square">
<li>Please check your <a href="<?php echo admin_url( 'plugins.php' ) ?>">Plugins screen</a> and disable the older copies of LayerSlider. <b>Remember, you should see at least two copies of LayerSlider and you should disable those beside the one you’ve just installed.</b> Look at their version number to easily identify them. You’ll likely want to disable the ones with a lower version number.</li>
<li>If the other copies aren’t listed there, it’s almost certain that your active WordPress theme loads LayerSlider as a bundled plugin. In such a case, please check your theme’s settings and find a way to uninstall or disable loading the bundled version of LayerSlider. The process is different for each theme, thus we recommend contacting the appropriate theme author if you experience difficulties.</li>
</ul>
<p><small style="font-size: 13px; color: #666;">This message will automatically be dismissed once the issue has been resolved. You can also disable all copies of LayerSlider under the Plugins screen to hide this message. However, we strongly discourage choosing that since you might be stuck with an old and potentially outdated version of LayerSlider or no access to any version at all.</small></p>
</div>
<?php } }
if( ! function_exists( 'ls_server_requirements_notice' ) ) {
function ls_server_requirements_notice() { ?>
<div class="notice notice-error" style="text-align: justify;">
<h3>Action Required: LayerSlider cannot run on your server with its current settings</h3>
<p><b>LayerSlider requires PHP <?php echo LS_MINIMUM_PHP_VERSION ?> or greater. Please contact your hosting provider and ask them to upgrade the PHP on your server. WordPress itself has much higher <a target="_blank" href="https://wordpress.org/about/requirements/">requirements</a> with its current releases. Upgrading is necessary to be compatible with the latest releases of WordPress and the overwhelming majority of its themes and plugins. It’s also crucial for security and performance, so be pushy if your host is hesitant. <a href="https://wordpress.org/support/update-php/" target="_blank">Learn more about updating PHP</a></b></p>
<p><b>Alternatively, if you’ve previously purchased LayerSlider, you can log in to <a href="https://account.kreaturamedia.com/" target="_blank">Your Account</a> and download & install an older release that supported this version of PHP. However, we strongly recommend to use this only as a temporary measure.</b></p>
<p><small style="font-size: 13px; color: #666;">This message will automatically be dismissed once the issue has been resolved. After that, look for the <b>LayerSlider WP</b> sidebar menu item to get started using the plugin. You can also disable LayerSlider under the Plugins screen to hide this message. However, we strongly discourage choosing to look away as your site will remain in a vulnerable state and you will experience more and more issues with themes and plugins if you don’t take the necessary steps.</small></p>
</div>
<?php } }
if( ! function_exists( 'ls_wordpress_requirements_notice' ) ) {
function ls_wordpress_requirements_notice() { ?>
<div class="notice notice-error" style="text-align: justify;">
<h3>Action Required: LayerSlider cannot run on this version of WordPress</h3>
<p><b>LayerSlider requires WordPress <?php echo LS_MINIMUM_WP_VERSION ?> or greater. Please visit <a href="<?php echo admin_url( 'update-core.php' ) ?>">Dashboard → Updates</a> and try to run the updater. If you run into troubles, contact your server hosting provider and ask them to make any changes that may be necessary. Your current WordPress version is reached its End-of-Life, meaning it doesn’t even receive security updates. Updating is strongly recommended.</b></p>
<p><b>Alternatively, if you’ve previously purchased LayerSlider, you can log in to <a href="https://account.kreaturamedia.com/" target="_blank">Your Account</a> and download & install an older release that supported this version of WordPress. However, we strongly recommend to use this only as a temporary measure.</b></p>
<p><small style="font-size: 13px; color: #666;">This message will automatically be dismissed once the issue has been resolved. After that, look for the <b>LayerSlider WP</b> sidebar menu item to get started using the plugin. You can also disable LayerSlider under the Plugins screen to hide this message. However, we strongly discourage choosing to look away as your site will remain in a vulnerable state and you will experience more and more issues with themes and plugins if you don’t take the necessary steps.</small></p>
</div>
<?php } }