HTML后台

River-side-Cottage — HTML 后台模板

作者 Kanishkau4

River-side-Cottage 是一套酒店预订网站模板,使用 HTML、CSS、JavaScript、PHP 与 MySQL 构建,包含面向住客的房型展示与预订前端,以及带登录认证的后台管理面板。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-12查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

前台包含首页、房型列表、房型详情与联系页面,用于展示酒店房型与设施

02

提供 PHP 预订处理页面 book.php,配合 MySQL 存储预订数据

03

后台管理面板带登录认证,可查看和管理预订、用户与房型图片

04

仓库包含 db_schema.sql,可直接导入以建立所需数据库结构

05

采用 MIT 许可,允许免费使用、修改、商用和分发该版本代码

模板详细介绍

该模板由 Kanishkau4 发布在 GitHub,仓库采用 MIT 许可,代码可免费使用、修改、商用和分发,但演示图片、字体、图标等第三方素材需单独核对许可。项目以 HTML 页面作为前台入口,结合 PHP 与 MySQL 处理预订数据,并提供独立的管理后台。

前台部分包含首页、房型列表页、房型详情页、联系页,以及用于处理预订的 book.php;后台部分提供管理员登录、预订管理、用户查看和房型图片上传等功能。仓库内附有 db_schema.sql 数据库结构文件,安装时需创建 MySQL 数据库并导入该结构,再在 includes/db_connect.php 中配置数据库连接信息。

README 中给出的管理员登录示例用户名为 admin,密码以占位符形式呈现,未公开具体值;部署后应自行设置或修改后台凭据。演示站点与截图来自实际访问,但模板未声明生产环境下的安全加固、支付集成或性能指标,使用前需自行评估与补充。

HTML后台

适合你的项目吗?

适用场景

  • 搭建酒店或民宿的在线房型展示与预订网站
  • 作为 PHP + MySQL 课程或练习项目,学习前后台数据交互
  • 在已有 HTML 页面的基础上扩展后台管理功能
  • 为小型住宿业务快速建立带管理面板的预订系统原型

适合人群

  • 熟悉 PHP 与 MySQL、能自行配置 Web 服务器和数据库的开发者
  • 需要现成酒店预订前后台结构并愿意按需修改的建站者
  • 用于学习或演示目的、不直接面向生产环境部署的场景

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    创建 MySQL 数据库并导入仓库中的 db_schema.sql

  2. 2

    在 includes/db_connect.php 中填写数据库连接凭据

  3. 3

    将文件放入支持 PHP 与 MySQL 的 Web 服务器目录

  4. 4

    后台入口为 /admin/login.php,README 示例用户名为 admin,密码以占位符呈现,需自行设置

  5. 5

    演示图片、字体、图标等第三方素材应单独核对许可,外部托管或数据库服务可能产生额外费用

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 使用前必须自行搭建并运行 MySQL 数据库,导入 db_schema.sql 结构,并在 includes/db_connect.php 中填写数据库连接凭据,否则预订与后台功能无法工作。
  • 部署环境必须安装并运行 PHP 与 MySQL,纯静态托管无法运行该模板的预订处理与后台管理功能。
  • README 仅给出示例管理员用户名 admin,密码以占位符呈现,未公开具体值;部署后需自行设置或修改后台登录凭据。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Create a MySQL database - Import the schema from `db_schema.sql` - Update database credentials in `includes/db_connect.php`

README 原文

Ensure PHP and MySQL are installed and running

README 原文

Login with: - Username: `admin` - Password: `*****`

README 原文
https://github.com/Kanishkau4/River-side-Cottage/blob/main/LICENSEhttps://github.com/Kanishkau4/River-side-Cottage/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-12。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 83 / 100
技术栈
HTML
网站类型
后台
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2025-11-13
截图检查日期
2026-10-12

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-13

查看当时使用的来源资料

SHA-256: 975e8dd7b9b20c4e72ed5cf7d7e26a5849d2710ab71e06ee31ab5cb4ac6e6204

2026-10-12T11:19:47.721Z

来源文件 / 仓库
# River side Cottage - Luxury Hotel Booking System

![River side Cottage Banner](images/screencapture.png)

A complete hotel booking website template built with HTML, CSS, JavaScript, PHP, and MySQL. This project provides a fully functional hotel reservation system with an attractive frontend and a secure admin panel.

## 🏨 Project Overview

River side Cottage is a luxury hotel booking website that allows guests to browse rooms, check availability, and make reservations online. The system includes both a customer-facing frontend and an admin backend for managing bookings and room images.

## 🚀 Features

### Frontend Features
- **Responsive Design**: Works on all devices (mobile, tablet, desktop)
- **Room Showcase**: Display of all available room types with images and descriptions
- **Booking System**: Easy-to-use booking interface with date selection
- **Image Gallery**: Beautiful room images and hotel facilities
- **Contact Information**: Clear contact details and location information

### Backend Features
- **Admin Authentication**: Secure login system for administrators
- **Booking Management**: View and manage all hotel bookings
- **User Management**: Track registered users and customers
- **Room Image Management**: Upload and manage room images
- **Database Integration**: Full MySQL database integration

## 🛠️ Technology Stack

![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=flat&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=flat&logo=css3&logoColor=white)
![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=flat&logo=javascript&logoColor=black)
![Bootstrap](https://img.shields.io/badge/Bootstrap-563D7C?style=flat&logo=bootstrap&logoColor=white)
![PHP](https://img.shields.io/badge/PHP-777BB4?style=flat&logo=php&logoColor=white)
![MySQL](https://img.shields.io/badge/MySQL-00758F?style=flat&logo=mysql&logoColor=white)
![jQuery](https://img.shields.io/badge/jQuery-0769AD?style=flat&logo=jquery&logoColor=white)

## 📁 Project Structure

```
hotel1/
├── admin/                 # Admin panel files
│   ├── index.php          # Admin dashboard
│   ├── login.php          # Admin login page
│   └── manage-images.php  # Room image management
├── css/                   # Stylesheets
├── images/                # All images and media
├── includes/              # PHP includes (database, functions)
├── js/                    # JavaScript files
├── scss/                  # SCSS source files
├── index.html             # Homepage
├── rooms.html             # Room listing page
├── book.php               # Booking processing
├── room-details.php       # Room details page
├── contact.html           # Contact page
└── db_schema.sql          # Database schema
```

## 🔧 Installation

1. **Clone the repository**
   ```bash
   git clone https://github.com/yourusername/hotel1.git
   ```

2. **Database Setup**
   - Create a MySQL database
   - Import the schema from `db_schema.sql`
   - Update database credentials in `includes/db_connect.php`

3. **Web Server Configuration**
   - Place files in your web server directory
   - Ensure PHP and MySQL are installed and running

4. **Admin Access**
   - Navigate to `/admin.php` or `/admin/login.php`
   - Login with:
     - Username: `admin`
     - Password: `*****`


## 🔐 Admin Panel

The admin panel provides secure access to manage the hotel booking system:

### Login Credentials
- **URL**: `/admin/login.php`
- **Username**: `admin`
     - Password: `*****`

### Admin Features
1. **Booking Management**
   - View all bookings
   - Check booking status (pending, confirmed, cancelled, completed)
   - See customer details

2. **User Management**
   - View all registered users
   - See registration dates and contact information

3. **Image Management**
   - Upload new room images
   - Manage existing room photos
   - Add captions to images

## 📞 Contact Information

- **Address**: Poramadilla, Pelwatta
- **Phone**: 0771313951 (WhatsApp), 0771313951 (normal), 0717999566 (normal)
- **Email**: [email protected]

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🤝 Support

For support, contact the development team or check the documentation in each file.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。