123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?php /*a:3:{s:80:"/data/web/mall.valimart.net/app/admin/view/articleclass/article_class_index.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3><?php echo htmlentities(lang('ds_articleclass')); ?></h3>
- <h5></h5>
- </div>
- <?php if($admin_item): ?>
- <ul class="tab-base ds-row">
- <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
- <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- <?php endif; ?>
- </div>
- </div>
- <div class="fixed-empty"></div>
- <div class="explanation" id="explanation">
- <div class="title" id="checkZoom">
- <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
- <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
- </div>
- <ul>
- <li><?php echo htmlentities(lang('article_class_index_tips1')); ?></li>
- <li><?php echo htmlentities(lang('article_class_index_tips2')); ?></li>
- </ul>
- </div>
- <table class="ds-default-table">
- <thead>
- <tr class="thead">
- <th class="w48"></th>
- <th class="w48"><?php echo htmlentities(lang('ds_sort')); ?></th>
- <th><?php echo htmlentities(lang('ac_name')); ?></th>
- <th class="w120 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
- </tr>
- </thead>
- <tbody id="treet1">
- <?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): if(is_array($class_list) || $class_list instanceof \think\Collection || $class_list instanceof \think\Paginator): if( count($class_list)==0 ) : echo "" ;else: foreach($class_list as $key=>$v): ?>
- <tr class="hover edit" id="ds_row_<?php echo htmlentities($v['ac_id']); ?>">
- <td>
- <?php if($v['ac_code'] == ''): ?>
- <input type="checkbox" name='check_ac_id[]' value="<?php echo htmlentities($v['ac_id']); ?>" class="checkitem">
- <?php else: ?>
- <input name="" type="checkbox" disabled="disabled" value="" />
- <?php endif; if($v['have_child'] == '1'): ?>
- <img src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-expandable.gif" fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="open" ds_type="flex">
- <?php else: ?>
- <img fieldid="<?php echo htmlentities($v['ac_id']); ?>" status="close" ds_type="flex" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/images/treetable/tv-item.gif">
- <?php endif; ?>
- </td>
- <td class="sort">
- <span title="<?php echo htmlentities(lang('ds_editable')); ?>" ajax_branch='article_class_sort' datatype="number" fieldid="<?php echo htmlentities($v['ac_id']); ?>" fieldname="ac_sort" ds_type="inline_edit" class="editable"><?php echo htmlentities($v['ac_sort']); ?></span>
- </td>
- <td class="name">
- <span title="<?php echo htmlentities(lang('ds_editable')); ?>" required="1" fieldid="<?php echo htmlentities($v['ac_id']); ?>" ajax_branch='article_class_name' fieldname="ac_name" ds_type="inline_edit" class="editable "><?php echo htmlentities($v['ac_name']); ?></span>
- <a class='btn-add-nofloat marginleft' href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_add',['ac_parent_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_add_sub_class')); ?>')">
- <span><?php echo htmlentities(lang('ds_add_sub_class')); ?></span>
- </a>
- </td>
- <td class="align-center">
- <a href="javascript:dsLayerOpen('<?php echo url('Articleclass/article_class_edit',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['ac_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
- <?php if($v['ac_code'] == ''): ?>
- <a href="javascript:dsLayerConfirm('<?php echo url('Articleclass/article_class_del',['ac_id'=>$v['ac_id']]); ?>','<?php echo htmlentities(lang('article_class_index_ensure_del')); ?>',<?php echo htmlentities($v['ac_id']); ?>);" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
- <?php endif; ?>
- </td>
- </tr>
- <?php endforeach; endif; else: echo "" ;endif; else: ?>
- <tr class="no_data">
- <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
- <tfoot>
- <?php if(!(empty($class_list) || (($class_list instanceof \think\Collection || $class_list instanceof \think\Paginator ) && $class_list->isEmpty()))): ?>
- <tr>
- <td>
- <label for="checkall1">
- <input type="checkbox" class="checkall" id="checkall_2">
- </label>
- </td>
- <td colspan="16">
- <label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
-
- <a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()">
- <span><?php echo htmlentities(lang('ds_del')); ?></span>
- </a>
- </td>
- </tr>
- <?php endif; ?>
- </tfoot>
- </table>
- </div>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/article_class.js"></script>
- <script type="text/javascript" src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/jquery.edit.js" charset="utf-8"></script>
- <script type="text/javascript">
- function submit_delete(ids_str){
- _uri = ADMINSITEURL+"/Articleclass/article_class_del.html?ac_id=" + ids_str;
- dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
- }
- </script>
|