35dir网站分类目录导航源码(经典彩色版)。35dir分类目录是一款基于PHP构建的网址大全分类目录系统,拥有多款模板,方便用户管理和展示各种网址,提供了一个结构化的导航平台。核心功能包括网址收录、分类管理、用户提交、搜索功能以及后台管理系统等。网上一些高权重的分类目录站都是使用此源码,如70dir、重庆分类目录等。
由于官方不再更新,部分版本要求php版本为5.2才能安装展示,会编程的可以自己二次开发和美化。本版本为20160811(2016年),无意间在GitHub下载的。安装测试后有些小问题,现已修复部分问题。修复网站分类目录注册时验证码无法显示问题,修复Email邮箱验证时无法发送邮件问题,修复分类目录缩略图不显示问题。替换部分失效无法打开的网站网址。
安装说明:
将文件上传到网站根目录后,输入http://你的域名/install/ 按提示安装程序
登录后台http://你的域名/system/login.php
找到数据库管理-数据库恢复-选择数据库导入即可。
Apache环境伪静态
# BEGIN RewriteEngine On # 首页、分类浏览、数据归档、最近更新、排行榜、意见反馈 RewriteRule ^(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(\.html)$ index.php\?mod=$1&%1 RewriteRule ^(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(\/?)$ index.php\?mod=$1 # 最近更新 RewriteRule ^update-(\d+)-(\d+)\.html$ index.php\?mod=update&days=$1&page=$2 RewriteRule ^update\/(\d+)-(\d+)\.html$ index.php\?mod=update&days=$1&page=$2 RewriteRule ^update\/(\d+)/(\d+)$ index.php\?mod=update&days=$1&page=$2 # 数据归档 RewriteRule ^archives-(\d+)-(\d+)\.html$ index.php\?mod=archives&date=$1&page=$2 RewriteRule ^archives\/(\d+)-(\d+)\.html$ index.php\?mod=archives&date=$1&page=$2 RewriteRule ^archives\/(\d+)/(\d+)$ index.php\?mod=archives&date=$1&page=$2 # 站内搜索 RewriteRule ^search-(name|url|tags|intro)-(.*)-(\d+)\.html$ index.php\?mod=search&type=$1&query=$2&page=$3 RewriteRule ^search-(name|url|tags|intro)-(.*)\.html$ index.php\?mod=search&type=$1&query=$2 RewriteRule ^search\/(name|url|tags|intro)\/(.*)-(\d+)\.html$ index.php\?mod=search&type=$1&query=$2&page=$3 RewriteRule ^search\/(name|url|tags|intro)\/(.*)\.html$ index.php\?mod=search&type=$1&query=$2 RewriteRule ^search\/(name|url|tags|intro)\/(.+)/(\d+)$ index.php\?mod=search&type=$1&query=$2&page=$3 RewriteRule ^search\/(name|url|tags|intro)\/(.+)$ index.php\?mod=search&type=$1&query=$2 # 站点详细 RewriteRule ^siteinfo-(\d+)\.html$ index.php\?mod=siteinfo&wid=$1 RewriteRule ^siteinfo\/(\d+)\.html$ index.php\?mod=siteinfo&wid=$1 RewriteRule ^siteinfo\/(\d+)$ index.php\?mod=siteinfo&wid=$1 # 文章详细 RewriteRule ^artinfo-(\d+)\.html$ index.php\?mod=artinfo&aid=$1 RewriteRule ^artinfo\/(\d+)\.html$ index.php\?mod=artinfo&aid=$1 RewriteRule ^artinfo\/(\d+)$ index.php\?mod=artinfo&aid=$1 # 链接详细 RewriteRule ^linkinfo-(\d+)\.html$ index.php\?mod=linkinfo&lid=$1 RewriteRule ^linkinfo\/(\d+)\.html$ index.php\?mod=linkinfo&lid=$1 RewriteRule ^linkinfo\/(\d+)$ index.php\?mod=linkinfo&lid=$1 # 单页 RewriteRule ^diypage-(\d+)\.html$ index.php\?mod=diypage&pid=$1 RewriteRule ^diypage\/(\d+)\.html$ index.php\?mod=diypage&pid=$1 RewriteRule ^diypage\/(\d+)$ index.php\?mod=diypage&pid=$1 # RSS RewriteRule ^rssfeed-(.+)-(\d+)\.html$ index.php\?mod=rssfeed&type=$1&cid=$2 RewriteRule ^rssfeed-(.+)\.html$ index.php\?mod=rssfeed&type=$1&cid=$2 RewriteRule ^rssfeed\/(.+)/$ index.php\?mod=rssfeed&type=$1 RewriteRule ^rssfeed\/(.+)/(\d+)\.html$ index.php\?mod=rssfeed&type=$1&cid=$2 RewriteRule ^rssfeed\/(.+)$ index.php\?mod=rssfeed&type=$1 RewriteRule ^rssfeed\/(.+)/(\d+)$ index.php\?mod=rssfeed&type=$1&cid=$2 # SiteMap RewriteRule ^sitemap-(.+)\.html$ index.php\?mod=sitemap&cid=$1 RewriteRule ^sitemap\/(\d+)\/$ index.php\?mod=sitemap&cid=$1 RewriteRule ^sitemap\/(\d+)$ index.php\?mod=sitemap&cid=$1 # 分类目录 RewriteRule ^webdir-(.+)-(\d+)-(\d+)\.html$ index.php\?mod=webdir&cid=$2&page=$3 RewriteRule ^webdir\/(.+)\/(\d+)-(\d+)\.html$ index.php\?mod=webdir&cid=$2&page=$3 RewriteRule ^webdir\/(.+)\/(\d+)/(\d+)$ index.php\?mod=webdir&cid=$2&page=$3 RewriteRule ^article-(.+)-(\d+)-(\d+)\.html$ index.php\?mod=article&cid=$2&page=$3 RewriteRule ^article\/(.+)\/(\d+)-(\d+)\.html$ index.php\?mod=article&cid=$2&page=$3 RewriteRule ^article\/(.+)\/(\d+)/(\d+)$ index.php\?mod=article&cid=$2&page=$3 # END
35dir分类目录源码演示站http://dir.bokew.com/
源码下载地址:模板测试中。。。。
评论