Skip to content

A web platform designed to assist pilgrims Hajj and Umrah performers with comprehensive guides, volunteer support, and translation services. The platform connects pilgrims with multilingual volunteers and provides step-by-step ritual instructions in Arabic.

License

Notifications You must be signed in to change notification settings

EngAboodSDev/aoun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•‹ Aoun - Hajj & Umrah Helper Platform | Ω…Ω†Ψ΅Ψ© ΨΉΩˆΩ† Ω„Ω…Ψ³Ψ§ΨΉΨ―Ψ© Ψ§Ω„Ψ­Ψ¬Ψ§Ψ¬ ΩˆΨ§Ω„Ω…ΨΉΨͺΩ…Ψ±ΩŠΩ†

logo

A web platform designed to assist pilgrims Hajj and Umrah performers with comprehensive guides, volunteer support, and translation services. The platform connects pilgrims with multilingual volunteers and provides step-by-step ritual instructions in Arabic.


Table of Contents


πŸ“Š Overview

ΨΉΩˆΩ† (Aoun) means "Help" or "Support" in Arabic. This platform serves as a digital companion for Muslims performing Hajj or Umrah by providing:

  • Detailed ritual guides for Hajj and Umrah with step-by-step instructions
  • Volunteer matching β€” pilgrims can find volunteers who speak their language
  • Real-time translation β€” translate text between 50+ languages
  • News updates β€” latest Hajj and Umrah news from Saudi Arabia
  • FAQ section β€” answers to common questions about rituals and procedures

The interface is fully in Arabic with RTL (right-to-left) layout, catering to the primary audience of pilgrims and volunteers.


πŸš€ Key Features

βœ”οΈ Authentication

  • Login β€” Username and password authentication
  • Registration β€” Sign up as pilgrim (Hajj/Umrah) or volunteer
  • Language selection β€” Volunteers can specify languages they speak (Arabic, Bengali, English, German, etc.)
  • Session management β€” Cookie-based sessions for authenticated users

βœ”οΈ Hajj and Umrah Guide (hajj.php, umrah.php)

  • Complete guide to Hajj and Umrah rituals
  • Illustrated steps with images
  • Covers all mandatory rites and procedures

βœ”οΈ Volunteer Connection (volunteers.php)

  • Browse volunteers by language
  • Filter volunteers by spoken language
  • Direct WhatsApp contact links
  • Display of volunteer languages, email, and contact info

βœ”οΈ Translation (translate.php)

  • Multi-language text translation
  • 50+ languages supported via MyMemory API
  • Text-to-speech (TTS) for pronunciation
  • Copy to clipboard
  • Swap source and target languages

βœ”οΈ News (news.php)

  • Latest Hajj and Umrah news
  • Links to external news sources
  • Card-based layout with images

βœ”οΈ FAQ (FAQ.php)

  • Accordion-style FAQ section
  • Topics: differences between Hajj and Umrah, rituals, legal rulings, proxy performance, health procedures

πŸ› οΈ Tech-Stack Used

HTML5 CSS3 JavaScript Markdown PHP Bootstrap 5 jQuery Choices.js Font Awesome MySQL MariaDB Apache XAMPP MyMemory API


πŸ—‚ Project Structure

πŸ“ Aoun/
β”œβ”€β”€ index.php          # Login & registration page
β”œβ”€β”€ home.php           # Homepage (requires auth)
β”œβ”€β”€ hajj.php           # Hajj ritual guide
β”œβ”€β”€ umrah.php          # Umrah ritual guide
β”œβ”€β”€ volunteers.php     # Volunteer contact / matching
β”œβ”€β”€ translate.php      # Translation tool
β”œβ”€β”€ news.php           # Hajj & Umrah news
β”œβ”€β”€ FAQ.php            # Frequently asked questions
β”œβ”€β”€ dbcon.php          # Database connection
β”œβ”€β”€ πŸ“ css/
β”‚   β”œβ”€β”€ style.css      # Main styles
β”‚   └── trans_style.css # Translation page styles
β”œβ”€β”€ πŸ“ js/
β”‚   β”œβ”€β”€ script.js      # Login form toggle, Choices.js init
β”‚   β”œβ”€β”€ languages.js   # Language list for registration
β”‚   β”œβ”€β”€ countries.js   # Language codes for translation
β”‚   └── trans_script.js # Translation logic
β”œβ”€β”€ πŸ“ images/         # Images (Hajj, Umrah, news, user avatar)
β”œβ”€β”€ πŸ“ docs/             # Documentation files and screenshots
β”œβ”€β”€ πŸ“ database/
β”‚   └── aoun.sql       # Alternative Database schema with sample data
└── README.md

πŸ–₯️ Project Requirements

  • Operating System: Windows 10+, macOS Monterey+, or any Linux distro
  • Web Browser: Chrome / Firefox / Edge (latest versions)
  • πŸ“‹Runtime & Tools:
    • PHP 7.4 or higher (8.x recommended)
    • MySQL 5.7+ or MariaDB 10.4+
    • Apache (or compatible web server)
    • XAMPP (or similar local stack)

⚑ Quick Installation

  1. Clone the Repository

    git clone <repository-url>
    cd aoun
  2. Copy the Project into your web server directory

    c:\xampp\htdocs\aoun\
    
  3. Start XAMPP and ensure Apache and MySQL are running.

  4. Import the database (see Database Setup).

  5. Configure dbcon.php with your database credentials (see Configuration).

  6. Access the application in your browser:

    http://localhost/aoun/
    

πŸ”§ Configuration

Database Connection (dbcon.php)

Edit dbcon.php to match your environment:

$con = mysqli_connect("localhost", "root", "", "aoun", "3308");
Parameter Description
Host localhost (or your DB host)
Username root (or your MySQL user)
Password "" (or your MySQL password)
Database aoun
Port 3308 (default MySQL is 3306)

Translation API

The translation feature uses the free MyMemory API:

  • URL: https://api.mymemory.translated.net/get
  • No API key required for basic usage
  • Rate limits may apply for heavy use

πŸ—„ Database Setup

  1. Open phpMyAdmin or MySQL CLI.

  2. Import the schema file:

    -- Run the contents of database/aoun.sql
  3. Tables:

    • users β€” id, username, email, phone, password, isVolunteer
    • users_language β€” id, language, user_id (foreign key to users)
    • contacts β€” id, name, email, message
  4. Sample data is included in aoun.sql for testing.


▢️ Usage

For Pilgrims (Hajj/Umrah)

  1. Register or log in.
  2. Browse Hajj or Umrah guides for ritual instructions.
  3. Use Translate to convert text between languages.
  4. Go to Ψ§Ω„ΨͺΩˆΨ§Ψ΅Ω„ Ω…ΨΉ Ψ§Ω„Ω…ΨͺΨ·ΩˆΨΉΩŠΩ† (Contact Volunteers) to find volunteers by language.
  5. Click Ψ§Ω„ΨͺΩˆΨ§Ψ΅Ω„ ΨΉΨ¨Ψ± Ψ§Ω„ΩˆΨ§ΨͺΨ³Ψ§Ψ¨ to open WhatsApp and contact a volunteer.

For Volunteers

  1. Register and select Ω…Ω€Ω€ΨͺΩ€Ψ·Ω€Ω€Ω€ΩˆΨΉ (Volunteer).
  2. Choose the languages you speak during registration.
  3. Pilgrims can find and contact you via the volunteer page.

Translation

  • Enter text in the source language.
  • Select source and target languages.
  • Click Translate Text.
  • Use the speaker icon for TTS or the copy icon to copy the result.

πŸ“Έ Screenshots

Login and Register Page

Desktop Home Desktop Home

Home Page

Desktop Home

Hajj and Umrah Pages

Desktop About Desktop About

Volunteers Page

Desktop About

Translate Page

Desktop About

News Page

Desktop About

FAQ Page

Desktop About

See All Screenshots...


🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🏷️ Credits


πŸ“ž Support and Assistance

Getting Help

  • README.md: For basic instructions
  • GitHub Issues: Create an issue in the repository

Contact Information


About

A web platform designed to assist pilgrims Hajj and Umrah performers with comprehensive guides, volunteer support, and translation services. The platform connects pilgrims with multilingual volunteers and provides step-by-step ritual instructions in Arabic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published