diff --git a/.htaccess b/.htaccess index 7d154db..0229e45 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,6 @@ RewriteEngine On -# Remove .php extension for all URLs (for lowercase letters only) +# Remove .php extension for all URLs (for lowercase letters and underscores) RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f -RewriteRule ^([a-z-]+)$ $1.php [L] +RewriteRule ^([a-z0-9-_]+)$ $1.php [L] diff --git a/ManageJob.css b/ManageJob.css deleted file mode 100644 index 0cc08b1..0000000 --- a/ManageJob.css +++ /dev/null @@ -1,56 +0,0 @@ -body { - font-family: Arial, sans-serif; - background-color: #f4f4f4; - margin: 0; - padding: 0; -} - -.container { - width: 80%; - margin: 0 auto; - padding: 20px; - background-color: #fff; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); -} - -.post-job input, .post-job textarea { - width: 100%; - padding: 10px; - margin: 10px 0; - border: 1px solid #ccc; - border-radius: 4px; -} - -.post-job button { - padding: 10px 20px; - background-color: #28a745; - color: #fff; - border: none; - border-radius: 4px; - cursor: pointer; -} - -.post-job button:hover { - background-color: #218838; -} - -#jobsList { - margin-top: 20px; -} - -.job { - background-color: #f9f9f9; - padding: 15px; - margin-bottom: 10px; - border: 1px solid #ddd; - border-radius: 4px; -} - -.job h3 { - margin: 0; - font-size: 18px; -} - -.job p { - margin: 5px 0; -} \ No newline at end of file diff --git a/aboutus.css b/aboutus.css deleted file mode 100644 index c35b88a..0000000 --- a/aboutus.css +++ /dev/null @@ -1,23 +0,0 @@ -.content { - padding: 40px 20px; - max-width: 800px; - margin: 0 auto; -} - -.content h1 { - text-align: center; - color: rgb(49, 61, 231); - margin-bottom: 20px; -} - -.content h2 { - text-align: center; - margin-bottom: 20px; - color: rgb(49, 61, 231); -} - -.content p { - line-height: 1.6; - margin: 15px 0; - text-align: center; -} diff --git a/aboutus.php b/aboutus.php index 0e424a1..62400fa 100644 --- a/aboutus.php +++ b/aboutus.php @@ -1,35 +1,99 @@ - + - - About Us - Part-Time Job - + + About Us - TempHire + + + + + + + + + + - + -
-

Welcome to Temphire

-

- At part-time job, we are dedicated to connecting job seekers with meaningful part-time opportunities that suit their skills, schedules, and aspirations. Our platform is designed to provide a seamless experience for both employers and job seekers, making it easier to find the right match. -

-

- Whether you are a student, a stay-at-home parent, or someone looking to supplement your income, our platform offers a diverse range of job listings from various industries and locations. From flexible hours to remote work options, we strive to cater to the unique needs of our users. -

-

Our Mission

-

- Our mission is to empower individuals by providing access to quality part-time job opportunities and to support businesses by helping them find talented and motivated part-time employees. We believe in creating a community where everyone can thrive through meaningful work. -

-

Why Choose Us?

-

- - A wide variety of part-time job listings across multiple sectors.
- - User-friendly platform for easy navigation and application.
- - Tools to filter and customize your job search to find the perfect fit.
- - Dedicated support to assist you every step of the way. -

+ +
+
+
+

Welcome to TempHire

+

+ Your gateway to flexible employment opportunities. We connect talented individuals with meaningful part-time work that fits their lifestyle. +

+
+
- + +
+
+ +
+
+
+ +

Find Your Perfect Match

+

Browse through carefully curated job listings that match your skills, schedule, and career goals.

+
+
+ +
+
+ +

Flexible Hours

+

Whether you're a student, parent, or professional, find opportunities that fit your schedule.

+
+
+
+ + +
+
+ +

Our Mission

+

+ We're committed to empowering individuals by providing access to quality part-time opportunities while helping businesses find exceptional talent. Our platform creates a community where everyone can thrive through meaningful work. +

+
+
+ + +
+
+ + - + \ No newline at end of file diff --git a/contactus.css b/contactus.css deleted file mode 100644 index 5f502d8..0000000 --- a/contactus.css +++ /dev/null @@ -1,50 +0,0 @@ - - .content { - padding: 40px 20px; - max-width: 800px; - margin: 0 auto; - } - - .content h3 { - - text-align: center; - } - - - - .content form { - display: flex; - flex-direction: column; - gap: 15px; - } - - .content form label { - font-weight: bold; - } - - .content form input, - .content form textarea, - .content form button { - padding: 10px; - border: 1px solid #ccc; - border-radius: 5px; - font-size: 1rem; - } - - .content form textarea { - resize: vertical; - height: 100px; - } - - .content form button { - background-color: #00416A; - color: white; - border: none; - cursor: pointer; - } - - .content form button:hover { - background-color: #62b9d1; - } - - \ No newline at end of file diff --git a/contactus.php b/contactus.php index f4aae36..7540133 100644 --- a/contactus.php +++ b/contactus.php @@ -1,31 +1,52 @@ - + Contact Us - Temphire - - + + - + -
-

Please provide the feed back about your problem

-
- - +
+
+
+
+

Please provide the feedback about your problem

+ + +
+ + +
- - +
+ + +
- - +
+ + +
- - +
+ +
+ +
+
+
- + \ No newline at end of file diff --git a/createAccount.css b/createAccount.css deleted file mode 100644 index 1939182..0000000 --- a/createAccount.css +++ /dev/null @@ -1,8 +0,0 @@ -form -{ - display: flex; - justify-content: center; - align-items: center; - padding: 60px; - -} \ No newline at end of file diff --git a/createAccount.php b/createAccount.php index 93f08c4..2f43cb4 100644 --- a/createAccount.php +++ b/createAccount.php @@ -1,77 +1,91 @@ - - + - Document - - - - - - + Create Account - Temphire + + - - + -
-
-
-
-
- - -
-
-
-
- - -
-
-
- -
- - -
+
+
+
+
+

Create Account

+ + + +
+
+ + +
+
+ + +
+
+ +
+ + +
- -
- - -
+ +
+ + +
- -
- - -
+ +
+ + +
- -
- - -
+ +
+ + +
- -
- - -
+ +
+ + +
- - + + + + + +
+
+
- - \ No newline at end of file diff --git a/employe.css b/employe.css deleted file mode 100644 index bd08c94..0000000 --- a/employe.css +++ /dev/null @@ -1,65 +0,0 @@ -* -body { - margin: 0; - font-family: sans-serif; -} - -.container { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - height: 100vh; -} - -.blue-box { - width: 100%; - height: 300px; - background-color: #8492e0; - border-bottom-left-radius: 20px; - border-bottom-right-radius: 20px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - color: white; - font-size: 2em; -} - -.main-div { - width: 80%; - max-width: 800px; - margin-top: 50px; - display: flex; - justify-content: space-between; - flex-wrap: wrap; -} - -.button-div { - width: 30%; - height: 100px; - border: 1px solid #ddd; - border-radius: 10px; - display: flex; - align-items: center; - justify-content: center; - margin-bottom: 20px; - cursor: pointer; -} - -.button-div:hover { - background-color: #f2f2f2; -} - -.icon { - margin-right: 10px; - font-size: 2em; -} - -.button-text { - font-size: 1.2em; -} -.button-div a{ - text-decoration: none; - color: black; -} diff --git a/employerdash.php b/employerdash.php index 0864269..ce29a25 100644 --- a/employerdash.php +++ b/employerdash.php @@ -1,47 +1,74 @@ - + - Employee Dashboard - - + + + Employee Dashboard + + - - - - + - - \ No newline at end of file + + \ No newline at end of file diff --git a/employerprofile.php b/employerprofile.php index ac8cee4..41462a1 100644 --- a/employerprofile.php +++ b/employerprofile.php @@ -38,47 +38,102 @@ if ($result->num_rows > 0) { } ?> - + Update Profile - + + - + -
-

Employer Profile

-
-
- - -
- -
- - -
- -
- - -
-
- - -
+
+
+
+

Employer Profile

+ + + +
+ + +
-
- - -
+ +
+ + +
+ + +
+ + +
+ +
+ + +
- - + +
+ + +
+ + +
+ +
+ +
+
+ \ No newline at end of file diff --git a/footer.css b/footer.css index a36ec69..98783fd 100644 --- a/footer.css +++ b/footer.css @@ -1,6 +1,6 @@ footer { padding: 50px; - background-color: #28709c; + background-color: #7986b2; } .quicklinks { @@ -22,11 +22,11 @@ footer { .quicklinks a { text-decoration: none; - color: black; + color: rgb(245, 239, 239); } .copyright-section { text-align: center; font-size: 14px; - color: black; + color: rgb(247, 247, 247); } diff --git a/home.php b/home.php deleted file mode 100644 index 8404df9..0000000 --- a/home.php +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - Document - - -

logged in bruv

- - \ No newline at end of file diff --git a/index.css b/index.css deleted file mode 100644 index 8401fb2..0000000 --- a/index.css +++ /dev/null @@ -1,144 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; -} - -.centered-image -{ - display: flex; - justify-content: center; -} -.search-container { - max-width: 800px; - margin: 2rem auto; - padding: 0 1rem; -} - -.search-bar { - width: 100%; - padding: 1rem; - border: 2px solid #ddd; - border-radius: 25px; - font-size: 1rem; - box-shadow: 0 2px 5px rgba(0,0,0,0.1); -} - -.section-title { - font-size: 1.5rem; - color: #00416A; - margin: 2rem 1rem; - text-align: center; - -} -.section-title1 { - font-size: 1.5rem; - color: #00416A; - margin: 2rem 1rem; - text-align: center; -} -.ad-box { - text-align: center; - margin: 20px auto; - padding: 10px; -} -.centered-image img { - max-width: 25%; - height: auto; -} - -.featured-jobs { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 1.5rem; - padding: 40px 20px; - margin: 0 auto; - max-width: 800px; -} - -.job-card { - background-color: white; - border-radius: 8px; - padding: 40px 20px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); - - -} -.job-title { - font-size: 1.2rem; - color: #00416A; - margin-bottom: 0.5rem; -} -.job-card1 { - background-color: white; - border-radius: 8px; - padding: 40px 20px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); -} -.job-card2 { - background-color: white; - border-radius: 8px; - padding: 40px 20px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); -} -.job-card3 { - background-color: white; - border-radius: 8px; - padding: 40px 20px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); -} - -.job-location { - color: #666; - margin-bottom: 1rem; -} - -.job-description { - color: black; - font-size: 0.9rem; - line-height: 1.5; -} - -.categories { - display: flex; - gap: 2rem; - padding: 2rem; - flex-wrap: wrap; - padding: 40px 20px; - margin: 0 auto; - max-width: 800px; - align-items: right; - justify-content: center; -} - -.category { - display: flex; - flex-direction: column; - align-items: center; - gap: 0.5rem; - text-decoration: none; - color: #00416A; - transition: transform 0.2s; -} -.category:hover { - transform:translateY(-5px); -} - -.category-icon { - width: 120px; - height: 80px; - border-radius: 8px; - overflow:hidden; - box-shadow: 0 2px 10px rgba(0,0,0,0.1);; -} - -.category-icon img { - width: 100%; - height: 100%; - object-fit: cover; - transition: transform 0.3s; -} -.category-icon img:hover { - transform: scale(1.1); -} diff --git a/index.php b/index.php index 2945642..7fa990e 100644 --- a/index.php +++ b/index.php @@ -1,77 +1,247 @@ - + + - Temphire - + TempHire • Future of Work - + -
- Image -
-
- -
+ +
+
+
+
+

+ The Future of Work +

+

Discover opportunities that match your schedule and skills in real-time.

-

Featured Jobs

- -
-

Factory Worker

-
Location: Biratnmagar, Kathmandu
-

Factory worker for a month.

+
+ + + + + + + + + + +
+

Recent Job Posts

+
+
+
+
+
+

Senior Care Specialist

+
+ Full Time + Kathmandu + Rs. 3000/day +
+

Looking for an experienced caregiver for elderly assistance. Medical + background preferred.

+
+ +
+
+
+ +
+
+
+
+

House Cleaning Expert

+
+ Part Time + Lalitpur + Rs. 1500/day +
+

Weekly house cleaning position available. Experience with modern cleaning + equipment required.

+
+ +
+
+
+
+ +
-

Job Categories

-
- -
- Dog Care Taker + +
+

How It Works

+
+
+
+
+ 1 +
+

Create Profile

+

Sign up and create your professional profile with skills and experience

+
- Dog Care Taker -
- -
- Elderly Care + +
+
+
+ 2 +
+

Find Jobs

+

Search and filter jobs that match your skills and schedule

+
- Old Aged Care Taker -
- - + + + + - - - + + + \ No newline at end of file diff --git a/job_applications.php b/job_applications.php index 2106c14..e58f229 100644 --- a/job_applications.php +++ b/job_applications.php @@ -38,101 +38,78 @@ $result = $stmt->get_result(); - +
-
-

My Job Applications

- - num_rows > 0): ?> -
- - - - - - - - - - - - fetch_assoc()): ?> - - - - - - +
+
+

My Job Applications

+ + num_rows > 0): ?> +
+
Job TitleLocationSalaryApplication DateStatus
-
- -
-
- - - - - - - 'bg-yellow-100 text-yellow-800', - 'Accepted' => 'bg-green-100 text-green-800', - default => 'bg-red-100 text-red-800' - }; - ?> - - - -
+ + + + + + + - - -
Job TitleLocationSalaryApplication DateStatus
-
- -
-
-
- - - -
-
-

- You haven't applied to any jobs yet. -

-
+ + + fetch_assoc()): ?> + + +
+ +
+ + + + + + + + + + + + 'badge badge-warning', + 'Accepted' => 'badge badge-success', + default => 'badge badge-error' + }; + ?> + + + + + + + +
-
- + +
+ + You haven't applied to any jobs yet. +
+ +
- - - - + \ No newline at end of file diff --git a/job_details.php b/job_details.php index ecfecb5..12eacea 100644 --- a/job_details.php +++ b/job_details.php @@ -58,7 +58,6 @@ if (isset($_POST['apply']) && $is_job_seeker) { - @@ -66,54 +65,88 @@ if (isset($_POST['apply']) && $is_job_seeker) { - - - - -
+ + + +
-
-

-

Location:

-

Salary:

-

Posted Date:

-
-

Job Description

-

-
+
+
+

+ + + +
+ + + + +
+ + +
+
+ + + + + +
+ +
+ + + + +
+
+ +
- - -
- +
+

Job Description

+

- - - -
-
- +
+ +
+
+ Posted on:
- - -
- + + + +
+ +
+ + +
- +
- + - - + - Job Seekers Dashboard - + + + Job Seekers Dashboard + + - - -
-
- Dashboard -

HOME > DASHBOARD

-
-
- - - - - - - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/jobseekerprofile.css b/jobseekerprofile.css deleted file mode 100644 index 2e7c994..0000000 --- a/jobseekerprofile.css +++ /dev/null @@ -1,113 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; - } - - .profile-container { - max-width: 600px; - margin: 0 auto; - padding: 20px; - } - - .profile-container h2 { - text-align: center; - margin-bottom: 20px; - color: #333; - } - - .profile-upload-section { - display: flex; - justify-content: center; - margin: 20px 0; - } - - .profile-circle { - width: 120px; - height: 120px; - border-radius: 50%; - border: 2px solid #ccc; - position: relative; - overflow: hidden; - background: #f5f5f5; - } - - .profile-circle img { - width: 100%; - height: 100%; - object-fit: cover; - } - - .upload-label { - position: absolute; - bottom: 0; - left: 0; - right: 0; - background: rgba(0, 0, 0, 0.6); - color: white; - text-align: center; - padding: 8px 0; - cursor: pointer; - font-size: 12px; - } - - .upload-label input[type="file"] { - display: none; - } - - .form-group { - margin-bottom: 15px; - } - - .form-group label { - display: block; - margin-bottom: 5px; - font-weight: 500; - color: #555; - } - - .form-group input { - width: 100%; - padding: 8px 12px; - border: 1px solid #ddd; - border-radius: 4px; - font-size: 14px; - } - - .form-group input:focus { - outline: none; - border-color: #007bff; - } - - .file-input { - border: 1px solid #ddd; - padding: 6px; - border-radius: 4px; - background: #fff; - } - - .submit-btn { - width: 100%; - padding: 10px; - background: #007bff; - color: white; - border: none; - border-radius: 4px; - cursor: pointer; - font-size: 16px; - margin-top: 10px; - } - - .submit-btn:hover { - background: #0056b3; - } - - input::placeholder { - color: #999; - } - - /* Add required field indicator */ - label:after { - content: '*'; - color:red; - } \ No newline at end of file diff --git a/jobseekerprofile.php b/jobseekerprofile.php index a0988ac..496b3e3 100644 --- a/jobseekerprofile.php +++ b/jobseekerprofile.php @@ -42,73 +42,138 @@ if ($result->num_rows > 0) { } ?> - + Update Profile - + + - + -
-

Jobseeker Profile

- -
-
- Profile Picture - + +
+
+
+

Jobseeker Profile

+ +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+
- -
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- -
- -
- - -
- -
- - -
- -
- - -
- - -
-
- + \ No newline at end of file diff --git a/login.css b/login.css deleted file mode 100644 index 53bea4a..0000000 --- a/login.css +++ /dev/null @@ -1,12 +0,0 @@ - -.h-custom { -height: calc(100% - 73px); -} -@media (max-width: 450px) { -.h-custom { -height: 100%; -} -} -.vh-80{ - padding: 90px 0; -} \ No newline at end of file diff --git a/login.php b/login.php index 8af6e61..4c1f225 100644 --- a/login.php +++ b/login.php @@ -1,62 +1,87 @@ - - + - - - Document - - - - - + + + Login + + + + + - - -
-
-
-
-
- -
- - -
+ + + +
+
+
+
+ +
+ +

Login

+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + +
+
- -
- - -
- -
- -
- - +
+ + +
+ +
+ +
+ +
OR
+ +
+

Don't have an account? + + Register now + +

+
+ +
+
- Forgot password?
-
- -

Don't have an account? Register

-
- -
-
-
- -
- + - \ No newline at end of file diff --git a/manage_applications.php b/manage_applications.php index b5c697b..05da0eb 100644 --- a/manage_applications.php +++ b/manage_applications.php @@ -57,7 +57,6 @@ if (isset($_POST['update_status']) && isset($_POST['application_id']) && isset($ } } ?> - @@ -66,122 +65,146 @@ if (isset($_POST['update_status']) && isset($_POST['application_id']) && isset($ View Applications + - +
+ -
-

Applications Received

+
+
+
+

+ Applications Received +

+
- num_rows > 0): ?> -
- - - - - - - - - - - - - fetch_assoc()): ?> - - - - - - - + num_rows > 0): ?> +
+
Job TitleApplicant NameContactApplication DateStatusActions
-
- -
-
-
- -
-
-
-
Email:
-
Phone:
-
-
- - - 'bg-yellow-100 text-yellow-800', - 'Accepted' => 'bg-green-100 text-green-800', - 'Rejected' => 'bg-red-100 text-red-800', - default => 'bg-gray-100 text-gray-800' - }; - ?> - - - - -
- - - -
-
+ + + + + + + + - - -
+ Job Title + + Applicant + + Contact + + Date + + Status + + Actions +
-
- -
-
-
- - - -
-
-

- No applications have been received yet for your job postings. -

+ + + fetch_assoc()): ?> + + +
+ + + +
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + + +
+ + + 'badge-warning', + 'Accepted' => 'badge-success', + 'Rejected' => 'badge-error', + default => 'badge-ghost' + }; + ?> +
+ + + + + + + + +
+ + +
+ + + +
+ + + + + +
+ +
+
+ +
+

No Applications Yet

+
No applications have been received yet for your job postings.
+
-
- + +
-
+
- - \ No newline at end of file diff --git a/managejob.php b/managejob.php index dbb45ba..abee97e 100644 --- a/managejob.php +++ b/managejob.php @@ -48,32 +48,116 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['job_title'])) { ?> - - + - Manage Jobs - + Post a New Job + + + - + -
-
-
- - - - - - -
+ +
+ + -
+ +
+
+

+ + Post a New Job Opportunity +

+ +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+
+
+
+
+ +