PHPCms 数据库设计结构文档

第一个表_admin  (管理员)
userid  用户名id
username 用户名
grade   用户级别
purviewids  
modules  模块
channelids  频道ID
catids  栏目ID
specialids  专题ID
disabled 禁用(0为否,1为是)  
第二个表 _ads  (广告)
adsid  广告ID
adsname 广告名称
introduce  广告介绍
placeid 所属广告位ID
type   广告类型
linkurl 链接地址
imageurl   图片广告地址
alt  图片提示
flashurl   FLASH地址

wmode  FLASH背景是否透明(为空为不透明)
text   文本广告内容
code   代码广告内容
fromdate   起始日期
todate 结束日期
username   当前客户
addtime 广告添加日期
views  广告访问次数
hits   点击数
checked 审核
passed  是否通过(1为通过,0为未通过)即是否显示到相应的广告调用处
第三个表_ads_place (广告位)
placeid 广告位ID
placename  广告位名称
templateid   广告位模板
introduce  广告位介绍   
channelid  所属频道
price  广告价格
width  广告尺寸-宽
height  广告尺寸-高
passed  是否启用(1为启用,0为未启用)
第四个表_announce  (公告)
announceid   公告ID
keyid  模块/频道ID
title  公告标题
content 公告内容
hits   点击数
fromdate   起始日期
todate  结束日期
username   作者
addtime 发表时间
passed  公告状态(1为通过审核,0为未审核)
templateid   模板ID
skinid  风格ID
第五个表_area (地区)
areaid  地区ID
keyid  模块/频道ID
areaname   地区名称
domain  
style  字体样式(颜色或加粗)
parentid   城市所属分类(如0表示市级)
arrparentid  类别数组
child  是否有子栏目
arrchildid   子栏目数组
listorder   排序
urlruleid  地区列表分页url规则ID
linkurl 地区列表分页url
setting   SEO设置
hits   点击数
disabled   禁用(0为否,1为是)
第六个表_article_1  (文章)
articleid  文章ID
catid  栏目ID
specialid   专题ID
typeid  类别ID
title  文章标题
titleintact   完整标题
subheading  副标题
style   标题样式(颜色,加粗)
showcommentlink   是否显示文章列表时在标题旁显示评论链接(0为不显示,1为显示)
introduce   文章简介
keywords   关键词
author  作者
copyfrom 来源
paginationtype 分页方式
maxcharperpage   自动分页时的每页大约字符数
hits  点击数
comments 评论次数
thumb   标题图片
username   发布人
addtime  添加日期
editor  责任编辑
edittime   更新时间
checker  审核者
checktime   通过审核时间
templateid  模板ID
skinid  风格ID
arrposid 推荐位置
status  文章状态
listorder   排序
arrgroupidview 允许查看的会员组ID
readpoint   阅读所需点数
ishtml  是否生成HTML(1为是,0为否)
htmldir  html文件生成目录
prefix  html文件名前缀
urlruleid   url规则ID(生成html)
islink  是否转向链接(1为链接,0为不链接)
linkurl  转向链接地址
第七个表_article_data_1  (文章内容)
articleid 文章ID
content  文章内容
第八个表_ask  (咨询)
askid  咨询ID
departmentid   部门ID
subject  咨询主题
content  咨询内容
username  咨询者
addtime  咨询时间
ip  咨询者IP
lastreply 最后回复时间
status   状态
score  评分
第九个表_ask_department  (咨询部门)
departmentid   部门ID
department   部门名称
note   部门介绍
admin  管理员
arrgroupid   允许提问会员组ID
point  提问点数

listorder 部门排序
第十个表_ask_reply (咨询回复)
replyid  回复ID
askid  所回复咨询的ID  
reply  回复内容
username  回复人
addtime  回复时间
ip  回复IP

第十一个表_attachment  (附件)
aid 附件ID
username  上传附件作者
keyid  模块/频道ID
catid  栏目ID
itemid   内容ID

fileurl  附件路址
filetype  附件类型
filesize  附件大小
addtime  附件增加时间
第十二个表_author  (作者)
id  作者ID
keyid  模块/频道ID
name   作者名称
note   作者备注
items  作者的作品数
updatetime   增加作者时间
第十三个表_banip   (IP管理)
id  IPID  
ip  IP地址
ifban  是否允许访问(0为允许,1为禁止)
username  操作者
overtime  过期时间
第十四个表_bill   (推广奖励)
billid   ID
userid   会员ID
ip  用户IP
refurl   来路
type   奖励类型
number   奖励数量
addtime  访问时间
adddate  访问日期

第十五个表_category  (栏目)
catid   栏目ID
module  模块名称
channelid  频道ID
catname   栏目名称
catpic  栏目图片
style   栏目名称样式(颜色,加粗)
introduce  栏目介绍
islink  是否链接到外部栏目(0为否,1为是)
catdir  栏目目录名称
parentid   父栏目ID(如果是父栏目就为0)
arrparentid 该栏目所有ID数组
parentdir  父栏目目录
child 是否有子栏目(0表示无,1表示有)
arrchildid  子栏目ID数组(有子栏目刚显示其与其下的有子栏目ID,否则只显示本身ID)
itemtarget  栏目下的信息打开方式(1为新窗口,0为原窗口)
itemordertype   栏目下的信息排序方式
listorder   栏目排序
ismenu 是否在导航菜单里显示(1是,0否)
islist 是否在父栏目的分类列表处显示(1是,0否)
ishtml 栏目信息列表是否生成html(1是,0否)
htmldir   栏目信息列表页html存放目录
prefix 栏目信息列表页html文件的前缀
urlruleid   栏目列表分页url规则ID(生成html)
item_htmldir 内容页html存放目录
item_prefix  内容页html文件的前缀
item_html_urlruleid   内容分页url规则ID(生成html)
item_php_urlruleid 内容分页url规则ID(不生成html)
linkurl   栏目链接地址
setting   SEO设置
items  栏目信息数
hits  点击次数
disabled  禁用(0为否,1为是)
第十六个表_channel  (频道)
channelid   频道ID
module 功能模型
channelname  频道名称
style  名称样式(颜色,加粗)
channelpic  频道图片
introduce   频道说明
seo_title   频道关键字
seo_keywords 频道关键词
seo_description   频道内容描述
listorder   频道排序
islink 频道类型(0为系统内部步道,1为系统外部频道)
channeldir  频道目录
channeldomain   绑定域名
disabled  频道禁用(0为开启,1为禁用)
templateid  模板ID
skinid 风格ID
items  频道信息数
comments  评论次数
categorys  
specials  
hits  
enablepurview 频道权限(0为开放频道,1为认证频道)
arrgroupid_browse  允许浏览频道的会员组
purview_message  无权限浏览信息时的提示信息
point_message 信息需要扣点数时的提示信息
enablecontribute   是否允许投稿(1为是,0为否)
enablecheck  投稿是否需要审核(1为是,0为否)
emailofreject 退稿时站内短信/Email通知内容
emailofpassed 稿件被采用时站内短信/Email通知内容
enableupload  是否允许在频道上传文件(1为是,0为否)
uploaddir  上传文件的保存目录
maxfilesize  允许上传的最大文件大小
uploadfiletype   允许上传的文件类型
linkurl 类型选择外部频道时的链接地址
setting SEO设置
ishtml  频道首页是否生成html(1是为,0为否)
cat_html_urlruleid  栏目列表分页url规则ID
item_html_urlruleid 内容分页url规则ID
special_html_urlruleid 专题页url规则ID
cat_php_urlruleid  栏目列表分页url规则ID
item_php_urlruleid  内容分页url规则ID
special_php_urlruleid  专题页url规则ID
第十七个表_city   (城市)
cityid  城市ID
province 市
city  区
area  县
postcode 邮编
areacode 区号
第十八个表_comment  (评论)
cid   评论ID
keyid   模块/频道ID
itemid  栏目ID
username 会员名称
score   评分
support  支持
  
against  反对
content  评论内容
ip 评论IP
addtime  评论时间
passed  评论状态(1为通过,0为未通过)
第十九个表_copyfrom  (来源)
id 来源ID
keyid   模块/频道ID
name  名称
url   地

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值