52DH Pro网址导航系统开源版

内容目录


一、详细介绍

这款导航系统是基于 SiteHub 二次开发的网址导航系统,拥有独立前台和拟态风格的后台管理中心。我爱导航系统 (52DH Pro 网址导航系统) 集合网上优质网站网址导航,支持前台自主提交收录、自动获取 TDK 与网站 Icon 与后端审核管理,涵盖网站收录和文章发布等。

部署环境:

Nginx/Apache、PHP 建议 7.4、MySQL 5.6+

安装教程:

将 52DH Pro 压缩包上传到网站运行目录 访问域名安装 按照页面引导,输入数据库帐号及密码信息,提交安装 默认后台地址:http:// 域名 /admin/ 默认账号:admin,默认密码:123456 配置伪静态规则

Nginx 伪静态规则:

rewrite ^/index.html$ /index.php last;

rewrite ^/about.html$ /about.php last;

rewrite ^/search.html$ /search.php last;

rewrite ^/ranking.html$ /ranking.php last;

rewrite ^/apply.html$ /apply.php last;

rewrite ^/404.html$ /404.php last;

rewrite ^/category-([1-9]+[0-9]*).html /category.php?id= 1 l a s t ; r e w r i t e / c a t e g o r y − ( \[ a − z A − Z \] + ) . h t m l 1 last; rewrite \^/category-(\[a-zA-Z\]+).html 1last;rewrite/category−(\[a−zA−Z\]+).html /category.php?alias= 1 l a s t ; r e w r i t e / s i t e − ( \[ 1 − 9 \] + \[ 0 − 9 \] ∗ ) . h t m l 1 last; rewrite \^/site-(\[1-9\]+\[0-9\]\*).html 1last;rewrite/site−(\[1−9\]+\[0−9\]∗).html /site.php?id= 1 l a s t ; r e w r i t e / a r t i c l e . h t m l 1 last; rewrite \^/article.html 1last;rewrite/article.html /article.php last; rewrite \^/article-list-(\[1-9\]+\[0-9\]* ).html /article_list.php?id= 1 l a s t ; r e w r i t e / a r t i c l e − ( [ 1 − 9 ] + [ 0 − 9 ] ∗ ) . h t m l 1 last; rewrite ^/article-([1-9]+[0-9]*).html 1last;rewrite/article−([1−9]+[0−9]∗).html /article_show.php?id= 1 l a s t ; r e w r i t e / i m g / f a v i c o n / ( . ∗ ) 1 last; rewrite ^/img/favicon/(.*) 1last;rewrite/img/favicon/(.∗) /favicon.php?url= 1 l a s t ; r e w r i t e / i m g / f a v i c o n / ( . ∗ ) . p n g 1 last; rewrite ^/img/favicon/(.*).png 1last;rewrite/img/favicon/(.∗).png /favicon.php?url= 1 l a s t ; r e w r i t e / i m g / p r e v i e w / ( . ∗ ) . p n g 1 last; rewrite ^/img/preview/(.*).png 1last;rewrite/img/preview/(.∗).png /preview.php?url=$1 last;

location ~ "/img/favicon/([/]+)/?.pngKaTeX parse error: Expected '}', got 'EOF' at end of input: " {try_files /uri /uri/ /favicon.php?url=1;}

location ~ "/img/preview/([/]+)/?.pngKaTeX parse error: Expected '}', got 'EOF' at end of input: " {try_files /uri /uri/ /preview.php?url=1;}

更新历程:

V1.1.1

  1. 优化安装页面 UI
  2. 美化后台界面 UI 为拟态风格
  3. 新增收录界面 TDK 信息获取和网站展示

V1.0.0

  1. 所有分类下的站点
  2. 单个分类下的站点
  3. 各站点详情页
  4. 分类滚动定位
  5. 记录各站点浏览数
  6. 点赞功能(单个 IP 单个站点只能点赞一次)
  7. 站点详情页显示站点缩略图
  8. 站点炫酷跳转页
  9. 右下角悬浮按扭(去顶部 /QQ/ 邮箱 / 微信二维码)
  10. 搜索功能(支持搜索站点名称 / 站点链接 / 站点简介)
  11. 访客申请站点收录功能
  12. 关于我们页面
  13. 站点图片懒加载
  14. 分类 / 站点链接别名
  15. 网站 Favicon 图标接口缓存

二、效果展示

1.部分代码

代码如下(示例):

php 复制代码
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no">
        <title><?php echo $page_title; ?></title>
        <meta name="keywords" content="<?php echo $conf['keywords'];?>">
        <meta name="description" content="<?php echo $conf['description'];?>">
        <link rel="shortcut icon" type="images/x-icon" href="./favicon.ico"/>
        <link rel="stylesheet" href="<?php echo $site_cdnpublic; ?>font-awesome/4.7.0/css/font-awesome.min.css">
        <link rel="stylesheet" type="text/css" href="./assets/css/ozui.min.css"/>
        <link rel="stylesheet" type="text/css" href="./templates/default/css/style.css"/>
        <?php echo $conf['script_header']; ?>

    </head>
<body>
<?php require('./home/header.php'); ?>
<?php require('./home/banner.php'); ?>

<ul class="category">
    <li><a href="#置顶站点" class="move"><span>置顶推荐</span> <i class="fa fa-thumbs-o-up fa-fw"></i></a></li>
<?php foreach($cate_list as $rows) { ?>
    <li><a href="#<?php echo $rows['catename']; ?>" class="move"><span><?php echo $rows['catename']; ?></span> <i class="fa <?php echo $rows['icon']; ?> fa-fw"></i></a></li>
<?php } ?>
</ul>

2.效果图展示




三、学习资料下载

蓝奏云:https://qumaw.lanzoul.com/iofoX359y0bi

相关推荐
胡耀超6 分钟前
PaddleLabel百度飞桨Al Studio图像标注平台安装和使用指南(包冲突 using the ‘flask‘ extra、眼底医疗分割数据集演示)
人工智能·百度·开源·paddlepaddle·图像识别·图像标注·paddlelabel
时光追逐者10 分钟前
一个基于 .NET 开源、简易、轻量级的进销存管理系统
开源·c#·.net·.net core·经销存管理系统
SuperHeroWu71 小时前
【鸿蒙开源技术共建】用@luvi/lv-markdown-in在HarmonyOS上打造高性能Markdown编辑体验
华为·开源·harmonyos
ajassi20002 小时前
开源 C# 快速开发(五)自定义控件--仪表盘
开发语言·开源·c#
IvorySQL6 小时前
聚焦六大功能:PostgreSQL 18 新特性深度解析
数据库·postgresql·开源
白衣鸽子7 小时前
PageHelper:基于拦截器实现的SQL分页查询工具
后端·开源
咖啡星人k10 小时前
AI 大模型驱动的开源知识库搭建系统 PandaWiki的网页挂件机器人教程
人工智能·机器人·开源
说私域11 小时前
基于开源AI大模型AI智能名片S2B2C商城小程序的产地优势产品营销策略研究
人工智能·小程序·开源
Merrick12 小时前
在github开源你的前后端分离项目
开源
GitCode官方14 小时前
腾讯混元 3D 系列两大模型正式于 GitCode 开源:首个原生3D部件生成+多条件控制模型免费开放
3d·开源·gitcode·混元·hunyuan