<?php


$DB_PREFIX = C('DB_PREFIX');
return array(
    'admin_big_menu' => array(
        'Index' => '首页',
        'Member' => '注册用户管理',
        'Goods' => '商品管理',
        'Auction' => '拍卖管理',
        'Order' => '订单管理',
        'Link' => '友情链接',
        'News' => '文章管理',
        'Advertising' => '广告管理',
        'Payment' => '支付管理',

        'SysData' => '数据管理',
        'Access' => '权限管理',
    ),
    'admin_sub_menu' => array(
        'Common' => array(
            'Index/take' => '提现申请',
            'Goods/add' => '发布商品',
            'News/add' => '新闻发布',
            'Index/myInfo' => '修改密码',
            'Index/cache' => '缓存清理'
        ),
        'Webinfo' => array(
            'index' => '配置信息',
            'steWebConfig'=>'站点配置',
            'setEmailConfig' => '邮箱配置',
            'setNoteConfig' => '短信配置',
            'setSafeConfig' => '安全配置',
            'setUserAgreement' => '用户协议',
            'navigation' => '前台导航、链接管理'
        ),
        'Member' => array(
            'add' =>'添加用户',
            'index' => '注册用户列表',
            'feedback' => '推广反馈',
            'set_member' => '注册方式'
        ),
        'Goods' => array(
            'add' => '发布商品',
            'index' => '商品列表',
            'category' => '频道、分类管理',
            'filtrate' => '筛选条件管理',
            'cate_filt'=> '频道、分类与条件关联',
            'fields_list'=> '商品扩展字段',
            'cate_extend'=> '频道、分类与扩展字段关联'
        ),
        'Auction' => array(
            'index?typ=biding' => '正在拍卖',
            'index?typ=future' => '未开始拍卖',
            'index?typ=bidend' => '已结束拍卖',
            'set_auction' => '拍卖配置'
        ),
        'Order' => array(
            'index' => '拍卖订单',
            
            'set_order' => '订单配置'
        ),
        'Link' => array(
            'index' => '友情链接列表',
            'add' => '添加友情链接'
        ),
        'News' => array(
            'add' => '发布文章',
            'index' => '文章列表',
            'category' => '文章分类管理',
        ),
        'Advertising' => array(
            'index' => '广告列表',
            'add_advertising' => '添加广告',
            'position' => '广告位列表',
            'add_position' => '添加广告位'
        ),
        'Payment' => array(
            'index' => '支付订单',
            'pay_gallery' => '支付接口'
        ),
        'SysData' => array(
            'index' => '数据库备份',
            'restore' => '数据库导入',
            'zipList' => '数据库压缩包',
            'repair' => '数据库优化修复'
        ),
        'Access' => array(
            'index' => '后台用户',
            'nodeList' => '节点管理',
            'roleList' => '角色管理',
            'addAdmin' => '添加管理员',
            'addNode' => '添加节点',
            'addRole' => '添加角色',
        ),
    ),
    
    'PAGE_SIZE' =>20,
    
    
    'ADV_PICPATH'=>'Advertising',
    'ADV_MAX_WIDTH'=>'1400',
    'ADV_MAX_HEIGHT'=>'700',
    
    'ARTICLE_PICPATH'=>'Article',
    'ART_MAX_WIDTH'=>'1000',
    
    'CATE_PICPATH'=>'Category',
    'CATE_ICO_WIDTH'=>'50',
    'CATE_ICO_HEIGHT'=>'50',

    
    'LINK_PICPATH'=>'Link',
    'LINK_ICO_WIDTH'=>'128',
    'LINK_ICO_HEIGHT'=>'48',

    
    'NEWS_PICPATH'=>'News',
    'NEWS_ICO_WIDTH'=>'180',
    'NEWS_ICO_HEIGHT'=>'100',

    
    'USER_AUTH_ON' => true,
    'USER_AUTH_TYPE' => 2, 
    'USER_AUTH_KEY' => 'authId', 

    'USER_AUTH_MODEL' => 'Admin', 
    'AUTH_PWD_ENCODER' => 'md5', 
    'USER_AUTH_GATEWAY' => '/admin/Public/index', 
    'NOT_AUTH_MODULE' => 'Public,Upload', 
    'REQUIRE_AUTH_MODULE' => '', 
    'NOT_AUTH_ACTION' => 'search,getcate,getFilt,getExtends,checkNewsTitle,goodPicOrder,del_pic,cutview,cutoper,delIco,order_filtrate,getChild,order_fields,onOff_fields,region_fields,region,sort,order_advertising,forbid,order_navigation', 
    'REQUIRE_AUTH_ACTION' => '', 
    'GUEST_AUTH_ON' => false, 
    'GUEST_AUTH_ID' => 0, 
    'RBAC_ROLE_TABLE' => $DB_PREFIX . 'role',
    'RBAC_USER_TABLE' => $DB_PREFIX . 'role_user',
    'RBAC_ACCESS_TABLE' => $DB_PREFIX . 'access',
    'RBAC_NODE_TABLE' => $DB_PREFIX . 'node',

    'LOCK_ID'=>array(
        'link'=>'1,2,3',
        'article'=>'1,2,3',
        'goods'=>'1,2,3',
        'art_sun'=>'1,2'
        ),
    
    'sqlFileSize' => 5242880, 
        
        
    
    'TMPL_PARSE_STRING' => array(
        '__STATIC__' => __ROOT__ . '/Public',
        '__IMG__'    => __ROOT__ . '/Public/Admin/Img',
        '__CSS__'    => __ROOT__ . '/Public/Admin/Css',
        '__JS__'     => __ROOT__ . '/Public/Admin/Js',
        '--PUBLIC--'=>__ROOT__ . '/Public'
    ),
);


?>
