谁能说下下面代码是什么意思,谢谢
- /* 可以设置内容的模板 */
- $template_files = array(
- 'index.dwt',
- 'article.dwt',
- 'article_cat.dwt',
- 'brand.dwt',
- 'category.dwt',
- 'user_clips.dwt',
- 'compare.dwt',
- 'gallery.dwt',
- 'goods.dwt',
- 'group_buy_goods.dwt',
- 'group_buy_flow.dwt',
- 'group_buy_list.dwt',
- 'user_passport.dwt',
- 'pick_out.dwt',
- 'receive.dwt',
- 'respond.dwt',
- 'search.dwt',
- 'flow.dwt',
- 'snatch.dwt',
- 'user.dwt',
- 'tag_cloud.dwt',
- 'user_transaction.dwt',
- 'style.css',
- 'auction_list.dwt',
- 'auction.dwt',
- 'message_board.dwt',
- 'exchange_list.dwt',
- );
- /* 每个模板允许设置的库项目 */
- $page_libs = array(
- 'article' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/recommend_hot.lbi' => 3,
- '/library/comments.lbi' => 0,
- '/library/goods_related.lbi' => 0,
- '/library/recommend_promotion.lbi' => 3,
- '/library/history.lbi' => 0,
- ),
- 'article_cat' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/recommend_hot.lbi' => 3,
- '/library/recommend_promotion.lbi' => 3,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/vote_list.lbi' => 0,
- '/library/article_category_tree.lbi' => 0,
- ),
- 'brand' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/goods_list.lbi' => 0,
- '/library/pages.lbi' => 0,
- '/library/recommend_promotion.lbi' => 3,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/vote_list.lbi' => 0,
- ),
- 'category' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/recommend_hot.lbi' => 3,
- '/library/goods_list.lbi' => 0,
- '/library/pages.lbi' => 0,
- '/library/recommend_promotion.lbi' => 3,
- '/library/brands.lbi' => 3,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/vote_list.lbi' => 0
- ),
- 'compare' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- ),
- 'flow' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- ),
- 'index' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/new_articles.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/invoice_query.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/recommend_new.lbi' => 3,
- '/library/recommend_hot.lbi' => 3,
- '/library/recommend_promotion.lbi' => 4,
- '/library/group_buy.lbi' => 3,
- '/library/auction.lbi' => 3,
- '/library/brands.lbi' => 3,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/order_query.lbi' => 0,
- '/library/email_list.lbi' => 0,
- '/library/vote_list.lbi' => 0
- ),
- 'goods' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/goods_attrlinked.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/goods_fittings.lbi' => 0,
- '/library/goods_gallery.lbi' => 0,
- '/library/goods_tags.lbi' => 0,
- '/library/comments.lbi' => 0,
- '/library/bought_goods.lbi' => 0,
- '/library/goods_related.lbi' => 0,
- '/library/goods_article.lbi' => 0,
- '/library/relatetag.lbi' => 0,
- ),
- 'search_result' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/search_result.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/search_advanced.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/pages.lbi' => 0,
- ),
- 'tag_cloud' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/recommend_best.lbi' => 3,
- '/library/recommend_new.lbi' => 3,
- '/library/recommend_hot.lbi' => 3,
- '/library/recommend_promotion.lbi' => 3,
- ),
- 'group_buy_goods' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/history.lbi' => 0,
- ),
- 'group_buy_list' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- ),
- 'search' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- ),
- 'snatch' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- ),
- 'auction_list' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/history.lbi' => 0,
- ),
- 'auction' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- ),
- 'message_board' => array(
- '/library/ur_here.lbi' => 0,
- '/library/search_form.lbi' => 0,
- '/library/member.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/promotion_info.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/top10.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/message_list.lbi' => 10,
- ),
- 'exchange_list' => array(
- '/library/ur_here.lbi' => 0,
- '/library/cart.lbi' => 0,
- '/library/category_tree.lbi' => 0,
- '/library/history.lbi' => 0,
- '/library/pages.lbi' => 0,
- '/library/exchange_hot.lbi' => 5,
- '/library/exchange_list.lbi' => 0,
- ),
- );
复制代码 |