×

网站公告

欢迎访问灵狐的窝,小站是博主自嗨的小站!
最新域名启用:linghu.n26n.com

有事请留言
使用emlog搭建的站点
资源下载
  • 微软系统
  • 游戏下载
  • 精品源码
  • 其它资源
  • 软件下载
  • 教学教程 攻略秘籍 网文摘录 HAPPY 留言本 登录
    登录
    侧边栏壁纸
    博主头像
    冲灵

    • 累计撰写 535 篇文章
    • 累计收到 3 条评论
    • 首页
    • 栏目
      • 资源下载
        • 微软系统
        • 游戏下载
        • 精品源码
        • 其它资源
        • 软件下载
      • 教学教程
      • 攻略秘籍
      • 网文摘录
      • HAPPY
      • 留言本
      • 登录
    作者 【1】 的文章
    • AmOEM(windows/office激活辅助工具) v2.2 中文绿色版 2025-4-2
      AmOEM(windows/office激活辅助工具) v2.2 中文绿色版 AMoem是一款轻量化的Windows系统及Office办公软件激活工具, 支持Win10/11及Office等版本,操作简单,无需复杂配置, 适用于个人用户快速解决系统未激活问题, 多种激活方式保障了成功率。 软件功能 支持常用的Win10/11版本, 在线永久/离线譤活, kms38(到2038年)以及TSforge(可到6108年). 支持通过安装密钥对五大版本之间以及LTSC/IoTLTSC切换授权区别. 支持譤活Office2013及以上版本. 系统更新开关可有效控制系统在后台的检测/更新/下载. 三种方式之间优先区别 系统未譤活情况下建议先安装对应密钥, 三种方式均可尝试. 优先顺序, 数字或TS>K38, 意思是前两者譤活以后 再使用后者无效(新版系统). TS和K38之间密钥基本共用, 都支持无网络离线. 下载地址 AmOEM(windows/office激活辅助工具) v2.2 中文绿色版 https://pan.quark.cn/s/a5bcd9b62804 https://pan.xunlei.com/s/VOMjT4nTonKtebO-Tw12Ae1AA1?pwd=wyc3#
      • 2025年-4月-2日
      • 5 阅读
      • 0 评论
      • AmOEM 激活
      软件下载
    • 战国王朝|官方中文|Build.17884921-剑锋乱世-御风而行+全DLC 2025-4-2
      战国王朝|官方中文|Build.17884921-剑锋乱世-御风而行+全DLC 战国王朝 SENGOKU DYNASTY 《战国王朝》是一款融合了开放世界RPG、城市建造和生活模拟以及生存元素的多题材游戏。在封建日本的动荡时期,建立并成为自己王朝的主宰。在第一或第三人称视角下独自作战或与他人合作。 在曾经饱受饥荒和战争摧残的地区,建立自己的生活,培养一个社区,打造一个属于自己的王朝。独自或与多人合作,探索一个美丽的开放世界,收集资源、制造、狩猎、建造和耕种,让自己生存下来,并支持您的村庄社区。与强悍的敌人作战,成为伟大的领袖,保护您所创造的一切。 体验自然之美,参加古老的仪式,揭开神灵奥秘。《战国王朝》为玩家提供了一场对中世纪日本的沉浸式体验。选择您的路径,作为领袖、工匠、武士或僧侣,开始一段史诗般的旅程,   链接: https://pan.baidu.com/s/1MJjRwfj7l9KsqJxrMbdaFA 提取码: j2n4 Gofile - Cloud Storage Made Simple 《Sengoku Dynasty 战国王朝》v0.4.0.3 中文版:https://pan.quark.cn/s/4147af276ee9 解压密码:laoquzhang.com 中文修改器[外站]:点我
      • 2025年-4月-2日
      • 24 阅读
      • 0 评论
      • 战国王朝
      游戏下载
    • 方舟:生存飞升(v31.38中文完整版)免费下载 2025-4-2
      方舟:生存飞升(v31.38中文完整版)免费下载 方舟:生存进化 ARK: Survival Ascended 进入一场全新的恐龙生存体验,这一切将超越您最狂野的幻想……《方舟》采用虚幻引擎 5 重新设计,并融入了下一代电子游戏技术!您会在一个神秘的小岛上醒来,刺眼的阳光和绚丽的色彩将使你目不暇接. 蔚蓝的海水拍打着您赤裸的双脚。迷雾丛林中回荡的低沉吼叫让你猛然惊醒,你站了起来–却不是因为害怕,而是因为好奇。你准备好组建一个部落,驯养和繁殖数百种恐龙和其他原始生物,探索、制作、建造,并一路进发至食物链的顶端了吗?一场新的冒险在等待着你……不要再犹豫了,快来加入这个世界吧! 游戏特色 ● 《方舟:生存飞升》重新构思了 ARK 的艺术设计和游戏世界,采用了最新的虚幻引擎 5 游戏技术,包括高端图形功能技术,例如全局动态照明(Lumen),使光线在物体表面形成逼真的反射效果,以及由数亿个三角形组成的高级网格流技术(Nanite),以呈现出极致的细节。 ● 游戏还采用了全新的物理系统,例如动态水体,使每个生物在液体中移动时都会产生波浪、涟漪、飞溅和气泡,同时还有完全交互式的物理植被,每片草、灌木和树都会对角色、爆炸、抛射物和物理物体做出反应。你甚至可以砍倒一棵树,看着它撞向其他树木,并在砸向下方草地的途中扰乱所有树叶。你甚至可以通过观察草丛的动向来确定偷偷移动的敌人的位置——因为草丛会随着敌人而移动摇摆。当你拆毁一栋建筑时,可以看到碎片更真实地四分五裂,并在落下时与草地和水体发生交互。 ● 通过《方舟:生存飞升》可以访问所有方舟世界,包括焦土、畸变、灭绝、创世纪 1、ARK 创世纪第二部分等等。孤岛地图现已发布,后续扩展地图将定期免费添加。 ● 这次的终极生存体验将开启更加精彩的新篇章:自定义你的幸存者,组建一个部落,在一个真实的生态系统中驯化、训练、繁衍和驾驭各种恐龙。你需要时刻关注食物、水源、温度和天气变化。在采集、建造建筑、种植农作物、自定义游戏世界的过程中,慢慢扩张领土,探索并揭开孤岛及其他世界的真面目。 ● 在游戏体验的各个方面都进行了更彻底的改进:重新设计的用户界面,智能生物寻路的动态导航,野生恐龙宝宝,照片模式,新的相机系统,新的地图系统,追踪系统,全新的建筑、物品和生物等等。 ● 跨平台模组:您可以直接在游戏中通过专门的模组浏览器 下载并畅玩由其他玩家创造的新内容,包括新地图、生物、物品以及游戏模式!随着社群的创造力和才能首次在各个平台上得到充分释放,您将源源不断地享受到有关方舟新玩法! 下载地址 https://pan.quark.cn/s/bb46576d8e8f
      • 2025年-4月-2日
      • 6 阅读
      • 0 评论
      • 方舟 游戏 生存飞升
      游戏下载
    • Q-Dir(免费的文件管理器) v12.14 多语便携版 2025-4-2
      Q-Dir(免费的文件管理器) v12.14 多语便携版 Q-Dir是一款免费的文件管理器,具有多窗口浏览、拖放功能、自定义布局等特点,可以快速方便地浏览和管理文件和文件夹。 软件功能 1. 多窗口浏览:可以同时在一个界面中打开多个文件夹,方便对文件和文件夹进行管理。 2. 拖放功能:支持拖放文件和文件夹,可以方便地进行复制、移动、删除等操作。 3. 自定义布局:可以自定义窗口布局,包括窗口大小、位置、颜色等,让用户更加舒适地使用软件。 4. 支持多种文件类型:支持浏览和管理多种文件类型,包括文本文件、图像文件、音频文件、视频文件等。 5. 快速访问:支持快速访问常用文件和文件夹,可以将它们添加到收藏夹中,方便快速打开。 软件特点 1. 免费:Q-Dir是一款完全免费的软件,用户无需支付任何费用即可使用全部功能。 2. 轻巧:Q-Dir的安装包非常小,只有几百KB,安装后占用的系统资源也非常少,不会影响计算机的性能。 3. 界面友好:Q-Dir的界面简洁、直观,易于操作,即使是初次使用的用户也可以轻松上手。 4. 支持多语言:Q-Dir支持多种语言,包括英语、中文、德语、法语等,用户可以选择自己熟悉的语言来使用软件。 5. 持续更新:Q-Dir的开发者会持续更新软件,修复bug、增加新功能,保证软件的稳定性和可靠性。 下载地址 Q-Dir(免费的文件管理器) v12.14 多语便携版 https://pan.quark.cn/s/09391b7fb868 https://pan.xunlei.com/s/VOMF6EnjvSijim_-K5EToiaGA1?pwd=65p8# Q-Dir(免费的文件管理器) v12.13 多语便携版 https://pan.quark.cn/s/7071d6f33054 https://pan.xunlei.com/s/VOKviZWWxTDbJNN7yRAf97hfA1?pwd=74sn# Q-Dir(免费的文件管理器) v12.12 多语便携版 https://pan.quark.cn/s/46c1c15c7fb3 https://pan.xunlei.com/s/VOKaFNS6BUzxU0YZmviEh1eoA1?pwd=bm3u# Q-Dir(免费的文件管理器) v12.11 多语便携版 https://pan.quark.cn/s/7b763f597aa6 https://pan.xunlei.com/s/VOJhdvgTDBPkCjYawY_MRjfFA1?pwd=hiju
      • 2025年-4月-2日
      • 21 阅读
      • 0 评论
      • Q-Dir
      软件下载
    • Ant Download Manager(ADM下载器) v2.15.3 多语便携版 2025-4-2
      Ant Download Manager(ADM下载器) v2.15.3 多语便携版 Ant Download Manager(简称ADM)是一款功能强大的下载管理软件。它提供了高速稳定的下载功能,并且支持多线程下载、批量下载、断点续传等特点。 软件功能 1. 多线程下载:ADM能够同时使用多个线程进行下载,提高下载速度并节省时间。 2. 支持多种下载协议:ADM支持HTTP、HTTPS、FTP等多种下载协议,能够下载各种类型的文件。 3. 批量下载:ADM支持批量下载功能,可以一次性下载多个文件或整个文件夹,方便快捷。 4. 断点续传:ADM能够在下载过程中随时暂停,并能够在下次继续下载时恢复到暂停的位置,避免重新下载已经下载过的部分。 5. 视频下载:ADM内置了视频下载功能,能够从视频网站上下载视频文件,支持大多数主流视频网站。 6. 内置浏览器:ADM内置了浏览器,方便用户查找和下载文件,无需切换到其他浏览器。 软件特点 1. 用户界面友好:ADM的界面简洁明了,易于操作,即使对于新手用户也很容易上手。 2. 高速下载:ADM通过多线程下载和优化算法,能够实现更快的下载速度,提高工作效率。 3. 随时暂停和恢复下载:ADM能够随时暂停和恢复下载过程,方便用户根据需要管理下载任务。 4. 自动提取文件链接:ADM能够自动提取下载链接,并将其添加到下载队列中,减少手动操作的繁琐性。 编辑原因:04.02 更新 Ant Download Manager 2.15.3.89819 稳定版 下载地址 Ant Download Manager(ADM下载器) v2.15.3 多语便携版 https://pan.quark.cn/s/d480c3811713 https://pan.xunlei.com/s/VOMo5-JZIJ-J1n-Oy-51hLzMA1?pwd=jauh# Ant Download Manager Pro 2.15.3 Multilingual (2025/03/31) https://antdownloadmanager.com/downloads/AntDM.2.15.3-setup.exe https://antdownloadmanager.com/downloads/AntDM-x64.2.15.3-setup.exe AntDM Generic Hook 1.11 (2024/05/10) https://url96.ctfile.com/f/60968596-1448715152-e33aac?p=7788 (访问密码: 7788)
      • 2025年-4月-2日
      • 4 阅读
      • 0 评论
      • Ant Download Manager ADM
      软件下载
    • Seelen UI(个性化Win11/Win10桌面美化工具) v2.2.4 2025-4-2
      Seelen UI(个性化Win11/Win10桌面美化工具) v2.2.4 Seelen UI 是一款专注于用户界面设计和原型制作的工具,广泛应用于设计师、开发人员和产品经理中。它提供了一套强大的设计工具和资源,帮助用户快速创建和测试用户界面原型。Seelen UI 支持多种设计平台和框架,可以与现有的设计和开发工具无缝集成,为用户提供高效的设计解决方案。 软件功能 1. 界面设计: 拖拽组件:提供丰富的预设组件库,用户可以通过拖拽操作快速构建界面。 自定义组件:支持自定义组件,用户可以创建和保存自己的组件库。 响应式设计:支持响应式设计,用户可以轻松创建适应不同屏幕尺寸的界面。 2. 原型制作: 交互设计:支持交互设计,用户可以添加点击、滑动、滚动等交互效果。 页面链接:支持页面链接功能,用户可以创建多个页面并进行跳转。 动画效果:支持动画效果,用户可以为界面元素添加过渡动画,增强用户体验。 3. 团队协作: 多人协作:支持多人协作功能,团队成员可以实时编辑和评论同一个项目。 版本控制:支持版本控制功能,用户可以保存和回滚不同版本的设计稿。 评论和反馈:支持评论和反馈功能,团队成员可以互相交流和讨论设计细节。 4. 资源管理: 样式库:提供丰富的样式库,用户可以快速应用和管理界面样式。 图标库:提供大量的图标库,用户可以快速添加和使用图标。 字体管理:支持字体管理功能,用户可以导入和使用自定义字体。 5. 导出和分享: 多格式导出:支持多种格式导出,包括 PNG、JPEG、SVG、PDF 等。 代码导出:支持代码导出功能,用户可以导出 HTML、CSS 和 JavaScript 代码。 在线分享:支持在线分享功能,用户可以生成链接并分享给团队成员或客户。 6. 集成和扩展: 插件支持:支持插件扩展功能,用户可以安装和使用第三方插件,扩展工具的功能。 API 接口:提供 API 接口,用户可以与其他设计和开发工具进行集成。 软件特点 1. 用户友好的界面: 直观的操作界面:提供直观易用的操作界面,适合不同水平的用户。 自定义设置:支持自定义设置,用户可以根据自己的需求调整工具和面板的布局。 2. 强大的设计工具: 拖拽组件:提供丰富的预设组件库,用户可以通过拖拽操作快速构建界面。 自定义组件:支持自定义组件,用户可以创建和保存自己的组件库。 响应式设计:支持响应式设计,用户可以轻松创建适应不同屏幕尺寸的界面。 3. 高效的原型制作: 交互设计:支持交互设计,用户可以添加点击、滑动、滚动等交互效果。 页面链接:支持页面链接功能,用户可以创建多个页面并进行跳转。 动画效果:支持动画效果,用户可以为界面元素添加过渡动画,增强用户体验。 4. 强大的团队协作功能: 多人协作:支持多人协作功能,团队成员可以实时编辑和评论同一个项目。 版本控制:支持版本控制功能,用户可以保存和回滚不同版本的设计稿。 评论和反馈:支持评论和反馈功能,团队成员可以互相交流和讨论设计细节。 5. 丰富的资源管理: 样式库:提供丰富的样式库,用户可以快速应用和管理界面样式。 图标库:提供大量的图标库,用户可以快速添加和使用图标。 字体管理:支持字体管理功能,用户可以导入和使用自定义字体。 6. 灵活的导出和分享选项: 多格式导出:支持多种格式导出,满足不同需求。 代码导出:支持代码导出功能,方便前端开发人员使用。 在线分享:支持在线分享功能,方便团队成员和客户的审阅和反馈。 7. 高度的集成和扩展性: 插件支持:支持插件扩展功能,用户可以安装和使用第三方插件,扩展工具的功能。 API 接口:提供 API 接口,用户可以与其他设计和开发工具进行集成。 退出软件的方法,在设置那个醒目的退出,是退出设置,在“信息”里的才是关闭软件的所有功能。 下载地址 Seelen UI(个性化Win11/Win10桌面美化工具) v2.2.4 https://pan.quark.cn/s/64ad14812d55 https://pan.xunlei.com/s/VOMowqONNuJQnUVLXZ1I6nvHA1?pwd=guah#
      • 2025年-4月-2日
      • 2 阅读
      • 0 评论
      • win11 Seelen UI Win10 桌面美化
      软件下载
    • Notepad++V8.6.4 中文版 免费的文本/代码编辑软件 2025-4-1
      Notepad++V8.6.4 中文版 免费的文本/代码编辑软件        Notepad++是一款免费的文本/代码编辑器,支持27种编程语言,支持多文件多视窗编辑。软件安装包体积小,启动速度快。       notepad++是一款免费的开源文本编辑软件,支持windows系统、支持中文版。作为文本编辑时比windows自带的记事本更强大,除了适合作为一款轻量型的文本编辑软件,也很适合作为编程使用。notepad++支持多达27种语法高亮,例如:C,C++ ,Java ,C#, XML, HTML, PHP,JS 等。同时notepad还支持多文件,多视窗编辑,保存。代码编辑时还支持自动填充,支持用户自定义编程语言   下载地址:https://gangzi.lanzouu.com/iAI572saqana
      • 2025年-4月-1日
      • 6 阅读
      • 0 评论
      • Notepad++ 文本编辑
      软件下载
    • 灵狐简约留言本 2025-4-1
      灵狐简约留言本 功能特点 简洁美观的设计:采用渐变色和卡片式布局,响应式设计 无需登录:任何人都可以直接留言 数据存储:使用SQLite数据库存储留言,无需额外配置 表单验证:基本的必填字段验证 防止XSS攻击:使用htmlspecialchars过滤输出 时间显示:自动记录并显示留言时间 成功提示:提交成功后显示友好的提示信息 按钮样式特点: 半透明毛玻璃效果 圆角设计 悬停动画效果 阴影增强立体感 响应式布局,在小屏幕上会自动换行 位置安排: 按钮位于标题下方,header区域内 与整体设计风格协调统一 新增功能说明 密码保护批量删除功能: 删除密码设置为 2588(代码中 $deletePassword = '2588') 每条留言前有复选框可以选择 需要输入正确密码才能执行删除操作 删除界面设计: 红色删除按钮,与其他操作区分 密码输入框有明确标识 错误提示和成功提示样式不同 安全措施: 使用预处理语句防止SQL注入 密码验证在服务端进行 所有输出都经过htmlspecialchars过滤 用户体验: 删除成功后显示删除数量 使用说明 将代码保存为index.php文件 确保PHP环境已安装SQLite扩展 上传到支持PHP的服务器即可使用 留言数据会自动存储在messages.db文件中 您可以根据需要修改样式或添加更多功能,如分页显示、留言回复等。 <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>灵狐简约留言本</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; } body { background-color: #f5f7fa; color: #333; line-height: 1.6; padding: 20px; } .container { max-width: 800px; margin: 0 auto; background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); overflow: hidden; } header { background: linear-gradient(135deg, #6e8efb, #a777e3); color: white; padding: 30px 20px; text-align: center; position: relative; } h1 { font-size: 2.5rem; margin-bottom: 10px; } .subtitle { font-weight: 300; opacity: 0.9; } /* 导航按钮样式 */ .nav-buttons { display: flex; justify-content: center; margin-top: 20px; flex-wrap: wrap; gap: 10px; } .nav-button { background: rgba(255, 255, 255, 0.2); color: white; border: none; padding: 10px 20px; font-size: 16px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .nav-button:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .nav-button:active { transform: translateY(0); } .content { padding: 30px; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; } input, textarea, select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; transition: border 0.3s; } input:focus, textarea:focus, select:focus { border-color: #6e8efb; outline: none; box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.1); } textarea { min-height: 120px; resize: vertical; } button, .btn { background: linear-gradient(135deg, #6e8efb, #a777e3); color: white; border: none; padding: 12px 25px; font-size: 16px; border-radius: 5px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; text-decoration: none; text-align: center; } button:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); } .btn-danger { background: linear-gradient(135deg, #ff6b6b, #f06595); } .messages { margin-top: 40px; } .message { background: white; border-left: 4px solid #6e8efb; padding: 20px; margin-bottom: 20px; border-radius: 0 5px 5px 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); position: relative; } .message-header { display: flex; justify-content: space-between; margin-bottom: 10px; color: #666; } .message-name { font-weight: bold; color: #444; } .message-time { font-size: 0.9em; opacity: 0.7; } .message-content { color: #333; line-height: 1.7; } .success-message { background: #d4edda; color: #155724; padding: 15px; border-radius: 5px; margin-bottom: 20px; } .error-message { background: #f8d7da; color: #721c24; padding: 15px; border-radius: 5px; margin-bottom: 20px; } .checkbox-group { margin: 20px 0; } .message-checkbox { margin-right: 10px; } .delete-section { background: #fff9f9; padding: 20px; border-radius: 5px; margin-top: 30px; border: 1px solid #ffebee; } footer { text-align: center; margin-top: 40px; color: #777; font-size: 0.9em; } </style> </head> <body> <div class="container"> <header> <h1>灵狐简约留言本</h1> <p class="subtitle">留下您的宝贵意见或建议</p> <!-- 导航按钮 --> <div class="nav-buttons"> <a href="../" class="nav-button">首页</a> <a href="../FMS" class="nav-button">种子站</a> <a href="../" class="nav-button">测试1</a> <a href="../" class="nav-button">测试2</a> </div> </header> <div class="content"> <?php // 数据库配置 $dbFile = 'messages.db'; $deletePassword = '2588'; // 删除密码 // 创建数据库和表(如果不存在) if (!file_exists($dbFile)) { $db = new SQLite3($dbFile); $db->exec('CREATE TABLE IF NOT EXISTS messages ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, email TEXT, content TEXT NOT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP )'); } else { $db = new SQLite3($dbFile); } // 处理表单提交 if ($_SERVER['REQUEST_METHOD'] === 'POST') { // 处理留言提交 if (isset($_POST['submit_message'])) { $name = trim($_POST['name'] ?? ''); $email = trim($_POST['email'] ?? ''); $content = trim($_POST['content'] ?? ''); if (!empty($name) && !empty($content)) { $stmt = $db->prepare('INSERT INTO messages (name, email, content) VALUES (:name, :email, :content)'); $stmt->bindValue(':name', $name, SQLITE3_TEXT); $stmt->bindValue(':email', $email, SQLITE3_TEXT); $stmt->bindValue(':content', $content, SQLITE3_TEXT); if ($stmt->execute()) { echo '<div class="success-message">留言已提交,感谢您的参与!</div>'; // 清空POST数据,防止重复提交 $_POST['name'] = ''; $_POST['email'] = ''; $_POST['content'] = ''; } } } // 处理批量删除 if (isset($_POST['delete_messages'])) { $enteredPassword = trim($_POST['delete_password'] ?? ''); $messageIds = $_POST['message_ids'] ?? []; if ($enteredPassword === $deletePassword) { if (!empty($messageIds)) { // 构建IN语句 $placeholders = rtrim(str_repeat('?,', count($messageIds)), ','); $stmt = $db->prepare("DELETE FROM messages WHERE id IN ($placeholders)"); // 绑定参数 $i = 1; foreach ($messageIds as $id) { $stmt->bindValue($i++, $id, SQLITE3_INTEGER); } if ($stmt->execute()) { $count = $db->changes(); echo '<div class="success-message">成功删除 ' . $count . ' 条留言!</div>'; } } else { echo '<div class="error-message">请至少选择一条留言删除</div>'; } } else { echo '<div class="error-message">删除密码错误!</div>'; } } } // 获取所有留言 $result = $db->query('SELECT * FROM messages ORDER BY created_at DESC'); ?> <form method="post" action=""> <div class="form-group"> <label for="name">您的姓名 *</label> <input type="text" id="name" name="name" required value="<?php echo htmlspecialchars($_POST['name'] ?? ''); ?>"> </div> <div class="form-group"> <label for="email">电子邮箱</label> <input type="email" id="email" name="email" value="<?php echo htmlspecialchars($_POST['email'] ?? ''); ?>"> </div> <div class="form-group"> <label for="content">留言内容 *</label> <textarea id="content" name="content" required><?php echo htmlspecialchars($_POST['content'] ?? ''); ?></textarea> </div> <button type="submit" name="submit_message">提交留言</button> </form> <div class="messages"> <h2>留言列表</h2> <form method="post" action="" id="deleteForm"> <?php while ($message = $result->fetchArray(SQLITE3_ASSOC)): ?> <div class="message"> <div class="message-header"> <div> <input type="checkbox" name="message_ids[]" value="<?php echo $message['id']; ?>" class="message-checkbox" id="msg_<?php echo $message['id']; ?>"> <label for="msg_<?php echo $message['id']; ?>" class="message-name"><?php echo htmlspecialchars($message['name']); ?></label> </div> <span class="message-time"><?php echo date('Y-m-d H:i', strtotime($message['created_at'])); ?></span> </div> <div class="message-content"> <?php echo nl2br(htmlspecialchars($message['content'])); ?> </div> </div> <?php endwhile; ?> <?php if ($result->fetchArray(SQLITE3_ASSOC) === false && $db->querySingle('SELECT COUNT(*) FROM messages') == 0): ?> <p>暂无留言,快来留下第一条吧!</p> <?php else: ?> <div class="delete-section"> <h3>批量删除留言</h3> <div class="form-group"> <label for="delete_password">删除密码 *</label> <input type="password" id="delete_password" name="delete_password" required placeholder="请输入删除密码"> </div> <button type="submit" name="delete_messages" class="btn btn-danger">删除所选留言</button> </div> <?php endif; ?> </form> </div> </div> </div> <footer> <p>© <?php echo date('Y'); ?> 灵狐简约留言本 - 无需登录即可留言</p> </footer> </body> </html>
      • 2025年-4月-1日
      • 4 阅读
      • 0 评论
      精品源码
    • 文件管理系统 v1.0  PHP源码 2025-3-31
      文件管理系统 v1.0 PHP源码 演示站点 V1.2:http://linghu.rf.gd/FMS/index.php 使用说明 将代码保存为index.php文件 确保PHP环境已安装并运行 默认管理密码为8888(可在代码开头修改) 上传的文件会保存在uploads目录下 安全提示 这是一个简单的演示系统,不建议在生产环境中使用,因为它没有以下安全措施: 用户认证 文件上传类型检查 防CSRF保护 其他高级安全措施 如需在生产环境使用,请添加适当的安全措施。 新增功能说明 系统标题: 在页面顶部居中显示"种子文件管理系统"加粗标题 使用大号字体和阴影效果美化 分页功能: 每页显示20个文件 底部显示分页导航,包括页码和前后页按钮 支持直接跳转到第一页和最后一页 批量管理功能: 文件列表添加复选框列 提供"全选"和"取消全选"按钮 支持批量删除选中的文件和文件夹 统计信息显示: 美观的统计卡片显示总文件数、文件夹数、文件数和当前页数 使用卡片式设计,带有阴影效果 数字突出显示,标签清晰 其他改进: 优化了页面布局和间距 改进了分页导航的显示逻辑,最多显示5个页码 增强了批量操作的交互体验 使用说明 批量操作: 勾选文件前的复选框选择文件 点击"全选"选择当前页所有文件 点击"批量删除"删除选中的文件 分页导航: 点击页码跳转到指定页 使用"上一页"和"下一页"按钮导航 可直接跳转到第一页或最后一页 统计信息: 在文件列表上方显示当前目录的统计信息 包括总文件数、文件夹数、文件数和当前页数 这个增强版系统既保持了单文件的简洁性,又增加了实用的批量管理和分页功能,同时通过美观的统计卡片提升了用户体验。 <?php // 配置文件 $PASSWORD = '8888'; // 管理密码 $UPLOAD_DIR = 'uploads'; // 上传目录 $CURRENT_DIR = isset($_GET['dir']) ? rtrim($_GET['dir'], '/') : ''; // 当前目录 $ITEMS_PER_PAGE = 20; // 每页显示文件数 // 创建上传目录(如果不存在) if (!file_exists($UPLOAD_DIR)) { mkdir($UPLOAD_DIR, 0755, true); } // 处理表单提交 if ($_SERVER['REQUEST_METHOD'] === 'POST') { // 新建文件夹 if (isset($_POST['create_folder'])) { $folder_name = trim($_POST['folder_name']); if (!empty($folder_name)) { $new_folder_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $folder_name; if (!file_exists($new_folder_path)) { mkdir($new_folder_path, 0755, true); $message = "文件夹创建成功!"; } else { $error = "文件夹已存在!"; } } } // 上传文件 if (isset($_POST['upload'])) { $upload_password = $_POST['upload_password']; if ($upload_password === $PASSWORD) { $target_dir = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/'; // 处理多文件上传 $uploaded_files = 0; foreach ($_FILES['files']['name'] as $key => $name) { if ($_FILES['files']['error'][$key] === UPLOAD_ERR_OK) { $target_file = $target_dir . basename($name); $temp_file = $_FILES['files']['tmp_name'][$key]; // 检查文件是否已存在 if (!file_exists($target_file)) { if (move_uploaded_file($temp_file, $target_file)) { $uploaded_files++; } } } } if ($uploaded_files > 0) { $message = "成功上传 {$uploaded_files} 个文件!"; } else { $error = "没有文件被上传或文件已存在!"; } } else { $error = "密码错误!"; } } // 删除文件或文件夹 if (isset($_POST['delete'])) { $delete_password = $_POST['delete_password']; if ($delete_password === $PASSWORD) { $target = $_POST['target']; $full_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $target; if (file_exists($full_path)) { if (is_dir($full_path)) { // 删除文件夹(递归) $it = new RecursiveDirectoryIterator($full_path, RecursiveDirectoryIterator::SKIP_DOTS); $files = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); foreach($files as $file) { if ($file->isDir()){ rmdir($file->getRealPath()); } else { unlink($file->getRealPath()); } } rmdir($full_path); $message = "文件夹删除成功!"; } else { // 删除文件 unlink($full_path); $message = "文件删除成功!"; } } } else { $error = "密码错误!"; } } // 批量删除 if (isset($_POST['batch_delete'])) { $delete_password = $_POST['batch_delete_password']; if ($delete_password === $PASSWORD && isset($_POST['selected_files'])) { $deleted_count = 0; foreach ($_POST['selected_files'] as $target) { $full_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $target; if (file_exists($full_path)) { if (is_dir($full_path)) { // 删除文件夹(递归) $it = new RecursiveDirectoryIterator($full_path, RecursiveDirectoryIterator::SKIP_DOTS); $files = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); foreach($files as $file) { if ($file->isDir()){ rmdir($file->getRealPath()); } else { unlink($file->getRealPath()); } } rmdir($full_path); } else { // 删除文件 unlink($full_path); } $deleted_count++; } } $message = "成功删除 {$deleted_count} 个项目!"; } else { $error = "密码错误或未选择文件!"; } } // 重命名文件或文件夹 if (isset($_POST['rename'])) { $old_name = $_POST['old_name']; $new_name = $_POST['new_name']; if (!empty($new_name)) { $old_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $old_name; $new_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $new_name; if (file_exists($old_path) && !file_exists($new_path)) { rename($old_path, $new_path); $message = "重命名成功!"; } else { $error = "重命名失败! 文件已存在或原文件不存在。"; } } } } // 获取当前目录文件列表 $current_path = ($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR; $all_files = []; if (file_exists($current_path)) { $items = scandir($current_path); foreach ($items as $item) { if ($item !== '.' && $item !== '..') { $file_path = $current_path . '/' . $item; $all_files[] = [ 'name' => $item, 'path' => $file_path, 'size' => filesize($file_path), 'type' => mime_content_type($file_path), 'is_dir' => is_dir($file_path), 'modified' => filemtime($file_path) ]; } } } // 搜索功能 if (isset($_GET['search']) && !empty($_GET['search'])) { $search_term = strtolower($_GET['search']); $filtered_files = []; foreach ($all_files as $file) { if (strpos(strtolower($file['name']), $search_term) !== false) { $filtered_files[] = $file; } } $all_files = $filtered_files; } // 分页处理 $total_files = count($all_files); $total_pages = ceil($total_files / $ITEMS_PER_PAGE); $current_page = isset($_GET['page']) ? max(1, min($total_pages, intval($_GET['page']))) : 1; $offset = ($current_page - 1) * $ITEMS_PER_PAGE; $files = array_slice($all_files, $offset, $ITEMS_PER_PAGE); ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>种子文件管理系统</title> <style> body { font-family: 'Arial', sans-serif; line-height: 1.6; margin: 0; padding: 20px; background-color: #f5f5f5; color: #333; } .container { max-width: 1200px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; } .system-title { text-align: center; font-size: 28px; font-weight: bold; color: #2c3e50; margin: 20px 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); } .btn { display: inline-block; padding: 8px 16px; background-color: #4CAF50; color: white; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; font-size: 14px; transition: background-color 0.3s; } .btn:hover { background-color: #45a049; } .btn-danger { background-color: #f44336; } .btn-danger:hover { background-color: #d32f2f; } .btn-primary { background-color: #2196F3; } .btn-primary:hover { background-color: #0b7dda; } .btn-secondary { background-color: #757575; } .btn-secondary:hover { background-color: #616161; } .file-list { width: 100%; border-collapse: collapse; } .file-list th, .file-list td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; } .file-list th { background-color: #f2f2f2; font-weight: bold; } .file-list tr:hover { background-color: #f9f9f9; } .file-actions { display: flex; gap: 5px; } .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); } .modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 500px; border-radius: 5px; } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover { color: black; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; font-weight: bold; } .form-group input, .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; } .alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; } .alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } .alert-danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1; } .search-box { display: flex; gap: 10px; } .search-box input { padding: 8px; border: 1px solid #ddd; border-radius: 4px; } .folder-icon { color: #FFA500; margin-right: 5px; } .file-icon { color: #2196F3; margin-right: 5px; } .breadcrumb { padding: 10px 0; margin-bottom: 15px; } .breadcrumb a { color: #2196F3; text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; } .pagination { display: flex; justify-content: center; margin: 20px 0; } .pagination a { color: #2196F3; padding: 8px 16px; text-decoration: none; border: 1px solid #ddd; margin: 0 4px; border-radius: 4px; } .pagination a.active { background-color: #2196F3; color: white; border: 1px solid #2196F3; } .pagination a:hover:not(.active) { background-color: #ddd; } .batch-actions { margin: 15px 0; display: flex; gap: 10px; } .stats-container { background-color: #f8f9fa; border-radius: 8px; padding: 15px; margin: 20px 0; display: flex; justify-content: space-around; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .stat-item { text-align: center; } .stat-number { font-size: 24px; font-weight: bold; color: #2c3e50; } .stat-label { font-size: 14px; color: #7f8c8d; } .checkbox-cell { width: 30px; } </style> </head> <body> <div class="container"> <h1 class="system-title">种子文件管理系统</h1> <div class="header"> <div> <a href="?dir=" class="btn btn-secondary">首页</a> </div> <div class="search-box"> <form method="get" action=""> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <input type="text" name="search" placeholder="搜索文件..." value="<?php echo isset($_GET['search']) ? htmlspecialchars($_GET['search']) : ''; ?>"> <button type="submit" class="btn btn-primary">搜索</button> <?php if (isset($_GET['search'])): ?> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR); ?>" class="btn btn-secondary">清除</a> <?php endif; ?> </form> </div> <div> <button onclick="document.getElementById('uploadModal').style.display='block'" class="btn btn-primary">上传文件</button> <button onclick="document.getElementById('folderModal').style.display='block'" class="btn">新建文件夹</button> </div> </div> <?php if (isset($message)): ?> <div class="alert alert-success"><?php echo htmlspecialchars($message); ?></div> <?php endif; ?> <?php if (isset($error)): ?> <div class="alert alert-danger"><?php echo htmlspecialchars($error); ?></div> <?php endif; ?> <!-- 面包屑导航 --> <div class="breadcrumb"> <?php $path_parts = explode('/', $CURRENT_DIR); $current_path = ''; echo '<a href="?dir=">根目录</a>'; foreach ($path_parts as $part) { if (!empty($part)) { $current_path .= '/' . $part; echo ' / <a href="?dir=' . htmlspecialchars(ltrim($current_path, '/')) . '">' . htmlspecialchars($part) . '</a>'; } } ?> </div> <!-- 统计信息 --> <div class="stats-container"> <div class="stat-item"> <div class="stat-number"><?php echo $total_files; ?></div> <div class="stat-label">总文件数</div> </div> <div class="stat-item"> <div class="stat-number"><?php echo count(array_filter($all_files, function($f) { return $f['is_dir']; })); ?></div> <div class="stat-label">文件夹</div> </div> <div class="stat-item"> <div class="stat-number"><?php echo count(array_filter($all_files, function($f) { return !$f['is_dir']; })); ?></div> <div class="stat-label">文件</div> </div> <div class="stat-item"> <div class="stat-number"><?php echo $current_page; ?>/<?php echo max(1, $total_pages); ?></div> <div class="stat-label">当前页/总页数</div> </div> </div> <!-- 批量操作 --> <form method="post" id="batchForm"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <div class="batch-actions"> <button type="button" onclick="selectAllFiles()" class="btn btn-secondary">全选</button> <button type="button" onclick="deselectAllFiles()" class="btn btn-secondary">取消全选</button> <button type="button" onclick="showBatchDeleteModal()" class="btn btn-danger">批量删除</button> </div> <table class="file-list"> <thead> <tr> <th class="checkbox-cell"><input type="checkbox" id="selectAll"></th> <th>名称</th> <th>类型</th> <th>大小</th> <th>修改日期</th> <th>操作</th> </tr> </thead> <tbody> <?php if (empty($files)): ?> <tr> <td colspan="6" style="text-align: center;">没有文件</td> </tr> <?php else: ?> <?php foreach ($files as $file): ?> <tr> <td><input type="checkbox" name="selected_files[]" value="<?php echo htmlspecialchars($file['name']); ?>"></td> <td> <?php if ($file['is_dir']): ?> <i class="folder-icon">📁</i> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR ? $CURRENT_DIR . '/' . $file['name'] : $file['name']); ?>"> <?php echo htmlspecialchars($file['name']); ?> </a> <?php else: ?> <i class="file-icon">📄</i> <?php echo htmlspecialchars($file['name']); ?> <?php endif; ?> </td> <td><?php echo $file['is_dir'] ? '文件夹' : htmlspecialchars($file['type']); ?></td> <td><?php echo $file['is_dir'] ? '-' : format_size($file['size']); ?></td> <td><?php echo date('Y-m-d H:i:s', $file['modified']); ?></td> <td class="file-actions"> <?php if ($file['is_dir']): ?> <button onclick="showRenameModal('<?php echo htmlspecialchars($file['name']); ?>')" class="btn btn-secondary">重命名</button> <button onclick="showDeleteModal('<?php echo htmlspecialchars($file['name']); ?>', true)" class="btn btn-danger">删除</button> <?php else: ?> <a href="<?php echo htmlspecialchars(($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $file['name']); ?>" class="btn btn-primary" download>下载</a> <button onclick="showShareModal('<?php echo htmlspecialchars(($CURRENT_DIR ? $CURRENT_DIR . '/' : '') . $UPLOAD_DIR . '/' . $file['name']); ?>')" class="btn">分享</button> <button onclick="showRenameModal('<?php echo htmlspecialchars($file['name']); ?>')" class="btn btn-secondary">重命名</button> <button onclick="showDeleteModal('<?php echo htmlspecialchars($file['name']); ?>', false)" class="btn btn-danger">删除</button> <?php endif; ?> </td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> </table> </form> <!-- 分页导航 --> <?php if ($total_pages > 1): ?> <div class="pagination"> <?php if ($current_page > 1): ?> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR); ?>&page=1<?php echo isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : ''; ?>">« 第一页</a> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR); ?>&page=<?php echo $current_page - 1; ?><?php echo isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : ''; ?>">‹ 上一页</a> <?php endif; ?> <?php // 显示页码,最多显示5个 $start_page = max(1, $current_page - 2); $end_page = min($total_pages, $current_page + 2); if ($start_page > 1) { echo '<a href="?dir=' . htmlspecialchars($CURRENT_DIR) . '&page=1' . (isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : '') . '">1</a>'; if ($start_page > 2) echo '<span>...</span>'; } for ($i = $start_page; $i <= $end_page; $i++) { if ($i == $current_page) { echo '<a href="?dir=' . htmlspecialchars($CURRENT_DIR) . '&page=' . $i . (isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : '') . '" class="active">' . $i . '</a>'; } else { echo '<a href="?dir=' . htmlspecialchars($CURRENT_DIR) . '&page=' . $i . (isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : '') . '">' . $i . '</a>'; } } if ($end_page < $total_pages) { if ($end_page < $total_pages - 1) echo '<span>...</span>'; echo '<a href="?dir=' . htmlspecialchars($CURRENT_DIR) . '&page=' . $total_pages . (isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : '') . '">' . $total_pages . '</a>'; } ?> <?php if ($current_page < $total_pages): ?> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR); ?>&page=<?php echo $current_page + 1; ?><?php echo isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : ''; ?>">下一页 ›</a> <a href="?dir=<?php echo htmlspecialchars($CURRENT_DIR); ?>&page=<?php echo $total_pages; ?><?php echo isset($_GET['search']) ? '&search=' . htmlspecialchars($_GET['search']) : ''; ?>">最后一页 »</a> <?php endif; ?> </div> <?php endif; ?> </div> <!-- 上传文件模态框 --> <div id="uploadModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('uploadModal').style.display='none'">&times;</span> <h2>上传文件</h2> <form method="post" enctype="multipart/form-data"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <div class="form-group"> <label for="files">选择文件 (可多选):</label> <input type="file" name="files[]" id="files" multiple required> </div> <div class="form-group"> <label for="upload_password">密码:</label> <input type="password" name="upload_password" id="upload_password" required> </div> <button type="submit" name="upload" class="btn btn-primary">上传</button> </form> </div> </div> <!-- 新建文件夹模态框 --> <div id="folderModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('folderModal').style.display='none'">&times;</span> <h2>新建文件夹</h2> <form method="post"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <div class="form-group"> <label for="folder_name">文件夹名称:</label> <input type="text" name="folder_name" id="folder_name" required> </div> <button type="submit" name="create_folder" class="btn btn-primary">创建</button> </form> </div> </div> <!-- 删除确认模态框 --> <div id="deleteModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('deleteModal').style.display='none'">&times;</span> <h2>确认删除</h2> <form method="post"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <input type="hidden" name="target" id="delete_target" value=""> <div class="form-group"> <p id="delete_message"></p> <label for="delete_password">密码:</label> <input type="password" name="delete_password" id="delete_password" required> </div> <button type="submit" name="delete" class="btn btn-danger">确认删除</button> </form> </div> </div> <!-- 批量删除确认模态框 --> <div id="batchDeleteModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('batchDeleteModal').style.display='none'">&times;</span> <h2>确认批量删除</h2> <form method="post" id="batchDeleteForm"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <div class="form-group"> <p>确定要删除选中的项目吗?</p> <label for="batch_delete_password">密码:</label> <input type="password" name="batch_delete_password" id="batch_delete_password" required> </div> <button type="submit" name="batch_delete" class="btn btn-danger">确认删除</button> </form> </div> </div> <!-- 重命名模态框 --> <div id="renameModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('renameModal').style.display='none'">&times;</span> <h2>重命名</h2> <form method="post"> <input type="hidden" name="dir" value="<?php echo htmlspecialchars($CURRENT_DIR); ?>"> <input type="hidden" name="old_name" id="old_name" value=""> <div class="form-group"> <label for="new_name">新名称:</label> <input type="text" name="new_name" id="new_name" required> </div> <button type="submit" name="rename" class="btn btn-primary">重命名</button> </form> </div> </div> <!-- 分享模态框 --> <div id="shareModal" class="modal"> <div class="modal-content"> <span class="close" onclick="document.getElementById('shareModal').style.display='none'">&times;</span> <h2>分享文件</h2> <div class="form-group"> <label>分享链接:</label> <input type="text" id="share_link" readonly> <button onclick="copyShareLink()" class="btn btn-primary">复制链接</button> </div> </div> </div> <script> // 显示删除确认模态框 function showDeleteModal(target, isFolder) { document.getElementById('delete_target').value = target; document.getElementById('delete_message').textContent = '确定要删除 ' + target + (isFolder ? ' 文件夹及其所有内容吗?' : ' 文件吗?'); document.getElementById('deleteModal').style.display = 'block'; } // 显示批量删除确认模态框 function showBatchDeleteModal() { var selectedCount = document.querySelectorAll('input[name="selected_files[]"]:checked').length; if (selectedCount > 0) { document.getElementById('batchDeleteModal').style.display = 'block'; } else { alert('请至少选择一个文件或文件夹'); } } // 显示重命名模态框 function showRenameModal(oldName) { document.getElementById('old_name').value = oldName; document.getElementById('new_name').value = oldName; document.getElementById('renameModal').style.display = 'block'; } // 显示分享模态框 function showShareModal(filePath) { var shareLink = window.location.origin + window.location.pathname.replace(/[^/]*$/, '') + filePath; document.getElementById('share_link').value = shareLink; document.getElementById('shareModal').style.display = 'block'; } // 复制分享链接 function copyShareLink() { var copyText = document.getElementById('share_link'); copyText.select(); document.execCommand('copy'); alert('链接已复制到剪贴板!'); } // 全选文件 function selectAllFiles() { var checkboxes = document.querySelectorAll('input[name="selected_files[]"]'); checkboxes.forEach(function(checkbox) { checkbox.checked = true; }); document.getElementById('selectAll').checked = true; } // 取消全选 function deselectAllFiles() { var checkboxes = document.querySelectorAll('input[name="selected_files[]"]'); checkboxes.forEach(function(checkbox) { checkbox.checked = false; }); document.getElementById('selectAll').checked = false; } // 点击模态框外部关闭模态框 window.onclick = function(event) { if (event.target.className === 'modal') { event.target.style.display = 'none'; } } // 全选/取消全选 document.getElementById('selectAll').addEventListener('change', function() { var checkboxes = document.querySelectorAll('input[name="selected_files[]"]'); checkboxes.forEach(function(checkbox) { checkbox.checked = this.checked; }, this); }); </script> </body> </html> <?php // 格式化文件大小 function format_size($size) { $units = ['B', 'KB', 'MB', 'GB', 'TB']; $i = 0; while ($size >= 1024 && $i < count($units) - 1) { $size /= 1024; $i++; } return round($size, 2) . ' ' . $units[$i]; } ?>
      • 2025年-3月-31日
      • 11 阅读
      • 0 评论
      • 文件管理系统 PHP源码
      精品源码
    • WinRAR v7.11 简体中文版 2025-3-30
      WinRAR v7.11 简体中文版 下载地址1:https://www.lanzouv.com/b083mh1ob 密码:cyxt下载地址2:https://pan.baidu.com/s/1-GicSl2W_g_o799cmhE6KQ?pwd=wi5n提醒:WinRAR从7.10版本开始不再发布32位版本,最低系统要求64位Windows7。点击进入 WinRAR 7.01 简体中文版 下载地址提醒:WinRAR从6.10版本开始不再支持WinXP,最低系统要求Vista点击进入 WinRAR 6.02 简体中文版 下载地址注册方法:安装程序已集成KEY,无需单独注册。
      • 2025年-3月-30日
      • 7 阅读
      • 0 评论
      • WinRAR
      软件下载
    • 云族裔 inZOI|官方中文|Build.17883557-1308.W+全DLC 2025-3-30
      云族裔 inZOI|官方中文|Build.17883557-1308.W+全DLC “每个生命都将成为一段独特的故事。”通过控制并观察’Zois’,你可以创造出一段属于你的,独一无二的人生。 利用 inZOI 易用的工具,可以自定义角色,建造房屋,在沉浸式的模拟体验中,过上梦想中的生活,体验生活中那些丰富而细腻的情感吧! 名称: inZOI类型: 冒险, 休闲, 模拟, 抢先体验发行日期: 2025 年 3 月 28 日最低配置:需要 64 位处理器和操作系统操作系统: Windows 10/11处理器: Intel i5 10400, AMD Ryzen 5 3600内存: 12 GB RAM显卡: NVIDIA RTX 2060 (6G VRAM), AMD Radeon RX 5600 XT (6G VRAM)DirectX 版本: 12网络: 宽带互联网连接存储空间: 需要 40 GB 可用空间 在 inZOI(云族裔) 这款生活模拟游戏中,玩家将化身为创造者,按照自己的构想塑造世界,见证一个个精彩故事的展开。我们希望这段沉浸式体验能够激发玩家对生活的深刻感悟——生活是充满意义的旅程,每时每刻都值得我们珍惜。踏入多样生活,体验逼真的画面!inZOI(云族裔) 提供功能全面的社区模拟体验,角色(称为 Zoi )均按照自己的自由意志生活。Zoi 的个性和生活经历决定其行动方式,他们会主动与他人建立关系,进而引发一些“意外”——如谣言、潮流和疾病等。   链接: https://pan.baidu.com/s/1bGJLCILJwqMZMZV6RopFQQ?pwd=3aa6 提取码: 3aa6  链接: https://pan.baidu.com/s/1uytKnHB5MwEzy-yoF3iYQQ 提取码: pqsw 解压密码:laoquzhang.com
      • 2025年-3月-30日
      • 24 阅读
      • 0 评论
      • 云族裔 inZOI
      游戏下载
    • Windows 11 Pro 22631.5126 稳定精简 极限版 二合一 - 小修 [1.58G] 2025-3-30
      Windows 11 Pro 22631.5126 稳定精简 极限版 二合一 - 小修 [1.58G] 此版本为 WIN11 的极限版,删除了 WinSxS 不支持 window 功能关闭开启。 保留了打印,笔记本指纹等功能,若使用 hyper-v、IIS 推荐轻度精简 windows 版本     版本特点 纯净、无广告、流畅、右键设置、响应速度、适合办公娱乐/集成微软常用运行库合集、DX 主要保留 User 版本 5.56G / [自建账户] 共享、计算器、打印、空间音效、WMP、截图、Net3.5 – 4.8、光学、搜索、指纹、剪贴板 IE、ODBC、简体输入法、蓝牙、wifi、bitlocker、远程桌面、Mstsc、触摸、人脸、平板 User 安装完毕 C 盘占用 5G 左右 首次进入桌面进程优化控制在 55 左右浮动 Admin 版本 5.56G / [快速安装] 更新日志 温馨提示:测试新系统之前,请记得备份好文档数据,遇到问题可及时还原 2025-03-26 更新 22631.5126 优化了 4K 随机读写性能 2025-02-28 更新 22631.4974 恢复了系统文件 ClipUp.exe、远程协助 2025-02-12 更新 22631.4890 更新了运行库 2025.02;修复了搜索结果可能意外重复出现的问题。 2025-01-17 更新 22631.4751 支持了朝鲜语输入法添加;优化多任务预读机制;优化多显示器设置;减少了图形任务的延迟 2024-12-13 更新 22631.4602 优化了图形处理能力;减少了内存访问、提高数据局部性 2024-11-25 更新 22631.4541 优化了关机时的等待速度;加快了多媒体应用程序的运行速度;禁用 IE 浏览器错误报告及服务 office 错误报告 移除新记事本(因输入部分其它语言会造成乱码);添加了右键用记事本打开;移除了右键添加到收藏夹 支持了日语输入法添加(须关闭流量计费,安装过程中请勿提前切换输入法 否则会出错。下载完毕重启生效) 2024-11-15 更新 22631.4460 修复了 GameXX 关机键、睡眠按键等问题;更新运行库;进一步优化,提升流畅度 2024-10-25 更新至补丁 22631.4391 保留了系统重置功能,修复了 IE 下载无法直接打开 exe 文件 恢复了商店版笔记本(避免打开一些无扩展程序时 无记事本打开方式) 优化了连接 XBOX 手柄时 提示无法打开此 ms-gamebar 链接 U 版可拖动程序到任务栏(已取消,问题多) 会降低权限 如部分第三方驱动软件无法打上驱动等问题 更换了部署安装方式,驱动是否更新 让用户自主选择(大大提高了更新成功率) 校验信息 文件名称: Windows_11_Pro_22631_5126_2in1_稳定极限版_小修.esd 文件大小: 1.58 GB (1,702,639,952 字节) MD5: A03773CA075042C5BE73D46C8C8EA72A SHA1: F8EA45CCA4C47B6734AD682E0F266619A40DD223 CRC32: CDEFBC70 温馨提示:测试新系统之前,请记得备份好文档数据,遇到问题可及时还原 下载地址 https://pan.quark.cn/s/568dc01a9aad https://pan.xunlei.com/s/VOMQQWrCc5M5NOpPKHWm320YA1?pwd=9f4i#
      • 2025年-3月-30日
      • 2 阅读
      • 0 评论
      • win11 Windows 11
      微软系统
    • 6
    • 7
    • 8
    • 9
    • 10
    博主栏壁纸
    博主头像 冲灵

    535 文章数
    3 评论量
    • Ventoy一个制作启动U盘的开源工具
    • WPS Office 2019、2023 专业精简版(12.8.2.20324)
    • 谷歌浏览器 Google Chrome 109.0.5414.168(支持Win7最终版)+ 136.0.7103.93 Stable 增强版
    • 灵狐文件管理系统 v1.3 PHP源码 【 延迟加载和AJAX分页版】
    • IDM 免费安装教程(已支持最新版 6.42)
    • 百分浏览器 Cent Browser 4.3.9.248 Stable + 5.1.1130.129 Stable(x86 + x64)
    人生倒计时

    · 跳动时间 ·

    热门文章
    1. 1 下一站江湖Ⅱ 豪华版|中字-国语|Build.17433791+模拟江湖DLC-踏云逐月-剑魄苍穹+全DLC
      下一站江湖Ⅱ 豪华版|中字-国语|Build.17433791+模拟江湖DLC-踏云逐月-剑魄苍穹+全DLC
    2. 2 暗黑破坏神4|官方中文|V1.2.3.47954.2
      暗黑破坏神4|官方中文|V1.2.3.47954.2
    3. 3 《灵墟》 正式版|官方中文|V1.0.0.7-天狗之魂-角色强度调整
      《灵墟》 正式版|官方中文|V1.0.0.7-天狗之魂-角色强度调整
    4. 4 最后纪元|官方中文|Build13729094-1.0.3+预购特典-晨曦之徽-永恒绽放+全DLC
      最后纪元|官方中文|Build13729094-1.0.3+预购特典-晨曦之徽-永恒绽放+全DLC
    5. 5 无径之林|官方中文|V0.5103-蓬莱仙境-神农传说-沙盒
      无径之林|官方中文|V0.5103-蓬莱仙境-神农传说-沙盒
    6. 6 自采集壁纸网页源码
      自采集壁纸网页源码
    最新评论
    • 冲灵
      冲灵
      9 个月前
      两个黄鹂鸣翠柳,我很丑吗那我走
    • 乐逍遥
      乐逍遥
      1 年前
      喝过你喝的西北风,这算不算很穷
    • 冲灵
      冲灵
      1 年前
      人又不聪明,还学人家秃顶
    舔狗日记
    载入天数...载入时分秒...
    © 2025 灵狐的窝 Company 冲灵. All rights reserved. 联系我们