Upload
cyrene20
View
140
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Online Job Application System For RMCI
Citation preview
JOSE RIZAL UNIVERSITY80 Shaw Blvd., Mandaluyong City
Online Job Application System for Rational Merchandising Concepts Inc.
A Project Study Proposal
Presented tothe Faculty of the Computer Science
of the Technological StudiesJose Rizal University
In Partial Fulfillmentof 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.
Ms. Mengvi GatpandanFaculty Adviser
Business Process Analysis 1-1
05 March 2010
I. Document Format
A. Project Study Proposal Outline and Contents
Title Page
JOSE RIZAL UNIVERSITYTECHNOLOGICAL STUDIES
CS/IT DEPARTMENT
Project Study Guidelines
Prepared by:
Autentico, Marjorie G.Bernabat, Edelyn C.
Soriano, Mary Joan K.
Business Process Analysis 1-2
List of Tables
List of FiguresFigure 3.0 General Overview of “Spiral Model” 3-2
Table of Contents
1.0 Problem Definition 1-11.1 Company Profile 1-1
1.1.1 History 1-11.1.2 Vision 1-1
Mission 1-2 1.1.3 Organizational Chart 1-3 1.1.4 Location of the Study 1-4
1.2 Conceptual Framework of the Study 1-51.3 Statement of the Problem 1-6
1.3.1 General Problem 1-61.3.2 Specific Problems 1-6
1.4 Objectives of the Study 1-61.4.1 General Objectives 1-61.4.2 Specific Objectives 1-6
1.5 Significance of the Study 1-71.6 Scopes and Delimitation 1-71.7 Definition of Terms 1-8
1.7.1 Conceptual Terms 1-81.7.2 Operational Terms 1-9
2.0 Review of Related Studies 2-22.1 Foreign Studies
TSA Screener Online Job Application 2-1Online Job Search 2-2Zen and the Art Recruitment 2-3
2.2 Local StudiesTrabaho.com 2-4Online Application East West Center 2-5Job’s online .com.ph 2-6
2.3 Synthesis 2-73.0 Research Design and Methodologies 3-1
3.1 Research Design (Experimental Method) 3-1Research Paradigm 3-2
3.3 Instrumentation 3-43.4 Data Collection 3-5
4.0 Business Process Analysis 4-0
Business Process Analysis 1-3
4.1 Description of the current process 4-14.1.1 Context Level Diagram 4-14.1.2 Level 0 Diagram 4-2
4.2 Description of the Proposed System 4-44.2.1 Context Level Diagram 4-54.2.2 Level 0 Diagram 4-64.2.3 Child Diagrams 4-7
4.3 Feasibility of the Proposed System 4-84.3.1 Technical Feasibility 4-8 4.3.2 Operational Feasibility 4-94.3.3 Economical Feasibility 4-10
4.3.3.1 CBA 4-114.3.3.2 ROI 4-12
5.0 Summary, Conclusion and Implementation Plan 5-15.1 Trainee 5-15.1.1 Trainee Profile 5-15.1.2 Trainee Details 5-25.2 Installation 5-35.2.1 Conversion Method 5-35.3 Summary and Conclusion 5-45.3.1 Summary 5-45.4 Conclusion 5-4
Source Codes aaaScreen Shots/Screen Design 111Appendices xxxResume
Business Process Analysis 1-4
ACKNOWLEDGMENT
The proponents want to express their heartfelt gratitude to the following:
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
their HR Head for allowing them to do this study on their company.
To Ms. Mengvi Gatpandan, for her guidance and support as the proponents’
advisers in this subject matter; and
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
Business Process Analysis 1-5
1.0Problem Definition
1.1Company Profile
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
experience. They have the capabilities to execute any merchandising programs.
They endeavor to hire only the most qualified field personnel. Rational
Merchandising Concepts, Inc. is now on its 23rd year of providing solid
Merchandising and Promotional services to their clients.
1.1.1 History
Rational Merchandising Concepts, Inc., was founded in
September 1985 to meet the needs of manufacturers and retailers.
Rational Merchandising Concepts, In., was previously established as
“First Rate Marketing” before the corporate name was changed to Retail
Merchandising Concepts, Inc., in 2005
1.1.2 Vision
To maintain the leadership in the field of merchandising as a
company recognized for its continuous pursuit of excellence in the
implementation of programs designed to promote the interests of
manufacturers, retailers, the workforce and the various public it serves.
Business Process Analysis 1-6
Mission
To complement creative thinking with a pro-active
aggressive approach to merchandising program
implementation done by well – trained and capable
merchandising personnel.
To be the paragon of professionalism in the industry and
serve as the shining example of quality merchandising
service for practitioners and industry members to emulate
and follow.
To provide quality, cost-efficient merchandising service
that will spell the differences between successful
promotional programs and non-
Performing efforts.
Business Process Analysis 1-7
1.1.3 ORGANIZATIONAL CHART
Business Process Analysis 1-8
ROSARIO D.LIONG VP & Treasurer
ROSARIO D.LIONG Admin. /Acctg. Mngr.
CREDIT & COLLLECTION
VINCE PERLAS EDP/OIC
EDWIN ESTANISLAO HR Head
CREDIT & COLLLECTION
ENCODERS HR Asst.
BETH S. LACONICOOperations Mngr. II
MA. ANA P. TUANOAsst. General Mgr.
DANILO B. CARNAYPresident/Gen.Mngr
PROJECT SUPERVISOR
GMA
EFREN SALVADORAsst. Operations Mngr. JOAN G. REYES
Admin Asst.
Senior Supervisor
Supervisors
Back checkers Team Leaders
LUZON
CENTRAL SOUTH
Supervisors
Supervisors
NORTH WEST
Supervisors
Supervisors
CEBU BAC/ILO DAVAO CDO/ZAM
LC NOEL Branch Mngr
EV NOBELEZA Branch Mngr.
N.PONPERADA Branch Mngr
RG MERTOBranch Mngr.
Supervisors
Supervisors
Supervisors
Supervisors
EMMANUEL L. ENCISO Chairman of the board
Business Process Analysis 1-9
1.1.1 Location of the Study
The location of the study is on the HR Department where the
information of the applicants if filed. The proponents focus on the HR
Department because it is where the process of applicants is being
processed. And it is where the bulk of information of applicants is being
dumped.
Business Process Analysis 1-10
Business Process Analysis 1-11
Business Process Analysis 1-12
1.2Conceptual Framework of the Study
This section includes a table/diagram of the every input-process-output
Input Process Output
Business Process Analysis 1-13
Online-Job Application for
Rational Merchandising Concepts Inc.
- Time Consuming
- Unorganized Files
- Unsecured Data
- reduces time in the part of applicants and Human Resource Department.
- Through the proposed System, w/c is Online Job Application; every information of their applicants will be organized in their respective databases.
- Through the use of proposed System, the data will be secured according to their respective place.
1.3Statement of the Problem
1.3.1 General Problem
The general problem of the study intends to solve on how to streamline
the process of applicants.
1.3.2 Specific Problems
Time Consuming
Unorganized Files
Unsecured Data
1.4Objectives of the Study
1.4.1 General Objectives
The general objective of this study is to design and to develop an Online
Job Application System for Rational Merchandising Concepts Inc.
1.4.2 Specific Objectives
The specific objective of this study is:
To lessen the time consumed by the walk-in applicants.
To avoid unorganized files of the applicants.
To be sure that the data of the applicants are secured.
.
Business Process Analysis 1-14
1.5Significance of the Study
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
could apply easily through the Online Job Application System.
1.6Scope and Delimitations
Everything that is operated by the Human Resource Department is part of the
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.
Passing of requirements and orientation to the applicants who passed the
necessary exams, are not part of the proponents study of the system.
Business Process Analysis 1-15
1.7Definition of Terms
1.7.1 Conceptual Terms
1. Data – character group in specific patterns, to which meaning is assigned;
commonly used to designate the numbers, facts, concepts, or the like to be
processed by a program although any information input to a computer system
is considered data.
2. Database – a set of interrelated data records stored on a Direct Access
Storage Device in a data structure that is designed to allow multiple
applications to access the data to have minimal redundancy of data, and to
allow for growth and change.
3. Information – data has been processed by a computer and produced as
output in a form meaningful to a user.
4. Input – designated data and/or programs entered or to be entered into the
computer for processing.
5. Internet – the shared global computing network. A network based on
standards including Internet Protocol (IP), Simple Mail Transfer Protocol
(SMTP) and the Domain Name System (DNS), which enables global
communications between all connected computing devices. It provides the
platform for web services and the World Wide.
Business Process Analysis 1-16
6. Link – the hardware and/or software used to connect two or more devices
or systems.
7. Output – designating ay of the devices involved in printing or storing the
results of computer processing.
8. Process - to perform any of various operations in order to obtain specified
results.
9. Program – a logically arranged set of programming statements (or
instructions) defining the operations to be perform by a computer in order to
achieve the desired results.
10. System – an aggregate f hardware, software, and personnel organized to
perform a function or functions.
1.7.2 Operational Terms
1. Add–button used in adding something, or adding data in a database.
2. Close – button used to closed window in a database.
3. Delete – button used to delete a specific records in a database.
4. Edit – button used to edit a specific records in a database.
5. Submit – button used to submit new data in a database.
6. Exit – button used to exit the tab, or the window of the database.
7. Update – button used to update data in a database.
8. Back – button used to go back to the previous page.
Business Process Analysis 1-17
2.0Review of Related Studies
2.1Foreign Studies
TSA Screener Online Job Application
The Transportation Security Administration expects to hire hundreds or even
thousands of screeners this spring in order to cover shortfalls in several airports
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
understaffing at many airports, as many aren’t yet ready to process applicants.
Hampton, Michael, “TSA Screener Online Job Application” a CreativeCommon Attribution Non- Commercial No- Derivative Works 3.0, under United States License, April 20, 2006, http://www.homelandstupidity.us.,July 17, 2009
Business Process Analysis 1-18
ONLINE JOB SEARCH
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.
Kansas State University, “Online Job Search”., 2008
Business Process Analysis 1-19
Zen And The Art Of Recruitment
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
that is the essence of Zen.
Icarus, “Zen and the Art of Recruitment”, August 28, 2002, http://www.sarchinsight.net.July 17, 2009
Business Process Analysis 1-20
2.2Local Studies
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
corporate organizations to receive time-saving and cost-effective online recruitment
solutions, and to support government initiatives for improving the employment
situation in the country.
Now empowered with a roster of highly competitive services and a better
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
seekers can expect to be greatly empowerment in charting their career path.
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
in 1996, is an Internet Business Solutions Provider that focuses on three strategic
areas: website assessment/planning, design and development, and management.
Web Philippines, Inc., “Trabaho.com”. http://www.trabaho.com.,July 17, 2009
Business Process Analysis 1-21
Online Application East West Center
East West Placement Center, Inc. is duly authorized and licensed by POEA under
license no. NCC-03-0234 (renewed licensed no. POEA-574-LB-121302-R) to recruit, hire
and process manpower for its accredited foreign.
EWPCI's operation is computerized. In 1993, it had developed it's own proprietary
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
integrate our corporate interactive.
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.
Online Application East West Placement Center.,www.eastwest.com.ph/ewapplication.php., July 17, 2009
Business Process Analysis 1-22
Job's Online.com.ph
In a world in which the average consumer is exposed to thousands of media
messages a day, there is no room for guesswork. That is why companies are relying more
and more on targeted advertising campaigns.
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
career oriented jobseekers.
Jobsonline.com.ph is owned and managed by Systema Computer Solutions Corp.,http://www.jobsonline.com.ph , July 17, 2009
Business Process Analysis 1-23
2.3 Synthesis
TSA Screener Online Job Application vs. Online Job Application for RMCI
Similarities between TSA Screener Online Job Application to the proposed
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
going to the place where the agency are.
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
their clients, which is the RMCI’s client.
Online Job Search vs. Online Job Application for RMCI
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
help people find a suitable job for them.
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.
Business Process Analysis 1-24
Trabaho.com vs. Online Job Application System for RMCI
One of the similarities of Trabaho.com that is being related to the proposed
system, is that both sites aims to provide global Filipino with an accessible career and to
support government for improving the employment situation in the country.
Job’s Online.com.ph vs. Online Job Application System for RMCI
One similarities of Job’s Online.com.ph to the proposed system , is that both
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
job without consuming much time.
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
Application, is purely designed for the application of the applicants.
Business Process Analysis 1-25
Online Application East West Center vs. Online Job Application System for
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
client of the RMCI agency.
Business Process Analysis 1-26
3.0 Research Design and Methodologies
Research Design (Experimental Method)
The experimental method involves manipulating one variable to determine if
changes in one variable cause changes in another variable. This method relies on
controlled methods, random assignment and the manipulation of variables to test a
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
of the proponents system is design to manipulate the process of the company, to
make it easy for the applicants on how to apply and to control the number of people in
person in the company.
Business Process Analysis 1-27
Identifying Problems
Determining Information
Analyzing System Needs
Designing the Recommended
Developing and Documenting
Testing and Maintaining
Implementing and Evaluating
Figure 3.2.1 Spiral Model (System Develop Life Cycle)
The first step done in identifying the problem is to identify first a need for
view system. This includes determining whether the business problem or
opportunity exists, conducting a feasibility study to determine if the proposed
solution is cost effective, and developing a project plan.
3.0Developing Information Requirements
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
order to come up with the best solution.
2. Analyzing System Needs
To analyze the existing system of the company, the group constructed a
data flow diagram to further explain and analyze the logic and processes of the
current system were the group under study.
Designing the Recommended System
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
Business Process Analysis 1-28
for the system and helps detect problem before these error are built into the
final system. The idea is to create a system design with the needs of the users
Developing and Documenting Software
In this phase the design translated into the code. Computer programs
will be written using a conventional programming language. The group wants to
use a combination of PHP, Apache and MySQL as the front-end and back-end
programs for the new Logistics Management system to be proposed
considering that there are no existing programs used in Purchasing and
warehouse and distribution departments. This application to be developed shall
also be documented for future and further development.
Testing and Maintaining
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.
Implementing and Evaluating the System
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.
Business Process Analysis 1-29
4.0 Business Process Analysis
4.1 Description of the Current Process
4.1.1 Narrative of Context Level Diagram
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
which the qualified applicants will be designated.
4.1.2 Context Level Diagram
Business Process Analysis 1-30
ApplicantsMANUAL JOB APPLICATION SYSTEM
0.0
Human Resources Department
Applicants Information
Desired Job
Applicants List
Qualification of Applicants
4.1.3 Narrative of Level 0 Diagram Current System
Applicants will submit their resumes at the Rational Merchandising
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
assigning the qualified Applicants to their designated client.
Business Process Analysis 1-31
4.2 Description of the Proposed Process
4.2.1 Narrative Context Level Diagram
1. Client will create a Job to be forwarded to the administrator.
2. Administrator will post the Job Availability to the Online Job Application
System
3. Applicants will have to choose their desired job.
4. The system will generate the report to the administrator.
4.2.2 Context Level Diagram of Proposed System
Business Process Analysis 1-32
APPLICANTS
ONLINE JOB
APPLICATION
SYSTEM
0.0
Job Details
Applicants Information
GENERATE REPORT
CLIENT
ADMIN
Create Job Available
Job List Availability
Qualified Applicants
Available Applicants
4.2.1 Dataflow Diagram (Proposed System)
Business Process Analysis 1-33
4.2.3 Narrative (Proposed System) Level 0 Diagram
1. The client will create a job availability in the Online Job Application System, subject for
the administrators approval.
2. Administrator will approve the job created by their client and it is automatically be
posted in the Online Job Application System.
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.
7. After selecting a Job it will be submitted to administrator for the approval.
8. And if the application is approve, it will be pass on the client side for them to view all
the applicants that has been approve by the administrator.
Business Process Analysis 1-34
4.3 Feasibility of the Proposed System
4.3.1 Technical Feasibility
a. What computer-based support is in use prior to installation of the new system?
Answer:
None, because the Rational Merchandising Concepts Inc. is using Manual
System, where in the applicants will personally go to the RMCI agency to
apply for a certain job.
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
workshops or orientation before they will be designated to the RMCI’s client.
4.3.2 Operational Feasibility
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
are interested to be part of their team or company.
Business Process Analysis 1-35
4.4 Economical Feasibility
4.4.1 Alternative A: OUTSOURCE
DEVELOPMENT COST
Personnel No. Of Personnel Min. rate per Day No. of Days Work Total System Analysts 1 P1400.00 150ays P 210, 000.00Senior Programmer 1 P1400.00 150ays P 210, 000.00Database Designer 1 P2000.00 150ays P 200, 608.00
Total PersonnelCost: P 620, 000.00
New Hardware and Software Price
1 unit server without Operating System P85,000.00
5 units Personal Computer Celeron without Operating System P92,190.00
O.S Microsoft Windows Server 2003 P45,000.00
MYSQL Open Source
Apache web server Open Source
PHP Open Source
CNET 24 ports switch P1,890.00
LAN cable and Jack P2,524.00
Online Web Hosting P 700.00S
Total P 230, 992.00
Total Personnel Cost P 620, 000.00
Total Development Cost P 389, 008.00
Business Process Analysis 1-36
PROJECTED ANNUAL OPEARTING COST FOR ALTERNATIVE A:
Expenses Hours Used Rate per Hour Days Monthly Annual Cost Electric Bills 9 hrs. 10 26 P2,340.00 P28,080.00
Maintenance No. of Men Rate per Day Monthly AnnualTechnical Support (2x a week)
2 P500.00 P8,000.00 P96,000.00
Total Projected P119, 232.00
Alternative A: OUTSOURCE SERVER
Tangible Benefits For year 1Projected Annual Benefits
No. Of Men Personnel Employee Overtime Annual Salary for Overtime2 Data Encoder 31,200.001 IT 18,000.00
Total Personnel Savings P 49, 200.00
Office Supplies Amount
Total Supplies Savings P153,000
Total Personnel Savings P49,200
Total Tangible for Alternative A P202,200
Business Process Analysis 1-37
COST BENEFIT ANALYSIS FOR ALTERNATIVE A: ONLINE JOB APPLICATION SYSYTEM
Cash Flow Description Year 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 TotalDevelopment 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
Time Adjusted cost (adjusted Present value)(357,460.00) (101,894.04) (92,969.85) (84,964.25) (77,416.75) (70,752.92) (64,275.54)
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 system
0 202,200.00 232,530.00 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.43Time-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.050 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)
Net Present Value analysis
Cash Floe Description 0 1 2 3 4 5 6
Development Cost: (357,460)
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)
Total Present Value of Maintenance Cost: (849,733.71)
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.43Present 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
Lifetime ROI = 1,051,118.05– 849,733.71 X 100 = 24.00 / 24 % 849,733.71
Annual ROI = 24.00/ 6 = 0.1121 = 0.04 % or 40 %Net Present Value = 201,384.71
Business Process Analysis 1-38
Narrative of Cost Benefit Analysis:
Alternative A
Proposed alternative A is an Outsource. The proponents, proposed a new hardware
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
costs P202, 200.00
Business Process Analysis 1-39
Alternative B: IN HOUSE SERVER JOB
Personnel No. Of PersonnelMin. rate per Day
No. of Days Work Total
System Analysts 1 P1400.00 100 days P170,000.00Senior Programmer 1 P1400.00 100 days P170,000.00
Database Designer 1 P2000.00 100 days P231,608.00Total PersonnelCost: P571,608
DEVELOPMENT COST
New Hardware and Software Price
1 unit server without Operating System P85,000.00
5 units Personal Computer Celeron without Operating System P92,190.00
O.S Microsoft Windows Server 2003 P45,000.00
MYSQL Open Source
Apache web server Open Source
PHP Open Source
Symantec Norton Anti-various P4,188.00
CNET 24 ports switch P1,890.00
LAN cable and Jack P2,524.00
Total P230, 792.00
Total Personnel Cost P571, 608.00
Total Development Cost P340,816.00
PROJECTED ANNUAL OPERATING COST FOR ALTERNATIVE B:
Expenses Hours Used Rate per Hour Days Monthly Annual Cost Electric Bills 9 hrs. 10 26 P2,340.00 P28,080.00
Maintenance No. of Men Rate per Day Monthly AnnualTechnical Support (2x a week)
2 P500.00 P8,000.00 P96,000.00Total Projected P 124, 080.00
Business Process Analysis 1-40
Alternative B: INHOUSE SERVER
Tangible Benefits For year 1Projected Annual Benefits
No. Of Men Personnel Employee Overtime Annual Salary for Overtime1 IT P20, 000.00
Total Personnel Savings P 20, 000.00
Office Supplies Amount
Total Supplies Savings P100, 000.00
Total Personnel Savings P20, 000.00
Total Tangible for Alternative A P 120, 000.00
Business Process Analysis 1-41
Cash Flow Description Year 0 Year 1 Year 2 Year 3 Year 4 Year 5 Year 6 TotalDevelopment Cost: (399,258.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
Time Adjusted cost (adjusted Present value)(399,258.00) (101,894.04) (92,969.85) (84,964.25) (77,416.75) (70,752.92) (64,275.54)
Cumulative time adjusted cost over lifetime (399,258.00) (501,152.04) (594,122.25) (772,056.35) (849,473.10) (353,649.05) (406,696.04)
Benefits Derived from the operation of the new system
0 202,200.00 232,530.00 267,407.05 307,250.92 353,649.05 406,696.04
Discount Factors 15% 1.00 0.87 0.75 0.65 0.57 0.50 0.43Time-Adjusted Benefits(current of present value)
0 175,914 174,397.05 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 816,239.11 1,051,118.050 1 2 3 4 5 6
Cumulative lifetime time-adjusted costs + benefits
(399,258) (325,238.04) (243,810.75) (247,928.68) 150,058.51 43,986.91 116,616.94
Net Present Value analysis
Cash Floe Description 0 1 2 3 4 5 6
Development Cost: (399,258)
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.43Present 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.04Discount 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
Total Present value of lifetime benefits P1,051,118.05Net Present Value of this alternative P116,616.94
Business Process Analysis 1-42
Narrative of Cost Benefits Analysis Alternative B
Business Process Analysis 1-43
In Cost Benefit Analysis for the Alternative B, the proponents determined to have an In-
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
total benefit costs of P 202,200.00.
Business Process Analysis 1-44
4.1.1.1 ROI
Alternative A:
Lifetime ROI = 1,051,118.05– 849,733.71 X 100 = 24.00 / 24 % 849,733.71
Annual ROI = 24.00/ 6 = 0.1121 = 0.04 % or 40 %Net Present Value = 201,384.71
ALTERNATIVE B:
LIFETIME ROI = 1,051,616.94 – 984,501.56 984,501.56
= 6.75 / = 0.6 %
ANNUAL ROI = 6/6 = 1 %
Business Process Analysis 1-45
5.0 IMPLEMENTATION PLAN
5.1 TRAINEE
5.1.1 TRAINEE PROFILE
EDP HEAD – EDP must trained regarding the proposed system,
because the EDP head are the one who are involve regarding the networking and also the
EDP has more knowledge about systems.
HR HEAD – HR head must also be trained regarding the proposed
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
apply for a certain job.
5.1.2 TRAINEE DETAILS
The topics to be discussed in this particular section are for those who
will use the proposed system, and these are as follows:
Administration Side
- Includes the maintaining and updating of the
database about the information of applicants that
has been submitted by them through the
proposed system.
- Also includes monitoring of clients database and
updating the jobs being passed by the client that
the client is in need of.
Business Process Analysis 1-46
Client
- Log In
- Registration of new clients
- Posting of Job Availability to administrator
User/Applicants
- View Job Availability
- Register (for new applicants)
- Log In
- Select through Job Availability
- Fill Up Application Form
←
5.2 INSTALLATION
5.2.1 CONVERSION METHOD
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
Business Process Analysis 1-47
Method because after the implementation of the proposed system not all applicants would be
aware about the new system that the company is using, so that’s why we proposed to use
the Parallel Method before replacing their current system as a whole.
5.3Summary and Conclusion
5.3.1 Summary
The proposed study conducted to design an Online Job Application System
with its objectives.
In this study the existing system encounters most of its problem in their
process of hiring applicants. The reason why we proposed a system where in
the management will have an easier access on every detailed information of
their applicants.
5.4Conclusion
Computer is now becoming part of the daily activities in the organization.
The more common and obvious applicants are business application such as
keeping records of applicants/employee. They are used in design problem such
as making an outline report or setting projected schedule. The proposed
system revolves around computers and is highly recommended to the
employee of the company as the main user of the system.
Business Process Analysis 1-48
5.3 Maintain Plan GANNT CHART
ONLINE JOB APPLICATION SYSTEM FOR RATIONAL MERCHANDISING CONCEPTS INC.
Activities 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4Company HuntingPlanningData GatheringCase Study ProposalChapter I IntroductionChapter II Review of Related Study Chapter III Research Design and MethodologiesChapter IV Presentation, Analysis and Interpretation of Current and Proposed SystemChapter V Summary, Conclusion and RecommendationOral DefenseSubmission of Document
Business Process Analysis 1-49
JUNE JULY AUGUST SEPTEMBER OCTOBERWEEK WEEK WEEK WEEK WEEK
HOME
LOGIN \
REGISTER NEW USER
Business Process Analysis 1-50
SEARCH JOB
RESUME
Business Process Analysis 1-51
UPDATE RESUME
JOB LISTING
Business Process Analysis 1-52
ABOUT US
CONTACT US
Business Process Analysis 1-53
REPORTS (ADMIN)
APPLICANTS LIST (ADMIN)
Business Process Analysis 1-54
APPLICANTS DATABSE (ADMIN)
CLIENTS DATABASE (ADMIN)
Business Process Analysis 1-55
VIEW USER (ADMIN)
EDIT USER (ADMIN)
Business Process Analysis 1-56
JOBS (CLIENT)
VIEW JOB INFORMATION (CLIENT)
Business Process Analysis 1-57
CREATE NEW JOB (CLIENT)
PROFILE (CLIENT)
Business Process Analysis 1-58
EDIT PROFILE (CLIENT)
Business Process Analysis 1-59
ADMIN:
FOOTER.PHP
<?phprequire("../inc/connect.php");$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='footer'");$q=mysql_fetch_object($sql);echo $q->value;?>
HEADER.PHP
<?phprequire("../inc/connect.php");$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='header'");$q=mysql_fetch_object($sql)->value;echo $q;?>
SIDE-PANEL.PHP
<?phprequire("../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
<?phprequire("../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/
Business Process Analysis 1-60
1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>UntitledDocument</title><style media="all"type="text/css">@import"../css/all.css";</style></head><body><center><divclass="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>Settings</h1><center><span style="text-transform:uppercase; font-size:12px;"><!--<em>You can edit Contents from the system in this Page, a very simple content management system</em>--></span><br /><br /><a href="edit_content.php?c_code=about-us">Edit About Us</a> |<ahref="edit_content.php?c_code=contact-us">Edit Contact Us</a> |<a href="edit_content.php?c_code=client_hel">Edit Client Registration</a> |<a href="edit_content.php?c_code=faq">EditFAQ/a><br /><br /><ahref="edit_content.php?c_code=header">Edit Header</a> |< href="edit_content.php?c_code=side-panel">Edit Side-Panel</a> |<ahref="edit_content.php?c_code=footer">Edit Footer</a> |<ahref="edit_content.php?c_code=banner">Edit Banner</a></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
INDEX.PHP
<?phprequire("../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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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">
Business Process Analysis 1-61
Administrator<?phpinclude("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 rmcijobs WHERE status = 0 LIMIT $start ,$recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE status = 0"))-1;?><a href="index.php?start=<?php echo $first; ?>"> |< </a> <a href="index.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="index.php?start=<?php echo $next; ?>"> >> </a> <a href="index.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Code</th><th>Name</th><th>DateCreated</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['name'].'</td><td>'.$row['dateAdded'].'</td><td><ahref="view_job.php?job_code='.$row['job_code'].'">View</a><a href="#" onClick="confirmJobApprove(\''.$row['job_code'].'\')">Approve</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VIEW_APP.PHP
<?phprequire("../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>
Business Process Analysis 1-62
<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><tr><th>Province</th><td>".$row['prov']."</td></t> <tr><th>CivilStatus</th><td>".$row['cstat']."</td></tr><tr><th>Gender</th><td>".$row['gender']."</td></tr><tr><th>Birthday</th><td>".$row['bdate']."</td></tr></table>";}$msg.='<table style="margin-left:20px;" width=600><tr><td>Date Filed:<br />Place of Birth<br />Height<br />Weight<br />Religion<br />Name Of Spouse<br />Number of Children<br />Person to Notify<br />Relation<br />Address<br />Telephone No.<br />Name of Father<br />Occupation<br />Name of Mother<br />Occupation<br />SSS<br />TIN<br />PhilHealth No.<br />Residence Certificate No<br />Issued At<br />Issued On<br />Elementary<br />Year Graduated<br />HighSchool<br />Year Graduated<br />College<br />Course<br />Year Graduate<br />Work Experience Start Date<br />Work Experiebce End Date<br />Previous Company<br />Position<br />Outlet<br />Reference<br />Address<br />Position<br />Telephone</td><td>';$sql=mysql_query("SELECT * FROM rmciapplication where uname='".$q->app_uname."'");while($row=mysql_fetch_array($sql)){for($i=1;isset($row[$i]);$i++){$msg.=$row[$i]."<br />";}}$frm="[email protected]";echo $msg;?>
APPROVE_APP.PHP
<?phprequire("../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."'");
Business Process Analysis 1-63
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><tr><th>Province</th><td>".$row['prov']."</td></tr><tr><th>CivilStatus</th><td>".$row['cstat']."</td></tr><tr><th>Gender</th><td>".$row['gender']."</td></tr><tr><th>Birthday</th><td>".$row['bdate']."</td></tr></table>";}$msg.='<table style="margin-left:20px;" width=600><tr><td>Date Filed:<br />Place of Birth<br />Height<br />Weight<br />Religion<br />Name Of Spouse<br />Number of Children<br />Person to Notify<br />Relation<br />Address<br />Telephone No.<br />Name of Father<br />Occupation<br />Name of Mother<br />Occupation<br />SSS<br />TIN<br />PhilHealth No.<br />Residence Certificate No<br />Issued At<br />Issued On<br />Elementary<br />Year Graduated<br />HighSchool<br />Year Graduated<br />College<br />Course<br />Year Graduate<br />Work Experience Start Date<br />Work Experiebce End Date<br /Previous Company<br />Position<br />Outlet<br />Reference<br />Address<br />Position<br />Telephone</td><td>';$sql=mysql_query("SELECT * FROM rmciapplication where uname='".$q->app_uname."'");while($row=mysql_fetch_array($sql)){for($i=1;isset($row[$i]);$i++){$msg.=$row[$i]."<br />";}}$frm="[email protected]";mail($to,$sbj,$msg,$frm);mysql_query("UPDATE rmciapply SET status = 1 WHERE apply_id='".$_GET['apply_id']."'");header("location:index.php");?>
DELETE_USER.PHP
<?phprequire("../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");
Business Process Analysis 1-64
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 toApprove 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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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<?phpinclude("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 = 0 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmciapply WHERE status = 0"))-1;?><a href="pending_application.php?start=<?php echo $first; ?>"> |< </a> <a href="pending_application.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="pending_application.php?start=<?php echo $next;bb ?>"> >></a> <a href="pending_application.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Job Code</th><th>Applicant's User Name</th><th>Date Added</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['app_uname'].'</td><td>'.$row['addedDate'].'</td><td><a href="view_app.php?app_id='.$row['apply_id'].'">View</a><a href="#"onClick="confirmAppApprove(\''.$row['apply_id'].'\')">Approve</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
Business Process Analysis 1-65
VIEW_JOB.PHP
<?phprequire("../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"><?phpinclude("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
<?phprequire("../inc/connect.php");mysql_query("UPDATE rmcijobs SET status = 1 WHERE job_code='".$_GET['job_code']."'");header("location:index.php");?>
Business Process Analysis 1-66
EDIT_CONTENT.PHP
<?phprequire("../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"><divclass="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><?phpif(isset($_POST['contentEdit'])){mysql_query("UPDATE rmcicontents SETvalue='".$_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
<?phprequire("../inc/connect.php");
Business Process Analysis 1-67
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>Settings</h1></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VIEW_USER.PHP
<?phprequire("../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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>View User</h1><table><tr><td><?phpif(isset($_GET['uname'])){
Business Process Analysis 1-68
$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname) WHERE rmciusers.uname='".$_GET['uname']."'");while($row=mysql_fetch_array($sql)){echo "<table width='500'><tr><th colspan='2'>User Information</th></tr><tr><th>UserName</th><td>".$row['uname']."</td></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><tr><th>Province</th><td>".$row['prov']."</t></tr> <tr><th>CivilStatus</th><td>".$row['cstat']."</td></tr><tr><th>Gender</th><td>".$row['gender']."</td></tr><tr><th>Birthday</th><td>".$row['bdate']."</td></tr><tr><th>Registration Date</th><td>".$row['addedDate']."</td></tr></table>";}?;</td><td><table width="500"> <tr><th colspan="3">Contact Information</th></tr><tr><th>#</th><th>Type</th><th>Detail</th></tr><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$_GET['uname']."'");for($i=1;$row=mysql_fetch_array($sql);$i++){echo "<tr><td>".$i."</td><td>".$row['type']."</td><td>".$row['detail']."</td></tr>";}?></table</td></tr></table><?php}else{?><center><span style="color:#F00;"> No User Selected </span></center><?php}?><br /><br /> <a href="javascript: history.go(-1);">Back</a></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>CLIENTS.PHP
<?phprequire("../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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("common/top-menu.php");
Business Process Analysis 1-69
?></div><div class="side-panel">Administrator<?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Clients</h1><center><?php$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmciclients INNER JOIN rmcilogin ON (rmciclients.uname=rmcilogin.uname) WHERE rmcilogin.ulevel=1 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmciclients"))-1;?><a href="clients.php?start=<?php echo $first; ?>"> |< </a> <a href="clients.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="clients.php?start=<?php echo $next; ?>"> >> </a> <a href="clients.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>User Name</th><th>Name</th><th>Address</th><th>Date Registered</th><th>Action</th></tr><?phpfor($i=$start+1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['uname'].'</td><td>'.$row['name'].'</td><td>'.$row['addr'].'</td><td>'.$row['addedDate'].'</td><td><a href="#"onClick="confirmUserDelete(\''.$row['uname'].'\')">Del</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
EDIT_USER.PHP
<?phprequire("../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 />";preg_match('/^[A-Za-z0-9\#\-\_\.\, ]{'.strlen($addr).'}/',$addr)?null:$err.="Address is invalid<br />"; $zip=$_POST['zip'];
Business Process Analysis 1-70
preg_match('/^[09]{'.strlen($zip).'}/',$zip)?null:$err.="Only numbers are allowed for ZIP<br/>";$citmun=$_POST['citmun'];preg_match('/^[A-Za-z ]{'.strlen($citmun).'}/',$citmun)?null:$err.="You entered an Invalid City or Municipality<br/>";$prov=$_POST['prov'];preg_match('/^[A-Za-z ]{'.strlen($prov).'}/',$prov)?null:$err.="You entered an Invalid Province name<br/>";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/>";}if($err==""){$sql="DELETE FROM rmciusers WHERE uname='$uname'";mysql_query($sql);$sql="DELETE FROM rmcicontactinfo WHEREowner_code='$uname'";mysql_query($sql);$sql="INSERT rmciusers VALUES ('$uname', '$lname', '$fname', '$mname', '$addr', '$zip', '$citmun', '$prov', '$stat', '$gender', '$bdate', curdate())";mysql_query($sql);for($i=1;isset($_POST['email'.$i]);$i++){$sql="INSERT rmcicontactinfo VALUES('','$uname','email','".$_POST['email'.$i]."')";$_POST['email'.$i]!=""?mysql_query($sql):null;for($i=1;isset($_POST['lline'.$i]);$i++){$sql="INSERT rmcicontactinfo VALUES ('','$uname','lline','".$_POST['lline'.$i]."')";$_POST['lline'.$i]!=""?mysql_query($sql):null;}for($i=1;isset($_POST['mphone'.$i]);$i++){$sql="INSERT rmcicontactinfo VALUES ('','$uname','mphone','".$_POST['mphone'.$i]."')";$_POST['mphone'.$i]!=""?mysql_query($sql):null;}$err="<span style='color:blue'>User Information Succesfully Updated</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>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 User</h1><span style="color:#F00; margin-left:20px;"><?php echo $err; ?></span><?phpif(isset($_GET['uname'])||isset($_POST['uname'])){$uname=isset($_GET['uname'])?$_GET['uname']:$_POST['uname'];$lname="";$fname="";$mname="";$addr="";$zip="";$citmun="";$prov="";$stat="";$gender="";$bmon="";$bday="";$byear="";$r=mysql_fetch_object(mysql_query("SELECT * FROM rmciusers WHERE uname='".$uname."'"));$lname=$r->lname;$fname=$r->fname;$mname=$r->mname;$addr=$r->addr;$zip=$r->zip;$citmun=$r->citmun;$prov=$r->prov;
Business Process Analysis 1-71
$stat=$r->cstat;$gender=$r->gender;$bmon=substr($r->bdate,5,2);$bday=substr($r->bdate,8,2);$byear=substr($r->bdate,0,4);}?><form action="edit_user.php" method="post"><table cellpadding="0" cellspacing="0" class="listing form" style="text-align:left; margin-left:20px;"><tr><th colspan="4">Edit User Information</th></tr><tr><td>User Name</td><td colspan="3" style="text-align:left;"><input type="text" name="uname" readonly="readonly" value="<?php echo $uname; ?>"/></td></tr><tr> <td>Last Name*<span id="fnameCheck" class="err"></span><br/><input type="text" name="lname"onkeyup="validateThis('name',this.value,'fnameCheck')" value="<?php $tmp=isset($lname)?$lname:""; echo $tmp; ?>" /></td> <td>First Name*<span id="lnameCheck" class="err"></span><br/><input type="text" name="fname"onkeyup="validateThis('name',this.value,'lnameCheck')" value="<?php $tmp=isset($fname)?$fname:""; echo $tmp; ?>" /></td><td colspan="2">Middle Name <span id="mnameCheck" class="err"></span><br/><input type="text" name="mname"onkeyup="validateThis('mname',this.value,'mnameCheck')" value="<?php $tmp=isset($mname)?$mname:""; echo $tmp; ?>" /></td></tr><tr><td colspan="4">Address*<br/><input size="60" type="text" name="addr"onkeyup="validateThis('addr',this.value,'addrCheck')" value="<?php $tmp=isset($addr)?$addr:""; echo $tmp; ?>" /> <span id="addrCheck" class="err"></span></tr><tr><td colspan="4"><table cellpadding="0"cellspacing="0"><tr><td>ZIP <span id="zipCheck" class="err"></span><br/><input type="text" name="zip" size="4" maxlength="4" onkeyup="validateThis('numbers',this.value,'zipCheck')" value="<?php$tmp=isset($zip)?$zip:""; echo $tmp; ?>" /></td><td>City/Municipality <span id="citmunCheck"class="err"></span><br/><input type="text" name="citmun" onkeyup="validateThis('noSpCharWithNum',this.value,'citmunCheck')" value="<?php $tmp=isset($citmun)?$citmun:""; echo $tmp; ?>" /></td><td>Province <span id="provCheck"class="err"></span><br/><input type="text" name="prov"onkeyup="validateThis('noSpCharWithNum',this.value,'provCheck')" value="<?php $tmp=isset($prov)?$prov:""; echo $tmp; ?>" /></td></tr></table></td></tr><tr><td> Status<br/> <input type="radio" name="stat" value="Single" <?php $tmp=$stat=="Single"?"CHECKED":""; echo $tmp; ?> />Single<br/> <input type="radio" name="stat" value="Married" <?php $tmp=$stat=="Married"?"CHECKED":""; echo $tmp; ?> />Married<br/> <input type="radio" name="stat" value="wid" <?php $tmp=$stat=="wid"?"CHECKED":""; echo $tmp; ?> />Widow/er</td><td>Gender<br/><input type="radio" name="gender" value="male" <?php $tmp=$gender=="male"?"CHECKED":""; echo $tmp; ?>/>Male<input type="radio" name="gender" value="female"<?php $tmp=$gender=="female"?"CHECKED":""; echo $tmp; ?> />Female</td><td colspan="2">Birthday<br/><table cellpadding="0" cellspacing="0"><tr><td><select name="bmonth"><?php$mon=array("January","Febuary","March","April","May","June","July","August","September","October","November","December");$i=0;while($i<12){echo "<option value='".($i+1)."' ";$tmp=$bmon=="".$i+1||$bmon=="0".$i+1?"SELECTED":""; echo $tmp;echo " > ".$mon[$i]."</option>";$i++;}?></select></t><td><select name="bday"><?php$i=31;
Business Process Analysis 1-72
while($i>0){echo "<option ".$tmp=$bday==$i?" SELECTED":""; echo $tmp;echo " >".$i."</option>";$i--;}?></select></td><td><select name="byear"><?php$i=1930;while($i<gmdate("Y")){echo "<option ";$tmp=$byear==$i?" SELECTED":""; echo $tmp;echo " >".$i."</option>";$i++;}?></select> </td></tr></table</td></tr><tr><td colspan="4">Email<br /><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' AND type='email'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="email<?php echo $i; ?>" onblur="validateThis('email',this.value,'emailCheck')" value="<?php echo $row['detail']; ?>" /><span id="emailCheck" class="err"></span><?php}?></td></tr> <tr><td colspan="4">Landline<br /><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' AND type='lline'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="lline<?php echo $i; ?>" value="<?php echo $row['detail']; ?>" /><?php}?></td></tr> <tr><td colspan="4">Mobile Phone<br /><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' ANDtype='mphone'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="mphone<?php echo $i; ?>" value="<?php echo $row['detail']; ?>" /><?php}?> </td></tr><tr><td colspan="4" align="right"><input type="submit" value="Submit" name="editUser" /><input type="reset" value="Clear All" /></td> </tr></table></form><a href="javascript: history.go(<?php $tmp=isset($_POST['editUser'])?"-2":"-1"; echo $tmp; ?>);">Back</a></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></div></center></body></html>
USERS.PHP
<?phprequire("../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;}window.location="delete_user.php?uname="+uname;}</script></head><body><center><divclass="container"><div class="header"><?php
Business Process Analysis 1-73
include("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>Users</h1><center><?php$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmciusers INNER JOIN rmcilogin ON (rmciusers.uname=rmcilogin.uname) WHERE rmcilogin.ulevel=2 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmciusers"))-1;?><a href="users.php?start=<?php echo $first; ?>"> |< </a> <a href="users.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="users.php?start=<?php echo $next; ?>"> >> </a> <a href="users.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>User Name</th><th>Name</th><th>Date Registered</th><th>Action</th></tr><?phpfor($i=$start+1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['uname'].'</td><td>'.$row['lname'].', '.$row['fname'].' '.$row['mname'].'</td><td>'.$row['addedDate'].'</td><td><ahref="view_user.php?uname='.$row['uname'].'">View</a><a href="edit_user.php?uname='.$row['uname'].'">Edit</a><a href="#" onClick="confirmUserDelete(\''.$row['uname'].'\')">Del</a></td></tr>'; }?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
APPLICANTS:
FOOTER.PHP
<?phprequire("../inc/connect.php");$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='footer'");$q=mysql_fetch_object($sql);echo $q->value;?>
HEADER.PHP
<?phprequire("../inc/connect.php");$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='header'");$q=mysql_fetch_object($sql)->value;echo $q;
Business Process Analysis 1-74
?>
SIDE-PANEL.PHP
<?phprequire("../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
<?phprequire("../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><script type="text/javascript">function confirmSendApp(job_code){var sure=confirm("Are you sure you want to Send Applicaion?");if(sure==false){return;}window.location="send_app.php?job_code="+job_code;}</script></head><body><center><div class="container"><div class="header"><?php
Business Process Analysis 1-75
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>Job List</h1><?php$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmcijobs WHERE status = 0 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE status = 1"))-1;?><a href="job_listing.php?start=<?php echo $first; ?>"> |< </a> <a href="job_listing.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="job_listing.php?start=<?php echo $next; ?>"> >> </a> <a href="job_listing.php?start=<?php echo $last; ?>"> >| </a><?phpwhile($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><tr><th>Salary offered</th><tdcolspan=2>'.number_format($row['salStart'],2).' To'.number_format($row['salEnd'],2).'</td> </tr><tr><th>Posted By</th><td>'.$row['postedBy'].'</td><th width=200><ahref="view_job.php?job_code='.$row['job_code'].'"style="color:white;">View</a> <a href="#"onClick="confirmSendApp(\''.$row['job_code'].'\')" style="color:white;">Apply</a></th> </tr></table>';}?></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
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']."'"));$count==0?die('No Resume Yet, Please Create Resume int the My Resume Tab<br><a style="margin-left:20px;" href="javascript: history.go(-1);">Back</a>'):null;mysql_query("INSERT rmciapply VALUES('','".$_GET['job_code']."','".$_SESSION['uname']."',0,curdate())");die('Application Sent<br />Please wait for the Employeer\'s E-mail Responce <br><a style="margin-left:20px;" href="javascript: history.go(-1);">Back</a>
Business Process Analysis 1-76
')//header("location:job_listing.php");?>EDIT_RESUME.PHP
<?phprequire("../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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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");?></div><div class="contents"><br /><h1>Resume</h1><span style="margin-left:20px; color:#00F;"><strong>* IS REQUIRED</strong></span><?php$sql=mysql_query("SELECT * FROM rmciusers WHERE uname = '".$_SESSION['uname']."'");$q=mysql_fetch_object($sql);
Business Process Analysis 1-77
$lname=$q->lname; $fname=$q->fname; $mname=$q->mname; $addr=$q->addr; $prov=$q->prov; $bdate=$q->bdate; $gender=$q->gender; $cstat=$q->cstat;?><form method="POST" action="save_app.php" onsubmit="return validateForm()"><table style="margin-left:20px; width:800px;"><tr><td bgcolor="#FFFFFF">Date Filed:</td><td bgcolor="#FFFFFF"><input type='text' name='datef' size='40' value='<?php echo gmdate("Y-m-d"); ?>' readonly="readonly" /></td></tr><tr> <td bgcolor="#FFFFFF" >Last Name:</td><td bgcolor="#FFFFFF" ><input name="lastname" type="text" maxlength="50" value="<?php echo $lname; ?>readonly="readonly"><spanid="lnameerror"></span></td></tr><tr> <td bgcolor="#FFFFFF" >First Name:</td><td bgcolor="#FFFFFF" > <input name="firstname" type="text" maxlength="50"onkeyup="validateThis('name_jp',this.value,'fnameerror')" value="<?php echo $fname; ?>" readonly="readonly"><span id="fnameerror"></span></td></tr><tr> <td bgcolor="#FFFFFF" >Middle Name:</td><td bgcolor="#FFFFFF" ><input name="middlename" type="text" maxlength="30" value="<?php echo $mname; ?>" readonly="readonly" /><span id="mnameerror"></span></td> </tr><tr><td bgcolor="#FFFFFF">City Address:</td><td bgcolor="#FFFFFF"><input type='text' name='citya' size='40' value="<?php echo $addr; ?>" readonly="readonly" /></td></tr><tr><td bgcolor="#FFFFFF">Provincial Addess:</td><td bgcolor="#FFFFFF"><input type='text' name='provincial' size='40'value="<?php echo $prov; ?>" readonly="readonly" /></td></tr><tr> <td bgcolor="#FFFFFF" > Birthday:</td><td bgcolor="#FFFFFF" ><input type="text" name="bMon" value="<?php echo $bdate; ?>" readonly="readonly" /><br /> </td> </tr><tr><td>Place of Birth:</td><td><input type='text' name='placeb' size='40' value='' onkeyup="validateThis('addr2',this.value,'err1')"/><span id="err1"></span></td></tr><tr><td bgcolor="#FFFFFF">Age:</td><td bgcolor="#FFFFFF"><input type='text' name='age' size='40' value="<?php echo gmdate("Y")- substr($bdate,0,4);?>" readonly="readonly" /></td></tr><tr> <td bgcolor="#FFFFFF" >Gender:</td><td bgcolor="#FFFFFF" ><input type="text" name="gender" value="<?php echo $gender; ?>" readonly="readonly" /> </td></tr><tr><td>Height *:</td><td><input type='text' name='height' size='40' value='' onkeyup="validateThis('numbers',this.value,'err2')" onblur="this.value==''?
Business Process Analysis 1-78
document.getElementById('err2').innerHTML=errImg+'This is Required':null"/><span id="err2"></span></td></tr><tr><td>Weight *:</td><td><input type='text' name='weight' size='40' value=''onkeyup="validateThis('numbers',this.value,'err3')" onblur="this.value==''?document.getElementById('err3').innerHTML=errImg+'This is Required':null"/><span id="err3"></span></td></tr><tr><td>Religion:</td><td><input type='text' name='religion' size='40' value=''onkeyup="validateThis('fname',this.value,'err4')"/><span id="err4"></span></td></tr><tr><td bgcolor="#FFFFFF">Civil Status:</td><td bgcolor="#FFFFFF"><input type='text' name='civils' size='40'value="<?php echo $cstat; ?>" readonly="readonly" /></td></tr><tr><td>Name of Spouse:</td><td><input type='text' name='names' size='40' value=''onkeyup="validateThis('fname',this.value,'err5')"/><span id="err5"></span></td></tr><tr><td>No. of Children:</td><td><input type='text' name='noc' size='40' value=''onkeyup="validateThis('numbers',this.value,'err6')"/><span id="err6"></span></td></tr><tr><td>Person To Notify Incase Of Emergency*:</td><td><input type='text' name='ptn' size='40' value=''onkeyup="validateThis('fname',this.value,'err7')"onblur="this.value==''?document.getElementById('err7').innerHTML=errImg+'This is Required':null"/><span id="err7"></span></td></tr><tr><td>Relation:</td><td><input type='text' name='relation' size='40' value='' /></td></tr><tr><td>Address *:</td><td><input type='text' name='addrel' size='40' value=''onkeyup="validateThis('addr2',this.value,'err8')"onblur="this.value==''?document.getElementById('err8').innerHTML=errImg+'This is Required':null"/><span id="err8"></span></td></tr><tr><td>Tel.# *:</td><td><input type='text' name='tel' size='40' value=''onkeyup="validateThis('tel',this.value,'err9')"onblur="this.value==''?document.getElementById('err9').innerHTML=errImg+'This is Required':null"/><span id="err9"></span></td></tr><tr><td>Name of Father:</td><td><input type='text' name='namef' size='40' value=''onkeyup="validateThis('fname',this.value,'err10')"/><span id="err10"></span></td></tr><tr><td>Occupation:</td><td><input type='text' name='occupation1' size='40' value='' /></td></tr><tr><td>Name of Mother:</td><td><input type='text' name='namem' size='40' value=''onkeyup="validateThis('fname',this.value,'err11)"/><span id="err11"></span></td></tr><tr><td>Occupation:</td><td><input type='text' name='occupation2' size='40' value='' /></td></tr><tr>
Business Process Analysis 1-79
<td>Tel.# *:</td><td><input type='text' name='tel' size='40' value='' onkeyup="validateThis('tel',this.value,'err12')" onblur="this.value==''?document.getElementById('err12').innerHTML=errImg+'This is Required':null"/><span id="err12"></span></td></tr><tr><td>SSS No.:</td><td><input type='text' name='sss' size='40' value=''onkeyup="validateThis('ext1',this.value,'err13')"/><span id="err13"></span></td></tr><tr><td>T.I.N.:</td><td><input type='text' name='tin' size='40' value='' onkeyup="validateThis('ext1',this.value,'err14')"/><span id="err14"></span></td></tr><tr><td>PhilHealth:</td><td><input type='text' name='philh' size='40' value=''onkeyup="validateThis('ext1',this.value,'err15')"/><span id="err15"></span></td></tr><tr><td>Res. Cert. #:</td><td><input type='text' name='resc' size='40' value='' /></td></tr><tr><td bgcolor="#FFFFFF">Issued On:</td><td bgcolor="#FFFFFF"><input type='text' name='issuedon' size='40' value='' onkeyup="validateThis('ext1',this.value,'err16')"/><span id="err16"></span></td></tr><tr><td bgcolor="#FFFFFF">Issued At:</td><td bgcolor="#FFFFFF"><input type='text' name='issuedat' size='40' value='' onkeyup="validateThis('addr2',this.value,'err16b')"/><span id="err16b"></span></td></tr></table><center> <h1> EDUCATIONAL BACKGROUND</h1></center><table style="margin-left:20px; width:800px;"><tr><td>Elementary:</td><td><input type='text' name='elem' size='40' value='' onkeyup="validateThis('fname',this.value,'err16c')"/><span id="err16c"></span></td></tr><tr><td>Year Graduated:</td><td><input type='text' name='eygrad' size='40' value=''onkeyup="validateThis('numbers',this.value,'err16d')"/><span id="err16d"></span></td></tr><tr><td>High School:</td><td><input type='text' name='high' size='40'value='' onkeyup="validateThis('fname',this.value,'err17')"/><span id="err17"></span></td></tr><tr><td>Year Graduated:</td><td><input type='text' name='hygrad' size='40'value='' onkeyup="validateThis('numbers',this.value,'err18')"/><span id="err18"></span></td></tr><tr><td>College *:</td><td><input type='text' name='college' size='40'value='' onkeyup="validateThis('name',this.value,'err19" onblur="this.value==''?document.getElementById('err19').innerHTML=errImg+'This is Required':null"/><span id="err19"></span></td></tr><tr><td>Course *:</td>
Business Process Analysis 1-80
<td><input type='text' name='course' size='40' value=''onkeyup="validateThis('name',this.value,'err20')"onblur="this.value==''?document.getElementById('err20').innerHTML=errImg+'This is Required':null"/><span id="err20"></span></td></tr<tr><td>Year Graduated:</td><td><input type='text' name='cygrad' size='40'value='' onkeyup="validateThis('numbers',this.value,'err21')"/><span id="err21"></span></td></tr></table><center> <h1> EMPLOYMENT HISTORY</h1></center><table style="margin-left:20px; width:800px;"><tr><td>From:</td><td><input type='text' name='start'size='40'value='' onkeyup="validateThis('ext1',this.value,'err22')"/><span id="err22"></span></td></tr><tr><td>To:</td><td><input type='text' name='end' size='40'value='' onkeyup="validateThis('ext1',this.value,'err23')"/><span id="err23"></span></td></tr><tr><td>Company/ Agency:</td><td><input type='text' name='company' size='40'value='' /></td></tr><tr><td>Position:</td><td><input type='text' name='position' size='40'value='' /></td></tr><tr><td>Outlet:</td><td><input type='text' name='outlet' size='40'value='' onkeyup="validateThis('addr2',this.value,'err24')"/><span id="err24"></span></td></tr></table><center> <h1> REFERENCES</h1><br></center><table style="margin-left:20px; width:800px;"><tr><td>Name:</td><td><input type='text' name='name' size='40'value=''onkeyup="validateThis('fname',this.value,'err25')"/><spanid="err25"></span>/td></tr><tr><td>Address:</td><td><input type='text' name='add' size='40'value=''onkeyup="validateThis('addr',this.value,'err26')"/><spanid="err26"></span></td></tr><tr><td>Occupation/Position:</td><td><input type='text' name='occupation' size='40'value='' /></td></tr><tr><td>Tel.#:</td><td><input type='text' name='telf' size='40'value='' onkeyup="validateThis('tel',this.value,'err27')" onblur="this.value==''?document.getElementById('err27').innerHTML=errImg+'This is Required':null"/><spanid="err27"></span></td></tr></table></br></br><br /><input type = "submit" name = "save" value = "Submit"/><input type = "reset" name = "reset" value = "Reset"/><br><br><br /></form></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
MY_RESUME.PHP
<?phprequire("../inc/connect.php");session_start();
Business Process Analysis 1-81
$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></head><body><center><div class="container"><div class="header"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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");?></div><div class="contents"><br /><h1>Resume</h1><table style="margin-left:20px;"><tr><td>Date Filed:<br />Place of Birth<br />Height<br />Weight<br />Religion<br />Name Of Spouse<br />Number of Children<br />Person to Notify<br />Relation<br />Address<br />Telephone No.<br />Name of Father<br />Occupation<br />Name of Mother<br />Occupation<br />SSS<br />TIN<br />PhilHealth No.<br />Residence Certificate No<br />Issued At<br />Issued On<br />Elementary<br />Year Graduated<br />HighSchool<br />Year Graduated<br />College<br />Course<br />Year Graduate<br />Work Experience Start Date<br />Work Experiebce End Date<br />Previous Company<br />Position<br />Outlet<br />Reference<br />
Business Process Analysis 1-82
Address<br />Position<br />Telephone</td><td><?php$sql=mysql_query("SELECT * FROM rmciapplication whereuname='".$_SESSION['uname']."'");while($row=mysql_fetch_array($sql)){for($i=1;isset($row[$i]);$i++){echo $row[$i]."<br />";}}$tmp = mysql_num_rows($sql)==0?"<h2><span style='color:red;'>No Resume Yet</a></h2>":"";echo $tmp;?></td></tr></table><br /><br /></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VALIDATION.PHP
// JavaScript Documentvar 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=entry!=pword?errImg+"Password not match":"";return;break;case "name":if(entry==""){document.getElementById(field).innerHTML=errImg+'This is Required';return;}case "noSpChar":case "fname":var pat=new RegExp("[A-Za-z ]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "mname":
Business Process Analysis 1-83
var pat=new RegExp("[A-Za-z0-9 ]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "email":var pat=new RegExp("[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)+([a-z])"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid E-mail":""; return;break;case "numbers":var pat=new RegExp("[0-9]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "tel":var pat=new RegExp("[0-9 ]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "ext1":var pat=new RegExp("[0-9-]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "addr":if(entry.length==0){document.getElementById(field).innerHTML=errImg+"This is Required";return;}case "addr2":var pat=new RegExp("[A-Za-z0-9,.# \-]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "noSpCharWithNum":var pat=new RegExp("[A-Za-z0-9 ]{"+entry.length+"}"); var tst=pat.test(entry);document.getElementById(field).innerHTML=tst==false?errImg+"Invalid Entry":"";return;break;case "required":if(entry.length==0){document.getElementById(field).innerHTML=errImg+"This is Required";return;}break;}/*document.getElementById(field).innerHTML="";xmlhttp=createXmlHttp();var url="inc/validateThis.php?entry="+entry+"&type="+type;if(xmlhttp==null){return;}xmlhttp.onreadystatechange=stateChange;xmlhttp.open("GET",url);xmlhttp.send(null);*/}
SAVE_APP.PHP
Business Process Analysis 1-84
<?phprequire("../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","company","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;'>ResumeSAVED</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"><?phpinclude("common/top-menu.php");?><br /><br /><ul id="top-navigation"> <li><a href="my_resume.php">View</a></li> <li><a href="edit_resume.php">Edit</a></li></ul></div><div class="side-panel"><?phpinclude("common/side-panel.php");?></div>
Business Process Analysis 1-85
<div class="contents"><br /><h1>Save Application</h1><br><br /><div style="color:#F00; text-align:center;"><?php echo $err; ?></div></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VIEW_JOB.PHP
<?phprequire("../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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Job Information</h1><?php$sql=mysql_query("SELECT * FROM rmcijobs WHEREjob_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> <tr><th>Salary offered</th><td colspan=2>'.number_format($row['salStart'],2).' to '.number_format($row['salEnd'],2).'</td></tr><tr><th>Posted By</th><td colspan=2>'.$row['postedBy'].'</td>
Business Process Analysis 1-86
</tr><tr><th colspan=3 >Qualifications / Descriptions</th></tr><tr style="border:solid;"><td colspan=3>'.$row['job_desc'].'</td></tr><tr><th colspan=3 > <a href="#" onClick="confirmSendApp(\''.$row['job_code'].'\')" style="color:white;">Apply</a></th></tr></table>';}?><br /><br /><a style="margin-left:20px;" href="javascript: history.go(-1);">Back</a></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
INDEX.PHP
<?phprequire("../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"><?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"><?phpinclude("common/footer.php");?></div></div></center></body></html>
SEARCH.PHP
<?php
Business Process Analysis 1-87
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{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"><?phpinclude("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>Search Job</h1><form action="search.php" method="post"><table style="margin-left:20px;"><tr>
Business Process Analysis 1-88
<td>Search:</td><td><input type="text" name="q" /></td><td><input type="submit" value="Search" /></td></tr></table></form><?phpif(isset($_POST['q'])){$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=5;$sql=mysql_query("SELECT * FROM rmcijobs WHERE name LIKE '%".$_POST['q']."%' AND status = 0 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE status = 1"))-1;?><a href="job_listing.php?start=<?php echo $first; ?>"> |< </a> <a href="job_listing.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="job_listing.php?start=<?php echo $next; ?>"> >> </a> <a href="job_listing.php?start=<?php echo $last; ?>"> >| </a><?phpwhile($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><tr><th>Salary offered</th><td colspan=2>'.number_format($row['salStart'],2).' to '.number_format($row['salEnd'],2).'</td></tr><tr><th>Posted By</th><td>'.$row['postedBy'].'</td><th width=200><a href="view_job.php?job_code='.$row['job_code'].'" style="color:white;">View</a> <a href="apply_job.php?job_code='.$row['job_code'].'" style="color:white;">Apply</a></th></tr></table>';}}?></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
CLIENT:
FOOTER.PHP
<?phprequire("../inc/connect.php");
Business Process Analysis 1-89
$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='footer'");$q=mysql_fetch_object($sql);echo $q->value;?>
HEADER.PHP
<?phprequire("../inc/connect.php");$sql=mysql_query("SELECT * FROM rmcicontents WHERE content_code='header'");$q=mysql_fetch_object($sql)->value;echo $q;?>
SIDE-PANEL.PHP
<?phprequire("../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
<?phprequire("../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">
Business Process Analysis 1-90
<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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("common/top-menu.php");?><br /><br /><ul id="top-navigation"> <li><a href="my_jobs.php">Waiting</a></li><li><ahref="available_job.php">Available</a></li><li><a href="taken_job.php">Taken</a></li></ul></div><div class="side-panel"><?phpinclude("common/side-panel.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> <a href="available_job.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="available_job.php?start=<?php echo $next; ?>"> >> </a>
Business Process Analysis 1-91
<a href="available_job.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Code</th><th>Name</th><th>Date Created</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['name'].'</td><td>'.$row['dateAdded'].'</td><td><a href="view_job.php?job_code='.$row['job_code'].'">View</a><a href="edit_job.php?job_code='.$row['job_code'].'">Edit</a><a href="#" onClick="confirmJobDelete(\''.$row['job_code'].'\')">Del</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
INDEX.PHP
<?phprequire("../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"><?phpinclude("common/side-panel.php");
Business Process Analysis 1-92
?></div><div class="contents"><br /><h1>Home</h1><center></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
PROFILE.PHP
<?phprequire("../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");?><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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>My Profile</h1><?php
Business Process Analysis 1-93
$sql=mysql_query("SELECT * FROM rmciclients INNER JOIN rmcicontactinfo ON (rmciclients.uname=rmcicontactinfo.owner_code) WHERE rmciclients.uname = '".$_SESSION['uname']."'");while($row=mysql_fetch_array($sql)){echo '<table style="margin-left:20px;"><tr><th colspan="2">Profile Information</th></tr><tr> <th>Name</th><td>'.$row['name'].'</td></tr></tr><tr><th>Address</th><td>'.$row['addr'].'</td></tr></tr><tr> <th>Email</th><td>'.$row['detail'].'</td></tr></tr><tr><th>ZIP</th><td>'.$row['zip'].'</td></tr></tr><tr><th>City / Municipality</th><td>'.$row['citmun'].'</td></tr></tr><tr><th>Registered Date</th><td>'.$row['addedDate'].'</td></tr</tr></table>';}?><br /><br /><!-- <a href="javascript: history.go(-1);">Back</a>--></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
APPLICANTS.PHP
<?phprequire("../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;
Business Process Analysis 1-94
}</script></head>
<body><center><div class="container"><div class="header"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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<?phpinclude("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;?><a href="pending_application.php?start=<?php echo $first; ?>"> |< </a>
Business Process Analysis 1-95
<a href="pending_application.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="pending_application.php?start=<?php echo $next;bb ?>"> >> </a> <a href="pending_application.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Job Code</th><th>Applicant's User Name</th><th>Date Added</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['app_uname'].'</td><td>'.$row['addedDate'].'</td><td><a href="view_app.php?app_id='.$row['apply_id'].'">View</a></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
DELETE_JOB.PHP
<?phprequire("../inc/connect.php");mysql_query("DELETE FROM rmcijobs WHERE job_code='".$_GET['job_code']."'");header("location:my_jobs.php");?>
MY_JOBS.PHP
<?phprequire("../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){
Business Process Analysis 1-96
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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Jobs waiting to be Confirmed</h1><center><?php$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmcijobs WHERE postedBy = '".$_SESSION['uname']."' AND status = 0 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 = 0"))-1;?><a href="my_jobs.php?start=<?php echo $first; ?>"> |< </a> <a href="my_jobs.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="my_jobs.php?start=<?php echo $next; ?>"> >> </a> <a href="my_jobs.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Code</th><th>Name</th><th>Date Created</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['name'].'</td><td>'.$row['dateAdded'].'</td><td><a href="view_job.php?job_code='.$row['job_code'].'">View</a><a href="edit_job.php?
Business Process Analysis 1-97
job_code='.$row['job_code'].'">Edit</a><a href="#" onClick="confirmJobDelete(\''.$row['job_code'].'\')">Del</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
EDIT_JOB.PHP
<?phprequire("../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/>";
$rAge2>$rAge1?null:$err.="Invalid Age Range<br />";$sal2>=$sal1?null:$err.="Invalid Salary Range<br />";count(explode(".",$sal1))<=2?null:$err.="Invalid Salary range Start<br />";count(explode(".",$sal2))<=2?null:$err.="Invalid Salary range Ending<br />";if($err==""){$code=$_POST['job_code'];mysql_query("DELETE FROM rmcijobs WHERE job_code = '".$code."'");$sql="INSERT rmcijobs VALUES ('$code','$name','$rAge1','$rAge2','$sal1','$sal2','$jdesc',curdate(),0,'".$_SESSION['uname']."')";mysql_query($sql);$err="<span style='color:blue;'>Job Succesfully Updated<br />Administrator will review it again before<br />It will be posted to the Site</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" />
Business Process Analysis 1-98
<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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Edit Job</h1><center><?phpif(isset($_REQUEST['job_code'])){$job_code=$_REQUEST['job_code'];$sql=mysql_query("SELECT * FROM rmcijobs WHERE job_code = '$job_code' AND postedBy = '".$_SESSION['uname']."'");$name="";$rAge1="";$rAge2="";$sal1="";$sal2="";$jdesc="";while($row=mysql_fetch_array($sql)){$name=$row['name'];$rAge1=$row['ageStart'];$rAge2=$row['ageEnd'];$sal1=$row['salStart'];$sal2=$row['salEnd'];$jdesc=$row['job_desc'];}}else{$err="No Job Selected";}?><form action="edit_job.php" method="post"><input type="hidden" name="job_code" value="<?php echo $job_code; ?>" /><table><tr><th colspan="2">Edit Job Information</th></tr><tr> <td><span style="color:#F00"><?php echo $err; ?></span><br /></td></tr><tr><td>Title</td><td><input type="text" name="jname" value="<?php echo $name; ?>" /></td></tr><tr><td>Required Age:</td><td><input type="text" name="rAge1" maxlength="2" size="2" value="<?php echo $rAge1; ?>" /> to <input type="text" name="rAge2" maxlength="2" size="2" value="<?php echo $rAge2; ?>" /></td></tr> <tr><td>Salary:</td><td><input type="text" name="sal1" size="8" maxlength="8" value="<?php echo $sal1; ?>" /> to <input type="text" name="sal2" size="8" maxlength="8" value="<?php echo $sal2; ?>" /><em style="font-size:12px;"> Don't Include comma ( , ) for separator</em></td></tr><tr><td colspan="2">Description / Other Specification</td></tr><tr><td colspan="2"> <textarea name="jdesc" cols="50" rows="5"> <?php echo $jdesc; ?>
Business Process Analysis 1-99
</textarea> </td></tr><tr><td colspan="2"><input type="submit" name="addJob" value="Add" /><input type="reset" value="Clear" /></td></tr></table></form><a href="javascript: history.go(<?php $tmp=isset($_POST['addJob'])?"-2":"-1"; echo $tmp; ?>);">Back</a></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>TAKEN_JOB.PHP
<?phprequire("../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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Taken Jobs</h1><center><?php
Business Process Analysis 1-100
$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmcijobs WHERE postedBy = '".$_SESSION['uname']."' AND status = 2 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 = 2"))-1;?><a href="taken_job.php?start=<?php echo $first; ?>"> |< </a> <a href="taken_job.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="taken_job.php?start=<?php echo $next; ?>"> >> </a> <a href="taken_job.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Code</th><th>Name</th><th>Date Created</th><th>Action</th></tr><?phpfor($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr><td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['name'].'</td><td>'.$row['dateAdded'].'</td><td><a href="view_job.php?job_code='.$row['job_code'].'">View</a><a href="edit_job.php?job_code='.$row['job_code'].'">Edit</a><a href="#" onClick="confirmJobDelete(\''.$row['job_code'].'\')">Del</a></td></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
NEW_JOB.PHP
<?phprequire("../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.="Ending Salary range is Invalid<br />";
Business Process Analysis 1-101
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/>";$rAge2>$rAge1?null:$err.="Invalid Age Range<br />";$sal2>$sal1?null:$err.="Invalid Salary Range<br />";count(explode(".",$sal1))<=2?null:$err.="Invalid Salary range Start<br />";count(explode(".",$sal2))<=2?null:$err.="Invalid Salary range Ending<br />";if($err==""){$code="";for($i=0;$i<8;$i++){$code.=rand(0,9);}$sql="INSERT rmcijobs VALUES ('$code','$name','$rAge1','$rAge2','".$_POST['sal1']."','".$_POST['sal2']."','$jdesc',curdate(),0,'".$_SESSION['uname']."')";mysql_query($sql);$err="<span style='color:blue;'>Job Succesfully Added<br />Administrator will review it first before<br />It will be posted to the Site</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>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"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Create New Job</h1><center><form action="new_job.php" method="post"><table><tr>
Business Process Analysis 1-102
<th colspan="2">New Job Information</th></tr><tr><td><span style="color:#F00"><?php echo $err; ?></span><br /></td></tr><tr><td>Title</td><td><input type="text" name="jname" /></td></tr><tr><td>Required Age:</td><td><input type="text" name="rAge1" maxlength="2" size="2" /> to <input type="text" name="rAge2" maxlength="2" size="2" /></td></tr><tr> <td>Salary:</td><td><input type="text" name="sal1" size="8" maxlength="8" /> to <input type="text" name="sal2" size="8" maxlength="8" /><em style="font-size:12px;"> Don't Include comma ( , ) for separator</em></td></tr><tr><td colspan="2">Description / Other Specification</td></tr><tr> <td colspan="2"><textarea name="jdesc" cols="50" rows="5"></textarea></td></tr><tr><td colspan="2"><input type="submit" name="addJob" value="Add" /><input type="reset" value="Clear" /></td></tr></table></form></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VIEW_APP.PHP
<?phprequire("../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.="
Business Process Analysis 1-103
<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><tr><th>Province</th><td>".$row['prov']."</td></tr><tr><th>Civil Status</th><td>".$row['cstat']."</td></tr><tr><th>Gender</th><td>".$row['gender']."</td> </tr><tr><th>Birthday</th><td>".$row['bdate']."</td></tr></table>";}$msg.='<table style="margin-left:20px;" width=600><tr><td>Date Filed:<br />Place of Birth<br />Height<br />Weight<br />Religion<br />Name Of Spouse<br />Number of Children<br />Person to Notify<br />Relation<br />Address<br />Telephone No.<br />Name of Father<br />Occupation<br />Name of Mother<br />Occupation<br />SSS<br />TIN<br />PhilHealth No.<br />Residence Certificate No<br />Issued At<br />Issued On<br />Elementary<br />Year Graduated<br />HighSchool<br />Year Graduated<br />College<br />Course<br />Year Graduate<br />Work Experience Start Date<br />Work Experiebce End Date<br />
Business Process Analysis 1-104
Previous Company<br />Position<br />Outlet<br />Reference<br />Address<br />Position<br />Telephone</td><td>';$sql=mysql_query("SELECT * FROM rmciapplication where uname='".$q->app_uname."'");while($row=mysql_fetch_array($sql)){for($i=1;isset($row[$i]);$i++){$msg.=$row[$i]."<br />";}}$frm="[email protected]";echo $msg;?>
APPROVE_APP.PHP
<?phprequire("../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> <tr><th>Province</th><td>".$row['prov']."</td>
Business Process Analysis 1-105
</tr><tr> <th>Civil Status</th><td>".$row['cstat']."</td></tr><tr><th>Gender</th><td>".$row['gender']."</td></tr><tr><th>Birthday</th><td>".$row['bdate']."</td> </tr></table>";}$msg.='<table style="margin-left:20px;" width=600><tr><td>Date Filed:<br />Place of Birth<br />Height<br />Weight<br />Religion<br />Name Of Spouse<br />Number of Children<br />Person to Notify<br />Relation<br />Address<br />Telephone No.<br />Name of Father<br />Occupation<br />Name of Mother<br />Occupation<br />SSS<br />TIN<br />PhilHealth No.<br />Residence Certificate No<br />Issued At<br />Issued On<br />Elementary<br />Year Graduated<br />HighSchool<br />Year Graduated<br />College<br />Course<br />Year Graduate<br />Work Experience Start Date<br />Work Experiebce End Date<br />Previous Company<br />Position<br />Outlet<br />Reference<br />Address<br />Position<br />Telephone</td><td>';
Business Process Analysis 1-106
$sql=mysql_query("SELECT * FROM rmciapplication where uname='".$q->app_uname."'");while($row=mysql_fetch_array($sql)){for($i=1;isset($row[$i]);$i++){$msg.=$row[$i]."<br />";}}$frm="[email protected]";mail($to,$sbj,$msg,$frm);mysql_query("UPDATE rmciapply SET status = 1 WHERE apply_id='".$_GET['apply_id']."'");header("location:index.php");?>
EDIT_PROFILE.PHP
<?phprequire("../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())";mysql_query($sql);for($i=1;isset($_POST['email'.$i]);$i++){
Business Process Analysis 1-107
$sql="INSERT rmcicontactinfo VALUES ('','$uname','email','".$_POST['email'.$i]."')";$_POST['email'.$i]!=""?mysql_query($sql):null;}for($i=1;isset($_POST['lline'.$i]);$i++){$sql="INSERT rmcicontactinfo VALUES ('','$uname','lline','".$_POST['lline'.$i]."')";$_POST['lline'.$i]!=""?mysql_query($sql):null;for($i=1;isset($_POST['mphone'.$i]);$i++){$sql="INSERT rmcicontactinfo VALUES ('','$uname','mphone','".$_POST['mphone'.$i]."')";$_POST['mphone'.$i]!=""?mysql_query($sql):null;}$err="<span style='color:blue'>Client Information Succesfully Updated</span>";}}if(isset($_SESSION['uname'])){$uname=$_SESSION['uname'];$name=""; $addr=""; $zip=""; $citmun="";//die("SELECT * FROM rmciclients WHERE uname = '".$uname."'");$sql=mysql_query("SELECT * FROM rmciclients WHERE uname = '".$uname."'");while($row=mysql_fetch_array($sql)){$name=$row['name'];$addr=$row['addr'];$zip=$row['zip'];$citmun=$row['citmun'];}}?><!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");?><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"><?php
Business Process Analysis 1-108
include("common/side-panel.php");?></div><div class="contents" style="width:auto;"><br /><br /><h1>Edit My Profile</h1><span style="margin-left:20px; color:#F00;"><?php echo $err; ?></span><form method="post" action=""name="application"><table style="margin-left:40px;" <tr><th colspan="4">Edit Client Information</th></tr> <tr><td>User name*</td> <td colspan="3"><input name="uname" type="text" value="<?php echo $_SESSION['uname']; ?>" readonly="readonly" /></td> </tr><tr> <td colspan="4">Name*<br/><input size="60" type="text" name="cname" onkeyup="validateThis('addr',this.value,'addrCheck')" value="<?php echo $name; ?>" /> <span id="addrCheck" class="err"></span><br /></td></tr><tr><td colspan="4">Address*<br/><input size="60" type="text" name="addr" onkeyup="validateThis('addr',this.value,'addrCheck')" value="<?php echo $addr; ?>" /> <span id="addrCheck" class="err"></span><br /></td> </tr> <tr><td colspan="4"><table cellpadding="0" cellspacing="0"><tr><td>ZIP <span id="zipCheck" class="err"></span><br/><input type="text" name="zip" size="4" maxlength="4" onkeyup="validateThis('numbers',this.value,'zipCheck')" value="<?php echo $zip; ?>" /></td><td>City/Municipality <span id="citmunCheck" class="err"></span><br/><input type="text" name="citmun" onkeyup="validateThis('noSpCharWithNum',this.value,'citmunCheck')" value="<?php echo $citmun ?>" /></td></tr></table></td></tr><tr><td colspan="4">Email to forward Application</br ><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' AND type='email'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="email<?php echo $i; ?>" onblur="validateThis('email',this.value,'emailCheck')" value="<?php echo $row['detail']; ?>" /><span id="emailCheck" class="err"></span><?php}?></td> </tr><tr> <td colspan="4">Landline<br /><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' AND type='lline'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="lline<?php echo $i; ?>" value="<?php echo $row['detail']; ?>" /><?php}?></td></tr> <tr>
Business Process Analysis 1-109
<td colspan="4">Mobile Phone<br /><?php$sql=mysql_query("SELECT * FROM rmcicontactinfo WHERE owner_code='".$uname."' AND type='mphone'");for($i=1;$row=mysql_fetch_array($sql);$i++){?> <input type="text" name="mphone<?php echo $i; ?>" value="<?php echo $row['detail']; ?>" /><?php}?></td></tr><tr> <td colspan="4" align="right"><input type="submit" value="Submit" /><input type="reset" value="Clear All" /></td> </tr></table></form></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
PENDING_APPLICATION.PHP
<?phprequire("../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"><?phpinclude("common/header.php");?></div><div class="top-menu">
Business Process Analysis 1-110
<?phpinclude("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<?phpinclude("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 rmciapply.status = 1 and rmciclients.uname='".$_SESSION['uname']."') LIMIT and Select *from rmciapply inner join rmcijobs on (rmciapply.job_code=rmcijobs.job_code) inner join rmciclient on (rmcijobs.postedby=rmciclients.uname)$start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmciapply WHERE status = 0"))-1;?><a href="pending_application.php?start=<?php echo $first; ?>"> |< </a> <a href="pending_application.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="pending_application.php?start=<?php echo $next;bb ?>"> >> </a> <a href="pending_application.php?start=<?php echo $last; ?>"> >| </a><table width="80%" style="text-align:center;" border="1" cellpadding="0" cellspacing="0"><tr><th>#</th><th>Job Code</th><th>Applicant's User Name</th><th>Date Added</th><th>Action</th></tr><?phpdie ($sql=mysql_query("SELECT * FROM rmciapply WHERE rmciapply.status = 1 and rmciclients.uname='".$_SESSION['uname']."') LIMIT and Select *from rmciapply inner join rmcijobs on (rmciapply.job_code=rmcijobs.job_code) inner join rmciclient on (rmcijobs.postedby=rmciclients.uname)$start , $recperpage"));for($i=1;$row=mysql_fetch_array($sql);$i++){echo '<tr>
Business Process Analysis 1-111
<td>'.$i.'</td><td>'.$row['job_code'].'</td><td>'.$row['app_uname'].'</td><td>'.$row['addedDate'].'</td><td><a href="view_app.php?app_id='.$row['apply_id'].'">View</a></tr>';}?></table></center></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
VIEW_JOB.PHP
<?phprequire("../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"><?php
Business Process Analysis 1-112
include("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>
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;font-size:12px;}.header{height:100px;}
Business Process Analysis 1-113
.side-panel{width:200px;height:600px;float:right;}.contents{height:600px;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;}
CLIENT_REGISTER.PHP
<?phpsession_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/>";$_POST['pword']!=""?$pword=$_POST['pword']:$err.="Password is invalid<br/>";
Business Process Analysis 1-114
$_POST['pword2']!=""?$pword2=$_POST['pword2']:$err.="Confirmation of password is invalid<br/>";$_POST['addr']!=""?$addr=$_POST['addr']:$err.="address is required<br/>";$_POST['cname']!=""?$name=$_POST['cname']:$err.="Client Name is required<br/>";$_POST['email']!=""?$email=$_POST['email']:$err.="Client E-mail is required<br/>";$zip=$_POST['zip'];$citmun=$_POST['citmun'];$lline=$_POST['lline'];
$sql="select*from rmcilogin where uname='$uname'";$sql=mysql_query($sql);$sql=mysql_num_rows($sql);$sql>0?$err.="Username is already taken<br/>":null; preg_match('/^[A-Za-z0-9\-\_]{'.strlen($uname).'}/',$uname)?null:$err.="Only allow special characters like dash (-) or underscore ( _ ) for <strong>username</strong><br />";$pword!=$pword2?$err.="Password entered is not match<br/>":null;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/>";preg_match('/^[A-Za-z0-9\-\_\@.]{'.strlen($email).'}/',$email)?null:$err.="You entered an Invalid e-mail<br/>";preg_match('/^[0-9\- ]{'.strlen($lline).'}/',$lline)?null:$err.="You entered an Invalid land line number<br/>";if($err==""){$sql="INSERT rmcilogin VALUES ('$uname', MD5('$pword'), '1', '0', curdate())";mysql_query($sql);$sql="INSERT rmciclients VALUES ('$uname', '$name', '$addr', '$zip', '$citmun', curdate())";mysql_query($sql);if($email!=""){$sql="INSERT rmcicontactinfo VALUES ('','$uname','email','$email')";mysql_query($sql);}if($lline!=""){$sql="INSERT rmcicontactinfo VALUES ('','$uname','lline','$lline')";mysql_query($sql);}if($mphone!=""){$sql="INSERT crmcontactinfo VALUES ('','$uname','mphone','$mphone')";mysql_query($sql);}header("location:login.php?err=Registration Succesful");}}?><!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">
Business Process Analysis 1-115
<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("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents" style="width:auto;"><br /><br /><table><tr><td><span style="margin-left:20px; color:#F00;"><?php echo $err; ?></span><form method="post" action="" name="application"><table style="margin-left:40px;"><tr><th colspan="4">Register new Client</th </tr><tr><td>User name*</td> <td colspan="3"><input name="uname" type="text" /></td> </tr> <tr><td>Password*</td><td colspan="3"><input name="pword" type="password" onkeyup="validateThis('pword',this.value,'pwordCheck')" onblur="validateThis('pword',this.value,'pwordCheck')" id="pword" /> <span id="pwordCheck" class="err"></span></td></tr><tr><td>Confirm*</td><td colspan="3"><input type="password" name="pword2" onblur="validateThis('pword2',this.value,'pword2Check')" /> <span id="pword2Check" class="err"></span></td></tr><tr> <td colspan="4">Name*<br/><input size="60" type="text" name="cname" onkeyup="validateThis('addr',this.value,'addrCheck')" /> <span id="addrCheck" class="err"></span><br /></td></tr><tr> <td colspan="4">Address*<br/><input size="60" type="text" name="addr" onkeyup="validateThis('addr',this.value,'addrCheck')" /> <span id="addrCheck" class="err"></span><br /></td></tr> <tr><td colspan="4"><table cellpadding="0" cellspacing="0"><tr><td>ZIP <span id="zipCheck" class="err"></span><br/><input type="text" name="zip" size="4" maxlength="4" onkeyup="validateThis('numbers',this.value,'zipCheck')" /></td><td>
Business Process Analysis 1-116
City/Municipality <span id="citmunCheck" class="err"></span><br/><input type="text" name="citmun" onkeyup="validateThis('noSpCharWithNum',this.value,'citmunCheck')" /></td></tr></table></td></tr><tr><td>Email to forward Application</td><td colspan="3"><input type="text" name="email" onblur="validateThis('email',this.value,'emailCheck')" /> <span id="emailCheck" class="err"></span></td> </tr> <tr><td>Landline</td> <td colspan="3"><input type="text" name="lline" /></td></tr> <tr><td>Mobile Phone</td> <td colspan="3"><input type="text" name="mphone" /></td></tr> <tr><td colspan="4" align="right"> <input type="submit" value="Submit" /><input type="reset" value="Clear All" /></td> </tr></table></form></td><td><?phpecho mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code ='client_hel'"))->value;?></td></tr></table></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
FAQ.PHP
<?phpsession_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"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?php
Business Process Analysis 1-117
include("inc/side-panel.php");?></div><div class="contents"><?php$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code = 'faq'"))->value;echo $value;?></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
LOGOUT.PHP
<?phpsession_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
<!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;}.container{width:1300px;height:700px;}.header{height:100px;}.side-panel{width:200px;height:600px;float:right;}
Business Process Analysis 1-118
.contents{height:600px;widows:800px;}.footer{height:20px;}</style></head><body><center><div class="container"><div class="header">header</div><div class="top-menu">top</div><div class="side-panel">side</div><div class="contents">contents</div><div class="footer">footer</div></div></center></body></html>
CONTACTUS.PHP
<?phpsession_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"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");
Business Process Analysis 1-119
?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><?php$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code = 'contact-us'"))->value;echo $value;?></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
INDEX.PHP
<?phpsession_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"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?php
Business Process Analysis 1-120
include("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><?php$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code = 'banner'"))->value;echo $value;?></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
REDIRECT.PHP
<?phprequire("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
<?phpsession_start();if(isset($_SESSION['uname'])){
Business Process Analysis 1-121
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>Untitled Document</title><style media="all" type="text/css">@import "css/all.css";</style></head><body><center><div class="container"><div class="header"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/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><tr> <th>Salary offered</th><td colspan=2>'.number_format($row['salStart'],2).' to '.number_format($row['salEnd'],2).'</td></tr><tr><th>Posted By</th><td colspan=2>'.$row['postedBy'].'</td></tr><tr><th colspan=3 >Qualifications / Descriptions</th></tr><tr style="border:solid;"><td colspan=3>'.$row['job_desc'].'</td></tr><tr><th colspan=3 > </th></tr> </table>';}?><br /><br /><a style="margin-left:20px;" href="javascript: history.go(-1);">Back</a></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
JOB_LISTING.PHP
Business Process Analysis 1-122
<?phpsession_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"><htmlxmlns="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>.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{
Business Process Analysis 1-123
background-color:#006;color:#FFF;text-align:center;}</style></head><body><center><div class="container"><div class="header"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><br /><h1>Job List</h1><?php$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=10;$sql=mysql_query("SELECT * FROM rmcijobs WHERE status = 0 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE status = 1"))-1;?><a href="job_listing.php?start=<?php echo $first; ?>"> |< </a> <a href="job_listing.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="job_listing.php?start=<?php echo $next; ?>"> >> </a> <a href="job_listing.php?start=<?php echo $last; ?>"> >| </a><?phpwhile($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><tr> <th>Salary offered</th><td colspan=2>'.number_format($row['salStart'],2).' to '.number_format($row['salEnd'],2).'</td></tr><tr><th>Posted By</th><td>'.$row['postedBy'].'</td><th width=200><a href="view_job.php?job_code='.$row['job_code'].'" style="color:white;">View</a></th></tr></table>';}?></div><div class="footer"><?php
Business Process Analysis 1-124
include("inc/footer.php");?></div></div></center></body></html>
REGISTER.PHP
<?phpsession_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);
Business Process Analysis 1-125
$sql>0?$err.="Username is already taken<br/>":null; preg_match('/^[A-Za-z0-9\-\_]{'.strlen($uname).'}/',$uname)?null:$err.="Only allow special characters like dash (-) or underscore ( _ ) for <strong>username</strong><br />";$pword!=$pword2?$err.="Password entered is not match<br/>":null;preg_match('/^[A-Za-z ]{'.strlen($lname).'}/',$lname)?null:$err.= "You have entered special or numeric character for last name<br/>";preg_match('/^[A-Za-z0-9 ]{'.strlen($fname).'}/',$fname)?null:$err.="You have entered special or numeric character for first name<br/>";preg_match('/^[A-Za-z ]{'.strlen($mname).'}/',$mname)?null:$err.="You have entered special or numeric character for middle 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/>";preg_match('/^[A-Za-z ]{'.strlen($prov).'}/',$prov)?null:$err.="You entered an Invalid Province name<br/>";preg_match('/^[A-Za-z0-9\-\_\@.]{'.strlen($email).'}/',$email)?null:$err.="You entered an Invalid e-mail<br/>";preg_match('/^[0-9\- ]{'.strlen($lline).'}/',$lline)?null:$err.="You entered an Invalid land line number<br/>";if($err==""){$sql="INSERT rmcilogin VALUES ('$uname', MD5('$pword'), '2', '0', curdate())";mysql_query($sql);$sql="INSERT rmciusers VALUES ('$uname', '$lname', '$fname', '$mname', '$addr', '$zip', '$citmun', '$prov', '$stat', '$gender', '$byear-$bmonth-$bday', curdate())";mysql_query($sql);if($email!=""){$sql="INSERT rmcicontactinfo VALUES ('','$uname','email','$email')";mysql_query($sql);}if($lline!=""){$sql="INSERT rmcicontactinfo VALUES ('','$uname','lline','$lline')";mysql_query($sql);}if($mphone!=""){$sql="INSERT crmcontactinfo VALUES ('','$uname','mphone','$mphone')";mysql_query($sql);}header("location:login.php?err=Registration Succesful");}}?><!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>
Business Process Analysis 1-126
<center><div class="container"><div class="header"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents" style="width:auto;"><br /><br /> <form method="post" action="" name="application"><table style="margin-left:40px;"> <tr> <th colspan="4">Register new Applicant</th> </tr> <tr> <td>User name*</td><td colspan="3"><input name="uname" type="text" /></td></tr> <tr><td>Password*</td><td colspan="3"><input name="pword" type="password" onkeyup="validateThis('pword',this.value,'pwordCheck')" onblur="validateThis('pword',this.value,'pwordCheck')" id="pword" /> <span id="pwordCheck" class="err"></span></td> </tr> <tr><td>Confirm*</td><td colspan="3"><input type="password" name="pword2" onblur="validateThis('pword2',this.value,'pword2Check')" /> <span id="pword2Check" class="err"></span></td> </tr> <tr><td>Last Name*<span id="fnameCheck" class="err"></span><br/><input type="text" name="lname" onkeyup="validateThis('name',this.value,'fnameCheck')" /></td> <td>First Name*<span id="lnameCheck" class="err"></span><br/><input type="text" name="fname" onkeyup="validateThis('name',this.value,'lnameCheck')" /></td> <td colspan="2">Middle Name <span id="mnameCheck" class="err"></span><br/><input type="text" name="mname" onkeyup="validateThis('noSpChar',this.value,'mnameCheck')" /></td></tr><tr><td colspan="4">Address*<br/><input size="60" type="text" name="addr" onkeyup="validateThis('addr',this.value,'addrCheck')" /> <span id="addrCheck" class="err"></span><br /> </tr> <tr><td colspan="4"> <table cellpadding="0" cellspacing="0"><tr><td>ZIP <span id="zipCheck" class="err"></span><br/><input type="text" name="zip" size="4" maxlength="4" onkeyup="validateThis('numbers',this.value,'zipCheck')" /></td><td>
Business Process Analysis 1-127
City/Municipality <span id="citmunCheck" class="err"></span><br/><input type="text" name="citmun" onkeyup="validateThis('noSpCharWithNum',this.value,'citmunCheck')" /></td><td> Province <span id="provCheck" class="err"></span><br/><input type="text" name="prov" onkeyup="validateThis('noSpCharWithNum',this.value,'provCheck')" /></td></tr></table> </td></tr> <tr><td> Status<br/> <input type="radio" name="stat" value="Single" checked />Single<br/> <input type="radio" name="stat" value="Married" />Married<br/> <input type="radio" name="stat" value="wid" />Widow/er</td> <td>Gender<br/><input type="radio" name="gender" value="male" checked />Male<input type="radio" name="gender" value="female" />Female</td><td colspan="2">Birthday<br/><table cellpadding="0" cellspacing="0"> <tr><td> <select name="bmonth"> <option value="01">January</option><option value="02">Febuary</option><option value="03">March</option><option value="04">April</option><option value="05">May</option><option value="06">June</option><option value="07">July</option><option value="08">August</option><option value="09">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select></td><td><select name="bday"><?php$i=31;while($i>0){echo "<option>".$i."</option>";$i--;}?> </select></td><td><select name="byear"><?php$i=1930;while($i<gmdate("Y")){echo "<option>".$i."</option>";$i++;}?></select></td></tr></table></td></tr><tr><td>Email</td>
Business Process Analysis 1-128
<td colspan="3"><input type="text" name="email" onblur="validateThis('email',this.value,'emailCheck')" /> <span id="emailCheck" class="err"></span></td></tr><tr><td>Landline</td><td colspan="3"><input type="text"name="lline" /></td></tr><tr><td>Mobile Phone</td><td colspan="3"><input type="text" name="mphone" /></td></tr><tr><td colspan="4" align="right"><input type="submit" value="Submit" /><input type="reset" value="Clear All" /></td></tr></table></form></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
ABOUT_US.PHP
<?phpsession_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"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><?php$value=mysql_fetch_object(mysql_query("SELECT * FROM rmcicontents WHERE content_code = 'about-us'"))->value;
Business Process Analysis 1-129
echo $value;?></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
EDIT_RESUME.PHP
<?phprequire("../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;}
Business Process Analysis 1-130
#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"><?phpinclude("common/header.php");?></div><div class="top-menu"><?phpinclude("common/top-menu.php");?><br /><br /><ul id="top-navigation"><li><a href="my_resume.php">View</a></li><li><a href="edit_resume.php">Edit</a></li></ul></div><div class="side-panel"><?phpinclude("common/side-panel.php");?></div><div class="contents"><br /><h1>Resume</h1><?php$sql=mysql_query("SELECT * FROM rmciusers WHERE uname = '".$_SESSION['uname']."'");$q=mysql_fetch_object($sql);
Business Process Analysis 1-131
$lname=$q->lname; $fname=$q->fname; $mname=$q->mname; $addr=$q->addr; $prov=$q->prov; $bdate=$q->bdate; $gender=$q->gender; $cstat=$q->cstat;?><table><form method="POST" action="save_app.php"><tr><td bgcolor="#FFFFFF">Date Filed:</td><td bgcolor="#FFFFFF"><input type='text' name='datef' size='40' value='<?php echo gmdate("F d, Y"); ?>' readonly="readonly"/></td></tr><tr> <td bgcolor="#FFFFFF" >Last Name:</td><td bgcolor="#FFFFFF" ><input name="lastname" type="text" maxlength="50" value="<?php echo $lname; ?>" readonly="readonly"><span id="lnameerror"></span></td></tr><tr> <td bgcolor="#FFFFFF" >First Name:</td><td bgcolor="#FFFFFF" ><input name="firstname" type="text" maxlength="50" onkeyup="validateThis('name_jp',this.value,'fnmeerror')" value="<?php echo $fname; ?>" readonly="readonly"><span id="fnameerror"></span></td></tr><tr> <td bgcolor="#FFFFFF" >Middle Name:</td><td bgcolor="#FFFFFF" ><input name="middlename" type="text" maxlength="30" value="<?php echo $mname; ?>" readonly="readonly" /><span id="mnameerror"></span></td></tr><tr><td bgcolor="#FFFFFF">City Address:</td><td bgcolor="#FFFFFF"><input type='text' name='citya' size='40' value="<?php echo $addr; ?>" readonly="readonly" /></td></tr><tr><td bgcolor="#FFFFFF">Provincial Addess:</td><td bgcolor="#FFFFFF"><input type='text' name='provincial' size='40'value="<?php echo $prov; ?>" readonly="readonly" /></td></tr><tr> <td bgcolor="#FFFFFF" > Birthday:</td><td bgcolor="#FFFFFF" ><input type="text" name="bMon" value="<?php echo $bdate; ?>" readonly="readonly" /><br /> </td></tr><tr><td>Place of Birth:</td><td><input type='text' name='placeb' size='40' value=''/></td></tr><tr><td bgcolor="#FFFFFF">Age:</td><td bgcolor="#FFFFFF"><input type='text' name='age' size='40' value="<?php echo gmdate("Y")- substr($bdate,0,4);?>" readonly="readonly" /></td></tr><tr>
Business Process Analysis 1-132
<td bgcolor="#FFFFFF" >Gender:</td> <td bgcolor="#FFFFFF" ><input type="text" name="gender" value="<?php echo $gender; ?>" readonly="readonly" /></td></tr><tr><td>Height:</td><td><input type='text' name='height' size='40' value='' /></td></tr><tr><td>Weight:</td><td><input type='text' name='weight' size='40' value='' /></td></tr><tr><td>Religion:</td><td><input type='text' name='religion' size='40' value='' /></td></tr><tr><td bgcolor="#FFFFFF">Civil Status:</td><td bgcolor="#FFFFFF"><input type='text' name='civils' size='40'value="<?php echo $cstat; ?>" readonly="readonly" /></td></tr><tr><td>Name of Spouse:</td><td><input type='text' name='names' size='40' value='' /></td></tr><tr><td>No. of Children:</td><td><input type='text' name='noc' size='40' value='' /></td></tr><tr><td>Person To Notify Incase Of Emergency:</td><td><input type='text' name='ptn' size='40' value='' /></td></tr><tr><td>Relation:</td><td><input type='text' name='relation' size='40' value='' /></td></tr><tr><td>Address:</td><td><input type='text' name='add' size='40' value='' /></td></tr><tr><td>Tel.#:</td><td><input type='text' name='tel' size='40' value='' /></td></tr><tr><td>Name of Father:</td><td><input type='text' name='namef' size='40' value='' /></td></tr><tr><td>Occupationu:</td><td><input type='text' name='occupation1' size='40' value='' /></td></tr><tr><td>Name of Mother:</td><td><input type='text' name='namem' size='40' value='' /></td></tr><tr>
Business Process Analysis 1-133
<td>Occupation:</td><td><input type='text' name='occupation2' size='40' value='' /></td></tr><tr><td>Tel.#:</td><td><input type='text' name='tel' size='40' value='' /></td></tr><tr><td>SSS No.:</td><td><input type='text' name='sss' size='40' value='' /></td></tr><tr><td>T.I.N.:</td><td><input type='text' name='tin' size='40' value='' /></td></tr><tr><td>PhilHealth:</td><td><input type='text' name='philh' size='40' value='' /></td></tr><tr><td>Res. Cert. #:</td><td><input type='text' name='resc' size='40' value='' /></td></tr><tr><td bgcolor="#FFFFFF">Issued At:</td><td bgcolor="#FFFFFF"><input type='text' name='issuedat' size='40' value='' /></td></tr><tr><td bgcolor="#FFFFFF">Issued On:</td><td bgcolor="#FFFFFF"><input type='text' name='issuedon' size='40' value='' /></td></tr></table><center> <h1> EDUCATIONAL BACKGROUND</h1></center><table border='0'><tr><td>Elementary:</td><td><input type='text' name='elem' size='40' value='' /></td></tr><tr><td>School:</td><td><input type='text' name='e_school' size='40' value='' /></td></tr><tr><td>Year Graduated:</td><td><input type='text' name='eygrad' size='40' value='' /></td></tr><tr><td>High School:</td><td><input type='text' name='high' size='40'value='' /></td></tr><tr><td>School:</td><td><input type='text' name='h_school' size='40'value='' /></td></tr><tr><td>Year Graduated:</td><td><input type='text' name='hygrad' size='40'value='' /></td></tr><tr><td>College:</td>
Business Process Analysis 1-134
<td><input type='text' name='college' size='40'value='' /></td></tr><tr><td>School:</td><td><input type='text' name='school' size='40'value='' /></td></tr><tr><td>Course:</td><td><input type='text' name='course' size='40'value='' /></td></tr><tr><td>Year Graduated:</td><td><input type='text' name='cygrad' size='40'value='' /></td></tr></table><center> <h1> EMPLOYMENT HISTORY</h1></center><table border='0'><tr><td>From:</td><td><input type='text' name='start' size='40'value='' /></td></tr><tr><td>To:</td><td><input type='text' name='end' size='40'value='' /></td></tr><tr><td>Company/ Agency:</td><td><input type='text' name='company' size='40'value='' /></td></tr><tr><td>Position:</td><td><input type='text' name='position' size='40'value='' /></td></tr><tr><td>Salary:</td><td><input type='text' name='salary' size='40'value='' /></td></tr><tr><td>Reason For Leaving:</td><td><input type='text' name='reasonl' size='40'value='' /></td></tr><tr><td>Outlet:</td><td><input type='text' name='outlet' size='40'value='' /></td></tr></table><center> <h1> REFERENCES</h1><br>(List three(3) persons other than your relatives)</center><table border='0'><tr><td>Name:</td><td><input type='text' name='name' size='40'value='' /></td></tr><tr><td>Address:</td><td><input type='text' name='add' size='40'value='' /></td></tr><tr><td>Occupation/Position:</td><td><input type='text' name='occupation' size='40'value='' /></td></tr>
Business Process Analysis 1-135
<tr><td>Tel.#:</td><td><input type='text' name='tel' size='40'value='' /></td></tr></table></br></br><input type = "submit" name = "save" value = "Submit"/><input type = "reset" name = "reset" value = "Reset"/><br><br><a href=user.php><font color=black face=arial size=2><b>Home</b></font></a></form></div><div class="footer"><?phpinclude("common/footer.php");?></div></div></center></body></html>
LOG-IN.PHP
<?phpsession_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>
Business Process Analysis 1-136
<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("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><br /><br /><br /><br /><br /><br /><br /><center><form method="post" action="login.php"><span style="color:#F00;"><?php echo $err ?></span><br /><br /><table><tr><th colspan="4">USER LOGIN</th></tr><tr><td style="text-align:right;"><strong>User Name : </strong></td><td colspan="3" ><input type="text" name="uname" onfocus="this.style.background='#C1E0FF'" onblur="this.style.background='white'" /></td></tr><tr><td style="text-align:right;"><strong>Password : </strong></td><td colspan="3"><input type="password" name="pword" onfocus="this.style.background='#C1E0FF'" onblur="this.style.background='white'" /></td></tr><tr><td colspan="4"><input type="submit" value="LOGIN" /></td></tr> <tr><td colspan="4"><a href="register.php">Register</a></td></tr></table></form></center></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>SEARCH.PHP
Business Process Analysis 1-137
<?phpsession_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>.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;}.contents{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;
Business Process Analysis 1-138
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"><?phpinclude("inc/header.php");?></div><div class="top-menu"><?phpinclude("inc/top-menu.php");?></div><div class="side-panel"><?phpinclude("inc/side-panel.php");?></div><div class="contents"><br /><h1>Search Job</h1><form action="search.php" method="post"><table style="margin-left:20px;"><tr><td>Search:</td><td><input type="text" name="q" /></td><td><input type="submit" value="Search" /></td></tr></table></form><?phpif(isset($_POST['q'])){$start=isset($_GET['start'])?$_GET['start']:0;$recperpage=5;$sql=mysql_query("SELECT * FROM rmcijobs WHERE name LIKE '%".$_POST['q']."%' AND status = 0 LIMIT $start , $recperpage");$next=$start+$recperpage;$prev=$start-$recperpage-1;$first=0;$last=mysql_num_rows(mysql_query("SELECT * FROM rmcijobs WHERE status = 1"))-1;?><a href="job_listing.php?start=<?php echo $first; ?>"> |< </a> <a href="job_listing.php?start=<?php $tmp=$prev<0?0:$prev; echo $tmp; ?>"> << </a> <a href="job_listing.php?start=<?php echo $next; ?>"> >> </a> <a href="job_listing.php?start=<?php echo $last; ?>"> >| </a><?phpwhile($row=mysql_fetch_array($sql)){
Business Process Analysis 1-139
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></tr> <tr> <th>Age Requirements</th><td olspan=2>'.$row['ageStart'].' to '.$row['ageEnd'].'</td></tr><tr>
<th>Salary offered</th><td colspan=2>'.number_format($row['salStart'],2).' to '.number_format($row['salEnd'],2).'</td></tr> <tr><th>Posted By</th><td>'.$row['postedBy'].'</td><th width=200><a href="view_job.php?job_code='.$row['job_code'].'" style="color:white;">View</a></th></tr></table>';}}?></div><div class="footer"><?phpinclude("inc/footer.php");?></div></div></center></body></html>
Business Process Analysis 1-140
MARJORIE G. AUTENTICO5925 Punta Sta. Ana ManilaContact no. 09081040831Email Add: [email protected]
Objectives: To contribute in an establishment that will offer opportunities to enhance my personal growth and development and utilized professional growth towards work environment with mutual respect, sincerity and cooperation.
PERSONAL BACKGROUND:
Bdate – Feb. 20, 1989B Place- V. Mapa St. ManilaAge- 19 y/oSex – FemaleHeight- 5’3”Weight – 110 lbs.Religion – Roman Catholic
EDUCATIONAL BACKGROUND
Tertiary Jose Rizal University- 80 Shaw Blvd., Mandaluyong City - Bachelor of Commercial Science in Computer Science
(4th year)Secondary Saint Isidore Academy
Saint Isidore Poblacion, Trinidad Bohol (2000- 2005)
Elementary La Victoria Elementary SchoolLa Victoria Trinidad, Bohol
(1996- 2000)
Business Process Analysis 1-141
B. QUALIFICATIONS/SKILLS:
Proficient in using MS Office Application such as (MS – Word, MS – Excel and MS-Power Point).
Educated in Internet and Multimedia, Database Management System, C++ Programming, Java Programming, MS SQL, My SQL, PHP, VB.net, PHP).
TRAINING/SEMINAR:
Seminar: Leadership TrainingConducted at Jose Rizal University-2005
Character References:
Available upon request.
Business Process Analysis 1-142
Edelyn C. Bernabat12 First Street Acacia Lane Mandaluyong CityContact No.: #09073117810/ #09092650203Gmail Address: [email protected] Address: [email protected]
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: EdzAge: 23 years oldBirth Date: January 17, 1986Birth Place: Carigara LeyteReligion: CatholicCivil Status: SingleHeight: 5’3 ft. Weight: 110 lbs.
EDUCATIONAL BACKGROUND
College: Jose Rizal UniversityBachelor of Commercial Science Major in Computer Science Present
High School: Mataas na Paaralang Neptali A. Gonzales (MPNAG)S.Y. 1999-2003
Elementary: Andres Bonifacio Elementary SchoolS.Y. 1993-1999
Business Process Analysis 1-143
WORKING EXPERIENCE
French BakerSM Mega Mall Service CrewAugust 2007 – January 2008Home World CorporationSM Mega MallSales LadyOctober 2005- March 2006
SKILLS and TRAITS
- Computer literate, Microsoft office and other application.
- Hardworking, patient, efficient, fast learner and willing to learn, well motivated, know how to motivate people have initiative towards works.
CHARACTER REFERENCES
Available upon request.
Business Process Analysis 1-144