ecshop/index.php
ecshop top页面
main processing
define IN_ECS
DEBUG_MODE & 2 $smarty->caching
手机访问处理
check mobile ua and wap, redirect to /mobile/ if found
cover shopex url to ecshop url ('gOo', 'gcat' => category.php, 'acat' => article_cat.php, 'goodsid' => goods.php, 'articleid' => article.php)
分类(Ajax)处理
check ajax request ('act') = 'cat_rec'
正常处理
check cache
assign smarty variables:
- 页面标题 page title
- 当前位置 ur here
meta
- keywords
- description
- flash_theme
- rss feed_url
- 分类树 categories
- 网店帮助 shop help
- 销售排行 top 10
- 推荐商品 best goods
- 最新商品 new
- 热点文章 hot
- 特价商品 promotion goods
- brand
- 动态促销标签栏 promotion
- 发货查询 invoice
- 最新文章 new article
- 团购商品 group buy
- 拍卖活动 auction
- 商店公告 shop notice
- 首页主广告 index page ad
- links
- 首页推荐分类 recommend
- 动态内容 assign_dynamic
functions
- 调用发货单查询 index_get_invoice_query
- 获得最新的文章列表 index_get_new_articles
- 获得最新的团购活动 index_get_group_buy
- 取得拍卖活动列表 index_get_auction
- 获得所有的友情链接 index_get_links