<?php /*a:1:{s:67:"D:\phpstudy\WWW\12xz\app\admin\view/default\pluginsadmin\index.html";i:1782629701;}*/ ?>
<?php echo ModuleInclude('public/header'); ?>

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <!-- operation start -->
        <div class="am-g am-padding-bottom am-border-bottom-f8 am-margin-bottom">
            <div class="am-flex am-flex-justify-between am-flex-items-center am-flex-warp am-gap-12">
                <div>
                    <?php if(AdminIsPower('pluginsadmin', 'saveinfo') and isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                        <a href="<?php echo MyUrl('admin/pluginsadmin/saveinfo'); ?>" class="am-btn am-btn-primary am-radius am-btn-xs am-margin-right-sm">
                            <i class="iconfont icon-add am-show-sm-only"></i>
                            <span><?php echo MyLang('add_title'); ?></span>
                        </a>
                    <?php endif; if(AdminIsPower('pluginsadmin', 'upload')): ?>
                        <button type="button" class="am-btn am-btn-default-plain am-btn-xs am-radius submit-popup" data-url="<?php echo MyUrl('admin/pluginsadmin/index', ['view_type'=>'upload']); ?>" data-title="<?php echo MyLang('pluginsadmin.base_upload_application_name'); ?>" data-full-max="1" data-full-max-size="xl">
                            <i class="iconfont icon-upload"></i>
                            <span><?php echo MyLang('pluginsadmin.base_upload_application_name'); ?></span>
                        </button>
                    <?php endif; ?>
                </div>
                <div class="am-flex am-flex-items-center am-gap-24">
                    <?php if(!empty($data_list['db_data']) or !empty($data_list['dir_data'])): ?>
                        <div class="am-input-group am-input-group-sm plugins-search">
                            <input type="text" class="am-form-field am-radius" data-is-clearout="0" placeholder="<?php echo MyLang('pluginsadmin.base_search_input_placeholder'); ?>" />
                            <i class="iconfont icon-search search-event"></i>
                        </div>
                    <?php endif; if(AdminIsPower('packageinstall', 'index') and !empty($store_url)): ?>
                        <a class="am-text-sm am-flex nwarp" href="<?php echo htmlentities((string) $store_url); ?>" target="_blank" rel="noopener noreferrer">
                            <i class="iconfont icon-download-b-line"></i> 
                            <span class="am-hide-sm-only am-margin-left-xs"><?php echo MyLang('pluginsadmin.base_nav_more_plugins_download_name'); ?></span>
                        </a>
                    <?php endif; ?>
                </div>
            </div>
        </div>
        <!-- operation end -->

        <div class="plugins-data-list am-cf">
            <?php if(!empty($data_list['db_data']) or !empty($data_list['dir_data'])): ?>
                <!-- 操作提示 -->
                <div class="am-operate-stretch-tips">
                    <div class="title">
                        <i class="iconfont icon-tips"></i>
                        <strong title="<?php echo MyLang('operate_list_tips_msg'); ?>"><?php echo MyLang('operate_list_tips_button_text'); ?></strong>
                        <i class="iconfont icon-retract-diagonal contract" title="<?php echo MyLang('operate_list_tips_retract_text'); ?>"></i> 
                    </div>
                    <p><?php echo MyLang('pluginsadmin.base_top_tips_one'); ?></p>
                    <?php if(AdminIsPower('pluginsadmin', 'setupsave') or AdminIsPower('packageinstall', 'index')): ?>
                        <p>
                            <?php if(AdminIsPower('pluginsadmin', 'setupsave')): ?>
                                <span><?php echo MyLang('pluginsadmin.base_top_tips_two'); ?></span>
                                <a href="javascript:;" class="am-margin-left submit-move-setup-open">
                                    <i class="iconfont icon-setup"></i>
                                    <span><?php echo MyLang('pluginsadmin.base_open_setup_title'); ?></span>
                                </a>
                                <a href="javascript:;" class="am-margin-left submit-move-setup-save am-hide">
                                    <i class="iconfont icon-check"></i>
                                    <span><?php echo MyLang('save_title'); ?></span>
                                </a>
                                <a href="javascript:;" class="am-margin-left-sm submit-move-setup-cancel am-hide">
                                    <i class="iconfont icon-close-line"></i>
                                    <span><?php echo MyLang('cancel_title'); ?></span>
                                </a>
                            <?php endif; if(AdminIsPower('packageinstall', 'index')): ?>
                                <a href="javascript:;" class="am-margin-left-lg">
                                    <label class="am-checkbox-inline plugins-batch-update-submit">
                                        <input type="checkbox" value="1" data-am-ucheck <?php if(!empty($params) and isset($params['is_auto_update']) and $params['is_auto_update'] == 1): ?>checked<?php endif; ?> /> <?php echo MyLang('store_auto_update_name'); ?>
                                    </label>
                                </a>
                            <?php endif; ?>
                        </p>
                    <?php endif; if($is_not_bind_accounts == 1): ?>
                        <p>
                            <span><?php echo MyLang('store_bind_accounts_tips'); ?></span>
                            <button type="button" class="am-btn am-btn-primary am-radius am-btn-xs am-margin-left-xs am-icon-gg store-accounts-event"> <?php echo MyLang('store_bind_accounts_name'); ?></button>
                        </p>
                    <?php endif; ?>
                </div>

                <?php if(!empty($data_list['db_data'])): ?>
                    <!-- 插件分类 -->
                    <div class="plugins-category-nav am-margin-bottom-lg am-flex am-flex-warp am-gap-12 am-flex-justify-between am-flex-items-center">
                        <div class="am-flex am-flex-warp am-gap-12">
                            <button type="button" class="am-btn am-btn-secondary am-radius am-btn-xs"><?php echo MyLang('all_title'); ?></button>
                            <?php if(!empty($plugins_categosy_list)): foreach($plugins_categosy_list as $cv): ?>
                                    <button type="button" class="am-btn am-btn-default am-radius am-btn-xs" data-value="<?php echo htmlentities((string) $cv['id']); ?>"><?php echo htmlentities((string) $cv['name']); ?></button>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </div>
                        <?php if(AdminIsPower('pluginscategory', 'index')): ?>
                            <a href="javascript:;" class="am-text-sm submit-popup am-flex" data-url="<?php echo MyUrl('admin/pluginscategory/index'); ?>" data-class="plugins-category-save-popup" data-title="<?php echo MyLang('pluginsadmin.plugins_category_title'); ?>">
                                <i class="iconfont icon-type-manage"></i>
                                <span class="am-hide-sm-only am-margin-left-xs"><?php echo MyLang('pluginsadmin.plugins_category_admin_title'); ?></span>
                            </a>
                        <?php endif; ?>
                    </div>

                    <!-- 已安装 -->
                    <ul class="already-install am-cf" data-setup-save-url="<?php echo MyUrl('admin/pluginsadmin/setupsave'); ?>">
                        <?php foreach($data_list['db_data'] as $v): if(isset($v['is_install']) and $v['is_install'] == 1): ?>
                                <li class="plugins-category-<?php echo htmlentities((string) $v['plugins_category_id']); ?>" data-id="<?php echo htmlentities((string) $v['id']); ?>" data-plugins="<?php echo htmlentities((string) $v['plugins']); ?>">
                                    <div class="item <?php if($v['is_enable'] == 0): ?>am-active<?php endif; ?>" id="data-list-<?php echo htmlentities((string) $v['plugins']); ?>">
                                        <!-- 拖拽排序 -->
                                        <div class="submit-move"></div>
                                        <!-- 插件内容 -->
                                        <img src="<?php echo htmlentities((string) $v['logo']); ?>" class="icon" />
                                        <div class="base">
                                            <h3 class="name"><?php echo htmlentities((string) $v['name']); ?></h3>
                                            <div class="am-flex am-flex-items-center am-gap-1">
                                                <?php if(empty($site_store_info) or empty($site_store_info['vip']) or !isset($site_store_info['vip']['status']) or $site_store_info['vip']['status'] == 0): ?>
                                                    <p><?php echo MyLang('pluginsadmin.data_list_author_title'); ?>：<?php echo htmlentities((string) $v['author']); ?></p>
                                                    <p>/</p>
                                                    <p class="am-hide-sm-only"><?php echo MyLang('pluginsadmin.data_list_author_url_title'); ?>：<a href="<?php echo htmlentities((string) $v['author_url']); ?>" class="am-pr z-i iconfont icon-home" target="_blank" rel="noopener noreferrer"></a></p>
                                                    <p class="am-hide-sm-only">/</p>
                                                <?php endif; ?>
                                                <p><?php echo MyLang('pluginsadmin.data_list_version_title'); ?>：<?php echo htmlentities((string) $v['version']); ?></p>
                                                <?php if(!empty($upgrade_info) and isset($upgrade_info[$v['plugins']])): if(!empty($upgrade_info[$v['plugins']]['version_main']) and $upgrade_info[$v['plugins']]['version_main'] != $v['version']): ?>
                                                        <p>/</p>
                                                        <span class="am-text-danger">v<?php echo htmlentities((string) $upgrade_info[$v['plugins']]['version_main']); ?></span>
                                                    <?php endif; ?>
                                                <?php endif; ?>
                                            </div>
                                            <div class="desc"><?php echo htmlentities((string) $v['desc']); ?></div>
                                        </div>
                                        <div class="operation" data-status="<?php echo htmlentities((string) $v['is_enable']); ?>">
                                            <a href="javascript:;" data-set-url="<?php echo PluginsAdminUrl($v['plugins'], 'admin', 'index'); ?>" data-name="<?php echo htmlentities((string) $v['name']); ?>" data-key="plugins-<?php echo htmlentities((string) $v['plugins']); ?>" class="am-btn am-btn-default am-btn-xs am-radius plugins-set-event am-padding-left-0">
                                                <i class="iconfont icon-application-set"></i>
                                                <span><?php echo MyLang('setup_title'); ?></span>
                                            </a>

                                            <?php if(AdminIsPower('pluginsadmin', 'statusupdate')): ?>
                                                <a href="javascript:;" class="am-btn am-btn-default am-btn-xs plugins-status-event <?php if($v['is_enable'] == 1): ?>am-success<?php endif; ?>" data-url="<?php echo MyUrl('admin/pluginsadmin/statusupdate'); ?>" data-value="<?php echo htmlentities((string) $v['plugins']); ?>" data-status="<?php echo htmlentities((string) $v['is_enable']); ?>" data-open-text="<?php echo MyLang('open_title'); ?>" data-close-text="<?php echo MyLang('close_title'); ?>">
                                                    <i class="iconfont icon-enable"></i>
                                                    <span><?php if($v['is_enable'] == 1): ?><?php echo MyLang('close_title'); else: ?><?php echo MyLang('open_title'); ?><?php endif; ?></span>
                                                </a>
                                            <?php endif; if(AdminIsPower('packageupgrade', 'upgrade') and !empty($upgrade_info) and isset($upgrade_info[$v['plugins']])): if(isset($upgrade_info[$v['plugins']]['version_new']) and version_compare($upgrade_info[$v['plugins']]['version_new'], $v['version'], '>')): ?>
                                                    <button class="am-btn am-btn-danger am-btn-xs am-radius package-upgrade-event" data-type="plugins" data-name="<?php echo htmlentities((string) $v['name']); ?>" data-value="<?php echo htmlentities((string) $v['plugins']); ?>" data-json="<?php echo urlencode(json_encode($upgrade_info[$v['plugins']])); ?>">
                                                        <i class="iconfont icon-application-update"></i>
                                                        <span><?php echo MyLang('update_title'); ?></span>
                                                    </button>
                                                <?php endif; ?>
                                            <?php endif; if(isset($v['is_home']) and $v['is_home'] == true and !empty($v['home_url'])): ?>
                                                <a href="<?php echo htmlentities((string) $v['home_url']); ?>" class="am-btn am-btn-default am-btn-xs am-radius" target="_blank" rel="noopener noreferrer">
                                                    <i class="iconfont icon-home-line"></i>
                                                    <span><?php echo MyLang('home_title'); ?></span>
                                                </a>
                                            <?php endif; if(AdminIsPower('pluginsadmin', 'saveinfo') and isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                                                <a href="<?php echo MyUrl('admin/pluginsadmin/saveinfo', array('id'=>$v['plugins'])); ?>" class="am-btn am-btn-default am-btn-xs am-radius">
                                                    <i class="iconfont icon-edit"></i>
                                                    <span><?php echo MyLang('edit_title'); ?></span>
                                                </a>
                                            <?php endif; if(AdminIsPower('pluginsadmin', 'uninstall')): ?>
                                                <button class="am-btn am-btn-default am-btn-xs am-radius submit-ajax" data-url="<?php echo MyUrl('admin/pluginsadmin/uninstall'); ?>" data-id="<?php echo htmlentities((string) $v['plugins']); ?>" data-view="reload" data-msg="<?php echo MyLang('pluginsadmin.uninstall_confirm_tips'); ?>">
                                                    <i class="iconfont icon-uninstall"></i>
                                                    <span><?php echo MyLang('uninstall_title'); ?></span>
                                                </button>
                                            <?php endif; if(AdminIsPower('pluginsadmin', 'storeuploadinfo') and isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                                                <button class="am-btn am-btn-default am-btn-xs am-radius submit-popup" data-url="<?php echo MyUrl('admin/pluginsadmin/storeuploadinfo', ['id'=>$v['plugins']]); ?>" data-title="<?php echo MyLang('upload_title'); ?>">
                                                    <i class="iconfont icon-upload"></i>
                                                    <span><?php echo MyLang('upload_title'); ?></span>
                                                </button>
                                            <?php endif; if(AdminIsPower('pluginsadmin', 'download') and isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                                                <a href="<?php echo MyUrl('admin/pluginsadmin/download', array('id'=>$v['plugins'])); ?>" class="am-btn am-btn-default am-btn-xs am-radius">
                                                    <i class="iconfont icon-download-btn"></i>
                                                    <span><?php echo MyLang('download_title'); ?></span>
                                                </a>
                                            <?php endif; ?>
                                        </div>
                                        <div class="plugins-setup-container am-padding-main am-hide">
                                            <?php if(!empty($left_menu)): ?>
                                                <div class="am-inline-block chosen-select-item">
                                                    <select class="am-radius chosen-select" name="plugins_menu_control" data-placeholder="<?php echo MyLang('pluginsadmin.plugins_menu_control_title'); ?>">
                                                        <option value=""><?php echo MyLang('pluginsadmin.plugins_menu_control_title'); ?></option>
                                                        <?php foreach($left_menu as $nv): ?>
                                                            <option value="<?php echo htmlentities((string) $nv['control']); ?>" <?php if(isset($v['plugins_menu_control']) and $v['plugins_menu_control'] == strtolower($nv['control'])): ?>selected<?php endif; ?>><?php echo htmlentities((string) $nv['name']); ?></option>
                                                        <?php endforeach; ?>
                                                    </select>
                                                </div>
                                            <?php endif; if(!empty($plugins_categosy_list)): ?>
                                                <div class="am-inline-block chosen-select-item">
                                                    <select class="am-radius chosen-select" name="plugins_category_id" data-placeholder="<?php echo MyLang('pluginsadmin.plugins_category_title'); ?>">
                                                        <option value=""><?php echo MyLang('pluginsadmin.plugins_category_title'); ?></option>
                                                        <?php foreach($plugins_categosy_list as $cv): ?>
                                                            <option value="<?php echo htmlentities((string) $cv['id']); ?>" <?php if(isset($v['plugins_category_id']) and $cv['id'] == $v['plugins_category_id']): ?>selected<?php endif; ?>><?php echo htmlentities((string) $cv['name']); ?></option>
                                                        <?php endforeach; ?>
                                                    </select>
                                                </div>
                                            <?php endif; if(isset($v['is_home']) and $v['is_home'] == true): ?>
                                                <div class="am-inline-block chosen-select-item am-background-white second-domain">
                                                    <label class="am-checkbox-inline" title="<?php echo MyLang('pluginsadmin.data_list_second_domain_tips'); ?>">
                                                        <input type="checkbox" name="plugins_is_second_domain" value="1" data-am-ucheck <?php if(isset($v['plugins_is_second_domain']) and $v['plugins_is_second_domain'] == 1): ?>checked="true"<?php endif; ?> /> <?php echo MyLang('pluginsadmin.data_list_second_domain_title'); ?>
                                                    </label>
                                                </div>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    </ul>

                    <!-- 搜索无数据展示 -->
                    <div class="not-data-tips am-hide">
                        <?php echo ModuleInclude('public/not_data'); ?>
                    </div>
                <?php endif; if(!empty($data_list['dir_data'])): ?>
                    <!-- 未安装 -->
                    <div class="am-margin-top-lg am-margin-bottom-xs am-nav-left">
                        <span class="am-text-sm am-font-weight"><?php echo MyLang('pluginsadmin.not_install_divide_title'); ?></span>
                    </div>
                    <ul class="not-install am-cf" data-setup-save-url="<?php echo MyUrl('admin/pluginsadmin/sortsave'); ?>">
                        <?php foreach($data_list['dir_data'] as $v): if(!isset($v['is_install']) or $v['is_install'] == 0): ?>
                                <li data-id="<?php echo htmlentities((string) $v['id']); ?>" data-plugins="<?php echo htmlentities((string) $v['plugins']); ?>">
                                    <div class="item am-active" id="data-list-<?php echo htmlentities((string) $v['plugins']); ?>">
                                        <img src="<?php echo htmlentities((string) $v['logo']); ?>" class="icon" />
                                        <div class="base">
                                            <h3 class="name"><?php echo htmlentities((string) $v['name']); ?></h3>
                                            <div class="am-flex am-flex-items-center am-gap-1">
                                                <p><?php echo MyLang('pluginsadmin.data_list_author_title'); ?>：<?php echo htmlentities((string) $v['author']); ?></p>
                                                <p>/</p>
                                                <?php if(empty($site_store_info) or empty($site_store_info['vip']) or !isset($site_store_info['vip']['status']) or $site_store_info['vip']['status'] == 0): ?>
                                                    <p class="am-hide-sm-only"><?php echo MyLang('pluginsadmin.data_list_author_url_title'); ?>：<a href="<?php echo htmlentities((string) $v['author_url']); ?>" class="iconfont icon-home" target="_blank" rel="noopener noreferrer"></a></p>
                                                    <p class="am-hide-sm-only">/</p>
                                                <?php endif; ?>
                                                <p><?php echo MyLang('pluginsadmin.data_list_version_title'); ?>：<?php echo htmlentities((string) $v['version']); ?></p>
                                            </div>
                                            <div class="desc"><?php echo htmlentities((string) $v['desc']); ?></div>
                                        </div>
                                        <div class="operation">
                                            <?php if(AdminIsPower('pluginsadmin', 'install')): ?>
                                                <button class="am-btn am-btn-default am-btn-xs am-radius submit-ajax" data-url="<?php echo MyUrl('admin/pluginsadmin/install'); ?>" data-id="<?php echo htmlentities((string) $v['plugins']); ?>" data-view="reload" data-msg="<?php echo MyLang('install_confirm_tips'); ?>">
                                                    <i class="iconfont icon-application-install"></i>
                                                    <span><?php echo MyLang('install_title'); ?></span>
                                                </button>
                                            <?php endif; if(isset($shopxo_is_develop) and $shopxo_is_develop == true): if(AdminIsPower('pluginsadmin', 'saveinfo')): ?>
                                                    <a href="<?php echo MyUrl('admin/pluginsadmin/saveinfo', array('id'=>$v['plugins'])); ?>" class="am-btn am-btn-default am-btn-xs am-radius">
                                                        <i class="iconfont icon-edit"></i>
                                                        <span><?php echo MyLang('edit_title'); ?></span>
                                                    </a>
                                                <?php endif; if(AdminIsPower('pluginsadmin', 'storeuploadinfo')): ?>
                                                    <button class="am-btn am-btn-default am-btn-xs am-radius submit-popup" data-url="<?php echo MyUrl('admin/pluginsadmin/storeuploadinfo', ['id'=>$v['plugins']]); ?>">
                                                        <i class="iconfont icon-upload"></i>
                                                        <span><?php echo MyLang('upload_title'); ?></span>
                                                    </button>
                                                <?php endif; if(AdminIsPower('pluginsadmin', 'download')): ?>
                                                    <a href="<?php echo MyUrl('admin/pluginsadmin/download', array('id'=>$v['plugins'])); ?>" class="am-btn am-btn-default am-btn-xs am-radius">
                                                        <i class="iconfont icon-download-btn"></i>
                                                        <span><?php echo MyLang('download_title'); ?></span>
                                                    </a>
                                                <?php endif; ?>
                                            <?php endif; if(AdminIsPower('pluginsadmin', 'delete')): ?>
                                                <button class="am-btn am-btn-default am-btn-xs am-radius submit-delete-modal" data-url="<?php echo MyUrl('admin/pluginsadmin/delete'); ?>" data-id="<?php echo htmlentities((string) $v['plugins']); ?>">
                                                    <i class="iconfont icon-delete-dustbin"></i>
                                                    <span><?php echo MyLang('delete_title'); ?></span>
                                                </button>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    </ul>

                    <!-- 删除弹层 -->
                    <div class="am-modal am-modal-no-btn" tabindex="-1" id="plugins-delete-modal">
                        <div class="am-modal-dialog am-radius am-cf">
                            <div class="am-modal-hd">
                                <span><?php echo MyLang('reminder_title'); ?></span>
                                <a href="javascript: void(0)" class="am-close" data-am-modal-close>&times;</a>
                            </div>
                            <div class="am-modal-bd am-padding-lg">
                                <div class="am-alert am-margin-top-lg am-text-left">
                                    <p><?php echo MyLang('pluginsadmin.delete_plugins_text'); ?><span class="am-text-warning"><?php echo MyLang('pluginsadmin.delete_plugins_text_tips'); ?></span></p>
                                    <p><?php echo MyLang('pluginsadmin.delete_plugins_data_text'); ?><span class="am-text-warning"><?php echo MyLang('pluginsadmin.delete_plugins_data_text_tips'); ?></span></p>
                                </div>
                                <p class="am-text-danger am-margin-top-lg"><?php echo MyLang('pluginsadmin.delete_plugins_ps_tips'); ?></p>
                                <div class="am-margin-top-sm">
                                    <button class="am-btn am-btn-danger am-btn-xs am-radius am-icon-circle-o submit-ajax" data-url="<?php echo MyUrl('admin/pluginsadmin/delete'); ?>" data-id="0" data-value="1" data-view="reload" data-msg="<?php echo MyLang('delete_confirm_tips'); ?>"> <?php echo MyLang('pluginsadmin.delete_plugins_data_button_name'); ?></button>
                                    <button class="am-btn am-btn-warning am-btn-xs am-radius am-icon-remove submit-ajax" data-url="<?php echo MyUrl('admin/pluginsadmin/delete'); ?>" data-id="0" data-value="0" data-view="reload" data-msg="<?php echo MyLang('delete_confirm_tips'); ?>"> <?php echo MyLang('pluginsadmin.delete_plugins_button_name'); ?></button>

                                    <button class="am-btn am-btn-success am-btn-xs am-radius am-icon-reply" data-am-modal-close> <?php echo MyLang('pluginsadmin.cancel_delete_plugins_button_name'); ?></button>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endif; if(AdminIsPower('pluginsadmin', 'upload')): ?>
                    <div class="am-text-center">
                        <a href="javascript:;" class="submit-popup" data-url="<?php echo MyUrl('admin/pluginsadmin/index', ['view_type'=>'upload', 'switch_active'=>'market']); ?>" data-title="<?php echo MyLang('pluginsadmin.base_upload_application_name'); ?>" data-full-max="1" data-full-max-size="xl"><?php echo MyLang('pluginsadmin.more_plugins_store_to_text'); ?></a>
                    </div>
                <?php else: if($is_system_show_base == 1): ?>
                        <div class="am-padding-vertical-xl am-text-center">
                            <a href="<?php echo htmlentities((string) $store_url); ?>" target="_blank" rel="noopener noreferrer" class="am-margin-left-xs"><?php echo MyLang('pluginsadmin.more_plugins_store_to_text'); ?></a>
                        </div>
                    <?php endif; ?>
                <?php endif; else: if($is_not_bind_accounts == 1): ?>
                    <?php echo ModuleInclude('public/store_bind_accounts_tips'); else: ?>
                    <?php echo ModuleInclude('public/not_data', ['msg'=>MyLang('plugins_no_data_tips')]); if(AdminIsPower('pluginsadmin', 'upload')): ?>
                        <div class="am-text-center">
                            <a href="javascript:;" class="submit-popup" data-url="<?php echo MyUrl('admin/pluginsadmin/index', ['view_type'=>'upload', 'switch_active'=>'market']); ?>" data-title="<?php echo MyLang('pluginsadmin.base_upload_application_name'); ?>" data-full-max="1" data-full-max-size="xl"><?php echo MyLang('pluginsadmin.no_data_store_to_text'); ?></a>
                        </div>
                    <?php else: if($is_system_show_base == 1): ?>
                            <div class="am-margin-top-xl">
                                <a href="<?php echo htmlentities((string) $store_url); ?>" target="_blank" rel="noopener noreferrer" class="am-margin-left-xs"><?php echo MyLang('pluginsadmin.no_data_store_to_text'); ?></a>
                            </div>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endif; ?>
            <?php endif; ?>
        </div>
    </div>
</div>
<!-- right content end  -->

<!-- footer start -->
<?php echo ModuleInclude('public/footer'); ?>