晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
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/rainic/public_html/oldTZh/wp-content/themes/betheme/bbpress/ |
Upload File : |
<?php /** * New/Edit Topic * * @package bbPress * @subpackage Theme */ ?> <?php if ( !bbp_is_single_forum() ) : ?> <div id="bbpress-forums"> <?php endif; ?> <?php if ( bbp_is_topic_edit() ) : ?> <?php bbp_topic_tag_list( bbp_get_topic_id() ); ?> <?php bbp_single_topic_description( array( 'topic_id' => bbp_get_topic_id() ) ); ?> <?php endif; ?> <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?> <div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form"> <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>"> <?php do_action( 'bbp_theme_before_topic_form' ); ?> <fieldset class="bbp-form"> <legend> <?php if ( bbp_is_topic_edit() ) printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() ); else bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' ); ?> </legend> <?php do_action( 'bbp_theme_before_topic_form_notices' ); ?> <?php if ( !bbp_is_topic_edit() && bbp_is_forum_closed() ) : ?> <div class="bbp-template-notice"> <p><?php _e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></p> </div> <?php endif; ?> <?php if ( current_user_can( 'unfiltered_html' ) ) : ?> <div class="bbp-template-notice"> <p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p> </div> <?php endif; ?> <?php do_action( 'bbp_template_notices' ); ?> <div> <?php bbp_get_template_part( 'form', 'anonymous' ); ?> <?php do_action( 'bbp_theme_before_topic_form_title' ); ?> <p> <label for="bbp_topic_title"><?php printf( __( 'Topic Title (Maximum Length: %d):', 'bbpress' ), bbp_get_title_max_length() ); ?></label><br /> <input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" /> </p> <?php do_action( 'bbp_theme_after_topic_form_title' ); ?> <?php do_action( 'bbp_theme_before_topic_form_content' ); ?> <?php bbp_the_content( array( 'context' => 'topic' ) ); ?> <?php do_action( 'bbp_theme_after_topic_form_content' ); ?> <?php if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?> <p class="form-allowed-tags"> <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> <code><?php bbp_allowed_tags(); ?></code> </p> <?php endif; ?> <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_tags' ); ?> <p> <label for="bbp_topic_tags"><?php _e( 'Topic Tags:', 'bbpress' ); ?></label><br /> <input type="text" value="<?php bbp_form_topic_tags(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> </p> <?php do_action( 'bbp_theme_after_topic_form_tags' ); ?> <?php endif; ?> <?php if ( !bbp_is_single_forum() ) : ?> <?php do_action( 'bbp_theme_before_topic_form_forum' ); ?> <p> <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br /> <?php bbp_dropdown( array( 'show_none' => __( '(No Forum)', 'bbpress' ), 'selected' => bbp_get_form_topic_forum() ) ); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_forum' ); ?> <?php endif; ?> <?php if ( current_user_can( 'moderate' ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_type' ); ?> <p> <label for="bbp_stick_topic"><?php _e( 'Topic Type:', 'bbpress' ); ?></label><br /> <?php bbp_form_topic_type_dropdown(); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_type' ); ?> <?php do_action( 'bbp_theme_before_topic_form_status' ); ?> <p> <label for="bbp_topic_status"><?php _e( 'Topic Status:', 'bbpress' ); ?></label><br /> <?php bbp_form_topic_status_dropdown(); ?> </p> <?php do_action( 'bbp_theme_after_topic_form_status' ); ?> <?php endif; ?> <?php if ( bbp_is_subscriptions_active() && !bbp_is_anonymous() && ( !bbp_is_topic_edit() || ( bbp_is_topic_edit() && !bbp_is_topic_anonymous() ) ) ) : ?> <?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?> <p> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?> <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> <?php else : ?> <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> <?php endif; ?> </p> <?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?> <?php endif; ?> <?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?> <?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?> <fieldset class="bbp-form"> <legend> <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" /> <label for="bbp_log_topic_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> </legend> <div> <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" /> </div> </fieldset> <?php do_action( 'bbp_theme_after_topic_form_revisions' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_before_topic_form_submit_wrapper' ); ?> <div class="bbp-submit-wrapper"> <?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?> <button type="submit" tabindex="<?php bbp_tab_index(); ?>" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button> <?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?> </div> <?php do_action( 'bbp_theme_after_topic_form_submit_wrapper' ); ?> </div> <?php bbp_topic_form_fields(); ?> </fieldset> <?php do_action( 'bbp_theme_after_topic_form' ); ?> </form> </div> <?php elseif ( bbp_is_forum_closed() ) : ?> <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> <div class="bbp-template-notice"> <p><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title() ); ?></p> </div> </div> <?php else : ?> <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> <div class="bbp-template-notice"> <p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p> </div> </div> <?php endif; ?> <?php if ( !bbp_is_single_forum() ) : ?> </div> <?php endif; ?>