当前位置: 首页>>代码示例>>PHP>>正文


PHP sp_esc_int函数代码示例

本文整理汇总了PHP中sp_esc_int函数的典型用法代码示例。如果您正苦于以下问题:PHP sp_esc_int函数的具体用法?PHP sp_esc_int怎么用?PHP sp_esc_int使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了sp_esc_int函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: spa_render_options_container

function spa_render_options_container($formid)
{
    switch ($formid) {
        case 'global':
            include_once SF_PLUGIN_DIR . '/admin/panel-options/forms/spa-options-global-form.php';
            spa_options_global_form();
            break;
        case 'display':
            include_once SF_PLUGIN_DIR . '/admin/panel-options/forms/spa-options-display-form.php';
            spa_options_display_form();
            break;
        case 'content':
            include_once SF_PLUGIN_DIR . '/admin/panel-options/forms/spa-options-content-form.php';
            spa_options_content_form();
            break;
        case 'members':
            include_once SF_PLUGIN_DIR . '/admin/panel-options/forms/spa-options-members-form.php';
            spa_options_members_form();
            break;
        case 'email':
            include_once SF_PLUGIN_DIR . '/admin/panel-options/forms/spa-options-email-form.php';
            spa_options_email_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:35,代码来源:spa-options-display.php

示例2: spa_render_integration_container

function spa_render_integration_container($formid)
{
    switch ($formid) {
        case 'page':
            include_once SF_PLUGIN_DIR . '/admin/panel-integration/forms/spa-integration-page-form.php';
            spa_integration_page_form();
            break;
        case 'storage':
            include_once SF_PLUGIN_DIR . '/admin/panel-integration/forms/spa-integration-storage-form.php';
            spa_integration_storage_form();
            break;
        case 'language':
            include_once SF_PLUGIN_DIR . '/admin/panel-integration/forms/spa-integration-language-form.php';
            spa_integration_language_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:27,代码来源:spa-integration-display.php

示例3: spa_render_themes_container

function spa_render_themes_container($formid)
{
    switch ($formid) {
        case 'theme-list':
            include_once SF_PLUGIN_DIR . '/admin/panel-themes/forms/spa-themes-list-form.php';
            spa_themes_list_form();
            break;
        case 'mobile':
            include_once SF_PLUGIN_DIR . '/admin/panel-themes/forms/spa-themes-mobile-form.php';
            spa_themes_mobile_form();
            break;
        case 'tablet':
            include_once SF_PLUGIN_DIR . '/admin/panel-themes/forms/spa-themes-tablet-form.php';
            spa_themes_tablet_form();
            break;
        case 'editor':
            include_once SF_PLUGIN_DIR . '/admin/panel-themes/forms/spa-themes-editor-form.php';
            spa_themes_editor_form();
            break;
        case 'theme-upload':
            include_once SF_PLUGIN_DIR . '/admin/panel-themes/forms/spa-themes-upload-form.php';
            spa_themes_upload_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:35,代码来源:spa-themes-display.php

示例4: spa_render_admins_container

function spa_render_admins_container($formid)
{
    switch ($formid) {
        case 'youradmin':
            include_once SF_PLUGIN_DIR . '/admin/panel-admins/forms/spa-admins-your-options-form.php';
            spa_admins_your_options_form();
            break;
        case 'globaladmin':
            include_once SF_PLUGIN_DIR . '/admin/panel-admins/forms/spa-admins-global-options-form.php';
            spa_admins_global_options_form();
            break;
        case 'manageadmin':
            require_once ABSPATH . 'wp-admin/includes/admin.php';
            include_once SF_PLUGIN_DIR . '/admin/panel-admins/forms/spa-admins-manage-admins-form.php';
            spa_admins_manage_admins_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:28,代码来源:spa-admins-display.php

示例5: sp_build_url

function sp_build_url($forumslug, $topicslug, $pageid, $postid = 0, $postindex = 0, $rss = 0)
{
    if ($postid != 0 && $pageid == 0) {
        $pageid = sp_determine_page($forumslug, $topicslug, sp_esc_int($postid), sp_esc_int($postindex));
    }
    $url = trailingslashit(sp_url());
    if ($forumslug) {
        $url .= $forumslug;
    }
    if ($topicslug) {
        $url .= '/' . $topicslug;
    }
    if ($rss) {
        if (!empty($forumslug) || !empty($topicslug)) {
            $url .= '/';
        }
        $url .= 'rss';
    }
    if ($pageid > 1) {
        $url .= '/page-' . $pageid;
    }
    $url = user_trailingslashit($url);
    if ($postid) {
        $url .= '#p' . $postid;
    }
    return esc_url($url);
}
开发者ID:Bakerpedia,项目名称:Developement_WPengine,代码行数:27,代码来源:sp-api-permalinks.php

示例6: spa_render_profiles_container

function spa_render_profiles_container($formid)
{
    switch ($formid) {
        case 'options':
            include_once SF_PLUGIN_DIR . '/admin/panel-profiles/forms/spa-profiles-options-form.php';
            spa_profiles_options_form();
            break;
        case 'tabsmenus':
            include_once SF_PLUGIN_DIR . '/admin/panel-profiles/forms/spa-profiles-tabs-menus-form.php';
            spa_profiles_tabs_menus_form();
            break;
        case 'avatars':
            include_once SF_PLUGIN_DIR . '/admin/panel-profiles/forms/spa-profiles-avatars-form.php';
            spa_profiles_avatars_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:27,代码来源:spa-profiles-display.php

示例7: sp_admin_bar_admin_options_save

function sp_admin_bar_admin_options_save()
{
    $options = '';
    $options['dashboardposts'] = isset($_POST['dashboardposts']);
    sp_update_option('spAdminBar', $options);
    sp_update_option('spAkismet', sp_esc_int($_POST['spAkismet']));
    return __('Admin bar options updated!', 'spab');
}
开发者ID:bself,项目名称:nuimage-wp,代码行数:8,代码来源:sp-admin-bar-admin-save.php

示例8: spa_render_toolbox_container

function spa_render_toolbox_container($formid)
{
    switch ($formid) {
        case 'toolbox':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-toolbox-form.php';
            spa_toolbox_toolbox_form();
            break;
        case 'environment':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-environment-form.php';
            spa_toolbox_environment_form();
            break;
        case 'housekeeping':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-housekeeping-form.php';
            spa_toolbox_housekeeping_form();
            break;
        case 'inspector':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-inspector-form.php';
            spa_toolbox_inspector_form();
            break;
        case 'cron':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-cron-form.php';
            spa_toolbox_cron_form();
            break;
        case 'log':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-log-form.php';
            spa_toolbox_log_form();
            break;
        case 'errorlog':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-errorlog-form.php';
            spa_toolbox_errorlog_form();
            break;
        case 'changelog':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-changelog-form.php';
            spa_toolbox_changelog_form();
            break;
        case 'uninstall':
            include_once SF_PLUGIN_DIR . '/admin/panel-toolbox/forms/spa-toolbox-uninstall-form.php';
            spa_toolbox_uninstall_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:51,代码来源:spa-toolbox-display.php

示例9: spa_render_components_container

function spa_render_components_container($formid)
{
    switch ($formid) {
        case 'smileys':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-smileys-form.php';
            spa_components_smileys_form();
            break;
        case 'login':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-login-form.php';
            spa_components_login_form();
            break;
        case 'seo':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-seo-form.php';
            spa_components_seo_form();
            break;
        case 'forumranks':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-forumranks-form.php';
            spa_components_forumranks_form();
            break;
        case 'addmembers':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-special-ranks-add-form.php';
            spa_components_sr_add_members_form($_GET['id']);
            break;
        case 'delmembers':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-special-ranks-del-form.php';
            spa_components_sr_del_members_form($_GET['id']);
            break;
        case 'messages':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-messages-form.php';
            spa_components_messages_form();
            break;
        case 'policies':
            include_once SF_PLUGIN_DIR . '/admin/panel-components/forms/spa-components-policies-form.php';
            spa_components_policies_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:47,代码来源:spa-components-display.php

示例10: spa_get_login_data

function spa_get_login_data()
{
    $sfcomps = array();
    $sflogin = array();
    $sflogin = sp_get_option('sflogin');
    $sfcomps['sfregmath'] = $sflogin['sfregmath'];
    $sfcomps['sfloginurl'] = sp_filter_url_display($sflogin['sfloginurl']);
    $sfcomps['sfloginemailurl'] = sp_filter_url_display($sflogin['sfloginemailurl']);
    $sfcomps['sflogouturl'] = sp_filter_url_display($sflogin['sflogouturl']);
    $sfcomps['sfregisterurl'] = sp_filter_url_display($sflogin['sfregisterurl']);
    $sfcomps['sptimeout'] = sp_esc_int($sflogin['sptimeout']);
    $sfrpx = sp_get_option('sfrpx');
    $sfcomps['sfrpxenable'] = $sfrpx['sfrpxenable'];
    $sfcomps['sfrpxkey'] = $sfrpx['sfrpxkey'];
    $sfcomps['sfrpxredirect'] = sp_filter_url_display($sfrpx['sfrpxredirect']);
    return $sfcomps;
}
开发者ID:bself,项目名称:nuimage-wp,代码行数:17,代码来源:spa-components-prepare.php

示例11: spa_render_usergroups_container

function spa_render_usergroups_container($formid)
{
    switch ($formid) {
        case 'usergroups':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/spa-usergroups-display-main.php';
            spa_usergroups_usergroup_main();
            break;
        case 'createusergroup':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-create-usergroup-form.php';
            spa_usergroups_create_usergroup_form();
            break;
        case 'editusergroup':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-edit-usergroup-form.php';
            spa_usergroups_edit_usergroup_form(sp_esc_int($_GET['id']));
            break;
        case 'delusergroup':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-delete-usergroup-form.php';
            spa_usergroups_delete_usergroup_form(sp_esc_int($_GET['id']));
            break;
        case 'addmembers':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-add-members-form.php';
            spa_usergroups_add_members_form(sp_esc_int($_GET['id']));
            break;
        case 'delmembers':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-delete-members-form.php';
            spa_usergroups_delete_members_form(sp_esc_int($_GET['id']));
            break;
        case 'mapusers':
            include_once SF_PLUGIN_DIR . '/admin/panel-usergroups/forms/spa-usergroups-map-users.php';
            spa_usergroups_map_users();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:43,代码来源:spa-usergroups-display.php

示例12: spa_render_users_container

function spa_render_users_container($formid)
{
    switch ($formid) {
        case 'member-info':
            require_once ABSPATH . 'wp-admin/includes/admin.php';
            include_once SF_PLUGIN_DIR . '/admin/panel-users/forms/spa-users-members-form.php';
            spa_users_members_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:20,代码来源:spa-users-display.php

示例13: spa_save_integration_page_data

function spa_save_integration_page_data()
{
    check_admin_referer('forum-adminform_integration', 'forum-adminform_integration');
    $mess = '';
    $slugid = sp_esc_int($_POST['slug']);
    if ($slugid == '' || $slugid == 0) {
        $setslug = '';
        $setpage = 0;
    } else {
        $setpage = $slugid;
        $page = spdb_table(SFWPPOSTS, "ID={$slugid}", 'row');
        $setslug = $page->post_name;
        if ($page->post_parent) {
            $parent = $page->post_parent;
            while ($parent) {
                $thispage = spdb_table(SFWPPOSTS, "ID={$parent}", 'row');
                $setslug = $thispage->post_name . '/' . $setslug;
                $parent = $thispage->post_parent;
            }
        }
    }
    sp_update_option('sfpage', $setpage);
    sp_update_option('sfslug', $setslug);
    spa_update_check_option('sfinloop');
    spa_update_check_option('sfmultiplecontent');
    spa_update_check_option('sfwpheadbypass');
    spa_update_check_option('sfwplistpages');
    spa_update_check_option('sfscriptfoot');
    spa_update_check_option('sfuseob');
    spa_update_check_option('spwptexturize');
    sp_update_option('spheaderspace', sp_esc_int($_POST['spheaderspace']));
    if (!$setpage) {
        $mess .= spa_text('Page slug missing');
        $mess .= ' - ' . spa_text('Unable to determine forum permalink without it');
    } else {
        $mess .= spa_text('Forum page and slug updated');
        sp_update_permalink(true);
    }
    do_action('sph_integration_save');
    return $mess;
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:41,代码来源:spa-integration-save.php

示例14: spa_render_permissions_container

function spa_render_permissions_container($formid)
{
    switch ($formid) {
        case 'permissions':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/spa-permissions-display-main.php';
            spa_permissions_permission_main();
            break;
        case 'createperm':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/forms/spa-permissions-add-permission-form.php';
            spa_permissions_add_permission_form();
            break;
        case 'editperm':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/forms/spa-permissions-edit-permission-form.php';
            spa_permissions_edit_permission_form(sp_esc_int($_GET['id']));
            break;
        case 'delperm':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/forms/spa-permissions-delete-permission-form.php';
            spa_permissions_delete_permission_form(sp_esc_int($_GET['id']));
            break;
        case 'resetperms':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/forms/spa-permissions-reset-permissions-form.php';
            spa_permissions_reset_perms_form();
            break;
        case 'newauth':
            include_once SF_PLUGIN_DIR . '/admin/panel-permissions/forms/spa-permissions-add-auth-form.php';
            spa_permissions_add_auth_form();
            break;
            # leave this for plugins to add to this panel
        # leave this for plugins to add to this panel
        case 'plugin':
            include_once SF_PLUGIN_DIR . '/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = isset($_GET['admin']) ? sp_esc_str($_GET['admin']) : '';
            $save = isset($_GET['save']) ? sp_esc_str($_GET['save']) : '';
            $form = isset($_GET['form']) ? sp_esc_int($_GET['form']) : '';
            $reload = isset($_GET['reload']) ? sp_esc_str($_GET['reload']) : '';
            spa_plugins_user_form($admin, $save, $form, $reload);
            break;
    }
}
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:39,代码来源:spa-permissions-display.php

示例15: sp_featured_do_process_actions

function sp_featured_do_process_actions()
{
    global $spThisUser, $spGlobals;
    # only admins and mods
    if (!$spThisUser->admin && !$spThisUser->moderator) {
        return;
    }
    if (isset($_POST['featuretopic']) && !empty($_POST['featuretopicaction'])) {
        $topic = sp_esc_int($_POST['featuretopic']);
        $featured = $spGlobals['featured']['topics'];
        if ($_POST['featuretopicaction'] == 'add') {
            $featured[] = $topic;
            $featured = array_unique($featured);
        } else {
            $key = array_search($topic, $featured);
            if ($key !== false) {
                unset($featured[$key]);
            }
        }
        sp_add_sfmeta('featured', 'topics', $featured, true);
        $spGlobals['featured']['topics'] = $featured;
    }
    if (isset($_POST['featurepost']) && !empty($_POST['featurepostaction'])) {
        $post = sp_esc_int($_POST['featurepost']);
        $featured = $spGlobals['featured']['posts'];
        if ($_POST['featurepostaction'] == 'add') {
            $featured[] = $post;
            $featured = array_unique($featured);
        } else {
            $key = array_search($post, $featured);
            if ($key !== false) {
                unset($featured[$key]);
            }
        }
        sp_add_sfmeta('featured', 'posts', $featured, true);
        $spGlobals['featured']['posts'] = $featured;
    }
}
开发者ID:Bakerpedia,项目名称:Developement_WPengine,代码行数:38,代码来源:sp-featured-components.php


注:本文中的sp_esc_int函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。