A travel website that lets you seemlessly navigate through options and lets you choose your travel based on your personal preferences.
- Seamless Navigation: Easily browse through various travel options.
- Personalized Recommendations: Find travel packages tailored to your preferences.
- User-Friendly Interface: Intuitive design for a smooth user experience.
- Admin Panel: Manage bookings and website content efficiently.
📦 IWP-PROJECT-Avipro-Travels
├─ .gitattributes
├─ README.md
├─ about.html
├─ admin-login.php
├─ admin
│ ├─ admin-panel.php
│ ├─ bookings.html
│ └─ packages.php
├─ assets
│ └─ images
├─ contact.html
├─ css
│ ├─ admin.css
│ └─ style.css
├─ database
│ ├─ avipro_travels.sql
│ └─ bookings.sql
├─ gallery.html
├─ images
├─ index.html
├─ js
│ ├─ admin.js
│ ├─ forms.js
│ └─ main.js
├─ package-details.html
├─ packages.html
└─ php
├─ auth.php
├─ bookings.php
├─ config.php
├─ logout.php
└─ packages.php
- Web server (e.g., Apache, Nginx)
- PHP (version 7.0 or higher)
- MySQL or MariaDB database
Avipro Travels - Installation Guide
Step-by-Step Installation Process
Step 1: Download and Install XAMPP
Download XAMPP
-
Download the version for your operating system
Install XAMPP
-
Run the installer
-
Select components: Apache, MySQL, PHP, phpMyAdmin
-
Choose installation directory (default: C:\xampp)
-
Complete installation
Start Services
-
Open XAMPP Control Panel
-
Start Apache and MySQL
-
You should see green indicators
Step 2: Setup Project Files
Extract Project Files
bash
-Extract the avipro-travels.zip to:
C:\xampp\htdocs\avipro-travels
Folder Structure
C:\xampp\htdocs\avipro-travels
├── index.html
├── about.html
├── packages.html
├── package-details.html
├── contact.html
├── admin-login.html
├── admin/
├── css/
├── js/
├── php/
├── database/
└── assets/
Verify File Structure
-
Ensure all folders are properly extracted
-
Check that php/ and database/ folders exist
Step 3: Database Setup
Access phpMyAdmin
-
Open web browser
2. Go to: http://localhost/phpmyadmin
Create Database
-- In phpMyAdmin:
-- 1. Click "New" in left sidebar
-- 2. Enter database name: "avipro_travels"
-- 3. Click "Create"
Import Database Schema
-
Click on avipro_travels database
-
Go to Import tab
-
Click Choose File
-
Select: avipro-travels/database/avipro_travels.sql
-
Click Go
Verify Database Import
You should see these tables:
-
admin_users
-
packages
-
bookings
-
enquiries
-
site_content
Step 4: Configuration
Edit Database Configuration
Open file: avipro-travels/php/config.php
Update database credentials if different:
// In config.php - Update if your setup is different
define('DB_HOST', 'localhost');
define('DB_NAME', 'avipro_travels');
define('DB_USER', 'root'); // Default XAMPP username
define('DB_PASS', ''); // Default XAMPP password (empty)
Configure File Uploads
- Create uploads directory:
bash
-Create folder if it doesn't exist
mkdir C:\xampp\htdocs\avipro-travels\assets\uploads
- Set folder permissions:
bash
-Right-click on 'uploads' folder
-Properties → Security → Edit permissions
-Allow "Write" permissions for Apache user
Step 5: Test Installation
Start Local Server
-
Ensure XAMPP Apache and MySQL are running
-
Green indicators in XAMPP control panel
Access Website
-
Open web browser
Verify Frontend
-
Homepage should load with travel packages
-
Navigation should work between pages
-
Images should display properly
🚀 Execution & Usage
Accessing the Website
Frontend Access
URL: http://localhost/avipro-travels
Admin Panel Access
URL: http://localhost/avipro-travels/admin-login.html
Default Credentials:
Username: admin
Password: admin123
- User Interface: Browse available travel packages on the homepage, filter by destination, and view detailed itineraries.
- Admin Panel: Log in to the admin panel (likely via
/admin-login.php) to manage bookings, update packages, and administer the website. - (Further API Documentation would be required based on the functional codebase).
- Database Configuration: Modify database credentials in the configuration file.
- Website Appearance: Edit CSS files in the
css/directory to customize the website's look and feel. - Admin Panel Security: Consider adding stronger authentication measures for the admin panel.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Implement your changes and write appropriate tests.
- Submit a pull request with a clear description of your changes.
Maintained by N-PCs