Fork me on github

天天团购--源码目录结构

include[类文件,函数文件存放目录]
include/constant.php
include/engine.php 系统常用函数
include/error_404.php
include/extend.php
include/init.php 系统初始化文件
include/load.php
include/rewrite.php

include/cron
include/db
include/driver
include/driver/i18n.php
include/encoding
include/function
include/lib
include/load
include/logic[逻辑功能存放目录](MVC模型层)
include/task
include/ui

modules[模块存放目录](MVC控制层)

setting[配置文件存放目录]
setting/settings.php 初始化配置文件
setting/rewrite.php URL重写配置文件

templates[模板存放目录](MVC视图层)

index.php 入口文件

天天团购界面所对应的模板文件

首页多团界面 templates/html/igos/default/index.html
首页单团界面 templates/default/detail.html
整站头部 templates/default/header.html
整站脚部 templates/default/footer.html
团购券打印界面 templates/default/tttuangou_printticket.html
邀请返利界面 templates/default/invite.html
团购指南界面 templates/default/help.html 或 help1.html
我的团购界面 templates/default/my_coupon.html
加入我们界面 templates/default/join.html
网站信息跳转 templates/default/messageer.html
我的收货地址 templates/default/my_address.html
我的账户信息 templates/default/my_bill.html
隐私策略 templates/default/privacy.html
充值卡充值 templates/default/recharge.html
我的团购页面 templates/default/my_coupon.html
首页产品分类 templates/html/catalog/navigate.html
更换域名 修改setting/settings.php文件里的老域名为新域名
增加悬浮代码 templates/default/footer.html(将这段代码加入<body></body>的里边)
<!-增加微信开始--> <div style="position: fixed; left: 50%; top: 230px; width: 110px; margin-left: 535px;" id="qrcode-wrapper"><a style="display: block; padding: 10px; line-height: 18px; font-size: 12px; color: rgb(51, 51, 51); text-decoration: none; white-space: nowrap; text-align: center; background-color: rgb(249, 249, 249);" href="http://tuan.1078it.com/uploads/2013-10-29/微信二维码.png" target="_blank">微信二维码扫描<img style="display:block;margin:5px auto;border:0;" src="/uploads/2013-10-29/微信二维码.png" height="90" width="90">点击下载或扫描</a></div> <!-增加微信结束--> 整体样式 templates/default/main.css 个性风格样式 templates/风格目录/styles/t(n).css 产品分类样式 templates/html/catalog/style.css 启用分类后首页调用“12个产品”,在哪个文件改成18、或24个产品呢 打开 include\extend.php 搜索$max = $int ? (int)$int : 12; 将这个12改成你想要的就行了

  

posted @ 2015-09-13 10:03  Champion-水龙果  阅读(597)  评论(1编辑  收藏  举报
Champion-水龙果