Skip to content

Commit

Permalink
updated to a Readability setup
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedshamil8 committed Oct 21, 2023
1 parent ea91f5b commit ad87f8b
Show file tree
Hide file tree
Showing 22 changed files with 181 additions and 733 deletions.
39 changes: 30 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
***
# **e-Football tournament Web site**
# **Seee Us - Tournament Conducting Website (football)**

+ User can create account
+ User can register him to the tournament
+ User can connect oppenent
+ User can upload match results(coming soon)
### A wonderfull tournament conducting website!
* back-end are on process
***
**Project Overview:**

"Seee Us" is a web application for conducting tournaments, designed to make organizing and participating in tournaments a breeze.

## **User Page**

- User can register and create an account to participate in tournaments.
- The home page provides access to:
- League table
- User profile cards
- Tournament fixture
- Previous match results
- Match result upload section, and more.

## **Admin Page**

- Admins can log in and perform various administrative tasks, including:
- Creating tournaments
- Managing tournaments
- Managing users
- Generating fixtures
- Finalizing match results

## **Upcoming Features**

- Users will be able to view other users' and opponents' profile cards.
- Ongoing work to improve the website's responsiveness on various devices.

## **Website Link**

To experience the "Seee Us" website, you can visit it [here](https://kickoff.infinityfreeapp.com).

---
93 changes: 0 additions & 93 deletions admin-pages/fetch_results.php

This file was deleted.

11 changes: 0 additions & 11 deletions admin-pages/fun.html

This file was deleted.

2 changes: 1 addition & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
if ($hashed_input_password === $hashed_password_from_db) {
// Passwords match, proceed with login
$_SESSION['admin_username'] = $username;
header("Location: ./admin-pages/admin_home.php"); // Redirect to the admin dashboard
header("Location: ./admin_home.php"); // Redirect to the admin dashboard
exit();
} else {
$error_msg = "Invalid password. Please try again.";
Expand Down
4 changes: 2 additions & 2 deletions admin-pages/admin_edit.php → admin_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Edit</title>
<link rel="stylesheet" href="../styles/admin-general.css">
<link rel="stylesheet" href="../styles/general.css">
<link rel="stylesheet" href="./styles/admin-general.css">
<link rel="stylesheet" href="./styles/general.css">
<style>
body {
Expand Down
10 changes: 5 additions & 5 deletions admin-pages/admin_home.php → admin_home.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
error_reporting(E_ALL);
ini_set('display_errors', '1');
session_start();
require_once "../connect_db.php"; // Connect to your database
require_once "./connect_db.php"; // Connect to your database

// Check if the admin is logged in
if (!isset($_SESSION['admin_username'])) {
echo "Unauthorized access. Please log in as an admin.";
header("Location: ../admin.php");
header("Location: ./admin.php");
exit();
}

Expand All @@ -25,16 +25,16 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard</title>
<link rel="stylesheet" href="../styles/general.css">
<link rel="stylesheet" href="./styles/general.css">

<link rel="stylesheet" href="../styles/admin-general.css">
<link rel="stylesheet" href="./styles/admin-general.css">

</head>
<body>
<header>
<div class="header-card1">
<h1>Welcome to Admin Page</h1>
<a href="../logout.php">Log out</a>
<a href="./logout.php">Log out</a>
</div>

</header>
Expand Down
116 changes: 0 additions & 116 deletions ajax.html

This file was deleted.

4 changes: 2 additions & 2 deletions admin-pages/manage_fixtures.php → manage_fixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
error_reporting(E_ALL);
ini_set('display_errors', '1');
session_start();
require_once "../connect_db.php"; // Connect to your database
require_once "./connect_db.php"; // Connect to your database

if (!isset($_SESSION['admin_username'])) {
echo "Unauthorized access. Please log in as an admin.";
header("Location: ../admin.php");
header("Location: ./admin.php");
exit();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
error_reporting(E_ALL);
ini_set('display_errors', '1');
session_start();
require_once "../connect_db.php"; // Connect to your database
require_once "./connect_db.php"; // Connect to your database

// Check if the admin is logged in
if (!isset($_SESSION['admin_username'])) {
echo "Unauthorized access. Please log in as an admin.";
header("Location: ../admin.php");
header("Location: ./admin.php");
exit();
}

Expand Down Expand Up @@ -73,8 +73,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manage User Profiles</title>
<link rel="stylesheet" href="../styles/admin-general.css">
<link rel="stylesheet" href="../styles/general.css">
<link rel="stylesheet" href="./styles/admin-general.css">
<link rel="stylesheet" href="./styles/general.css">
<style>
/* Add your specific styles for the Manage Match Result page */
body {
Expand Down
8 changes: 4 additions & 4 deletions admin-pages/manage_result.php → manage_result.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
error_reporting(E_ALL);
ini_set('display_errors', '1');
session_start();
require_once "../connect_db.php"; // Connect to your database
require_once "./connect_db.php"; // Connect to your database

// Check if the admin is logged in
if (!isset($_SESSION['admin_username'])) {
echo "Unauthorized access. Please log in as an admin.";
header("Location: ../admin.php");
header("Location: ./admin.php");
exit();
}

Expand Down Expand Up @@ -54,8 +54,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manage User Profiles</title>
<link rel="stylesheet" href="../styles/admin-general.css">
<link rel="stylesheet" href="../styles/general.css">
<link rel="stylesheet" href="./styles/admin-general.css">
<link rel="stylesheet" href="./styles/general.css">
<style>
/* Add your specific styles for the Manage User Profiles page */

Expand Down
Loading

0 comments on commit ad87f8b

Please sign in to comment.