You are on page 1of 136

Republic of the Philippines

NEGROS ORIENTAL STATE UNIVERSITY


GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER I
The Problem and Its Scope

INTRODUCTION

The Negros Oriental State University Guihulngan Campus was

established to promote education in accordance w/ the Philosophy furtherance of

the cause of the students, to assist him in becoming the man to be who can

grow, into an adult & be able to build a better word. It is one of the branches of

Negros Oriental State University Located at Kadre, Poblacion Guihulngan City

Negros Oriental. This was created to provide a prepared learning environment

that responds to the needs of characteristics of particular development period to

satisfy the childs inner need to work and create the whole person he is to

become. It was also built to develop him into a well-balanced being in all areas

physically, intellectually, emotionally, socially and spiritually.

Negros Oriental State University Guihulngan Campus uses the manual

type of cashiering system for so long. In this connection, the researchers

proposed the computer-based system to help school improve its cashiering

system and to became more efficient to the students in enrolling, not also for the

students but also to the administration.

Page | 1 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Statement of the Problem

In this modern age, Negros Oriental State University Guihulngan Campus

is still practicing the manual system of cashiering. It resulted to a very time

consuming process of issuing, calculating collecting and recording of students

information and fees they paid and keeping records accounts of students is not

safe and hard to find when need it, lost of data will probably the huge effect.

Manual cashiering was not just cashiers burden but also to students that lead to

the decrease of the number of enrollees. Manual cashiering system was done

using a calculator that sometimes causes an error. At the end of the day the

cashier will have to summarize the total collection they had that consumes too

much time.

Here are the present problems of Negros Oriental State University of using

manual cashiering system:

1. Speed in processing manual cashiering system tends to be slow.

2. Computation errors that could consume time than it should.

3. Loss of students accounts.

4. Time consuming.

Page | 2 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Objectives of the Study

The main objective of this study is to design and develop a LAN Based

cashiering system in the Negros ORiental State University-Guihulngan Campus

to address to make their recording fast, easy, updated and accurate. Likewise

accounting data becomes efficient with minimal accounting errors, to increase

cashiering productivity. To address cash verification and receivable are being

tracked accurately.

Page | 3 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Significance of the Study

Since Negros Oriental State University has been using manual cashiering

system, the purpose of this propose system is to make the cashiering system of

NORSU- Guihulngan cope up with the ever-growing number of students and to

minimize the errors using manual system. Through this system, the students can

easily trace on what they have paid because the fees will display in times that

they will check their balance. And make the student accounts secure and a

reliable one.

Page | 4 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Scope and Limitations

The Standards of the proposed system include computing, storing, saving,

the secure payment and service. It provides an exact calculation of payments

and eliminates manual process of calculating and recording the student

information and fees they paid. The proposed system will focus only on the

cashiering system of Negros Oriental State University-Guihulngan Campus.

After several interviews and observations the researchers have come to

identify how the LAN Based cashiering system works. The aim of the research is

to provide a liable specific school, Negros Oriental State University,

The system can only do the following:

1. Add, save, delete and update the students account for admin only

2. Compute the summarized of total collections of the tuition and other fees.

3. Record the amount that was paid of the students.

4. Secure the students accounts.

5. Increase speed and transaction to be done.

Page | 5 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER II
REVIEW OF RELATED LITERATURES AND STUDIES

RELATED LITERATURE

The review of related literature in this research is grouped into four main

sections.Section 1 reviews literature that discusses the factors that influence the

length of time customers spend in checkout lines and how these factors affect

customers shopping preferences. Section 2 reviews literature on how queuing

theory and waiting line techniques help store managers minimize the amount of

time customers spend in checkout lines. Section 3 reviews the literature on the

factors that influence the decision-making processes of managers in their effort

to choose between increasing the number of cashier checkout stations and

replacing them with electronic self-checkout systems. Finally, Section 4

summarizes the major factors that contribute to longer than expected waits in

checkout lines and methods of queuing/waiting techniques that help managers in

their decision-making processes. Factors that Influence the Length of Time

Customers Spend Waiting in Line the researcher defines total checkout service

time as the time from when a customer is ready for services and enters or joins

the queue until when the customer receives service and obtains the receipt for

payment of goods purchased. A wait for service is defined as the time that a

customer is ready to receive service until the time the service commences

Page | 6 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

(Taylor 1994). The length of time this service takes varies from situation to

situation and from store to store. Studies indicate

That the causes and effects of these situations are numerous and are analyzed

based on their varied circumstances. A shopper feels that he or she is in charge

when shopping or making selections of items to be purchased. The shopper

starts to feel the loss of control of his time at the point of joining the queue to pay

for purchases. Consumers expect store management to have in place an

adequate checkout system to expedite checkout processes. Customers who

cannot immediately access a server experience a costly wait if they choose to

stay or not to stay in line (Kocas, 2000). The traditional approach, especially in

the operations research literature, has been to treat this wait time to be of

economic nature. Baker (1986) equates the value of time to its opportunity cost.

A typical assessment of opportunity cost is the wage rate, which suggests a

linear economic cost to waiting time. Normally, consumers naturally tend to react

with psychological feelings when confronted with situations beyond their control.

When consumers wait in line in grocery stores, they experience unpleasant

feelings due to the fact that they, psychologically, feel restricted and do not have

much control over the time they have to wait to be checked out.

Page | 7 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

RELATED STUDIES

Shop Management System (SMS) is a software application to be

developed to manage most of the activities or tasks running in a boutique shop.

This system has divided to three main modules that are cashier and stock

management, supplier information management and generating report, and

fingerprint authentication and staff management. The system module covered in

this document is the cashier and stock management module. Cashier function is

designed to handle normal daily sales transaction while stock management will

manage stock information such generating barcode and tracing stock availability.

The design of cashier functionality will refer to the existing system to meet the

non-nal requirements of the shop to handle business transaction and some7

enhancement will apply in this project such as the interface and the components

design. For the stock management, SMS will provide the barcode system to

identify each type of stock and the barcode will be generated by the SMS itself.

For reliability issue, authenticated user will able to modify the stock information

as needed such as pricing, discounting rate or editing other information. Stock

information included important information such as pricing, quantity, discount,

description and others to act as the reference for the user on management. The

main feature in this module is focused on how the application using the type of

stock and other information to generating barcode to identify the stock. User will

Page | 8 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

need to fill the require information as the input such as type of stock into the

system and the system able to generate the identifier code for the stock itself.

This feature can help user not to wasting time on how to generate a systematic

code to identify the stock in their shop and it provides an efficiency way to tracing

the stock by the barcode system. Besides, other features such as cashier in this

module are common functions that needed in shop management which will

provided in SMS as well.

Page | 9 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER III

THEORETICAL BACKGROUND

Queuing Theory

Queuing theory deals with one of the most unpleasant experiences of life,

waiting. Queuing is quite common in many fields, for example, in telephone

exchange, in a supermarket, at a petrol station, at computer systems, etc. The

telephone exchange was first mentioned because the first problems of queueing

theory were raised by calls by Erlang. He was the first who treated congestion

problems in the beginning of 20th century.His works inspired engineers,

mathematicians to deal with queueing problems using probabilistic methods.

Queueing theory became a field of applied probability and many of its results

have been used in operations research, computer science, telecommunication,

traffic engineering, and reliability theory, just to mention some. It should be

emphasized that is a living branch of science where the experts publish a lot of

papers and books. The easiest way is to verify this statement one should use the

Google Scholar for queueing related items. A Queueing Theory Homepage has

been created where readers are informed about relevant sources, for example

books, softwares, conferences, journals, etc.

There is only a few books and lectures notes published in Hungarian

language, would mention the work of Gyrfi and Pli [33], Jereb and Telek

Page | 10 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

[43],Kleinrock[48],Lakatosand Szeidl , Telek [55] and Sztrik [84, 83, 82, 81].

However, it should be noted that the Hungarian engineers and mathematicians

have effectively contributed to the research and applications. First of all we have

to mention Lajos Takcs who wrote his pioneer and famous book about queueing

theory [88]. Other researchers are J. Tomk, M. Arat, L.Gyrfi, A. Benczr, L.

Lakatos, L. Szeidl, L.Jereb, M. Telek, J. Br, T. Do and J.Sztrik. The Library of

Faculty of Informatics, University of Debrecen, Hungary offer valuable collection

of queueing and performance modeling related books in English, and Russian,

too. I may draw your attention to the books of Takagi [85, 86, 87] where a rich

collection of references is provided.Performance Measures of Queuing Systems

is to characterize a queueing system we have to identify the probabilistic

properties of the incoming flow of requests, service times and service disciplines.

The arrival process can be characterized by the distribution of the interarrival

times of the customers, denotedby A (t), that isA (t) = P (interarrival time < t):

In queueing theory these interarrival times are usually assumed to be

independent and identically distributed random variables.

Page | 11 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Bayes Decision Rule

View Student accounts

View balance

Make payment

Tools for printing

Manage Student
Edit
Add
Search Students

Delete
Register Students
Fees
Edit
Add

Delete
Courses

Create account Admin


Month
Inventory

Check balance NORSU-G


Day
Cashiering
Year

Students

Page | 12 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Hidden Markov Model

Hidden Markov Model (HMM) is a statistical Markov model in which the

system being modeled is assumed to be a Markov process with unobserved

(hidden) states. A HMM can be considered the simplest dynamic Bayesian

network. The mathematics behind the HMM was developed by L. E. Baum and

coworkers.[1][2][3][4][5] It is closely related to an earlier work on optimal

nonlinear filtering problem (stochastic processes) by Ruslan L. Stratonovich,[6]

who was the first to describe the forward-backward procedure.

In simpler Markov models (like a Markov chain), the state is directly visible

to the observer, and therefore the state transition probabilities are the only

parameters. In a hidden Markov model, the state is not directly visible, but output,

dependent on the state, is visible. Each state has a probability distribution over

the possible output tokens. Therefore the sequence of tokens generated by an

HMM gives some information about the sequence of states. Note that the

adjective 'hidden' refers to the state sequence through which the model passes,

not to the parameters of the model; the model is still referred to as a 'hidden'

Markov model even if these parameters are known exactly.

Page | 13 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER IV
DESIGN AND METHODOLOGY

DESIGN CONCEPT

INPUT PROCESS OUTPUT

Admin info /Username, Cashiering System


Generate Inventory
password A LAN Based tool
for NORSU-G Report
Admin Account Generate/ Check
Register Campus
Balance
Search
-Payment System Generate Cash
Fees
Transactions
Courses

PhpMyAdmin

-Cashiering_db

STORAGE

Figure1. System Diagram of Cashiering System A LAN Based tool for


Negros Oriental State University-Guihulngan Campus.

Page | 14 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig.1 Shows the System Process diagram of the Cashiering System A

LAN Based tool for NORSU-G Campus. From Input, Output, Process, Storage

back to the process and then finally the output.

Input Stage, includes the information that requires the Admin and the user

to input in Order to enter into the System specifically the username and

password. Another is that the systems requires inputs in creating student account

and registration, updating students, updating and adding fees, and can manage

courses.

Process Part; control the System that processes the transaction done by

the admin and user, which is the Cashiering System A LAN Based tool for

NORSU-G Campus.

Storage section is where the data information processed by the systems

that are done by the user is being placed, ready to be retrieved from the

database.

Page | 15 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

SYSTEM ARCHITECTURE

ADMIN

Admin

Login

Register Transactions Courses Inventory Logout


Home Fees
Students Search

Cont.to fig 2.2 Cont. to fig.2.3 Cont.to fig 2.4 Cont. fig 2.5 Cont. fig 2.6 Con. fig 2.7

Register Students

Student Info Input email Phone No.

Save Student

Fig. 2.2 Register Student Page

Page | 16 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Search

Filter View User View


Student Amount Paid Balance

View College
Department Input
Amount

Fig. 2.3 Search Page

Fees

Add Fees View Fees

Save Fees

Fig. 2.4 Fees Page

Page | 17 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Courses

Manage Add Edit Delete

Courses Cours Course Course

Input es Course
Input

Courses Details
Fig. 2.5 Courses Page

Figure 2.1 to 2.6 shows the System Architecture of the Cashiering System

A LAN Based tool for NORSU-G Campus. If the Administration will Access the

system, he will be directed to the administrator interface. Fig 2.1 to 2.6 shows the

administrators view of the system. Administrator of the system has all the access

to the system such as; Home, Register, Search, Fees, Courses. The Register

shows the student information to input Email Address, Contact Number and then

save.

On the other hand, search shows the user of the system including the

Admin, in which it can view the college Department, View user or Student

amount paid, input amount and check the balance. The courses that can manage

courses, add courses, input course details, edit and delete course. Finally, the

inventory that shows that total money of the day.

Page | 18 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Inventory

Month Day Year Submit

Fig. 2.6 Inventory page

USER

User

Student Check

Accoun Balance
Cont. To Figure 3.2 Cont. To figure 3.3
t

Student

Amount
Amount

Paid
Unpaid Amount

Fig. 3.2 Student Account page

Page | 19 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Check

Balanc

e
Amount Paid Login

Balance

Fig 5.3 Check Balance page

Users System Architecture shows the page for the users. These includes,

student Account, and check balance. Fig. 3.2 Student Account Page shows the

amount paid and unpaid amount. Fig. 3.3 Check balance shows the Login and

the Balance.

Page | 20 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Figure2. Shows the System Architecture of a LAN-based Cashiering System.

System Flowchart

LEGEND

Terminator Off page connector


A
Start

Page connector Process

B Submit

1
Flow Line Storage
Data

stored to

Database
Display

Display
Decision
Log-in

Page
Eligible?
Input Data

Input
Username,
Password

Page | 21 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Flow Chart

Start

Dept. Log In

Input User &


Password

U&P N
Correct?

B
Database

Page | 22 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Cashiering Register Search Fees Course

Dashboard

Display
Display
Student & Display
Input Student Current Managed
Information
Information fees & Courses
Add Fees

B Save Cancel Actions


Actions
Tools Student
E

Print N
View
Display Add,
Dislplay
Student Edit
Check your Print Student Delete
balance account
Info Course
Fee

Input User Input Y


Inventory
and Payment
Password
Edit Add
Check Balance C
C

Year Submit
Month Day C C
Dislplays balance,
payments made MyoM
current fees
onth C
C C C

Page | 23 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

B Save Back to
registration form

Page | 24 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Algorithms

As Admin:

1. Login as Administrator.

2. Administer users and students.

3. Register Students

a. Add student

i. Click SAVE to add to database.

4. Check balance

i. Input user name and password

ii. Click check balance button to view balance and

payments made and current fees.

5. Search Students

a. Search Students

i. Click Search link

ii. Show student lists

b. View student account status

i. Manage actions

ii. Manage payments

iii. Manage and search student at the search box

Page | 25 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

c. Update Fees

i. Edit Fee details

ii. Edit fees then leave the name of the fee to store in

the database

d. Manage Courses

i. Add course

ii. Save course to the database

iii. Manage records per page

iv. Search course

v. Edit and delete courses

6. Inventory

a. Select specific Month

b. Select specific Day

c. Select specific Year

i. Make payment. Automatically it will be save to the

database

d. Click submit and view the total money of the day

e. Click tool button and then click print to view the print

record

Page | 26 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

As Student:

1. Register as viewer.

2. Login as student.

3. Input student Email address (the admin will give the

password)

4. Click Check Balance.

5. Display balance and payments made and view current fees.

Page | 27 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

DESIGN METHOD

Requirements
gathering and
analysis

System Design

Implementation

Testing

Deployment of
System

Maintenance

Figure.4 Waterfall Model use in developing the Cashiering System A LAN Based

tool for NORSU-G Campus

Page | 28 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig.4 shows the model that the researchers followed from the start until

the implementation of the System. It begins in the gathering of requirements and

analysis. The researchers conducted an interview in the Cashiers Office to

assemble the necessary information in constructing the system just as how the

office expects it to be. Sharing of ideas and opinions between the researchers

and the office worker took place during the meeting of the requirements for the

said system, whether such requirements could be valid and passible to be

included in the system to be developed. User friendly interface, fast searching of

records of transactions, big capacity of storage, reliable and secure, thus, the

system should have a security password.

After the requirements have been gathered and analyzed, the researchers

then started the building of the design of the system. The user interface was then

lay-out, drafted and designed according to office request. The researches use

Php programming Language for the construction of the system. The design

serves as a guide on where to begin and to end. Without these, the construction

of the system would be difficult.

When the construction of the system was at last completed, it was tested

to notice if it really matches to the specifications and requirements. (After the

successful testing of the system, it was then transported to the cashiers office.)

The Waterfall approach was used as guide to complete the system or project.

Page | 29 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

DESIGN SPECIFICATION

Fig.1 Cashiering System log in page for the admin.

Page | 30 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig.2 Create Users Account.

Page | 31 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 3 Cashiering System Students page.

Page | 32 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 4 Student page. Where you can input students username and password and

then click check balance.

Fig. 5 Student page checking balance.

Page | 33 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 6 Cashiering System Student Search page. Where you can also made

payments, and search students name and status of payment.

Page | 34 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 7 Cashiering System Students Fees. This is where you can add, edit Fees.

Fig. 8 Cashiering System Course. This is where you can edit, add, delete and

search how many enrolled students in that particular courses.

Page | 35 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig.9 Cashiering System inventory page. In the above boxes where you can see

the Month, Day, Year, and Submit is where you can have the total money of the

day in a specific date.

Page | 36 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 10 Cashiering System Users page.This is where you check the balance of

the students who paid in a specific Month.

Page | 37 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 11 Cashiering System Users page.This is where you check the balance of

the students who paid in a specific Day.

Page | 38 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 12 Cashiering System Users page.This is where you check the balance of

the students who paid in a specific Year.

Page | 39 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Fig. 13 Cashiering System Users page.This is where you can view the total

amount of the day to all the students who have paid. As you can see, if you click

the button submit, the result is on the right side with its amount.

Page | 40 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

HARDWARE, SOFTWARE AND NETWORK REQUIREMENTS

Hardware Requirements

Table 1. Hardware Requirements

Description/ Specification
Items of Hardware

Laptop; It includes with software


and other peripheral devices that
is necessary to many unit function.

RAM (Random Access Memory);


A type of computer memory that
can be accessed randomly; that is,
any byte of memory can be
accessed without touching the
preceding bytes. RAM is the most
common type of memory found
in computers and other devices.

A hard disk is a part of a unit, often


called a disk drive, hard drive,
or hard disk that can store and
provides relatively quick access to
large amounts on an
electromagnetically charged

Page | 41 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

surface or set of surfaces.

A printer is a device that accepts


text and graphic output from a
computer and transfers the
information to paper, usually to
standard size sheets of paper.
Printers are sometimes sold with
computers, but more frequently
are purchased separately.

USB (Universal Serial Bus); Is


a data storage device that
includes flash memory with an
integrated Universal Serial
Bus (USB) interface. USB flash
drives are typically removable
and rewritable.
Switch Hub; Short for port-
switching hub, a special type of
hub that forwards packets
address. Conventional hubs
simply rebroadcast every packet to
every port.
Processor; The CPU or Central
processing Unit is the Brain of
the Computer; it is the compute

Page | 42 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

in Computer. Without the CPU,


you have no Computer

The above table represents the hardware requirements that are used in
the system. The hardware requirement is the need for generating the system.
The laptop is useful device which is intended to be operated by an end-user in
order to manipulate in processing data and documents. The ram (random access
memory) is a form of computer data storage that is capable to store data in the
system. The processor is a logic circuitry which responds to and processes the
basic instructions that drives a computer. The hard disk is used to organize files
on the disk. The printer is used in printing the monthly report. The Flash Drive is
a portable device used in storing documents related with the system.

Software Requirements

Table 2. Software Requirements

Items of Software Description/ Specification

Text Editor. A text editor is a type of

program used for editing palin text files.

It is very important to be able to use at

Page | 43 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

least one text mode editor or an IDE in

constructing a system because this is

where the whole program code will be

written for it to be executed during

system development.

Photoshop. Photoshop is a unique

user interface program where you

choose tools for creating customized

graphics. It is user friendly and is

appropriate for designing graphics

designs for the system.

Web Browser. Is a software application

used for retrieving, presenting, and

traversing information resources. This

tool is important in developing web

based system because this is where

the whole output of the system will be

presented, except for standalone

applications.

Page | 44 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Microsoft Word. Is a software

application used for documenting files

and related data during system

development.

Windows7. System software created


by Microsoft corporation and is used as
an Operating System for Cashiering
System, A LAN Based tool for Negros
Oriental State University- Guihulngan
Campus.

For the building of the System:

CSS (Cascading Style Sheets). Is a


style sheet language used for
describing the presentation semantics
of document written in a markup
language. The team used CSS
because it is appropriate for enabling
the separation of document content
(written in HTML or a similar markup
language) from document presentation,
including elements such as the layout,

Page | 45 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

colors, and fonts during system


development.
Php(Hypertext Preprocessor). Php is
a general-purpose scripting language
that is especially suited server-side web
development where Php generally runs
on a web server. The team used this
tool for using command-line scripting,
client-side graphical user interface
(GUI), and relational database
management system (RDBMS).
MySQL. MySQL is a popular choice of
database for use in web applications,
and is a component of Php. Free-
software-open source projects that
require a full-featured database
management system often use MySQL.
We used this language for managing
query and other functions related to
database functionality to store
interrelated data during system
development and operation.

Page | 46 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER V
ACTIVITY ORGANIZATION
Task (Activities) Person Involved Duration number of
week(s)
Phase 1: Requirement Gathering and Analysis
Data Gathering Cantiga, Fernandez, 1
Francisco,
Mingay, Baguio
Requirement Analysis Cantiga, Fernandez, 2
Francisco,
Mingay, Baguio
Requirement Defination Cantiga, Fernandez, 1
Francisco,
Mingay, Baguio
Requirement Cantiga, Fernandez, 1
Specification Francisco,
Mingay, Baguio
5 weeks
Phase 2: System Designing
System Design/ Cantiga, Fernandez 3
Architecture
System Specification Francisco, Mingay, Baguio 2

5 weeks
Phase 3: Implementation
Coding Francisco, cantiga, 3
Fernandez
Unit Testing Mingay, Baguio 3
Debugging Francisco, Baguio, 2
Fernandez
9 weeks
Phase 4:Acceptance and Deployment
Testing of the System/ Cantiga, Fernandez, 1
Deployment Francisco,Mingay, Baguio
1 week
Phase 5: Operational And Maintenance
Maintenance of the Cantiga, Fernandez 2
System
2 weeks
Total NO. of weeks 21 Weeks

Page | 47 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

This chapter describes the developing of the system with the cooperation of each

member of the group. Each member has its own phases or tasks to work it out In

order to complete the proposal system.

In the previous page it indicates the assigning activity for each member of the

group to make the phase or task completed at twenty-one weeks.

The first task was data gathering which includes searching for the company,

making the letter, submitting the letter, conducting interview and gathering

information from the selected office of the researchers that took for a week.

Afterwards the next task was the requirement Analysis that comprises analysis of

gathered data or requirements needed for the developing the system that took for

two weeks. The third task was the requirements definition in which the

researchers defined the information gathered that took for one week. After the

requirements analysis and definition, the researchers specified all the

requirements that have been analyzed and defined, that took for one week. The

following task was making the system design and architecture that was done by

Cantiga and Fernandez for the development of the proposed system that took for

three weeks. The next task was done by Francisco, Mingay, and Baguio, the

specifying of the system requirements for the system and software design that

took for two weeks. After the design of the system, Francisco, Fernandez and

Page | 48 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Cantiga were responsible for the program coding for the development of the

system that took for four weeks.

Then, Mingay and Baguio was responsible for unit testing whether the

system is effective hat took for three weeks. The next task was debugging the

tested system that was done by Francisco, Baguio and Fernandez that took for

two weeks. Afterwards the Acceptance and deployment was done by the

members of the group that took for a week. Lastly, the maintenance of the

system was done by Cantiga and Fernandez.

PROJECT TIMELINE AND SCHEDULE

This Chapter shows the management activity starting from the month of

September 2013 to February 2014. Table 1.2 shows the management Activity

and Gantt chart of the project timeline and schedule that help diminish or remove

project delays in order to produce an accurate and sensible project. This timeline

has list of all major aspects of the project. These aspects consist of both task and

key materials required to complete the project.

Page | 49 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Table 1.2 Management Activities and Gantt chart

Page | 50 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER VI
RESULTS AND DISCUSSION

Tabulation of data

Questions Slow Moderate High Total

A. As student of Norsu-
Guihulngan how would you 50% 45% 5% 100%
rate the speed in processing
manual cashiering system the
Cashiers Office?

The above table shows the respondents responses to the problems

encountered during the survey.

There are 75% of the respondent who answered slow, 20% of the respondents

who answered moderate, and 5% of the respondents who answered high. The

total rate summed 100%.

B. How would you rate the manual system computation errors?

According to the survey that there are 25% of the respondents answered that the

manual system has many errors in the transactions.

C. The loss of students accounts?

There are 20% of the respondents answered that the loss of accounts is one of

their biggest problem, because it has the redundancy of the work.

Page | 51 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

D. The time consumed?

There are 50% of the students answered that the time that they consumed is the

main thing why the manual system exist in the University.

Page | 52 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER VII
CONCLUSION AND RECOMENDATIONS

Conclusions

Since the Cashiering System is manually operated in Negros

Oriental State University -Guihulngan Campus, we proposed this

computerized Cashiering System that it will be more effective compare to

the old process because it can manage the student accounts and

payments without error and a reliable one. This system is a friendly-user

typed even though at first; they may find it difficult to engage a new

system. The proposed system is a great start wherein it can help and

solve problems undergone by the Cashiers Office during examination

day.

Recommendations

An automated Cashiering system is highly needed in the University

for a reliable and secure checking of accounts and deatails of every

student. This system that is being implemented will contribute a great help

to all students together with the Cashiers Office in examination day and

for the security of records.

Page | 53 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

CHAPTER VIII
DEFINITION OF TERMS

Cashiering System A system to perceive payments from and process for the

students, employees, and the general public.

Register - Enter or record in an official lists as being in a particular category.

Search - Try to find something looking or other seeking carefully and thoroughly.

Add Join to something else so as to increase the size, number, or amount.

Delete To remove something such as words, pictures, or computer files from a

document, recording, computer etc.

Edit To prepare to be published or used to make changes, correct, mistakes,

etc.

Page | 54 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

User Guide

This section will guide users on how to use the Negros Oriental State University
Cashiering System.

Page | 55 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 56 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 57 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 58 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 59 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 60 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 61 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 62 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 63 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 64 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 65 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Page | 66 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

END NOTES

http://www.drjimmirabella.com/dissertations/Dissertation-GregoryOparaNadi.pdf

http://umpir.ump.edu.my/2618/1/MAH_WEN_SIAN.PDF

http://irh.inf.unideb.hu/~jsztrik/education/16/SOR_Main_Angol.pdf

http://web2.uwindsor.ca/math/hlynka/queue.html

http://en.wikipedia.org/wiki/File:HMMsequence.svg

Page | 67 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

APPENDICES

Survey Letter

February 17, 2014

DR. CHARLITA C.YAP


Campus Administrator
Negros Oriental State University
Guihulngan Campus

Maam;
Good day!

The undersigned are fourth year student of Negros Oriental State University, Guihulngan
Campus taking Bachelor of Science in Computer Science for the completion of the
subject requirement CSC 145 Thesis II.

In connection with these, we would like to ask permission from your good office to gather
data by giving survey questionnaires to the respondents specifically to the Cashiering
Office for they are the concern of our research study which is the Cashiering System a
LAN Based Tool System for Negros Oriental State University-Guihulngan Campus for
we are proposing for the less hassle system.

Your kind of consideration and approval is highly appreciated.


Thank you so much.

Respectfully yours,

Cantiga, Kevin Johnson B.


Bagiuo, Gerose B.
Francisco, Erlinda S.
Fernandez, Analyn A.
Mingay, Clarissa J.

Noted By:

Engr. Petmar M. Saing


Thesis Adviser

Page | 68 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

Survey Questionnaire

I. Respondents Information

Name (optional) ________________________ Course & Year: ________Gender:


________
Address:
___________________________________________________________________

Direction: Please indicate your answer by putting a checkmark on the box provided
and supply your answer if ask. Kindly answer all the items required and have your
comments and suggestions below.

II. Problems Encountered when paying fees in the cashiers Office.

A. Speed in processing manual cashiering system tends to be slow


B. Computation errors that could consume time than it should.
C. Loss of students accounts.
D. Time consuming.

III. Suggestions/Comments/Recommendations

_____________________________________________________

_____________________________________________________

_____________________________________________________

Page | 69 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

System Source Codes

<--Log in.php-->

<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Administrator Login</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link href="<?php echo base_url(); ?>assets/css/pages/login-soft.css" rel="stylesheet"
type="text/css"/>
<!-- END PAGE LEVEL STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login">
<!-- BEGIN LOGO -->
<div class="logo">

</div>
<!-- END LOGO -->

Page | 70 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<!-- BEGIN LOGIN -->


<div class="content">
<!-- BEGIN LOGIN FORM -->
<form class="form-vertical login-form" action="<?php echo base_url();
?>index.php/admin/loginprocess" method="post">
<h4 class="form-title" align="center" style="color:white"><strong>NORSU-G Cashier's
Login</strong></h4>
<?php if (isset($_GET['process'])) { ?>
<div class="alert alert-error">
<button class="close" data-dismiss="alert"></button>
<span>Error: User Account invalid.</span>
</div>
<?php } ?>
<div class="alert alert-error hide">
<button class="close" data-dismiss="alert"></button>
<span>Enter any username and password.</span>
</div>
<div class="control-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">Username</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-user"></i>
<input class="m-wrap placeholder-no-fix" type="text" placeholder="Username"
name="username"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label visible-ie8 visible-ie9">Password</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-lock"></i>
<input class="m-wrap placeholder-no-fix" type="password" placeholder="Password"
name="password"/>
</div>
</div>
</div>
<div class="form-actions">

<input type="submit" class="btn blue pull-right" name="submit" value="Login" />


</div>
<div class="forget-password">
<h4>Create Account?</h4>
<p>
Click <a href="<?php echo base_url(); ?>index.php/admin/createadmin/" class="" id="forget-
password">here</a>
to create another admin account.
</p>

Page | 71 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>

</form>
<!-- END LOGIN FORM -->

</div>
<!-- END LOGIN -->
<!-- BEGIN COPYRIGHT -->
<div class="copyright">
2014 &copy; NORSU-G Payment System.
</div>
<!-- END COPYRIGHT -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"
type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-validation/dist/jquery.validate.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/backstretch/jquery.backstretch.min.js"
type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js" type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/scripts/login-soft.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {

Page | 72 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

App.init();

});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
<--Create Account.php-->

<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Administrator Create</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link href="<?php echo base_url(); ?>assets/css/pages/login-soft.css" rel="stylesheet"
type="text/css"/>
<!-- END PAGE LEVEL STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login">
<!-- BEGIN LOGO -->

Page | 73 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="logo">

</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
<!-- BEGIN LOGIN FORM -->
<form class="form-vertical login-form" action="<?php echo base_url();
?>index.php/admin/adminprocess" method="post">
<h3 class="form-title">Create Admin Account</h3>
<div class="alert alert-error hide">
<button class="close" data-dismiss="alert"></button>

</div>
<div class="control-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">Email</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-user"></i>
<input class="m-wrap placeholder-no-fix" type="text" placeholder=" Valid Email" name="email"/>
</div>
</div>
</div>
<div class="control-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">Full Name</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-user"></i>
<input class="m-wrap placeholder-no-fix" type="text" placeholder="Full Name"
name="fullname"/>
</div>
</div>
</div>
<div class="control-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">Username</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-user"></i>
<input class="m-wrap placeholder-no-fix" type="text" placeholder="Username"
name="username"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label visible-ie8 visible-ie9">Password</label>
<div class="controls">

Page | 74 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="input-icon left">


<i class="icon-lock"></i>
<input class="m-wrap placeholder-no-fix" type="password" placeholder="Password"
name="password"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label visible-ie8 visible-ie9">Confirm Password</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-lock"></i>
<input class="m-wrap placeholder-no-fix" type="password" placeholder="Confirm Password"
name="password2"/>
</div>
</div>
</div>
<div class="form-actions">

<input type="submit" class="btn blue pull-right" name="submit" value="Create" />


</div>

<div class="forget-password">

<p align="center">
<a href="<?php echo base_url(); ?>index.php/admin/home/" class="btn red">Back to
Dashboard</a>

</p>
</div>
</form>
<!-- END LOGIN FORM -->

</div>
<!-- END LOGIN -->
<!-- BEGIN COPYRIGHT -->
<div class="copyright">
2014 &copy; NORSU-G Payment System.
</div>
<!-- END COPYRIGHT -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->

Page | 75 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"


type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"
type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-validation/dist/jquery.validate.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/backstretch/jquery.backstretch.min.js"
type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js" type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/scripts/login-soft.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {
App.init();
});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>

<--Home.php-->
<?php
$cDept = $this->session->userdata('department');
$query = $this->db->get('courses');
$feequery = $this->db->get_where('fees', array('department' => $cDept));
$feequery2 = $this->db->get_where('fees', array('department' => $cDept));

$totalfees=0;
foreach ($feequery->result() as $feecount){
$addthis = $feecount->amount;

Page | 76 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

$totalfees = $totalfees + $addthis;


}

?>
<!-- BEGIN CONTAINER -->
<div class="page-container row-fluid" >

<!-- BEGIN PAGE -->


<div class="page-content">
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div id="portlet-config" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button"></button>
<h3>portlet Settings</h3>
</div>
<div class="modal-body">
<p>Here will be a configuration form</p>
</div>
</div>
<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<!-- BEGIN PAGE CONTAINER-->
<div class="container-fluid">
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">

<!-- BEGIN PAGE TITLE & BREADCRUMB-->


<h3 class="page-title">
Cashiering Dashboard <small>Student Registration Form</small>
</h3>

</div>
</div>
<!-- END PAGE HEADER-->
<div class="row-fluid">

<div class="span12">
<div class="portlet box red">
<div class="portlet-title">
<div class="caption"><i class="icon-reorder"></i>Register Student</div>

</div>
<div class="portlet-body form">

<?php if (isset($_GET['process'])) { if ($_GET['process']=="success") { ?>


<div class="alert alert-block alert-success fade in">
<button data-dismiss="alert" class="close" type="button"></button>
<h4 class="alert-heading">Successfully Added!</h4>
</div>

Page | 77 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<?php } } ?>

<form class="horizontal-form" action="<?php echo base_url();


?>index.php/admin/registerprocess" method="post">
<input type="hidden" name="fees" value="<?php echo $totalfees; ?>" />
<input type="hidden" name="department" value="<?php echo $cDept; ?>" />
<h3 class="form-section">Person Info</h3>
<div class="row-fluid">
<div class="span4 ">
<div class="control-group">
<label for="firstName" class="control-label">First Name</label>
<div class="controls">
<input type="text" placeholder="First Name" class="m-wrap span12" id="fname" name="fname">

</div>
</div>
</div>
<!--/span-->
<div class="span4 ">
<div class="control-group">
<label for="lastName" class="control-label">Middle Name</label>
<div class="controls">
<input type="text" placeholder="Middle Name" class="m-wrap span12" id="mname"
name="mname">

</div>
</div>
</div>

<div class="span4 ">


<div class="control-group">
<label for="lastName" class="control-label">Last Name</label>
<div class="controls">
<input type="text" placeholder="Last Name" class="m-wrap span12" id="lname" name="lname">

</div>
</div>
</div>
<!--/span-->
</div>
<!--/row-->
<div class="row-fluid">

<!--/span-->
<div class="span4 ">
<div class="control-group">
<label class="control-label">Course</label>
<div class="controls">

Page | 78 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"


name="course">
<option value="">Select...</option>
<?php foreach ($query->result() as $row){ ?>
<option value="<?php echo $row->acronym; ?>"><?php echo $row->courseName; ?></option>
<?php } ?>
</select>
</div>
</div>
</div>
<!--/span-->

<div class="span4 ">


<div class="control-group">
<label class="control-label">College Level</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="collegelevel">
<option value="">Select...</option>
<option value="1st Year">1st Year</option>
<option value="2nd Year">2nd Year</option>
<option value="3rd Year">3rd Year</option>
<option value="4th Year">4th Year</option>
</select>
</div>

</div>
</div>
<!--/span-->
<div class="span4 ">
<div class="control-group">
<label class="control-label">Semester</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="semester">
<option value="">Select...</option>
<option value="1st Semester">1st Semester</option>
<option value="2nd Semester">2nd Semester</option>
</select>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span4 ">
<div class="control-group">
<label class="control-label">School Year</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="schoolyear1">

Page | 79 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="">From Year...</option>


<option value="2030">2030</option>
<option value="2029">2029</option>
<option value="2028">2028</option>
<option value="2027">2027</option>
<option value="2026">2026</option>
<option value="2025">2025</option>
<option value="2024">2024</option>
<option value="2023">2023</option>
<option value="2022">2022</option>
<option value="2021">2021</option>
<option value="2020">2020</option>
<option value="2019">2019</option>
<option value="2018">2018</option>
<option value="2017">2017</option>
<option value="2016">2016</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
<option value="2000">2000</option>
<option value="1999">1999</option>
<option value="1998">1998</option>
<option value="1997">1997</option>
<option value="1996">1996</option>
<option value="1995">1995</option>
<option value="1994">1994</option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990">1990</option>
<option value="1989">1989</option>
<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>

Page | 80 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>
<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>
<option value="1947">1947</option>
<option value="1946">1946</option>
<option value="1945">1945</option>
<option value="1944">1944</option>
<option value="1943">1943</option>
<option value="1942">1942</option>
<option value="1941">1941</option>
<option value="1940">1940</option>
<option value="1939">1939</option>
<option value="1938">1938</option>
<option value="1937">1937</option>
<option value="1936">1936</option>
<option value="1935">1935</option>
<option value="1934">1934</option>

Page | 81 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1933">1933</option>
<option value="1932">1932</option>
<option value="1931">1931</option>
<option value="1930">1930</option>
<option value="1929">1929</option>
<option value="1928">1928</option>
<option value="1927">1927</option>
<option value="1926">1926</option>
<option value="1925">1925</option>
<option value="1924">1924</option>
<option value="1923">1923</option>
<option value="1922">1922</option>
<option value="1921">1921</option>
<option value="1920">1920</option>
<option value="1919">1919</option>
<option value="1918">1918</option>
<option value="1917">1917</option>
<option value="1916">1916</option>
<option value="1915">1915</option>
<option value="1914">1914</option>
<option value="1913">1913</option>
<option value="1912">1912</option>
<option value="1911">1911</option>
<option value="1910">1910</option>
<option value="1909">1909</option>

</select>

</div>

</div>
</div>
<div class="span4 ">
<div class="control-group">
<label class="control-label">&nbsp;</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="schoolyear2">
<option value="">To Year..</option>
<option value="2030">2030</option>
<option value="2029">2029</option>
<option value="2028">2028</option>
<option value="2027">2027</option>
<option value="2026">2026</option>
<option value="2025">2025</option>
<option value="2024">2024</option>
<option value="2023">2023</option>
<option value="2022">2022</option>
<option value="2021">2021</option>

Page | 82 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="2020">2020</option>
<option value="2019">2019</option>
<option value="2018">2018</option>
<option value="2017">2017</option>
<option value="2016">2016</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
<option value="2000">2000</option>
<option value="1999">1999</option>
<option value="1998">1998</option>
<option value="1997">1997</option>
<option value="1996">1996</option>
<option value="1995">1995</option>
<option value="1994">1994</option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990">1990</option>
<option value="1989">1989</option>
<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>
<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>

Page | 83 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>
<option value="1947">1947</option>
<option value="1946">1946</option>
<option value="1945">1945</option>
<option value="1944">1944</option>
<option value="1943">1943</option>
<option value="1942">1942</option>
<option value="1941">1941</option>
<option value="1940">1940</option>
<option value="1939">1939</option>
<option value="1938">1938</option>
<option value="1937">1937</option>
<option value="1936">1936</option>
<option value="1935">1935</option>
<option value="1934">1934</option>
<option value="1933">1933</option>
<option value="1932">1932</option>
<option value="1931">1931</option>
<option value="1930">1930</option>
<option value="1929">1929</option>
<option value="1928">1928</option>
<option value="1927">1927</option>
<option value="1926">1926</option>
<option value="1925">1925</option>
<option value="1924">1924</option>
<option value="1923">1923</option>

Page | 84 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1922">1922</option>
<option value="1921">1921</option>
<option value="1920">1920</option>
<option value="1919">1919</option>
<option value="1918">1918</option>
<option value="1917">1917</option>
<option value="1916">1916</option>
<option value="1915">1915</option>
<option value="1914">1914</option>
<option value="1913">1913</option>
<option value="1912">1912</option>
<option value="1911">1911</option>
<option value="1910">1910</option>
<option value="1909">1909</option>

</select>

</div>

</div>
</div>

</div>
<!--/row-->

<div class="row-fluid">

</div>
<!--/row-->
<h3 class="form-section">Login Accounts</h3>
<div class="row-fluid">
<div class="span6 ">
<div class="control-group">
<label class="control-label">ID number<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span6 m-wrap" name="email"/>
<span class="help-inline">Provide your ID number</span>
</div>
</div>
</div>
<div class="span6 ">
<div class="control-group">
<label class="control-label">OR Number<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span6 m-wrap" name="phone"/>
<span class="help-inline">Provide your OR number</span>
</div>
</div>
</div>

Page | 85 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>

<div class="form-actions">
<input type="submit" class="btn blue" name="submit" value="Save" />

<button class="btn" type="button">Cancel</button>


</div>
</form>
<div class="content">

<--Balance Inquire-->
<!-- BEGIN LOGIN FORM -->
<form class="form-vertical login-form" action="<?php echo base_url();
?>index.php/inquire/process" method="post">
<h3 class="form-title">Check Your Balance</h3>
<div class="alert alert-error hide">
<button class="close" data-dismiss="alert"></button>
<span>Enter any Email Address and password.</span>
</div>
<div class="control-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">ID number</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-user"></i>
<input class="m-wrap placeholder-no-fix" type="text" placeholder="ID number" name="email"/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label visible-ie8 visible-ie9">Password</label>
<div class="controls">
<div class="input-icon left">
<i class="icon-lock"></i>
<input class="m-wrap placeholder-no-fix" type="password" placeholder="Password"
name="password"/>
</div>
</div>
</div>
<div class="form-actions">

<button type="submit" class="btn green pull-right">


Check Balance <i class="m-icon-swapright m-icon-white"></i>
</button>
</div>

</form>

Page | 86 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>

</div>
</div>
</div>
</div>
<!-- END PAGE CONTENT-->
</div>
<!-- END PAGE CONTAINER-->
</div>
<!-- END PAGE -->
</div>
<!-- END CONTAINER -->

<--Search.php-->
<?php
$cDept = $this->session->userdata('department');
$query = $this->db->get_where('courses', array('department' => $cDept));
$students = $this->db->get_where('students', array('dept' => $cDept));

$feequery = $this->db->get_where('fees', array('department' => $cDept));


$totalfees=0;
foreach ($feequery->result() as $feecount){
$addthis = $feecount->amount;
$totalfees = $totalfees + $addthis;
}

?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Search Students</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.css"
rel="stylesheet" type="text/css"/>

Page | 87 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"


type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();
?>assets/plugins/select2/select2_metro.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/jquery-
ui/jquery-ui-1.10.1.custom.min.css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/css/bootstrap-modal.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/pages/search.css" rel="stylesheet"
type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed page-full-width">
<!-- BEGIN HEADER -->
<div class="header navbar navbar-inverse navbar-fixed-top">
<!-- BEGIN TOP NAVIGATION BAR -->
<div class="navbar-inner">
<div class="container-fluid">
<!-- BEGIN LOGO -->
<a class="brand" href="index.html">
<img src="<?php echo base_url(); ?>assets/img/logo.png" alt="logo" />
</a>
<!-- END LOGO -->
<!-- BEGIN RESPONSIVE MENU TOGGLER -->
<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-
collapse">
<img src="<?php echo base_url(); ?>assets/img/menu-toggler.png" alt="" />
</a>
<!-- END RESPONSIVE MENU TOGGLER -->

<!-- BEGIN HORIZANTAL MENU -->


<div class="navbar hor-menu">
<div class="navbar-inner">
<ul class="nav">
<li class="visible-phone visible-tablet">

Page | 88 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->


<form class="sidebar-search">
<div class="input-box">
<a href="javascript:;" class="remove"></a>
<input type="text" placeholder="Search..." />
<input type="button" class="submit" value=" " />
</div>
</form>
<!-- END RESPONSIVE QUICK SEARCH FORM -->
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/home">
Register
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/search">
Search
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/fees">
Fees
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/courses">Courses</a>
</li>

</ul>
</div>
</div>
<!-- END HORIZANTAL MENU -->

</div>
</div>
<!-- END TOP NAVIGATION BAR -->
</div>
<!-- END HEADER -->
<!-- BEGIN CONTAINER -->
<div class="page-container row-fluid">

<!-- BEGIN PAGE -->


<div class="page-content">
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div id="portlet-config" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button"></button>
<h3>portlet Settings</h3>

Page | 89 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
<div class="modal-body">
<p>Here will be a configuration form</p>
</div>
</div>
<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<!-- BEGIN PAGE CONTAINER-->
<div class="container-fluid">
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span3">

<!-- BEGIN PAGE TITLE & BREADCRUMB-->


<h3 class="page-title">
Student Search
</h3>
<--Inventory-->
</div>
<!-- total -->
<div class="span5" style="margin: 24px 0px 0px 0px";>
<form action="http://localhost/kevin/index.php/admin/search" method="get">
<input type="hidden" name="totalfee" value="1" />
<select class="form-control" name="month" style="width: 100px">
<option value="na">Month</option>
<option value="01">January</option>
<option value="02">February</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>

<select class="form-control" name="day" style="width: 100px">


<option value="na">Day</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>

Page | 90 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<select class="form-control" name="year">


<option value="na">Year</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
<option value="2000">2000</option>
<option value="1999">1999</option>
<option value="1998">1998</option>
<option value="1997">1997</option>
<option value="1996">1996</option>
<option value="1995">1995</option>

Page | 91 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1994">1994</option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990">1990</option>
<option value="1989">1989</option>
<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>
<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>
<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>
<option value="1947">1947</option>
<option value="1946">1946</option>

Page | 92 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1945">1945</option>
<option value="1944">1944</option>
<option value="1943">1943</option>
<option value="1942">1942</option>
<option value="1941">1941</option>
<option value="1940">1940</option>
<option value="1939">1939</option>
<option value="1938">1938</option>
<option value="1937">1937</option>
<option value="1936">1936</option>
<option value="1935">1935</option>
<option value="1934">1934</option>
<option value="1933">1933</option>
<option value="1932">1932</option>
<option value="1931">1931</option>
<option value="1930">1930</option>
<option value="1929">1929</option>
<option value="1928">1928</option>
<option value="1927">1927</option>
<option value="1926">1926</option>
<option value="1925">1925</option>
<option value="1924">1924</option>
<option value="1923">1923</option>
<option value="1922">1922</option>
<option value="1921">1921</option>
<option value="1920">1920</option>
<option value="1919">1919</option>
<option value="1918">1918</option>
<option value="1917">1917</option>
<option value="1916">1916</option>
<option value="1915">1915</option>
<option value="1914">1914</option>
<option value="1913">1913</option>
<option value="1912">1912</option>
<option value="1911">1911</option>
<option value="1910">1910</option>
<option value="1909">1909</option>
</select>

<button type="submit" class="blue" style="margin: 0px 0px 10px 5px">Submit</button>


</form>
<?php if (isset($_GET['totalfee'])) {

$date = $_GET['year'] . '-' . $_GET['month'] . '-' . $_GET['day'];

$historypayment = $this->db->get_where('payment_history', array('date' => $date));


$total=0;
foreach ($historypayment->result() as $feecount){
$addthis = $feecount->amount;

Page | 93 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

$total = $total + $addthis;


}
}

?>
</div>

<div class="span4">
<h3><?php if (isset($total)) { echo 'Total for ('. $date . '): PHP ' . $total; } ?></h3>
</div>
<!-- total end -->
</div>
<!-- END PAGE HEADER-->
<div class="row-fluid">

<?php if (isset($_GET['process'])) { if ($_GET['process']=="success") { ?>


<div class="alert alert-block alert-success fade in">
<button data-dismiss="alert" class="close" type="button"></button>
<h4 class="alert-heading">Successfully Updated!</h4>
</div>
<?php } } ?>

<!-- BEGIN EXAMPLE TABLE PORTLET-->


<div class="portlet box green">
<div class="portlet-title">

<div class="tools">
<a href="javascript:;" class="reload"></a>
<a href="javascript:;" class="remove"></a>
</div>
</div>
<div class="portlet-body">

<div class="clearfix">
<div class="btn-group pull-right">
<button class="btn dropdown-toggle" data-toggle="dropdown">Tools <i class="icon-angle-
down"></i>
</button>
<ul class="dropdown-menu pull-right">
<li><a href="http://localhost/kevin/index.php/admin/prints/" target="_blank">Print</a></li>
</ul>
</div>
</div>

<table class="table table-striped table-bordered table-hover table-full-width" id="sample_1">


<thead>
<tr>
<th>Full Name</th>
<th>Course</th>

Page | 94 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<th class="hidden-480">Year Level</th>


<th class="hidden-480">Semester</th>
<th class="hidden-480">Balance</th>
<th class="hidden"></th>
</tr>
</thead>
<tbody>
<?php foreach ($students->result() as $stud){ ?>
<tr>
<td><?php echo $stud->first . ' ' . $stud->last; ?></td>
<td><?php echo $stud->course; ?>

</td>
<td class="hidden-480"><?php echo $stud->currentyear; ?></td>
<td class="hidden-480"><?php echo $stud->currentsemester; ?></td>
<td class="hidden-480">PHP <?php $balance = $totalfees - $stud->payment; echo $stud-
>unpaid; //echo $balance; ?></td>
<td class="hidden"><?php echo $stud->studentId; ?></td>
</tr>
<?php } ?>

</tbody>
</table>
</div>
</div>
<!-- END EXAMPLE TABLE PORTLET-->

</div>
<!-- END PAGE CONTENT-->
</div>
</div>
<!-- END PAGE -->
</div>

<div id="responsive" class="modal hide fade" tabindex="-1" data-width="760">


<form class="form-horizontal form-bordered form-label-stripped" action="#">

<div class="modal-body">
<div class="row-fluid">
<!-- BEGIN FORM-->
<form class="horizontal-form" action="#">
<h3 class="form-section">Edit Student Info</h3>
<div class="row-fluid">
<div class="control-group">
<label class="control-label">Email<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="email"/>

</div>

Page | 95 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>

<div class="control-group">
<label for="firstName" class="control-label">First Name</label>
<div class="controls">
<input type="text" placeholder="First Name" class="m-wrap span12" id="fname">

</div>
</div>

<!--/span-->
<div class="control-group">
<label for="lastName" class="control-label">Middle Name</label>
<div class="controls">
<input type="text" placeholder="Middle Name" class="m-wrap span12" id="mname">

</div>
</div>

<div class="control-group">
<label for="lastName" class="control-label">Last Name</label>
<div class="controls">
<input type="text" placeholder="Last Name" class="m-wrap span12" id="lname">

</div>
</div>
<div class="control-group">
<label class="control-label">Phone Number<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="phone"/>
</div>
</div>

<!--/span-->
</div>
<!--/row-->
<div class="row-fluid">

<!--/span-->
<div class="control-group">
<label class="control-label">Course</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="course">
<option value="">Select...</option>
<option value="BSCS">BSCS</option>
<option value="BSEd">BSEd</option>
<option value="BSCRIM">BSCRIM</option>
<option value="BSMC">BSMC</option>

Page | 96 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</select>
</div>
</div>

<div class="control-group">
<label class="control-label">College Level</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="collegelevel">
<option value="">Select...</option>
<option value="1st Year">1st Year</option>
<option value="2nd Year">2nd Year</option>
<option value="3rd Year">3rd Year</option>
<option value="4th Year">4th Year</option>
</select>
</div>
</div>

<div class="control-group">
<label class="control-label">Semester</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="semester">
<option value="">Select...</option>
<option value="1st Semester">1st Semester</option>
<option value="2nd Semester">2nd Semester</option>
</select>
</div>
</div>

<!--/span-->

</div>
</form>
<!-- END FORM-->
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Close</button>
<button type="button" class="btn blue">Save changes</button>
</div>
</form>
</div>

<div id="payment" class="modal hide fade" tabindex="-1" data-width="760">


<form class="form-horizontal form-bordered form-label-stripped" action="#">

<div class="modal-body">
<div class="row-fluid">

Page | 97 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<!-- BEGIN FORM-->


<form class="form-horizontal" action="#">
<h3 class="form-section">Payment Gateway</h3>
<div class="row-fluid">
<div class="control-group">
<label class="control-label">Enter Amount:<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="amountpaid"/>

</div>
</div>

<!--/span-->
</div>
</form>
<!-- END FORM-->
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Cancel</button>
<button type="button" class="btn blue">Process Payment</button>
</div>
</form>
</div>

<!-- END CONTAINER -->


<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer-inner">
2014 &copy; NORSU-G Payment System
</div>
<div class="footer-tools">
<span class="go-top">
<i class="icon-angle-up"></i>
</span>
</div>
</div>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>

Page | 98 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"


type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"
type="text/javascript" ></script>
<!-- END CORE PLUGINS -->

<!-- BEGIN PAGE LEVEL PLUGINS -->


<script type="text/javascript" src="<?php echo base_url();
?>assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.js"></script>
<!-- END PAGE LEVEL PLUGINS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js"></script>
<script src="<?php echo base_url(); ?>assets/scripts/table-advanced.js"></script>
<script>
jQuery(document).ready(function() {
App.init();
TableAdvanced.init();
});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
<--Print Student Information-->

<?php
$cDept = $this->session->userdata('department');
$query = $this->db->get_where('courses', array('department' => $cDept));
$students = $this->db->get_where('students', array('dept' => $cDept));

$feequery = $this->db->get_where('fees', array('department' => $cDept));


$totalfees=0;
foreach ($feequery->result() as $feecount){
$addthis = $feecount->amount;

Page | 99 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

$totalfees = $totalfees + $addthis;


}

?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Print Student Information</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-
responsive.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();
?>assets/plugins/select2/select2_metro.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/jquery-
ui/jquery-ui-1.10.1.custom.min.css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/css/bootstrap-modal.css"
rel="stylesheet" type="text/css"/>

Page | 100 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<link href="<?php echo base_url(); ?>assets/css/pages/search.css" rel="stylesheet"


type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed page-full-width">
<!-- BEGIN HEADER -->

<!-- END HEADER -->


<!-- BEGIN CONTAINER -->
<div class="page-container row-fluid">

<!-- BEGIN PAGE -->


<div class="page-content">
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div id="portlet-config" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button"></button>
<h3>portlet Settings</h3>
</div>
<div class="modal-body">
<p>Here will be a configuration form</p>
</div>
</div>
<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<!-- BEGIN PAGE CONTAINER-->
<div class="container-fluid">
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span3">

<!-- BEGIN PAGE TITLE & BREADCRUMB-->


<h3 class="page-title">
Print Records
</h3>

</div>
<!-- total -->
<div class="span5" style="margin: 24px 0px 0px 0px";>

Page | 101 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<form action="http://localhost/kevin/index.php/admin/prints" method="get">


<input type="hidden" name="totalfee" value="1" />
<select class="form-control" name="month" style="width: 100px">
<option value="na">Month</option>
<option value="01">January</option>
<option value="02">February</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>

<select class="form-control" name="day" style="width: 100px">


<option value="na">Day</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>

Page | 102 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<select class="form-control" name="year">


<option value="na">Year</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
<option value="2000">2000</option>
<option value="1999">1999</option>
<option value="1998">1998</option>
<option value="1997">1997</option>
<option value="1996">1996</option>
<option value="1995">1995</option>
<option value="1994">1994</option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990">1990</option>
<option value="1989">1989</option>

Page | 103 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>
<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>
<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>

Page | 104 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="1947">1947</option>
<option value="1946">1946</option>
<option value="1945">1945</option>
<option value="1944">1944</option>
<option value="1943">1943</option>
<option value="1942">1942</option>
<option value="1941">1941</option>
<option value="1940">1940</option>
<option value="1939">1939</option>
<option value="1938">1938</option>
<option value="1937">1937</option>
<option value="1936">1936</option>
<option value="1935">1935</option>
<option value="1934">1934</option>
<option value="1933">1933</option>
<option value="1932">1932</option>
<option value="1931">1931</option>
<option value="1930">1930</option>
<option value="1929">1929</option>
<option value="1928">1928</option>
<option value="1927">1927</option>
<option value="1926">1926</option>
<option value="1925">1925</option>
<option value="1924">1924</option>
<option value="1923">1923</option>
<option value="1922">1922</option>
<option value="1921">1921</option>
<option value="1920">1920</option>
<option value="1919">1919</option>
<option value="1918">1918</option>
<option value="1917">1917</option>
<option value="1916">1916</option>
<option value="1915">1915</option>
<option value="1914">1914</option>
<option value="1913">1913</option>
<option value="1912">1912</option>
<option value="1911">1911</option>
<option value="1910">1910</option>
<option value="1909">1909</option>
</select>

Page | 105 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<button type="submit" class="blue" style="margin: 0px 0px 10px 5px">Submit</button>

</form>
<?php if (isset($_GET['totalfee'])) {

$date = $_GET['year'] . '-' . $_GET['month'] . '-' . $_GET['day'];

$historypayment = $this->db->get_where('payment_history', array('date' => $date));


$total=0;
foreach ($historypayment->result() as $feecount){
$addthis = $feecount->amount;
$total = $total + $addthis;
}
}

?>
</div>

<div class="span4">
<h3><?php if (isset($total)) { echo 'Total for ('. $date . '): PHP ' . $total; } ?></h3>
</div>
<!-- total end -->
</div>
<!-- END PAGE HEADER-->
<div class="row-fluid">

<?php if (isset($_GET['process'])) { if ($_GET['process']=="success") { ?>


<div class="alert alert-block alert-success fade in">
<button data-dismiss="alert" class="close" type="button"></button>
<h4 class="alert-heading">Successfully Updated!</h4>
</div>
<?php } } ?>

<!-- BEGIN EXAMPLE TABLE PORTLET-->


<div class="portlet box green">
<div class="portlet-title">
<div class="tools">
<a href="javascript:;" class="reload"></a>
<a href="javascript:;" class="remove"></a>
</div>
</div>

Page | 106 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="portlet-body">

<table class="table table-striped table-bordered table-hover table-full-width" id="sample_1">


<thead>
<tr>
<th>Full Name</th>
<th>Course</th>
<th class="hidden-480">Year Level</th>
<th class="hidden-480">Semester</th>
<th class="hidden-480">School Year</th>
<th class="hidden-480">Paid</th>
<th class="hidden"></th>
</tr>
</thead>
<tbody>
<?php
if (isset($_GET['totalfee'])) {
$date2 = $_GET['year'] . '-' . $_GET['month'] . '-' . $_GET['day'];

$historypayment2 = $this->db->get_where('payment_history', array('date' => $date2));

foreach ($historypayment2->result() as $feecountx){

$studFeeId = $feecountx->studentId;
$kevin = $this->db->query("SELECT * FROM students WHERE studentId = $studFeeId");
$rowx = $kevin->row();
?>
<tr>
<td><?php echo $rowx->first . ' ' . $rowx->last; ?></td>
<td><?php echo $rowx->course; ?>

</td>
<td class="hidden-480"><?php echo $rowx->currentyear; ?></td>
<td class="hidden-480"><?php echo $rowx->currentsemester; ?></td>
<td class="hidden-480"><?php echo $rowx->schoolyear; ?></td>
<td class="hidden-480">PHP <?php echo $feecountx->amount; //echo $balance; ?></td>
<td class="hidden"><?php echo $rowx->studentId; ?></td>
</tr>
<?php }}?>

</tbody>

Page | 107 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</table>
</div>
</div>
<!-- END EXAMPLE TABLE PORTLET-->

</div>
<!-- END PAGE CONTENT-->
</div>
</div>
<!-- END PAGE -->
</div>
<div id="responsive" class="modal hide fade" tabindex="-1" data-width="760">
<form class="form-horizontal form-bordered form-label-stripped" action="#">

<div class="modal-body">
<div class="row-fluid">
<!-- BEGIN FORM-->
<form class="horizontal-form" action="#">
<h3 class="form-section">Edit Student Info</h3>
<div class="row-fluid">
<div class="control-group">
<label class="control-label">Email<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="email"/>

</div>
</div>
<div class="control-group">
<label for="firstName" class="control-label">First Name</label>
<div class="controls">
<input type="text" placeholder="First Name" class="m-wrap span12" id="fname">

</div>
</div>
<!--/span-->

<div class="control-group">
<label for="lastName" class="control-label">Middle Name</label>
<div class="controls">
<input type="text" placeholder="Middle Name" class="m-wrap span12" id="mname">

Page | 108 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
</div>

<div class="control-group">
<label for="lastName" class="control-label">Last Name</label>
<div class="controls">
<input type="text" placeholder="Last Name" class="m-wrap span12" id="lname">

</div>
</div>
<div class="control-group">
<label class="control-label">Phone Number<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="phone"/>
</div>
</div>

<!--/span-->
</div>
<!--/row-->
<div class="row-fluid">

<!--/span-->

<div class="control-group">
<label class="control-label">Course</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="course">
<option value="">Select...</option>
<option value="BSCS">BSCS</option>
<option value="BSEd">BSEd</option>
<option value="BSCRIM">BSCRIM</option>
<option value="BSMC">BSMC</option>
</select>
</div>
</div>

<div class="control-group">
<label class="control-label">College Level</label>
<div class="controls">

Page | 109 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"


name="collegelevel">
<option value="">Select...</option>
<option value="1st Year">1st Year</option>
<option value="2nd Year">2nd Year</option>
<option value="3rd Year">3rd Year</option>
<option value="4th Year">4th Year</option>
</select>
</div>
</div>

<div class="control-group">
<label class="control-label">Semester</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span12 m-wrap"
name="semester">
<option value="">Select...</option>
<option value="1st Semester">1st Semester</option>
<option value="2nd Semester">2nd Semester</option>
</select>
</div>
</div>

<!--/span-->

</div>
</form>
<!-- END FORM-->
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Close</button>
<button type="button" class="btn blue">Save changes</button>
</div>
</form>
</div>

<div id="payment" class="modal hide fade" tabindex="-1" data-width="760">


<form class="form-horizontal form-bordered form-label-stripped" action="#">

<div class="modal-body">

Page | 110 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="row-fluid">
<!-- BEGIN FORM-->
<form class="form-horizontal" action="#">
<h3 class="form-section">Payment Gateway</h3>
<div class="row-fluid">
<div class="control-group">
<label class="control-label">Enter Amount:<span class="required">*</span></label>
<div class="controls">
<input type="text" class="span12 m-wrap" name="amountpaid"/>

</div>
</div>

<!--/span-->

</div>
</form>
<!-- END FORM-->
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Cancel</button>
<button type="button" class="btn blue">Process Payment</button>
</div>
</form>
</div>

<!-- END CONTAINER -->


<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer-inner">
2014 &copy; NORSU-G Payment System
</div>
<div class="footer-tools">
<span class="go-top">
<i class="icon-angle-up"></i>
</span>
</div>
</div>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

Page | 111 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<!-- BEGIN CORE PLUGINS -->


<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"
type="text/javascript" ></script>
<!-- END CORE PLUGINS -->

<!-- BEGIN PAGE LEVEL PLUGINS -->


<script type="text/javascript" src="<?php echo base_url();
?>assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.js"></script>
<!-- END PAGE LEVEL PLUGINS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js"></script>
<script src="<?php echo base_url(); ?>assets/scripts/table-advanced.js"></script>
<script>
jQuery(document).ready(function() {
App.init();

});
</script>

Page | 112 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<!-- END JAVASCRIPTS -->


</body>
<!-- END BODY -->
</html>

<--Fees.php-->
<?php
$cDept = $this->session->userdata('department');
$dquery = $this->db->get_where('department', array('departmentId' => $cDept));
$dept = $dquery->row();

$query = $this->db->get('fees');
?>
<div class="page-container row-fluid" >

<!-- BEGIN PAGE -->


<div class="page-content">
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div id="portlet-config" class="modal hide">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button"></button>
<h3>portlet Settings</h3>
</div>
<div class="modal-body">
<p>Here will be a configuration form</p>
</div>
</div>
<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

<!-- BEGIN PAGE CONTAINER-->


<div class="container-fluid">
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">

<!-- BEGIN PAGE TITLE & BREADCRUMB-->


<h3 class="page-title">
Add Fees
</h3>

</div>
</div>
<!-- END PAGE HEADER-->
<div class="row-fluid">

<div class="span6">
<div class="portlet box blue">
<div class="portlet-title">

Page | 113 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="caption"><i class="icon-reorder"></i> Fee Details </div>


</div>
<div class="portlet-body form">

<!-- BEGIN FORM -->


<form action="<?php echo base_url(); ?>index.php/admin/savefees<?php if (isset($_GET['id'])) {
echo '/?id='.$_GET['id'].'';}?>" class="horizontal-form" method="post">
<?php if (isset($_GET['id'])) {

$fee = $_GET['id'];

$feequery = $this->db->get_where('fees', array('feeId' => $fee));


$fee = $feequery->row();
$showtools = 1;?>

<?php } ?>
<input type="hidden" name="department" value="<?php echo $dept->departmentId; ?>" />
<div class="row-fluid">
<div class="span6">
<div class="control-group">
<label class="control-label">Name of Fee: </label>
<div class="controls">
<input type="text" placeholder="Ex. Department Fee" class="m-wrap span12" value="<?php if
(isset($showtools)) { echo $fee->name; } ?>" name="namefee"/>
</div>
</div>

<div class="control-group">

<label class="control-label">Amount: </label>


<div class="controls">
<input type="text" placeholder="Ex. 999.98" class="m-wrap span12" value="<?php if
(isset($showtools)) { echo $fee->amount; } ?>" name="amount" />
</div>
</div>
</div>

<div class="span6">
<div class="control-group">
<label class="control-label">Applied to: </label>
<div class="controls">
<select tabindex="1" class="medium m-wrap" name="req">
<?php if (isset($showtools)) { ?>
<option value="<?php echo $fee->req; ?>"><?php echo $fee->req; ?></option>
<?php } ?>
<option value="All Students">All Students</option>
<option value="For New Students Only">For New Students Only</option>
<option value="For Graduating Students Only">For Graduating Students Only</option>
<option value="For BSBA Students Only">For BSBA Students Only</option>

Page | 114 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<option value="For BSCS Students Only">For BSCS Students Only</option>


<option value="For BEED Students Only">For BEED Students Only</option>
<option value="For BSED Students Only">For BSED Students Only</option>
<option value="For CCJE Students Only">For CCJE Students Only</option>
<option value="For MDNA Students Only">For MDNA Students Only</option>
<option value="For BSIT Students Only">For BSIT Students Only</option>

</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Comments</label>
<div class="controls">
<textarea rows="1" name="comment" class="m-wrap span12"><?php if (isset($showtools)) {echo
$fee->comment;} ?></textarea>
</div>
</div>
</div>

</div>

<div class="form-actions">
<button class="btn blue" type="submit"><?php if (isset($showtools)) {echo "Edit Fee"; } else {
echo "Add Fee"; } ?></button>

</div>

</form>
<!-- END FORM-->
</div>
</div>

<p>* To delete any fee. Click view button on a fee you want to delete, then leave the "Name of
Fee" empty or delete the current name.. then click Edit Fee. That's it.</p>
</div><!-- left form-->

<div class="span6">
<!-- BEGIN SAMPLE TABLE PORTLET-->
<div class="portlet box grey">
<div class="portlet-title">
<div class="caption"><i class="icon-shopping-cart"></i>Current Fees</div>

</div>
<div class="portlet-body">
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th><i class="icon-info-sign"></i> Fee Name</th>
<th class="hidden-briefcase"><i class="icon-question-sign"></i> Department</th>

Page | 115 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<th>Amount</th>
<th>Applied to</th>

<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $freshman=0;$grads=0;$total=0; foreach ($query->result() as $row){ ?>
<?php
$deptId = $row->department;
$cquery = $this->db->query("SELECT * FROM department WHERE departmentId = '$deptId'");
$req = $row->req;

$addthis = $row->amount;

if ($req != "For Graduating Students Only") {

$freshman = $freshman + $addthis;

if ($req != "For New Students Only") {

$grads = $grads + $addthis;

if ($req != "For New Students Only" && $req != "For Graduating Students Only" ) {

$total = $total + $addthis;

?>
<tr>
<td><?php echo $row->name; ?></td>
<td ><?php
if ($cquery->num_rows() > 0)
{
$crow = $cquery->row();
echo $crow->deptname;
}

?></td>
<td>P <?php echo $row->amount; ?></td>
<td><?php $req = $row->req; if (empty($req)) { echo "All Students"; } else { echo $row->req; }
?></td>

Page | 116 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<td><a href="<?php echo base_url(); ?>index.php/admin/fees/?id=<?php echo $row->feeId; ?>"


class="btn mini green-stripe">View</a></td>
</tr>
<?php } ?>

<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>New Students: PHP <?php echo $freshman; ?></td>

<td></td>
<td>Graduating: PHP <?php echo $grads; ?></td>
<td></td>
<td>Normal Tuition: PHP <?php echo $total; ?></td>
</tr>

</tbody>
</table>
</div>
</div>
<!-- END SAMPLE TABLE PORTLET-->
</div>
</div>
<!-- END PAGE CONTENT-->
</div>
<!-- END PAGE CONTAINER-->
</div>
<!-- END PAGE -->
</div>
<!-- END CONTAINER -->

<--Courses.php-->

<?php
$query = $this->db->get('courses');
?>
<div class="page-container row-fluid">

<div class="page-content">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">

Page | 117 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<h3 class="page-title">
Department Courses
</h3>

</div>
</div>

<div class="row-fluid">
<div class="span12">

<?php if(isset($_GET['process'])) { ?>


<div class="alert alert-success" >
<button class="close" data-dismiss="alert"></button>
<span><strong>Success!</strong> The process has been successful.</span>
</div>

<?php } ?>

<div class="portlet box blue">


<div class="portlet-title">
<div class="caption"><i class="icon-globe"></i>Managed Courses</div>
<div class="tools">

</div>
</div>
<div class="portlet-body">
<div class="clearfix">
<div class="btn-group">
<a class="btn green" href="#" data-toggle="dropdown">
<i class="icon-wrench"></i> Actions
<i class="icon-angle-down"></i>
</a>
<ul class="dropdown-menu">
<li><a data-toggle="modal" href="#responsive"><i class="icon-plus"></i> Add</a></li>

</ul>
<div id="responsive" class="modal hide fade" tabindex="-1" data-width="760">

<form class="form-horizontal form-bordered form-label-stripped" action="<?php echo base_url();


?>index.php/admin/courseprocess" method="post">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
<h3>Add Course</h3>
</div>
<div class="modal-body">
<div class="row-fluid">

<div class="control-group">
<label class="control-label">Acronym: </label>

Page | 118 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. BSCS" name="courseacronym">
</div>
</div>

<div class="control-group">
<label class="control-label">Long Name: </label>
<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. Bachelor of Science in Computer
Science" name="coursename">
</div>
</div>

<div class="control-group last">


<label class="control-label">Years</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span6 m-wrap"
name="courseyear">
<option value="">Select Years</option>
<option value="1">1 Year Course</option>
<option value="2">2 Years Course</option>
<option value="3">3 Years Course</option>
<option value="4">4 Years Course</option>
<option value="5">5 Years Course</option>
</select>
</div>
</div>

</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Close</button>

<button type="submit" class="btn blue">Save changes</button>


</div>
</form>
</div>

</div>
<div class="btn-group pull-right">
<button class="btn dropdown-toggle" data-toggle="dropdown">Tools <i class="icon-angle-
down"></i>
</button>
<ul class="dropdown-menu pull-right">
<li><a href="#">Print</a></li>
<li><a href="#">Save as PDF</a></li>
<li><a href="#">Export to Excel</a></li>
</ul>
</div>

Page | 119 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
<table class="table table-striped table-bordered table-hover" id="sample_1">
<thead>
<tr>
<th style="width:8px;"><input type="checkbox" class="group-checkable" data-set="#sample_1
.checkboxes" /></th>
<th>Acronym</th>
<th class="hidden-480">Course Name</th>
<th class="hidden-480">Enrolled Students</th>
<th class="hidden-480">Years</th>
<th width="110px">Actions</th>
</tr>
</thead>
<tbody>
<?php foreach ($query->result() as $row){ ?>
<tr class="odd gradeX">
<td><input type="checkbox" class="checkboxes" value="<?php echo $row->courseId; ?>" /></td>
<td><?php echo $row->acronym; ?></td>
<td class="hidden-480"><?php echo $row->courseName; ?></td>
<td class="hidden-480">
<?php $cro = $row->acronym;
$query = $this->db->get_where('students', array('course' => $cro));
echo $query->num_rows();
?>
</td>
<td class="center hidden-480"><?php echo $row->years; ?> Year/s</td>
<td >

<a class="btn mini green-stripe" id="modal_ajax_demo_btn" data-toggle="modal" href="<?php


echo base_url(); ?>index.php/course/?action=edit&id=<?php echo $row->courseId;
?>&course=<?php echo $row->acronym; ?>">Edit</a>
<a class="btn mini red-stripe" data-toggle="modal" href="<?php echo base_url();
?>index.php/course/?action=del&id=<?php echo $row->courseId; ?>&course=<?php echo $row-
>acronym; ?>">Delete</a>

</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>

</div>
</div>

</div>

</div>

Page | 120 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
<--Edit_courses.php-->
<?php
if(!isset($_GET['action'])) {
redirect('admin/courses');
}
?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Course Modification</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();
?>assets/plugins/select2/select2_metro.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/jquery-
ui/jquery-ui-1.10.1.custom.min.css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/css/bootstrap-modal.css"
rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL STYLES -->
<script>

Page | 121 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

function goback() {
history.go(-1);
}
</script>

<link rel="shortcut icon" href="favicon.ico" />


</head>

<body class="page-header-fixed page-full-width">

<div class="header navbar navbar-inverse navbar-fixed-top">

<div class="navbar-inner">
<div class="container-fluid">

<a class="brand" href="<?php echo base_url(); ?>">


<img src="<?php echo base_url(); ?>assets/img/logo.png" alt="logo" />
</a>

<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-


collapse">
<img src="<?php echo base_url(); ?>assets/img/menu-toggler.png" alt="" />
</a>
</div>
</div>

</div>

<div class="page-container row-fluid">

<div class="page-content">

<div class="container-fluid">

<div class="row-fluid">
<div class="span12">

</div>
</div>
<div class="row-fluid">
<div class="span12">

<div class="portlet box blue">


<div class="portlet-title">
<div class="caption"><i class="icon-globe"></i>Course Settings</div>
<div class="tools">

</div>
</div>

Page | 122 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="portlet-body">

<?php
if(isset($_GET['action'])) {
$CcourseId = $_GET['id'];
$COURSEquery = $this->db->get_where('courses', array('courseId' => $CcourseId));
foreach ($COURSEquery->result() as $row)
{
$cro = $row->acronym;
$query = $this->db->get_where('students', array('course' => $cro));
?>

<div class="alert alert-block alert-error fade in">


<button data-dismiss="alert" class="close" type="button"></button>

<h4 class="alert-heading">Notice: There are currently <?php echo $query->num_rows(); ?>


student/s connected to this course.</h4>
</div>

<form class="form-horizontal form-bordered form-label-stripped" action="<?php echo base_url();


?>index.php/course/process/?id=<?php echo $row->courseId; ?>" method="post">
<input type="hidden" value="<?php echo $_GET['action']; ?>" name="formaction" />
<input type="hidden" value="<?php echo $row->courseId; ?>" name="courseId" />

<div class="modal-header">
<h3>Course Settings</h3>
</div>
<div class="modal-body">
<div class="row-fluid">

<div class="control-group">
<label class="control-label">Acronym: </label>
<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. BSCS" name="courseacronym"
value="<?php echo $row->acronym; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label">Long Name: </label>
<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. Bachelor of Science in Computer
Science" name="coursename" value="<?php echo $row->courseName; ?>">
</div>
</div>

<div class="control-group last">


<label class="control-label">Years</label>
<div class="controls">

Page | 123 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<select tabindex="1" data-placeholder="Choose a Category" class="span6 m-wrap"


name="courseyear">
<option value="<?php echo $row->years; ?>"><?php echo $row->years; ?> Year
Course</option>
<option value="1">1 Year Course</option>
<option value="2">2 Years Course</option>
<option value="3">3 Years Course</option>
<option value="4">4 Years Course</option>
<option value="5">5 Years Course</option>
</select>
</div>
</div>

</div>
</div>

<div class="modal-footer">
<button type="button" data-dismiss="modal" onClick="goback()" class="btn">Back</button>
<button type="submit" class="btn blue"><?php if ($_GET['action'] == "edit") { echo "Save
changes"; } else { echo "Delete Now"; } ?></button>
</div>

</form>

<?php } // foreach
} // end get action ?>

</div>
</div>

</div>
</div>

</div>

</div>
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer-inner">
2014 &copy; NORSU-G Payment System

</div>

<div class="footer-tools">
<span class="go-top">
<i class="icon-angle-up"></i>
</span>

Page | 124 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
</div>
<div id="ajax-modal" class="modal hide fade" tabindex="-1" data-width="760">

<form class="form-horizontal form-bordered form-label-stripped" action="<?php echo base_url();


?>index.php/admin/courseprocess" method="post">
<?php
if(isset($_GET['action'])) {
$CcourseId = $_GET['id'];
$COURSEquery = $this->db->get_where('courses', array('courseId' => $CcourseId));
foreach ($COURSEquery->result() as $row)
{
?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
<h3>Course Settings</h3>
</div>
<div class="modal-body">
<div class="row-fluid">

<div class="control-group">
<label class="control-label">Acronym: </label>
<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. BSCS" name="courseacronym"
value="<?php echo $row->acronym; ?>">
</div>
</div>

<div class="control-group">
<label class="control-label">Long Name: </label>
<div class="controls">
<input type="text" class="m-wrap span12" placeholder="Ex. Bachelor of Science in Computer
Science" name="coursename" value="<?php echo $row->courseName; ?>">
</div>
</div>
<div class="control-group last">
<label class="control-label">Years</label>
<div class="controls">
<select tabindex="1" data-placeholder="Choose a Category" class="span6 m-wrap"
name="courseyear">

<option value="value="<?php echo $row->years; ?>"><?php echo $row->years; ?> Year


Course</option>
<option value="1">1 Year Course</option>
<option value="2">2 Years Course</option>
<option value="3">3 Years Course</option>
<option value="4">4 Years Course</option>
<option value="5">5 Years Course</option>
</select>

Page | 125 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

</div>
</div>

</div>
</div>
<div class="modal-footer">

<button type="button" data-dismiss="modal" class="btn">Close</button>


<button type="submit" class="btn blue">Save changes</button>
</div>
<?php } // foreach
} // end get action ?>
</form>

</div>

<!-- END FOOTER -->


<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>

<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"


type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script type="text/javascript" src="<?php echo base_url();
?>assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/jquery.dataTables.js"></script>

Page | 126 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-


tables/DT_bootstrap.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/js/bootstrap-modal.js"
type="text/javascript" ></script>

<script src="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/js/bootstrap-


modalmanager.js" type="text/javascript" ></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js"></script>
<script src="<?php echo base_url(); ?>assets/scripts/table-managed.js"></script>
<script src="<?php echo base_url(); ?>assets/scripts/ui-modals.js"></script>
<script>
jQuery(document).ready(function() {
App.init();
TableManaged.init();
UIModals.init();
});
</script>
</body>
<!-- END BODY -->
</html>
<--header_view.php-->
<?php
$query = $this->db->get('courses');
?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Department Courses</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />

<meta content="" name="description" />


<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/plugins/font-awesome/css/font-awesome.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/style-metro.css" rel="stylesheet"
type="text/css"/>

Page | 127 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css"/>


<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet"
type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/themes/default.css" rel="stylesheet"
type="text/css" id="style_color"/>
<link href="<?php echo base_url(); ?>assets/plugins/uniform/css/uniform.default.css"
rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url();
?>assets/plugins/select2/select2_metro.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/chosen-
bootstrap/chosen/chosen.css" />
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/jquery-
ui/jquery-ui-1.10.1.custom.min.css"/>
<link href="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/css/bootstrap-modal.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>assets/css/pages/search.css" rel="stylesheet"
type="text/css"/>
<!-- END PAGE LEVEL STYLES -->

<script>
$('#InfroTextSubmit').click(function(){

if ($('#title').val()==="") {
// invalid
$('#title').next('.help-inline').show();
return false;
}
else {
// submit the form here
// $('#InfroText').submit();

return true;
}

});
</script>

<link rel="shortcut icon" href="favicon.ico" />


</head>

<body class="page-header-fixed page-full-width">

<div class="header navbar navbar-inverse navbar-fixed-top">

<div class="navbar-inner">

Page | 128 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<div class="container-fluid">

<a class="brand" href="<?php echo base_url(); ?>index.php/admin">


<img src="<?php echo base_url(); ?>assets/img/logo.png" alt="logo" />
</a>

<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-


collapse">
<img src="<?php echo base_url(); ?>assets/img/menu-toggler.png" alt="" />
</a>

<div class="navbar hor-menu">


<div class="navbar-inner">
<ul class="nav">
<li class="visible-phone visible-tablet">
<!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
<form class="sidebar-search">
<div class="input-box">
<a href="javascript:;" class="remove"></a>
<input type="text" placeholder="Search..." />
<input type="button" class="submit" value=" " />
</div>
</form>
<!-- END RESPONSIVE QUICK SEARCH FORM -->
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/home">
Register
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/search">
Search
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>index.php/admin/fees">
Fees
</a>
</li>
<li>

<a href="<?php echo base_url(); ?>index.php/admin/courses">Courses</a>


</li>

</ul>
</div>
</div>
<ul class="nav pull-right">

Page | 129 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<li class="dropdown user">


<a href="#" class="dropdown-toggle" data-toggle="dropdown">

<span class="username">Welcome, <?php echo $this->session->userdata('fullname');


?></span>
<i class="icon-angle-down"></i>
</a>
<ul class="dropdown-menu">
<li><a href="<?php echo base_url(); ?>/index.php/admin/logout"><i class="icon-key"></i> Log
Out</a></li>
</ul>
</li>

</ul>
</div>
</div>

</div>
<--Footer_view.php-->

<!-- BEGIN FOOTER -->


<div class="footer">
<div class="footer-inner">
2014 &copy; NORSU-G Payment System
</div>
<div class="footer-tools">
<span class="go-top">
<i class="icon-angle-up"></i>
</span>
</div>
</div>
<!-- END FOOTER -->

<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-1.10.1.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery-migrate-1.2.1.min.js"
type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap
tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"></script>
<!--[if lt IE 9]>

Page | 130 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

<script src="<?php echo base_url(); ?>assets/plugins/excanvas.min.js"></script>


<script src="<?php echo base_url(); ?>assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo base_url(); ?>assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.blockui.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/jquery.cookie.min.js"
type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/plugins/uniform/jquery.uniform.min.js"
type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script type="text/javascript" src="<?php echo base_url();
?>assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/data-
tables/DT_bootstrap.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/js/bootstrap-modal.js"
type="text/javascript" ></script>
<script src="<?php echo base_url(); ?>assets/plugins/bootstrap-modal/js/bootstrap-
modalmanager.js" type="text/javascript" ></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/jquery-
validation/dist/jquery.validate.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/jquery-
validation/dist/additional-methods.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/bootstrap-
wizard/jquery.bootstrap.wizard.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/plugins/chosen-
bootstrap/chosen/chosen.jquery.min.js"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo base_url(); ?>assets/scripts/app.js"></script>
<script src="<?php echo base_url(); ?>assets/scripts/table-managed.js"></script>

<script src="<?php echo base_url(); ?>assets/scripts/ui-modals.js"></script>


<script src="<?php echo base_url(); ?>assets/scripts/form-wizard.js"></script>
<script>
jQuery(document).ready(function() {
App.init();
TableManaged.init();
UIModals.init();
FormWizard.init();
});
</script>
</body>
<!-- END BODY -->
</html>

Page | 131 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

PERSONAL DATA

Name: Kevin Johnson B. Cantiga

Age: 21 years old

Address: San Carlos City, Negros Occidental

Email Address: cantigakevinjohnson@yahoo.com.ph

Nationality: Filipino

Civil Status: Single

Place of Birth: San Carlos City, Negros occidental

Date of Birth: June 17, 1992

Mother: Hilda B. Cantiga

Father: Jose B. Cantiga Jr.

EDUCATIONAL BACKGROUND

SCHOOL ATTENDED YEAR

Elementary: Congressman Vicente Gustilo Sr. Memorial School 2003-2004

Secondary: (CNC) Central Negros College 2007-2008

College: (NORSU) Negros Oriental State University 2013-2014

Page | 132 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

PERSONAL DATA

Name: Analyn A. Fernandez

Age: 21 years old

Address: Brgy. Lumapao Canlaon City, Negros Oriental

Email Address: bhestanzkie@ymail.com

Nationality: Filipino

Civil Status: Single

Place of Birth: So. Nagalao Brgy, Codcod San Carlos City, Negros Occidental

Date of Birth: October 21, 1992

Mother: Milagros A. Fernandez

Father: Unknown

EDUCATIONAL BACKGROUND

SCHOOL ATTENDED YEAR

Elementary: Codcod Elementary School 2005-2006

Secondary: (JBCMHS) Jose B. Cardenas Memorial High School 2009-2010

College: (NORSU) Negros Oriental State University 2013-2014

Page | 133 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

PERSONAL DATA

Name: Erlinda S. Francisco

Age: 20 years old

Address: Molobolo, Vallehermoso, Negros Oriental

Email Address:

Nationality: Filipino

Civil Status: Single

Place of Birth: Cagayan De Oro City

Date of Birth: October 04, 1993

Mother: Elizabeth D. Francisco

Father: Warlindo L. Francisco

EDUCATIONAL BACKGROUND

SCHOOL ATTENDED YEAR

Elementary: Vallehermoso Central School 2005-2006

Secondary: Saint Francis High School 2009-2010

College: Negros Oriental State University 2013-2014

Page | 134 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

PERSONAL DATA

Name: Gerose B. Baguio

Age: 20

Address: Matu-og, Basak Guihulngan City, Negros Oriental

Email Address:

Nationality: Filipino

Civil Status: Single

Place of Birth: Matu-og, Basak, Guihulngan City, Negros Oriental

Date of Birth: January 17, 1994

Mother: Agricula Baring

Father: Herbert Baguio

EDUCATIONAL BACKGROUND

SCHOOL ATTENDED YEAR

Elementary: Matu-og Elementary School 2005-2006

Secondary: Guihulngan National High School, Hilaitan 2009-2010

College: Negros Oriental State University 2013-2014

Page | 135 Bachelor of Science in Computer Science


Republic of the Philippines
NEGROS ORIENTAL STATE UNIVERSITY
GUIHULNGAN CAMPUS
Guihulngan City, Negros Oriental

COLLEGE OF ARTS AND SCIENCES


COMPUTER SCIENCE DEPARTMENT

PERSONAL DATA

Name: Clarissa J. Mingay

Age: 20 years old

Address: Matu-og, Basak, Guihulngan City, Negros Oriental

Email Address:

Nationality: Filpino

Civil Status: Single

Place of Birth: Matu-og, Basak, Guihulngan City, Negros oriental

Date of Birth: April 4, 1993

Mother: Francisca Mingay

Father: Benjamin Mingay

EDUCATIONAL BACKGROUND

SCHOOL ATTENDED YEAR

Elementary: Basak Elementary School 2005-2006

Secondary: Guihulngan National High School-Hilaitan 2009-2010

College: Negros Oriental State University 2013-2014

Page | 136 Bachelor of Science in Computer Science