Professional Documents
Culture Documents
A
Project Study Proposal
Presented to
the Faculty of the Computer Science
of the Technological Studies
Jose Rizal University
In Partial Fulfillment
of the Requirements for the Degree of
Bachelor in Commercial Science major in Computer Science
By
Autentico, Marjorie G.
Bernabat, Edelyn C.
Soriano, Mary Joan K.
I. Document Format
Title Page
Prepared by:
Autentico, Marjorie G.
Bernabat, Edelyn C.
Soriano, Mary Joan K.
List of Figures
Figure 3.0 General Overview of “Spiral Model” 3-2
Table of Contents
First God, who given them graces and divine guidance; to their parents and
families for their continuous and overflowing support, love and motivation in any ways
they can. To Rational Merchandising Concept Inc., especially to Sir Edwin Estanislao
To Ms. Mengvi Gatpandan, for her guidance and support as the proponents’
To Prof. Lea Nisperos and Prof. Gina Clemente the members of their panel for IS
Development 1 and the two members of the panel for IS Development 2, Prof. Shirley
Pangan and Prof. Mary Ellaine Cervantes for their sensible comments and relentless
guidance that have helped the proponents made this study more comprehensive.
GRACIAS
RMCI take pride in the quality of their own. Their Management and Support
team has learned all aspects of filled merchandising through extensive hands-on
They endeavor to hire only the most qualified field personnel. Rational
1.1.1 History
“First Rate Marketing” before the corporate name was changed to Retail
1.1.2 Vision
merchandising personnel.
and follow.
Performing efforts.
BETH S. LACONICO
Operations Mngr. II
CREDIT & VINCE PERLAS EDWIN ESTANISLAO
COLLLECTION EDP/OIC HR Head
EFREN SALVADOR
Asst. Operations Mngr.
CREDIT & ENCODERS HR Asst. JOAN G. REYES
COLLLECTION Admin Asst.
Senior Supervisor
LC NOEL EV NOBELEZA RG MERTO N.PONPERADA
PROJECT Branch Mngr Branch Mngr. Branch Mngr. Branch Mngr
SUPERVISOR Supervisors CENTRAL SOUTH
NORTH WEST
Supervisors Supervisors
dumped.
- Through the
proposed System, w/c
is Online Job
Application; every Online-Job
information of their Application for
- Unorganized applicants will be Rational
Files organized in their Merchandising
respective databases. Concepts Inc.
Time Consuming
Unorganized Files
Unsecured Data
People who will benefit this study are the management, because through the
Online Job Application that will be develop, the management will get applicants in
much easier way than the bulk of applicants that will come on their office everyday.
One of the beneficiaries would be the intended user which is the applicants,
because through the Online Job Application System the applicants from the far places
proponents study, including all the necessary documents about the information of
the applicants.
Including also the posting of Job of the client that is being approved by the
administrator. And also the sending of the applicants resume through online.
necessary exams, are not part of the proponents study of the system.
is considered data.
(SMTP) and the Domain Name System (DNS), which enables global
or systems.
results.
6. Exit – button used to exit the tab, or the window of the database.
across the U.S. If you want to apply for a job as a TSA screener, you need to read
this.
The TSA is changing its hiring process for screeners and other staff so that officials at
each airport are responsible for hiring decisions, rather than the previous system
where hiring was contracted out to a separate company. Officials hope that this
process will eventually improve the hiring process, but for now it’s resulted in
The aim of this project is to help students find a job that suits their profile. This
Provides a common platform for the job seekers to search for jobs on one website
Instead of searching them on multiple websites which highly reduces the time
of searching for a suitable job. This website also provides a platform for the recruiters
to post a job and search for the resume suitable to their job
requirements.
One of the most challenging problems for any Human Resources department is
recruitment, the art of matching potential employees with vacancies within the organization.
The process is complex: place an advertisement, wait for resumes to roll in, and then begin
the arduous task of sifting through them in search of potential recruits. This is usually
followed by interviews and reference checks of potential candidates, and perhaps a job offer.
The Art of Zen Recruitment© is for the ultimate recruitment warrior to be a willing
leader, having no fear of taking others along into the battlefield. Knowing that others also can
excel to levels they have only imagined, and therefore have the opportunity to achieve
success through accomplishments they may have thought impossible. By providing a greater
sense of purpose, the ultimate recruitment warrior takes recruitment to it’s highest level.
There is a ‘zone’ that can be reached. Our ultimate goal is to become one with that zone, for
Icarus, “Zen and the Art of Recruitment”, August 28, 2002, http://www.sarchinsight.net.July 17, 2009
Trabaho.com
Trabaho.com has been the Filipino job seeker's partner since 1996, the year
when it became the premiere online recruitment site in the country. Conceptualized
and developed by the creative minds of Web Philippines, Inc., the site aims to provide
global Filipinos with an accessible venue for limitless career opportunities, for
design, Trabaho.com is set to fulfill its role of being the jobseeker's your "Complete
Online Career Resource." Thanks to the help of its strategic partners today, job
Trabaho.com's unique advantage is that its goals are governed under Web
Philippines Inc.'s mission to improve its services. Web Philippines, Inc. (WPI), founded
East West Placement Center, Inc. is duly authorized and licensed by POEA under
system (program) to manage the entire manpower recruitment process dubbed the
Recruitment Management System (RMS). Both the POEA and the Royal Embassy of Saudi
Arabia recognize the fact that it was the first of its kind to be implemented in a recruitment
agency in the Philippines. In 2000, the RMS was augmented to support the expansion of the
company. Currently, the company is completely redeveloping the RMS for the third time to
Since its inception in 1993, the company has deployed thousands of workers and to
date, have been consistently ranked by POEA as having the highest deployment.
messages a day, there is no room for guesswork. That is why companies are relying more
Jobsonline.com.ph can develop a targeted web and email marketing campaign for
your company targeting either the corporate Human Resource Department decision maker or
TSA Screener Online Job Application vs. Online Job Application for RMCI
system w/c is Online Job Application is that they are both accessible through online,
which means that the applicants can apply directly to the certain company without
The difference between the two Online Application is that TSA Screener is
hiring for the company itself as where the proposed system is hiring for the benefit of
One of the similarities of Online Job Search that is being related to the
proposed system w/c is the Online Job Application is that both system are aiming to
Zen and the Art of Recruitment vs. Online Job Application for RMCI
Similarities between Zen and the Art of Recruitment to the proposed system
which is Online Job Application for RMCI, is that both of them are recruiting online
which place an advertisement waiting for the résumé’s and then in searching of
potential recruits.
system, is that both sites aims to provide global Filipino with an accessible career and to
system are aiming one goal, which is to help Human Resource Department of the company
to seek for an employee whom is career oriented and for the employee to have their desired
The same as the Online Job Application System that is being developed by the
proponents, and it is being developed for RMCI company for them to have an applicants for
their designated clients without consuming much time sorting of the information of the
applicants.
The difference between the two systems, is that the Job’s Online.com.ph is
also designed for targeted web and email marketing campaign where as the Online Job
RMCI
One similarity of Online Application East West Center to the proposed System
is that both systems are designed for recruitment agency. Both agency are recruiting for the
jobs to fill –in The only difference between the two Systems is that Online Application East
West Center was developed for recruiting, hiring, and process manpower for its accredited
foreign, where as the Online Job Application is being proposed purely for the local accredited
changes in one variable cause changes in another variable. This method relies on
hypothesis.
The relation or the proponents study which is the Online Job Application System
for RMCI to experimental method is that both of the experimental method and the flow
make it easy for the applicants on how to apply and to control the number of people in
Identifying Problems
Determining Information
Analyzing System
Needs
Designing the
Recommended
Developing and
Documenting
Implementing and
Evaluating
The first step done in identifying the problem is to identify first a need for
The stage where the groups analyzing the operation of the company, to
save time to advance and transform the flow of a work into accurate and
understandable outcome.
These where done through the group interview with the company EDP
department and also questioners that were given out to the personnel and staff
of the company, which were both used in order to fully understand the flow as
well as the problem of the company regarding with their current system, in
data flow diagram to further explain and analyze the logic and processes of the
This phase uses a unique style and advances the specified system as
an input and output consider, user friendly the design will serve as a blueprint
final system. The idea is to create a system design with the needs of the users
In this phase the design translated into the code. Computer programs
use a combination of PHP, Apache and MySQL as the front-end and back-end
The group will solve any problem or trouble that the system might
experience. They will regularly check the system to ensure its effectiveness
and functionality. The group gives their consent to the company’s Information
and Technology department for its maintenance.
Modification and changes were made after system has been configured
and that for the optimization of the system.
3.3 Instrumentation
The application that the group decided to use is PHP for the front-end
and MySQL for the back-end. The group chooses this software because these
are open source software, meaning these are free and can be downloaded in
the Internet and also this software does not require much skill in understanding
the application. The platform that the group is going to use is the Microsoft XP.
The group chooses this platform because it is the most commonly used
platform and it is also a user-friendly.
Applicants will submit their requirements through Manual Job Application System. And
after that the Management will release the Applicants Listings and also the Assign Store of
0.0
Qualification of
Desired Job
Applicants
Applicants
MANUAL JOB Human Resources
APPLICATION Department
Applicants SYSTEM Applicants List
Information
Concepts, Inc. together with their requirements, they need to fill-up 201 form. After answering
the necessary questions written in the 201 form, interview will be scheduled for written exam.
And for Orientation or workshop, and after the Orientation/workshop, the agency will be
2. Administrator will post the Job Availability to the Online Job Application
System
0.0
CLIENT
ONLINE JOB
Job Details
Qualified Applicants
GENERATE REPORT
1. The client will create a job availability in the Online Job Application System, subject for
2. Administrator will approve the job created by their client and it is automatically be
3. Once the job has been posted in the Online Job System it will be viewed by the
applicants.
4. The applicants can view all the Job Listings made by the administrator.
5. If the applicants don’t have an account yet to the System, he/she need to register first
before he/she can view all the Job Listings and can apply Online.
6. In applying, the applicants need to fill up a resume first before selecting his/her
desired job.
8. And if the application is approve, it will be pass on the client side for them to view all
Answer:
b. Does the new system need to interface with existing system(s) or are
the existing system(s) to be replaced entirely?
Answer:
The new system need to interface with existing system only, not to be
replaced it entirely, because the focus of the Online Job Application System
is to apply for a job Online. And the bottom line is still they need to go to the
RMCI agency to personally take the necessary exams, and for their
The Human Resources will have to operate the system as it has illustrated.
Because they need to Open and check to those applicants inquiring, and who
DEVELOPMENT COST
Personnel No. Of Personnel Min. rate per Day No. of Days Work Total
System
Analysts 1 P1400.00 150ays P 210, 000.00
Senior
Programm
er 1 P1400.00 150ays P 210, 000.00
Database
Designer 1 P2000.00 150ays P 200, 608.00
Total Personnel
Cost: P 620, 000.00
Expenses Hours Used Rate per Hour Days Monthly Annual Cost
Electric Bills 9 hrs. 10 26 P2,340.00 P28,080.00
Cash Flow Description Year 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 Total
Development Cost: (357,460.00)
Operation and maintenance cost: (117,120.00) (122,976.00) (129,125.00) (135,581.00) (142,360.00) (149,478.00)
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
(357,460.00) (101,894.04) (92,969.85) (84,964.25) (77,416.75) (70,752.92) (64,275.54)
Time Adjusted cost (adjusted Present value)
Cumulative time adjusted cost over lifetime (357,460.00) (459,354.04) (552,324.25) (637,288.05) (714,705.25) (785,458.17) (849,733.71)
Benefits Derived from the operation of the new 0 202,200.00 232,530.00 267,409.05 307,520.92 353,649.05 406,696.04
system
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Time-Adjusted Benefits(current of present value) 0 175,914 174,397.00 173,816.17 175,286.92 176,824.52 174,879.45
Cumulative time-adjusted benefits over lifetime 0 175,914.00 350,311.05 524,127.67 699,414.59 876,239.11 1,051,118.05
0 1 2 3 4 5 6
Cumulative lifetime time-adjusted costs + benefits (-357,460) (-283,440.40) (-202,012.75) (-113,160.83) (15,290.60) (90,780.94) (201,384.79)
Operational and Maintenance Cost: (117,120.00) (122,976.00) (129,125.00) (135,581.00) (142,360.00) (149,478.00)
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Present Value for Annual Cost (357,460) (101,894.04) (92,969.85) (84,964.25) (77,416.75) (70,752.92) (64,275.54)
Benefits derived from operation 0 202,200 232,530 267,409.05 307,520.92 353,649.05 406,696.04
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Present value of annual benefits 0 157,914 174,397.05 173,816.17 175,286.92 176,824.52 174,879.45
Total Present value of lifetime benefits 1,051,118.05
Net Present Value of this alternative 201,384.71
Alternative A
for file processing, file sharing and data communication. The proponents decided to have an
Online Web-hosting with costs P2, 000.00. The Personnel are compose of 1 System Analyst
(P210, 000.00 for 5 month’s salary), 1 Senior Programmer (P210, 000.00 for 5 months
salary), and 1 Database Designer (P 200,000 for 5 months salary). The new software to be
used is PHP and MYSQL, which are both open source. The total Annual Operating System is
P215, 232.00, and the proponents total Development Cost P357, 460 and the total Benefit
Expenses Hours Used Rate per Hour Days Monthly Annual Cost
Electric Bills 9 hrs. 10 26 P2,340.00 P28,080.00
Benefits Derived from the operation of the new 0 202,200.00 232,530.00 267,407.05 307,250.92 353,649.05 406,696.04
system
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Time-Adjusted Benefits(current of present 0 175,914 174,397.05 173,816.17 175,286.92 176,824.52 174,879.45
value)
Cumulative time-adjusted benefits over lifetime 0 175,914.00 350,311.05 524,127.67 699,414.59 816,239.11 1,051,118.05
0 1 2 3 4 5 6
Cumulative lifetime time-adjusted costs + (399,258) (325,238.04) (243,810.75) (247,928.68) 150,058.51 43,986.91 116,616.94
benefits
Operational and Maintenance Cost: (117,120.00) (122,976.00) (129,125.00) (135,581.00) (142,360.00) (149,478.00)
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Present Value for Annual Cost (399,258) (101,894.04) (92,969.85) (84,964.25) (77,416.75) (70,752.92) (64,275.54)
Total Present Value of Maintenance Cost: (P984,501.56)
Benefits derived from operation 0 202,200 232,530 267,409.05 307,520.92 353,649.05 406,696.04
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43
Present value of annual benefits 0 175,914 174,397.05 173,816.17 175,286.92 176,824.52 174,879.45
house web hosting to handle the database which worth P700.00. The personnel are
compose of 1 System Analyst (P170, 000.00 for 5 months salary) 1 Senior Programmer
(P170, 000.00 for 5 months salary) Database Designer (P231, 608.00 for 5 months salary).
The proponents come up with the total of P399, 258.00 for the Development Cost. For the
new hardware which is the server computer the full amount is P43, 304.00 while for the new
software we acquire PHP, Apache and MYSQL (Open Source). In our Project Annual
Operating Costs we decided to spend P340, 080.00 for a programmer then for other
expenses which are the maintenance of server, pre-printed forms and electric bills (P26,
000.00/month). Because of these computations and information the proponents have the
ALTERNATIVE B:
5.1 TRAINEE
because the EDP head are the one who are involve regarding the networking and also the
system, because HR department particularly the HR head has the right to access everything
about the proposed system. The HR head will evaluate all the necessary requirements about
the applicants, using the information of the applicants that has been submitted by them to
The topics to be discussed in this particular section are for those who
Administration Side
proposed system.
- Log In
User/Applicants
- Log In
5.2 INSTALLATION
The proponents decided to choose the Parallel Method. It’s using the
current system as well as the proposed system. The proponents decided to use the Parallel
aware about the new system that the company is using, so that’s why we proposed to use
5.3.1 Summary
In this study the existing system encounters most of its problem in their
their applicants.
5.4 Conclusion
The more common and obvious applicants are business application such as
LOGIN \
RESUME
JOB LISTING
CONTACT US
PROFILE (CLIENT)
FOOTER.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='footer'");
$q=mysql_fetch_object($sql);
echo $q->value;
?>
HEADER.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='header'");
$q=mysql_fetch_object($sql)->value;
echo $q;
?>
SIDE-PANEL.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='side-panel'");
$q=mysql_fetch_object($sql)->value;
echo $q;
?>
TOP-MENU.PHP
<ul id="top-navigation">
<li><a href="index.php">Reports</a></li>
<li><a href="users.php">Users</a></li>
<li><a href="clients.php">Clients</a></li>
<li><a href="contents.php">Settings</a></li>
<!--<li><ahref="settings.php">settings</a></li>--><li><a href="../logout.php">logout</a></li>
</ul>
CONTENTS.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?><!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
INDEX.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title><style media="all" type="text/css">@import
"../css/all.css";</style>
<script type="text/javascript">function confirmJobApprove(job_code){var sure=confirm("Are you
sure you want to Approve This Job?");if(sure==false){return;}
window.location="approve_job.php?job_code="+job_code;}</script></head><body>
<center><div class="container">
<div class="header"><?php
include("common/header.php");?>
</div><div class="top-menu"><?php
include("common/top-menu.php");
?><br /><br /><ul id="top-navigation">
<li><a href="index.php">Jobs</a></li> <li><a
href="pending_application.php">Applications</a></li></ul></div><div class="side-panel">
VIEW_APP.PHP
<?php
require("../inc/connect.php");
//die("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'");
$q=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'"));
$to=$q->detail;
$sbj="RMCI OJAS APPLICATION FORM";
$msg='<h1>Resume</h1>';
//die("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname)
WHERE rmciusers.uname='".$q->uname."'");
$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON
(rmciusers.uname=rmcilogin.uname) WHERE rmciusers.uname='".$q-
>app_uname."'");while($row=mysql_fetch_array($sql)){$msg.="<table width=600><tr>
<th colspan='2'>User Information</th></tr <tr><th>Name</th><td>".$row['lname'].', '.
$row['fname'].' '.$row['mname']."</td></tr>
APPROVE_APP.PHP
<?php
require("../inc/connect.php");
//die("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'");
$q=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'"));
$to=$q->detail;
$sbj="RMCI OJAS APPLICATION FORM";
$msg='<h1>Resume</h1>';
//die("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname)
WHERE rmciusers.uname='".$q->uname."'");
$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON
(rmciusers.uname=rmcilogin.uname) WHERE rmciusers.uname='".$q->app_uname."'");
DELETE_USER.PHP
<?php
require("../inc/connect.php");
mysql_query("DELETE FROM rmciusers WHERE uname='".$_GET['uname']."'");
mysql_query("DELETE FROM rmcilogin WHERE uname='".$_GET['uname']."'");
mysql_query("DELETE FROM rmcicontactinfo WHERE owner_code='".$_GET['uname']."'");
header("location:users.php");
?>
PENDING_APPLICATION.PHP
<?phprequire("../inc/connect.php");
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head><body><center><div class="container">
<div class="header"><?php
include("common/header.php");
?></div><div class="top-menu">
<?phpinclude("common/top-menu.php");
?></div><div class="side-panel">
<?phpinclude("common/side-panel.php");
?></div><div class="contents">
<br /><h1>View Job Information</h1>
<?phpif(isset($_GET['job_code'])){
$sql=mysql_query("SELECT * FROM rmcijobs WHERE job_code = '".$_GET['job_code']."'");
while($row=mysql_fetch_array($sql)){echo '
<table style="margin-left:20px;"><tr>
<th colspan="2">Job Information</th></tr>
<tr><th>Title</th><td>'.$row['name'].'</td>
</tr><tr><th>Age</th><td>'.$row['ageStart'].' to '.$row['ageEnd'].'</td></tr><tr>
<th>Salary</th><td>'.$row['salStart'].' to '.$row['salEnd'].'</td> </tr><tr><th
colspan="2">Description / Other Specification</th></tr><tr><th colspan="2">
'.$row['job_desc'].'</th></tr></table';}
}else{?><span style="color:#F00">No Job Selected</span><?php}?> <a
href="javascript: history.go(-1);">Back</a>
</div><div class="footer">
<?phpinclude("common/footer.php");?>
</div></div></center></body></html>
APPROVE_JOB.PHP
<?php
require("../inc/connect.php");
mysql_query("UPDATE rmcijobs SET status = 1 WHERE job_code='".$_GET['job_code']."'");
header("location:index.php");
?>
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style></head><body>
<center><div class="container"><div
class="header">
<?phpinclude("common/header.php");
?></div><div class="top-menu">
<?phpinclude("common/top-menu.php");
?></div><div class="side-panel">
Administrator<?phpinclude("common/side-panel.php");?></div><div class="contents">
<br /><h1>Edit Content</h1><br />
<br /><center><?php
if(isset($_POST['contentEdit'])){mysql_query("UPDATE rmcicontents SET
value='".$_POST['content']."' WHERE content_code='".$_POST['c_code']."'");?>
CONTENT SUCCESFULLY UPDATED<br />
<br /><a href="javascript: history.go(-2);">Back</a><?php
}else if(isset($_GET['c_code'])){
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='{$_GET['c_code']}'");
$q=mysql_fetch_object($sql);?><form action="" method="post"><table width="500"><tr><th
colspan="2">Content Information</th></tr>
<tr><td>Title</td><td><input type="text" name="c_code" value="<?php echo $_GET['c_code']; ?>"
readonly="readonly" /></td></tr><tr><td colspan="2">Description</td></tr><tr>
<td colspan="2"><textarea name="content" cols="80"><?php echo $q->value; ?>
</textarea></td></tr<tr>
<td colspan="2" align="center"><input type="submit" value="Save" name="contentEdit" /> <a
href="javascript: history.go(-1);">Back</a></td>
</tr></table></form><?php}else{?><span style="color:#F00">No Content Selected</span<?php}?>
</div><div class="footer">
<?phpinclude("common/footer.php");
?></div></div></div></center></body></html>
SETTINGS.PHP
<?php
require("../inc/connect.php");
VIEW_USER.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style></head><body>
<center><div class="container">
<div class="header"><?php
include("common/header.php");?>
</div><div class="top-menu">
<?phpinclude("common/top-menu.php");
?></div>
<div class="side-panel"><?php
include("common/side-panel.php");
?></div><div class="contents">
<br /><h1>View User</h1>
<table><tr><td><?php
if(isset($_GET['uname'])){
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title><style media="all" type="text/css">@import
"../css/all.css";</style>
<script type="text/javascript">function confirmUserDelete(uname){var sure=confirm("Are you sure
you want to Delete This User?");if(sure==false){return;}
window.location="delete_user.php?uname="+uname;}</script></head>
<body><center><div class="container">
<div class="header"><?php
include("common/header.php");?>
</div><div class="top-menu">
EDIT_USER.PHP
<?php
require("../inc/connect.php");
session_start();$err="";
isset($_SESSION['uname'])?null:header("location:../login.php");if(isset($_POST['editUser'])){
$uname=$_POST['uname'];$lname="";$fname="";$mname="";$addr="";$zip="";$citmun="";
$prov="";$stat=$_POST['stat'];$gender=$_POST['gender'];$bdate=$_POST['byear']."".
$_POST['bmonth']."".$_POST['bday'];$email="";$lline="";$mphone="";$fax="";$_POST['lname']!
=""?$lname=$_POST['lname']:$err.="Please include contact's last name<br />";preg_match('/^[A-Za-
z
]{'.strlen($lname).'}/',$lname)?null:$err.="Invalid Last name<br />";
$_POST['fname']!=""?$fname=$_POST['fname']:$err.="Please include contact's First name<br
/>";preg_match('/^[A-Za-z0-9 ]{'.strlen($fname).'}/',$fname)?null:$err.="Invalid First name<br
/>"$mname=$_POST['mname'];
preg_match('/^[A-Za-z0-]{'.strlen($mname).'}/',$mname)?null:$err.="Invalid Middle name<br />";
$_POST['addr']!=""?$addr=$_POST['addr']:$err.="Please include contact's address<br />";
USERS.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import
"../css/all.css";</style><scripttype="text/javascript">function confirmUserDelete(uname){var
sure=confirm("Are you sure you want to Delete This User?");if(sure==false){return;}
APPLICANTS:
FOOTER.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='footer'");
$q=mysql_fetch_object($sql);
echo $q->value;
?>
HEADER.PHP
<?php
require("../inc/connect.php");
SIDE-PANEL.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='side-panel'");
$q=mysql_fetch_object($sql)->value;
echo $q;
?>
TOP-MENU.PHP
<ul id="top-navigation">
<li><a href="index.php">Reports</a></li>
<li><a href="users.php">Users</a></li>
<li><a href="clients.php">Clients</a></li>
<li><a href="contents.php">Settings</a></li>
<!--<li><ahref="settings.php">settings</a></li>--><li><a href="../logout.php">logout</a></li>
</ul>
JOB_LISTING.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title><style>
.container,.top-menu,.side-panel,.contents,.footer{border:solid;border-
color:#006;}.container{width:1300px;font-family:calibri,verdana,arial;}.container a{
text-decoration:none;color:#003;text-transform:uppercase;font-size:12px;}
.header{height:100px;}.side-panel{width:200px;
height:600px;float:right;}.contents{widows:800px;text-align:left;}.contents h1{margin-
left:20px;}.footer{height:20px;}#top-navigation{
position:absolute;margin:0;padding:0;list-style:none;}#top-navigation li {float:left;
width:80px;margin-left:10px;margin-top:10px;}
#tbl_job{margin-left:20px;width:800px;}
#tbl_job th{background-color:#006;color:#FFF;
text-align:center;}</style>
SEND_APP.PHP
<?phprequire("../inc/connect.php");
session_start();$count=mysql_num_rows(mysql_query("SELECT * FROM rmciapply WHERE
job_code='".$_GET['job_code']."' AND app_uname='".$_SESSION['uname']."'"));
$count>0?die('Already Sent a request<br><a style="margin-left:20px;" href="javascript: history.go(-
1);">Back</a>
'):null;$count=mysql_num_rows(mysql_query("SELECT * FROM rmciapplication WHERE
uname='".$_SESSION['uname']."'"));
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?><!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>.container,.top-menu,.side-panel,.contents,.footer{border:solid;border-
color:#006;}.container{width:1300px;font-family:calibri,verdana,arial;}.container a{text-
decoration:none;color:#003;text-transform:uppercase;font-size:12px;}
.header{height:100px;}.side-panel{width:200px;
height:600px;float:right;}.contents{widows:800px;text-align:left;}.contents h1{margin-
left:20px;}.footer{height:20px;}#top-navigation{
position:absolute;margin:0;padding:0;list-style:none;}#top-navigation li {float:left;
width:80px;margin-left:10px;margin-top:10px;}
#tbl_job{margin-left:20px;width:800px;#tbl_job th{background-color:#006;color:#FFF;text-
align:center;}</style><script type="text/javascript">var req=new
Array('2','3','7','8','9','12','19');function onLoads(){for(var i=0;i<7;i++){var
fld='err'+req[i];document.getElementById(fld).innerHTML=" ";}}function validateForm(){var
tst=0;for(var i=0;i<7;i++){var fld='err'+req[i];
if(document.getElementById(fld).innerHTML!=""){tst++;}}for(var i=1;i<=27;i++){var fld='err'+i;
if(document.getElementById(fld).innerHTML!=""){tst++;}}if(tst!=0){alert("Please complete at least
the required fields with Valid details");
return false;}return true;}</script>
<script src="validation.js"></script>
</head><body onload="onLoads()">
<center><div class="container">
<div class="header"><?php
include("common/header.php");
?></div>
<div class="top-menu"><?php
include("common/top-menu.php");
?><br /><br /><ul id="top-navigation"><li><a href="my_resume.php">Resume</a></li>
<li><ahref="edit_resume.php">Update</a></li>
</ul></div><div class="side-panel">
<?phpinclude("common/side-panel.php");
MY_RESUME.PHP
VALIDATION.PHP
// JavaScript Document
var xmlhttp;
errImg="<img src='hr.gif' align='absmiddle' /> ";
function validateThis(type,entry,field){
globalField=field;
switch(type){
case "uname":
if(entry==""){
document.getElementById(field).innerHTML=errImg+'This Field is Required';
return;}else{var pat=new RegExp("[A-Za-z0-9\-\_]{"+entry.length+"}"); var tst=pat.test(entry);
if(tst==false){
document.getElementById(field).innerHTML=errImg+"User name is invalid";return;}}
break;
case "pword":
document.getElementById(field).innerHTML=entry.length<5?errImg+'Minimum of 5 Characters':'';
return;
break;
case "pword2":
varpword=document.getElementById('pword').value;document.getElementById(field).innerHTML=e
ntry!=pword?errImg+"Password not match":"";
return;
break;
case "name":
if(entry==""){
document.getElementById(field).innerHTML=errImg+'This is Required';
return;}
case "noSpChar":
case "fname":
SAVE_APP.PHP
<?php
require("../inc/connect.php");
session_start();
isset($_SESSION['uname'])?null:header("location:../login.php");
$err="";
//
$flds=array("datef","placeb","height","weight","religion","names","noc","ptn","relation","add","tel","
namef","occupation1","namem","occupation2","sss","tin","philh","resc","issuedat","issuedon","elem",
"e_school","eygrad","high","h_school","hygrad","college","school","course","cygrad","start","end","c
ompany","position","salary","reasonl","outlet","name","add","occupation","tel");//$rec=array();
/*for($i=0;$i<count($flds);$i++){
if(!isset($_POST[$flds[$i]])||$_POST[$flds[$i]]!=""){$err="Please Complete the Application
Form<br />";}}*/
/*for($i=0;$i<count($flds);$i++){$rec[$i]=$_POST[$flds[$i]];$err.=$rec[$i]."<br />";
}*/mysql_query("DELETE FROM rmciapplication WHERE uname = '".$_SESSION['uname']."'");
$sql="INSERT `rmciapplication` VALUES ('".$_SESSION['uname']."', '', '".$_POST['placeb']."', '".
$_POST['height']."', '".$_POST['weight']."', '".$_POST['religion']."', '".$_POST['names']."', '".
$_POST['noc']."', '".$_POST['ptn']."', '".$_POST['relation']."', '".$_POST['addrel']."', '".
$_POST['tel']."', '".$_POST['namef']."', '".$_POST['occupation1']."', '".$_POST['namem']."', '".
$_POST['occupation2']."', '".$_POST['sss']."', '".$_POST['tin']."', '".$_POST['philh']."', '".
$_POST['resc']."', '".$_POST['issuedat']."', '".$_POST['issuedon']."', '".$_POST['elem']."', '".
$_POST['eygrad']."', '".$_POST['high']."', '".$_POST['hygrad']."', '".$_POST['college']."', '".
$_POST['course']."', '".$_POST['cygrad']."', '".$_POST['start']."', '".$_POST['end']."', '".
$_POST['company']."', '".$_POST['position']."', '".$_POST['outlet']."', '".$_POST['name']."', '".
$_POST['add']."', '".$_POST['occupation']."', '".$_POST['telf']."')";
mysql_query($sql);
$err="<span style='color:blue;'>Resume
SAVED</span>";?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head><body><center>
<div class="container"><div class="header">
<?phpinclude("common/header.php");?>
</div>
<div class="top-menu">
<?php
include("common/top-menu.php");
?><br /><br />
<ul id="top-navigation"> <li><a href="my_resume.php">View</a></li>
VIEW_JOB.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style></head>
<body><center>
<div class="container">
<div class="header">
<?phpinclude("common/header.php");
?></div>
<div class="top-menu"><?php
include("common/top-menu.php");
?></div>
<div class="side-panel">
<?php
include("common/side-panel.php");
?></div>
<div class="contents"><br />
<h1>Job Information</h1>
<?php$sql=mysql_query("SELECT * FROM rmcijobs WHERE
job_code='".$_GET['job_code']."'");
while($row=mysql_fetch_array($sql)){
echo ' <table id="tbl_job">
<tr><th colspan="3">'.$row['name'].'</th>
</tr><tr>
<th width="150">Date Posted</th><td colspan=2><em>'.$row['dateAdded'].'</em></td> </tr> <tr>
<th>Age Requirements</th><td colspan=2>'.$row['ageStart'].' to '.$row['ageEnd'].'</td></tr>
INDEX.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head><body>
<center><div class="container">
<div class="header"><?php
include("common/header.php");?></div>
<div class="top-menu"><?php
include("common/top-menu.php");?>
</div><div class="side-panel">
<?phpinclude("common/side-panel.php");?>
</div><div class="contents"><br />
<h1>Home</h1><?php
$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code =
'banner'"))->value;
echo $value;?></div>
<div class="footer"><?php
include("common/footer.php");?></div>
</div></center></body></html>
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>.container,.top-menu,.side-panel,.contents,.footer{
border:solid;
border-color:#006;}.container{
height:1000px;
width:1300px;
font-family:calibri,verdana,arial;}.container a{
text-decoration:none;color:#003;
text-transform:uppercase;font-size:12px;}
.header{height:100px;}
.side-panel{
width:200px;height:600px;float:right;}.content{
height:900px;
widows:800px;
text-align:left;}.contents h1{
margin-left:20px;}.footer{height:20px;}
#top-navigation {
position:absolute;
margin:0;padding:0;list-style:none;}
#top-navigation li {float:left;width:80px;
margin-left:10px;margin-top:10px;}
#tbl_job{margin-left:20px;width:800px;
}#tbl_job th{background-color:#006;
color:#FFF;text-align:center;}</style>
</head><body><center><div class="container">
<div class="header"><?php
include("common/header.php");?></div>
<div class="top-menu"><?php
include("common/top-menu.php");
?></div>
<div class="side-panel"><?php
include("common/side-panel.php");?></div>
<div class="contents"><br /><h1>Search Job</h1>
CLIENT:
FOOTER.PHP
HEADER.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='header'");
$q=mysql_fetch_object($sql)->value;
echo $q;
?>
SIDE-PANEL.PHP
<?php
require("../inc/connect.php");
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='side-panel'");
$q=mysql_fetch_object($sql)->value;
echo $q;
?>
TOP-MENU.PHP
<ul id="top-navigation">
<li><a href="index.php">Reports</a></li>
<li><a href="users.php">Users</a></li>
<li><a href="clients.php">Clients</a></li>
<li><a href="contents.php">Settings</a></li>
<!--<li><ahref="settings.php">settings</a></li>--><li><a href="../logout.php">logout</a></li>
</ul>
AVAILABLE_JOB.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
</div>
<div class="contents"><br />
<h1>Available Jobs</h1><center>
<?php
$start=isset($_GET['start'])?$_GET['start']:0;
$recperpage=10;
$sql=mysql_query("SELECT * FROM rmcijobs WHERE postedBy = '".$_SESSION['uname']."' AND
status = 1 LIMIT $start , $recperpage");
$next=$start+$recperpage;
$prev=$start-$recperpage-1;
$first=0;
$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE postedBy = '".
$_SESSION['uname']."' AND status = 1"))-1;
?>
<a href="available_job.php?start=<?php echo $first; ?>"> |< </a>
INDEX.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head>
<body>
<center>
<div class="container">
<div class="header">
<?php
include("common/header.php");
?>
</div>
<div class="top-menu">
<?php
include("common/top-menu.php");
?></div>
PROFILE.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head>
<body>
<center>
<div class="container">
<div class="header">
<?php
include("common/header.php");
?>
</div>
<div class="top-menu">
<?php
include("common/top-menu.php");
?><br />
<br /><ul id="top-navigation">
<li><a href="profile.php">My Profile</a></li>
<li><a href="edit_profile.php">Edit</a></li>
<li><a href="change_password.php">Change Password</a></li></ul>
</div><div class="side-panel">
APPLICANTS.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
<script type="text/javascript">
function confirmAppApprove(app_id){
var sure=confirm("Are you sure you want to Approve This applicationm?");
if(sure==false){
return;
window.location="approve_app.php?app_id="+app_id;
}
</script>
</head>
<body>
<center>
<div class="container">
<div class="header">
<?php
include("common/header.php");
?>
</div>
<div class="top-menu">
<?php
include("common/top-menu.php");
?><br />
<br />
<ul id="top-navigation">
<li><a href="index.php">Jobs</a></li>
<li><a href="pending_application.php">Applications</a></li>
</ul>
</div>
<div class="side-panel">
Administrator
<?php
include("common/side-panel.php");
?>
</div>
<div class="contents">
<br />
<h1>Reports</h1>
<center>
Jobs Waiting for approval<br />
<?php
$start=isset($_GET['start'])?$_GET['start']:0;
$recperpage=10;
$sql=mysql_query("SELECT * FROM rmciapply WHERE status = 1 LIMIT and Select *from
rmciapply inner join rmcijobs on (rmciapply.job_code=rmcijobs.job_code) inner join rmciclient on
(rmcijobs. $start , $recperpage");
$next=$start+$recperpage;
$prev=$start-$recperpage-1;
$first=0;
$last=mysql_num_rows(mysql_query("SELECT * FROM rmciapply WHERE status = 0"))-1;
DELETE_JOB.PHP
<?php
require("../inc/connect.php");
mysql_query("DELETE FROM rmcijobs WHERE job_code='".$_GET['job_code']."'");
header("location:my_jobs.php");
?>
MY_JOBS.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
EDIT_JOB.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
$err="";
if(isset($_POST['addJob'])){
$name=""; $rAge1=""; $rAge2=""; $sal1=""; $sal2=""; $jdesc=$_POST['jdesc'];
$_POST['jname']!=""?$name=$_POST['jname']:$err.="Job Title is Invalid<br />";
$_POST['rAge1']!=""?$rAge1=$_POST['rAge1']:$err.="Starting Age range is Invalid<br />";
$_POST['rAge2']!=""?$rAge2=$_POST['rAge2']:$err.="Ending Age range is Invalid<br />";
$_POST['sal1']!=""?$sal1=$_POST['sal1']:$err.="Starting Salary range is Invalid<br />";
$_POST['sal2']!=""?$sal2=$_POST['sal2']:$err.="Emding Salary range is Invalid<br />";
preg_match('/^[A-Za-z0-9\#\.\- ]{'.strlen($name).'}/',$name)?null:$err.="You have entered special
character for Job Title<br/>";
preg_match('/^[0-9]{'.strlen($rAge1).'}/',$rAge1)?null:$err.="You have entered special character for
Age Range Start<br/>";
preg_match('/^[0-9]{'.strlen($rAge2).'}/',$rAge2)?null:$err.="You have entered special character for
Age Range Ending<br/>";
preg_match('/^[0-9\.]{'.strlen($sal1).'}/',$sal1)?null:$err.="You have entered special character for
Salary Range Start<br/>";preg_match('/^[0-9\.]{'.strlen($sal2).'}/',$sal2)?null:$err.="You have entered
special character for Salary Range Ending<br/>";
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
<script type="text/javascript">
function confirmJobDelete(job_code){
var sure=confirm("Are you sure you want to Delete This Job?");
if(sure==false){
return;}
window.location="delete_job.php?job_code="+job_code;}
</script></head><body>
<center>
<div class="container">
<div class="header"><?php
include("common/header.php");?>
</div>
<div class="top-menu"><?php
include("common/top-menu.php");
?><br /><br /><ul id="top-navigation">
<li><a href="my_jobs.php">Waiting</a></li> <li><a
href="available_job.php">Available</a></li><li><a href="taken_job.php">Taken</a></li>
</ul></div>
<div class="side-panel">
<?php
include("common/side-panel.php");
?></div>
<div class="contents">
<br />
<h1>Taken Jobs</h1>
NEW_JOB.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
$err="";
if(isset($_POST['addJob'])){
$name=""; $rAge1=""; $rAge2=""; $sal1=""; $sal2=""; $jdesc=$_POST['jdesc'];
$_POST['jname']!=""?$name=$_POST['jname']:$err.="Job Title is Invalid<br />";
$_POST['rAge1']!=""?$rAge1=$_POST['rAge1']:$err.="Starting Age range is Invalid<br />";
$_POST['rAge2']!=""?$rAge2=$_POST['rAge2']:$err.="Ending Age range is Invalid<br />";
VIEW_APP.PHP
<?php
require("../inc/connect.php");
//die("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'");
$q=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'"));
$to=$q->detail;
$sbj="RMCI OJAS APPLICATION FORM";
$msg='<h1>Resume</h1>';
//die("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname)
WHERE rmciusers.uname='".$q->uname."'");
$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON
(rmciusers.uname=rmcilogin.uname) WHERE rmciusers.uname='".$q->app_uname."'");
APPROVE_APP.PHP
<?php
require("../inc/connect.php");
//die("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'");
$q=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontactinfo inner join rmciclients on
(rmcicontactinfo.owner_code=rmciclients.uname) inner join rmcijobs on
(rmciclients.uname=rmcijobs.postedBy) inner join rmciapply on
(rmcijobs.job_code=rmciapply.job_code) where rmciapply.apply_id='".$_GET['app_id']."'"));
$to=$q->detail;
$sbj="RMCI OJAS APPLICATION FORM";
$msg='<h1>Resume</h1>';
//die("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname)
WHERE rmciusers.uname='".$q->uname."'");
$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON
(rmciusers.uname=rmcilogin.uname) WHERE rmciusers.uname='".$q->app_uname."'");
while($row=mysql_fetch_array($sql)){
$msg.="
<table width=600><tr>
<th colspan='2'>User Information</th>
</tr><tr><th>Name</th><td>".$row['lname'].', '.$row['fname'].' '.$row['mname']."</td>
</tr><tr>
<th>Address</th><td>".$row['addr']."</td>
</tr><tr>
<th>ZIP</th><td>".$row['zip']."</td>
</tr><tr><th>City / Municipality </th><td>".$row['citmun']."</td></tr>
EDIT_PROFILE.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
$err="";
require("../inc/connect.php");
if(isset($_POST['uname'])){
$uname=$_POST['uname'];
$name="";
$email="";
$_POST['uname']!=""?$uname=$_POST['uname']:$err.="username is invalid<br/>";
$_POST['addr']!=""?$addr=$_POST['addr']:$err.="address is required<br/>";
$_POST['cname']!=""?$name=$_POST['cname']:$err.="Client Name is required<br/>";
$zip=$_POST['zip'];
$citmun=$_POST['citmun'];
for($i=1;isset($_POST['email$i']);$i++){
preg_match('/^[A-Za-z0-9-_@.]{'.strlen($_POST['email'.$i]).'}/',strlen($_POST['email'.$i]))?null:
$err.="You entered an Invalid e-mail<br/>";}
preg_match('/^[A-Za-z0-9\#\.\- ]{'.strlen($name).'}/',$name)?null:$err.="You have entered special or
numeric character for Client Name<br/>";
preg_match('/^[A-Za-z0-9\#\.\- ]{'.strlen($addr).'}/',$addr)?null:$err.="You have entered special or
numeric character for Address<br/>";
preg_match('/^[0-9]{'.strlen($zip).'}/',$zip)?null:$err.="Only numbers are allowed for ZIP<br/>";
preg_match('/^[A-Za-z ]{'.strlen($citmun).'}/',$citmun)?null:$err.="You entered an Invalid City or
Municipality<br/>";
if($err==""){
mysql_query("DELETE FROM rmciclients WHERE uname = '".$uname."'");
mysql_query("DELETE FROM rmcicontactinfo WHERE owner_code = '".$uname."'");
$sql="INSERT rmciclients VALUES ('$uname', '$name', '$addr', '$zip', '$citmun', curdate())";
PENDING_APPLICATION.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
<script type="text/javascript">
function confirmAppApprove(app_id){
var sure=confirm("Are you sure you want to Approve This applicationm?");
if(sure==false){
return;}
window.location="approve_app.php?app_id="+app_id;}
</script>
</head><body>
<center>
<div class="container">
<div class="header">
<?php
VIEW_JOB.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style media="all" type="text/css">@import "../css/all.css";</style>
</head>
<body>
<center>
<div class="container">
<div class="header">
<?php
include("common/header.php");
?>
</div>
<div class="top-menu">
<?php
include("common/top-menu.php");
?>
</div>
CSS
@charset "utf-8";
/* CSS Document */
.container,.top-menu,.side-panel,.contents,.footer{
border:solid;
border-color:#006;
}.container{
width:1300px;
height:700px;
font-family:calibri,verdana,arial;
}.container a{
text-decoration:none;
color:#003;
text-transform:uppercase;
CLIENT_REGISTER.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");
}
$err="";
require("inc/connect.php");
if(isset($_POST['uname'])){
$uname="";
$pword="";
$pword2="";
$name="";
$email="";
$_POST['uname']!=""?$uname=$_POST['uname']:$err.="username is invalid<br/>";
FAQ.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");
}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title>
<style media="all" type="text/css">@import "css/all.css";</style>
</head><body>
<center>
<div class="container">
<div class="header">
<?php
include("inc/header.php");?>
</div><div class="top-menu">
<?phpinclude("inc/top-menu.php");
?></div>
<div class="side-panel"><?php
LOGOUT.PHP
<?php
session_start();
require("inc/connect.php");
$sql="UPDATE rmcilogin SET status = 0 WHERE uname = '".$_SESSION['uname']."' ";
mysql_query($sql);
session_destroy();
header("location:login.php");
?>
TEMPLATE.PHP
CONTACTUS.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");
}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title>
<style media="all" type="text/css">@import "css/all.css";</style>
</head><body>
<center>
<div class="container">
<div class="header">
<?php
include("inc/header.php");
?></div>
<div class="top-menu">
<?php
include("inc/top-menu.php");
INDEX.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");
}
?>
REDIRECT.PHP
<?php
require("inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:login.php?err=login
failed");
$sql="select * from rmcilogin where uname='".$_SESSION['uname']."'";
$sql=mysql_query($sql);
$ulevel=mysql_fetch_object($sql);
$ulevel=$ulevel->ulevel;
switch($ulevel){
case 0: header("location:admin/index.php");
break;
case 1: header("location:client/index.php");
break;
case 2: header("location:applicant/index.php");
break;
}?>
VIEW_JOB.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
JOB_LISTING.PHP
REGISTER.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");}
$err="";
require("inc/connect.php");
if(isset($_POST['uname'])){
$uname="";
$pword="";
$pword2="";
$lname="";
$fname="";
$addr="";
$_POST['uname']!=""?$uname=$_POST['uname']:$err.="username is invalid<br/>";
$_POST['pword']!=""?$pword=$_POST['pword']:$err.="Password is invalid<br/>";
$_POST['pword2']!=""?$pword2=$_POST['pword2']:$err.="Confirmation of password is
invalid<br/>";
$_POST['lname']!=""?$lname=$_POST['lname']:$err.="lastname is required<br/>";
$_POST['fname']!=""?$fname=$_POST['fname']:$err.="Firstname is required<br/>";
$_POST['addr']!=""?$addr=$_POST['addr']:$err.="address is required<br/>";
$mname=$_POST['mname'];
$zip=$_POST['zip'];
$citmun=$_POST['citmun'];
$prov=$_POST['prov'];
$email=$_POST['email'];
$lline=$_POST['lline'];
$mphone=$_POST['mphone'];
$stat=$_POST['stat'];
$byear=$_POST['byear'];
$bmonth=$_POST['bmonth'];
$bday=$_POST['bday'];
$gender=$_POST['gender'];
$sql="select*from rmcilogin where uname='$uname'";
$sql=mysql_query($sql);
$sql=mysql_num_rows($sql);
ABOUT_US.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");
}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rational Merchandising Concepts Inc</title>
<style media="all" type="text/css">@import "css/all.css";</style>
</head><body>
<center>
<div class="container">
<div class="header">
<?php
include("inc/header.php");
?></div>
<div class="top-menu"><?php
include("inc/top-menu.php");
?></div><div class="side-panel">
<?php
include("inc/side-panel.php");?>
</div><div class="contents">
<?php
$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code =
'about-us'"))->value;
EDIT_RESUME.PHP
<?php
require("../inc/connect.php");
session_start();
$uname=isset($_SESSION['uname'])? $_SESSION['uname']:header("location:../login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.container,.top-menu,.side-panel,.contents,.footer{
border:solid;
border-color:#006;
}
.container{
width:1300px;
font-family:calibri,verdana,arial;}
.container a{
text-decoration:none;
color:#003;
text-transform:uppercase;
font-size:12px;}
.header{
height:100px;}
.side-panel{
width:200px;
height:600px;
float:right;}
.contents{
widows:800px;
text-align:left;}
.contents h1{
margin-left:20px;}
.footer{
height:20px;}
LOG-IN.PHP
<?php
session_start();
if(isset($_SESSION['uname'])){
header("location:redirect.php");}
$err="";
$err=isset($_GET['err'])?$_GET['err']:"";
if(isset($_POST['uname'])){
if($err==""){
require("inc/connect.php");
$sql="select * from rmcilogin where uname='{$_POST['uname']}' and
pword=md5('{$_POST['pword']}')";
$sql=mysql_query($sql);
$sql=mysql_num_rows($sql);
if($sql>0){
$_SESSION['uname']=$_POST['uname'];
$sql="update rmcilogin set status=1 where uname='{$_POST['uname']}'";
mysql_query($sql);
header("location:redirect.php");
}else{
$err="Login Failed, Please check username and password";}}}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
PERSONAL BACKGROUND:
EDUCATIONAL BACKGROUND
TRAINING/SEMINAR:
Character References:
OBJECTIVE
To seek for a position in a stable company that could offer good opportunities for growth and
development in the field of office and allied positions.
PERSONAL DATA
Nickname: Edz
Age: 23 years old
Birth Date: January 17, 1986
Birth Place: Carigara Leyte
Religion: Catholic
Civil Status: Single
Height: 5’3 ft.
Weight: 110 lbs.
EDUCATIONAL BACKGROUND
WORKING EXPERIENCE
French Baker
SM Mega Mall
Service Crew
August 2007 – January 2008
Home World Corporation
SM Mega Mall
Sales Lady
October 2005- March 2006
- Hardworking, patient, efficient, fast learner and willing to learn, well motivated,
know how to motivate people have initiative towards works.
CHARACTER REFERENCES