0% found this document useful (0 votes)
162 views171 pages

M O C M S 7 G 7 P S 8: Odules of Nline Ollege Anagement Ystem Oal of The Project Roject Cope

Uploaded by

Debabrata Adak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
162 views171 pages

M O C M S 7 G 7 P S 8: Odules of Nline Ollege Anagement Ystem Oal of The Project Roject Cope

Uploaded by

Debabrata Adak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 171

4

TABLE OF CONTENTS

TABLE OF CONTENTS 4

ABSTRACT 6

INTRODUCTION 7

MODULES OF ONLINE COLLEGE MANAGEMENT SYSTEM 7


GOAL OF THE PROJECT 7
PROJECT SCOPE 8

PROBLEM DEFINITION 8

IDENTIFIED PROBLEMS 8
PROBLEM DEFINITION 8

PLANNING 9

REQUIREMENT SPECIFICATION 10
FUNCTIONAL REQUIREMENTS 11
✓ Overall Use case Diagram 13
✓ UC1 - Sign Up 14
✓ UC2 - Log In 16
✓ UC3 - Manage Profile 18
✓ UC4 – Update Records 20
NON-FUNCTIONAL REQUIREMENTS 22
LIFE CYCLE MODEL USED 24
CLASSICAL WATERFALL MODEL 25
COST ESTIMATION 26
HARDWARE AND SOFTWARE SPECIFICATIONS 38
MINIMUM HARDWARE REQUIREMENTS 38
MINIMUM SOFTWARE REQUIREMENTS 38
TOOLS/SOFTWARE USED 38
PROJECT SCHEDULE 39
GANTT CHART 39
PERT ANALYSIS 39
✓ Pessimistic Gantt 39
5

✓ Expected Gantt 40
✓ Optimistic Gantt 40
CRITICAL PATH 40

DESIGN 41

DATA FLOW DIAGRAM 41


✓ 1st Level DFD 43
ENTITY RELATIONSHIP DIAGRAM 44
BASIC NOTATIONS 45
✓ Student – ERD 47
✓ Admin – ERD 47
DATABASE TABLE STRUCTURE 48
PROPOSED ALGORITHM 49
LOGIN 49
STUDENT REGISTRATION 49
EXAM SCHEDULING 50
EMPLOYEE REGISTRATION 50
STUDENT ATTENDANCE CALCULATION 50
PAYMENT PROCESSING 50

TESTING 51

TESTING PRINCIPLES 51
TESTING OBJECTIVES 51
TESTING CHARACTERISTICS 52
LEVELS OF TESTING 52
BLACK BOX TESTING 52
WHITE BOX TESTING 53
TEST PLAN 53
TEST CASE RESULT 54

CONCLUSION 56
REFERENCES 56

SNAPSHOTS & CODES 57


6

Abstract
Online College Management System (OCMS) provides a simple interface for
maintenance of student information. It can be used by educational institutes or
colleges to maintain the records of students easily. The creation and management of
accurate, up-to-date information regarding a students’ academic career is critically
important in the university as well as colleges. Student information system deals with
all kind of student details, academic related reports, college details, course details,
curriculum, batch details, placement details and other resource related details too.

It will also have faculty details, students’ details in all aspects, the various
academic notifications to the staff and students updated by the college administration.
It also facilitate us explore all the activities happening in the college, Different reports
and Queries can be generated based on vast options related to students, batch,
course, faculty, exams, semesters, certification and even for the entire college The
placement officer is responsible for updating the placement related information like
eligible criteria for a particular company, arriving date for the company which is
coming for recruitment, the list of students who are eligible for attending the
recruitment process.
7

Introduction

The design and implementation of a comprehensive Online College Management


System and Student interface is to replace the current paper records. College Staff are
able to directly access all aspects of a student’s academic progress through a secure,
online interface embedded in the college’s website.

The system utilizes Student authentication, displaying only information


necessary for an individual’s duties. Additionally, each sub-system has authentication
allowing authorized Students to create or update information in that subsystem. All
data is thoroughly reviewed and validated on the server before actual record
alteration occurs. In addition to a staff Student interface, the system plans for student
Student interface, allowing Students to access information and submit requests online
thus reducing processing time. All data is stored securely on SQL servers managed by
the college administrator and ensures highest possible level of security. The system
features a complex logging system to track all Students’ access and ensure conformity
to data access guidelines and is expected to increase the efficiency of the college’s
record management thereby decreasing the work hours needed to access and deliver
student records to Students.

Modules of Online College Management System

The survey also helped us in identifying the various modules to be included in our
system. They are as follows –
• Student Module
• Admin Module
• Payment Module

Goal of the project

Today the internet and its boom have created a new economic scenario that not only
stresses on the classical concept of the “management” but also on the modern
concept of “service”. It is this level of service that dictates whether a commercial
venture will succeed or not in the market. To provide a high accessibility of service we
will design the online college management website, so that students need not go to a
physical registration office to check his report or achievement. They just need to online
to check their progress.
8

Providing the online interface for students, faculty etc., Increasing the efficiency of
college record management, Decrease time required to access and deliver student
records, To make the system more secure, Decrease time spent on non-value added
tasks.

Project Scope

• Secure registration and profile management facilities for Students


• Access/ Search information.
• Login to the system through the first page of the application
• Change the password after logging into the system
• View/change his/her details.
• Can get help through the help option to view different features of the system.
• Students can give feedback on college/staff/any other student.
• An admin login should be present who can read as well as remove any uploads

Problem Definition

During the survey phase of our project, we needed to identify the key aspects of our
proposed application. Having done that, we now had the task of implementing them
using our own technical knowledge. In this section, we have discussed the major
problems we had faced during the design phase and how we solved them.

Identified Problems

1. The application is supposed to be accessed by both Student and Admin of the


website. For security reasons, Students will not have access to all the modules of
the system. This required some sort of rights or access management with respect
to the student.
2. Student will only have access to their own data
3. Security of sensitive data is a very important aspect of any application. Only Admin
can delete some data which will be added by the admin. The system will have to
be designed in such a way that it only works with the relevant piece of data.

Probable Solutions

1. The student and admin both will be responsible for creating a student account with
a unique registration name, Studentname and password. But validation will be
integrated with registration form. The Student will be given access to some specific
9

modules by the administrator from an available module list which will be generated
by the system. The module list and Student login details will be kept in the
database.
2. Valid Student of the system will log in using a valid Student-id and password. In our
case, the student and Admin will use their respective emailed as Student-id and
password. This will help the system to identify the Student and display only the
relevant information.

Planning
Project planning is a very important aspect of software engineering. It is undertaken by the project
managers and is completed even before any development activity starts. Project planning consists of
the following essential activities:

• Cost and Man-power estimation


• Scheduling man-power and other resources
• Staff organization
• Risk identification
• SQA Plan
• SCM plan etc.

Software project managers document their plans in a Software Project Management


Plan (SPMP) document. The organization of the SPMP document is given below: [6]
1) Introduction
a) Objectives
b) Major Functions
c) Performance Issues
d) Management and technical Constraints

2) Project Estimates
a) Historical Data used
b) Estimation Techniques Used
c) Effort, Resource, Cost and Project Duration Estimates

3) Schedule
a) Work Breakdown Structure
b) Task Network Representation
c) Gantt Chart Representation
d) PERT Chart Representation

4) Project Resources
10

a) People
b) Hardware and Software
c) Special Resources
5) Staff Organization
a) Team Structure
b) Management Reporting

6) Risk Management Plan


a) Risk Analysis
b) Risk Identification
c) Risk Estimation
d) Risk Abatement Procedures

7) Project Tracking and Control Plan

8) Miscellaneous Plans
a) Process Tailoring
b) Quality Assurance Plan
c) Configuration Management Plan
d) Validation and Verification
e) System Testing Plan
f) Delivery, Installation and Maintenance Plan

The SPMP document is prepared by experienced project managers. It requires a great


deal of knowledge and experience. As ours is a college level project, we are unable to
follow this format as we have neither the experience nor the proper knowledge. Our
project plan has the following format:
1) Requirement Specification
a) Functional Requirements
b) Non- Functional Requirements
2) Life Cycle Model Used
3) Cost Estimation
4) Hardware and Software Specification
PERT and CPM Representation

Requirement Specification
There are two types of requirement which are specified during the initial requirements gathering and
analysis phase. [1]

1. Functional Requirements
11

2. Non- Functional Requirements

Functional Requirements

Functional Requirement defines a function of a system. A function can be described as


a set of inputs, its behavior and outputs. Functional requirements may be calculations,
technical details, data manipulation and processing and other specific functionality
that define what a system is supposed to accomplish. Functional requirements specify
particular results of a system. Functional requirements are captured in use cases.

A Use-Case is a description of a system’s behavior as it responds to a request that


originates from outside of that system. In other words, a use case describes "who" can
do "what" with the system in question. The use case technique is a scenario-driven
method which is used to describe the functional requirements of a system.

A Use-Case can be written in two formats. [7]


• Traditional/System Use Case
• Essential/Business Use Case

A system use case refers to specific Student interface components - such as screens,
HTML pages or reports. System use cases typically contain many built-in assumptions,
often hidden or implicit, about the underlying technology implementation and the
Student interface yet to be designed. Because they refer to Student interface
components which are worked on during design phase, inevitably design issues creep
into the use cases. This is not a good feature for functional requirement efforts

An essential use case, on the other hand, is based on the purpose or intentions of a
Student, rather than on the concrete steps or mechanisms by which the purpose or
intention might be carried out. An essential use case is complete, meaningful, and well
designed from the point-of-view of Students in some role or roles in relation to a
system and that embodies the purpose or intentions underlying the interaction.

Essential Use Cases provide a simplified, generalized, abstract, technology-free and


implementation-independent description of one task or interaction. Thus we have
followed this format.

Essential use cases are typically written in two column format, the column on the left
indicates the intention of the Student/actor and the column on the right the system's
responsibility to hopefully respond. The actor(s) will try to do something and receive
one or more responses to that action.
12

An Essential Use Case contains the following information:


• Name
• Identifier
• Goal
• Actors
• Pre-Conditions
• Student Intention
• System Responsibility
The Use-Case descriptions have been provided along with the corresponding Use-Case
Diagrams.

An actor who is an active participant or stakeholder in the


related use case. A name is given to the actor.

System boundary of the use case. All use cases must be within
the boundary and all actors and stakeholders should outside
of it.

Represents associations among actors, stakeholders and use


cases.

Represents the use case or interactions among actor,


stakeholder and system.
13

✓ Overall Use case Diagram


14

✓ UC1 - Sign Up

Name: Sign up
Identifier: UC-1
Actor: Unregistered Student
Goal:
▪ Administration: Provides facilities to the students.
▪ Student: Wants to use the services after gaining access.

Preconditions:
System should be in running state and the server should be up.
Student intention:
1. Student clicks the “Sign Up” button for registration.
2. A new Registration age will appear to students.
3. This page will collect the information about the student
4. This page will collect the following information in the required fields

a. Stream
15

b. Registration Number (student id)


c. Name
d. Student Name
e. Phone Number
f. Email ID
g. Password
h. Confirm Password

5. When student has entered all data now customer will click the button
“Continue”. (Alternate 1)
6. The page will be submitted and the Student information will be stored in
database.
(Alternate 2)
7. The Registered student will be redirected to Login Page.

System Responsibility (Alternative Flows):


• Alternate 1:
a. If the format of the Email ID is wrong, a message will be displayed “Wrong
Email Format”.
b. If Student leaves any required field empty, a message will be displayed
“Required field is empty”.

• Alternate 2:
a. If there is any problem in the server then the information could not be
inserted in the database and a message will be displayed ”Problem
occurred. Please try again”.

Success Guarantee (Post conditions):


System has registered the Student as a customer and saved the information in the
database.
Special Requirements:
▪ None

Open Issues:
▪ Is there any unknown problem in Signing up?
▪ Is the server up?
16

✓ UC2 - Log In

Name: Log In
Identifier: UC-2
Actors: Registered Customer, Administrator
Goal:
▪ Administration: Provides services to the student.
▪ student Wants to use the services after gaining access.

Preconditions:
System has the login information of the Student in database.
Student intention:
1. Student or Admin visits website.
2. Enters “Registration Number” or “Student Name” and “Password”.
3. Clicks the “Login” button. (Alternate 1)
17

4. The system checks the “Registration Number” or ”Student Name” and “Password”
from the database and Logs the Student or admin in. (Alternate 2)
5. Now Student or Admin is Logged In and he/she can use all the services provided on
the website.
6. After using the services he/she signs out of the website by clicking the ‘Logout’
button.

System Responsibility (Alternative Flows):


• Alternate 1:

a. When the Student doesn’t type anything in the “Registration Number”


field, it will show a message “Please Provide Registration Number” or
“Please provide Student Name”.
b. When the customer doesn’t type anything in the “Password” field, it will
show a message “Please Enter Password”.
• Alternate 2:
a. When Student enters wrong “Registration Number” or “Password”,
“Incorrect Registration Number / Password” message will appear.
b. Student will enter the correct “Registration Number” and “Password”
and logs in.

Success Guarantee (Post conditions):


System has successfully logged the Student in and allowed the Student to use the
services provided to him.
Special Requirements:
▪ Student or Admin logged in until he signs out.
▪ Student or Admin should have an authorized access.
18

✓ UC3 - Manage Profile

Name: Manage Profile

Identifier: UC3
Actor: The Student
Goal:
▪ Student: Wants to view or change the profile information.

Preconditions:
a. System has registered the Student and contains the information of the Student
in the database.
b. System has logged the Student in.

Student intention (or Basic Flow):


1. Student clicks the “Attendance” button.
19

2. The system loads the Attendance of the logged in Student and shows it on the
page.
3. Now Student can view his/her Payment information.
4. Student can update his password.
5. To update the Password, Student clicks on the “Change Password” and redirect
to the edit page.
6. The Student fills the required text fields and clicks the “Change” button at the
end of the page.
7. The System updates the Password in the database. (Alternate 1)
8. To view the holyday list of organization, Student click on Holyday list and a with
holyday table pops up.
System Responsibility (Alternative Flows):
• Alternate 1:

a. When Student makes a required field empty and clicks the “Change” button
then a message “Please fill the required field.” will be appeared.
• Alternate 2:
a. When customer clicks the “Previous Order History” or “View your order
history” link when he had made no purchases then show the message “No
previous Order”.

Success Guarantee (Post conditions):

a. System has successfully shown or updated the profile information of the


customer.
b. System has saved the changes in the database.

Special Requirements:

▪ Customer logged in until he signs out.


20

✓ UC4 – Update Records

Name: Update Academics Records


Identifier: UC4
Actor: The Administrator
Goal:
▪ Administration: Can View, Update, Add and Delete records in the student
database also can add another Admin.

Preconditions:
a. System has the registered the administrator and contains administrator
information in the database.
b. System has logged the administrator in.
21

Student Intention (or Basic Flow):


1 Administrator can view the records of the students.
2 The system loads the information of the Students from database and displays it
on admin section search page. (Alternate 1)
3 Administrator can add Student(s) to the database. Administrator fills the
information of new student in given fields of specific page and clicks the “Sign
Up” button at the bottom of the page. (Alternate 2)
4 System collects this information from interface and stores it in the database.
5 Administrator can delete the Student(s) info. form the database. Administrator
clicks the “Delete” button beside the student info that he/she wants to delete.
”Delete” link is given against each student.
6 System deletes the Student info. from database.
7 Administrator can update the Student table. To update, he/she clicks the “Edit”
link of the Student, he/she want to update. ”Edit” link is given against each
Student. Administrator fills the fields that he wants to update on the update
product page and clicks the “Update” button in the bottom. (Alternate 3)
8 System updates the information of the regarding Student in the database.
9 Admin also can add a new Admin and manager the payment info of the
students.

Extensions (Alternative Flows):


• Alternate 1:
When there is no product record in the database, no message will be displayed.
• Alternate 2:
When the administrator does not fill the compulsory text fields of Student
information then the message “Required Field is empty” will be displayed.
• Alternate 3:
When left any compulsory text field while updating, the message “Required
field is empty” will be displayed.

Success Guarantee (Post conditions):


a. System has successfully shown the Student info. to the administrator or
updated the students info.
b. System has successfully stored the changes in the database.

Special Requirements:
Administrator logged in until he signs out.
22

Non-Functional Requirements
Non-Functional Requirements are that type of requirements which are used to present
a systematic approach to “Building quality into” software systems. Non-Functional
Requirements are:
• Availability
• Efficiency
• Flexibility
• Integrity
• Performance
• Reliability
• Reusability
• Robustness
• Scalability
• Usability

Availability
A system's availability, or "uptime," is the amount of time that it is operational and
available for use. This is specified because some systems are designed with expected
downtime for activities like database upgrades and backups. Our system will be
accessible from any location, at any time, provided there is an active internet
connection available to the Student.
Efficiency
Efficiency specifies how well the software utilizes scarce resources: CPU cycles, disk
space, memory, bandwidth, etc. We have not used any type of resource hungry web
page development techniques. Our system will be able to run properly if the basic
system requirements are met. Anything less will hamper performance.
Flexibility
If the institution intends to increase or extend the functionality of the software after
it is deployed, it can be done easily. The deployment organization of our project makes
it very easy to add modules or functionalities.
23

Integrity
Integrity requirements define the security attributes of the system, restricting access
to features or data to certain Students and protecting the privacy of data entered into
the software. Our Online College Management System provides such facility to the
system administrator. He/she can restrict use access by authorizing only those people
who are essential for the institutional activities to run smoothly. Also, the students can
be restricted to specific modules of the system according to the menu wise access
given to them by the administrator.
Performance
The performance constraints specify the timing characteristics of the software. Certain
tasks or features are more time-sensitive than others; the nonfunctional requirements
should identify those software functions that have constraints on their performance.
Online College Management System does not impose any type of performance related
constraints as they were not stated by the students during the initial requirements
gathering and analysis phase.
Reliability
Reliability specifies the capability of the software to maintain its performance over
time. Unreliable software fails frequently, and certain tasks are more sensitive to
failure (for example, because they cannot be restarted, or because they must be run
at a certain time). Online Shopping Cart should be able to recover from system crashes
or incidents. Such measures can be implemented with help of backup servers and
other methods.
Reusability
Many systems are developed with the ability to leverage common components across
multiple products. Reusability indicates the extent to which software components
should be designed in such a way that they can be used in applications other than the
ones for which they were initially developed. Online Shopping Cart will not possess
any kind of external interfaces to work with other systems.
Robustness
A robust system is able to handle error conditions gracefully, without failure. This
includes a tolerance of invalid data, software defects, and unexpected operating
conditions. Online College Management System has been developed keeping this in
mind. Any kind of system error will not be displayed to the Student. The Student may
get a screen message like “Data not added due to database error”. In case of multiple
related transactions, the system will prevent the transactions from being saved in the
24

database if an error occurs during transaction processing and it stops the entire set of
transactions before completion.
Scalability
Software that is scalable has the ability to handle a wide variety of system
configuration sizes. Online College Management System does not impose any
restrictions on how many machine/PCs are added to the system. However, as the
number of Students grows with time, the server configurations may have to be
upgraded in order to retain good system throughput.
Usability
Ease-of-use requirements address the factors that constitute the capacity of the
software to be understood, learned, and used by its intended Students.
Online College Management System has a very well designed menu which is very easy
to navigate. The system will not have any sub-menu as such. The sub-menus will be
designed as separate web pages which will be invoked according to the menu options
selected by the Student.

Life Cycle Model Used

A life-cycle model forms a common understanding of the activities among the software
engineers and helps develop in a systematic and disciplined manner. A well-
documented life cycle model helps in identifying inconsistencies, redundancies and
omissions in the development process. We have followed the Classical Waterfall
model.
25

Classical Waterfall Model


The classical waterfall model divides the life cycle into the phases shown in the Figure
below. The diagrammatic representation of this model resembles a cascade of
waterfalls.

Figure– Classical Waterfall Model

Advantage of Classical Waterfall Model


1. Allows for departmentalization and managerial control.
2. Each phase of development proceeds in strict order, without any overlapping.
Disadvantage of Classical Waterfall Model
1. Does not allow revision.
26

Cost Estimation

The total cost of this project has been calculated by using the function oriented metric
– “Function Point Analysis”.
FPA is calculated on the basis of the following five information domain characteristics.

Weighting Factors
Information Domain Count Simple Average Complex Total
No. of Student Inputs 3 4 6
No. of Student Outputs 4 5 7
No. of Student Inquiries 3 4 6
No. of Logical Files 7 10 15
No. of External Interfaces 5 7 10
Count Total
FPA Weighting Factors

Student Inputs – Each Student input that provides application oriented data to the
software is counted.
Student Outputs – Each Student output that provides application oriented
information to the Student is counted. They primarily refer to reports.
Student Inquiries – An inquiry is an on-line input that generates some type of software
response in terms of on-line outputs.
Logical Files – Each logical master file is counted.
External interfaces – All machine readable information that are used to transmit
information to another system are counted.
The choice of weighting factor is subjective in nature as there is no particular formula
or method that can be applied to determine the factors.
The weighting factors of our project has been calculated based on the following
criteria –
• No. of Inputs
• No. of Logical Files referred
• No. of Search options
27

Student Inputs
Types Counts Weighting Factor Total
Simple Student Inputs 22 3 66
Average Student Inputs 15 4 60
Complex Student Inputs 5 6 30
TOTAL STUDENT INPUTS 156
FPA Student Input Calculation Matrix
Student Outputs
Types Counts Weighting Factor Total
Simple Student Outputs 33 4 132
Average Student Outputs 6 5 30
Complex Student Outputs 4 7 28
TOTAL STUDENT OUTPUTS 190
FPA Student Output Calculation Matrix

Student Inquiries
Types Counts Weighting Factor Total
Simple Student Inquiries 17 3 51
Average Student Inquiries 4 4 16
Complex Student Inquiries 2 6 12
TOTAL STUDENT INQUIRIES 79
FPA Student Inquiry Calculation Matrix
28

Logical Files
Types Counts Weighting Factor Total
Simple Logical Files 4 7 28
Average Logical Files 4 10 40
Complex Logical Files 4 15 60
TOTAL LOGICAL FILES 128
FPA Logical Files Calculation Matrix

External Interfaces
Types Counts Weighting Factor Total
Simple External Interfaces 0 5 0
Average External Interfaces 0 7 0
Complex External Interfaces 0 10 0
TOTAL EXTERNAL INTERFACES 0
FPA External Interface Calculation Matrix

1 Student Inputs 156


2 Student Outputs 190
3 Student Inquiries 79
4 Logical Files 128
5 External Interfaces 0
Total Unadjusted Function Points (UFP) 553
Next, we need to determine the DI (Degree of Influence). DI is calculated based on
responses of 14 questions which is answered using a scale of 0-5 where ‘0’ being not
important/applicable and ‘5’ being most essential.
29

The 14 questions and their probable answers are given below. (Our choice has been
highlighted)

1. Data Communication

0 Application is pure batch processing or on a standalone PC

1 Application is Batch, but has remote data entry or remote printing

2 Application is Batch but has remote data entry and remote Printing

3 On-Line data collection front-end to a batch process or query system

4 More than a front-end, but the application supports only one type of transaction
processing communication protocol
5 More than a front-end, but the application supports more than one type of
transaction processing communication protocol

Data Communication DI Matrix

2. Distributed Function
0 Application does not aid the transfer of data or processing function between components of
the system

1 Application prepares data for end-Student processing on another component of the system
such as PC spread sheets and PC dbms etc.

2 Data is prepared for transfer, transferred, and processed on another component of the system
(not for end-Student processing)

3 Distributed processing and data transfer are on-line and in one directory only.

4 Distributed processing and data transfer are on-line and in both directions (client Server
Computing)

5 Processing functions are dynamically performed on the most appropriate component of the
system (True Client-Server Design)

Distributed Function DI Matrix

3. Performance
1 No special performance requirements were stated by the Student

2 Performance and design requirements were stated and reviewed but no special actions were
required.
30

3 On-line response time is critical during peak hours. No special design for CPU utilization was
required. Processing deadline is for the next business day.

4 Stated Student performance requirements are stringent enough to require performance


analysis tasks in the design phase.

5 In addition, performance analysis tools were used in the design, development, and/or
implementation phases to meet the stated Student performance requirements.

Performance DI Matrix

4. Heavily Used Configurations


0 No explicit or implicit operational restrictions.
1 Operational restrictions do exist, but are less restrictive than a typical
application. No special effort is needed to meet the restrictions.
2 Some security or timing (when available for use) restrictions.
3 Specific processor requirements (Job prioritization) for a specific piece of the
application.
4 Stated operation restrictions required special constraints on the application in
the central processor or a dedicated processor.
5 In addition, there are special constraints on the application in the distributed
components of the system
Heavily Used Configuration DI Matrix

5. Transaction Rates
0 No peak transaction period anticipated
1 Monthly peak transaction period anticipated
2 Weekly peak transaction period anticipated
3 Daily peak transaction period anticipated
4 High transaction rates stated by the Student in the application requirements or
service level agreements are high enough to require performance analysis tasks
at the design phase
5 In addition, require the use of performance analysis tools in the design,
development, and/or installation phase
Transaction Rate DI Matrix
31

6. On-Line Data Entry


0 All transactions are processed in batch mode
1 1% to 7% of transactions are interactive data entry
2 8% to 15% of transactions are interactive data entry
3 16% to 23% of transactions are interactive data entry
4 24% to 30% of transactions are interactive data entry
5 Over 30% of transactions are interactive data entry
On-Line Data Entry DI Matrix

7. Design for End-Student Efficiency


The on-line functions provided emphasize end Student efficiency. They include :
* Menus
* On-line help/documentation
* Automated cursor movement
* Scrolling
* Remote Printing (via On-Line Transactions)
* Pre-assigned function keys
* Submission of batch jobs from on-line transactions
* Cursor selection of screen data
* Heavy use of screen video, highlighting, colors etc.
* Hard-copy Student documentation of on-line transactions.
* Pop-Up windows
* As few screens as possible to accomplish a business function.
* Easy navigation between screens (for example through function keys)
* Bi-lingual support (Supports two language ; count as four items)
* Multi-lingual Support (Supports more than two languages; Count as Six items)
32

0 None of the above


1 One to Three of the above
2 Four to Five of the above
3 Six or more of the above, but there are no specific Student requirements related
to efficiency
4 Six or more of the above and stated requirements for end-Student efficiency are
strong enough to require design tasks for human factors to be included (for
example, minimize key-strokes, maximize defaulters, use of templates, etc.)
5 Six or more of the above and stated requirements for end-Student efficiency are
strong enough to require use of special tools and processes in order to
demonstrate that the objectives have been achieved.
Design for End Student Efficiency DI Matrix

8. On-Line Update
0 None
1 On-line Update of one to three control files. Volume of updating is low and
recovery is easy.
2 On-line update of four or more control files. Volume of updating is low and
recovery is easy.
3 On-line Update of major Internal Logical Files.
4 In addition, protection against data loss is essential and has been specially
designed and programmed in the system.
5 In addition, high volumes bring cost considerations into the recovery process.
Highly automated recovery procedures with minimum of operator/Student
intervention.
On-Line Update DI Matrix

9. Complex Processing
Complex processing is a characteristic of the application. Examples Are:
33

* Sensitive control (for example, special audit processing), and/or application


specific
security processing
* Many control interactions and decision points
* Extensive logical processing
* Extensive mathematical processing
* Much exception processing resulting in incomplete transactions that must be
processed again. For example, incomplete ATM transactions caused by TP
interruption, missing data values, or failed edits.
* Complex processing to handle multiple input/output possibilities; for example,
multimedia, device independence.
0 None of the above
1 Any one of the above
2 Any two of the above
3 Any three of the above
4 Any four of the above
5 Any five of the above
Complex Processing DI Matrix

10. Usable in Other Applications


0 0 to 10% reusable code
1 11 to 20% reusable code is used within the application
2 21 to 30% reusable codes with less than 10% of the modules produced
considered more than one Student's needs.
3 31 to 40% reusable codes with 10% or more of the modules produced considered
more than one Student's needs.
34

4 41 to 50% reusable codes, the applications was specially packaged and/or


documented to ease re-use, and application is customized by Student at source
code level
5 Over 50% reusable codes, the application was specially packaged and or
documented to ease re-use, and application is customized for use by means of
Student parameter maintenance.
Usable in Other Applications DI Matrix

11. Installation Ease


0 No special considerations were stated by the Student and no special set-up
required for the installation
1 No special considerations were stated by the Student but special set-up
required for installation
2 Conversion and installation requirements were stated by the Student and
conversion and installation guides were provided and tested. The impact of
conversion on the project is not considered important
3 Conversion and installation requirements were stated by the Student and
conversion and installation guides were provided and tested. The impact of
conversion on the project is considered to be important
4 In addition to (2), automated conversion and installation tools were provided and
tested.
5 In addition to (3), automated conversion and installation tools were provided and
tested.
Installation Ease DI Matrix

12. Operational Ease


0 No special considerations other than the normal back-up procedures, were
stated by the Student
1-4 Select the following items that apply to the application. Each item has a point
value of one:
* Effective startup, backup and recovery processes were provided but operator
35

intervention is required.
* Effective startup, backup and recovery processes were provided but no operator
intervention is required (count as two items)
* The application minimizes the need for tape mounts/physical disk array/pack
mounting
or hooking-up
* The application minimizes the need for paper handling.
5 None of the above
Operational Ease DI Matrix

13. Multiple Sites


0 No Student requirement to consider the needs of more than one installation
site
1 Needs of multiple sites were considered in the design and the application is
designed to operate only under identical hardware and software environments.
2 Needs for multiple sites were considered in the design and the application is
designed to operate only under similar hardware and/or software environments.
3 Needs for multiple sites were considered in the design and the application is
designed to operate under different hardware and/or software environments
4 Documentation and support plan are provided and tested to support the
application at multiple sites and application is as described by (1) or (2).
5 Documentation and support plan are provided and tested to support the
application at multiple sites and application is as described by (3)
Multiple Sites DI Matrix

14. Facilitate Change


0 No special Student requirement to design the application to minimize or
facilitate change
1-5 Select the following items that apply to the application.
36

* Flexible query facility is provided that can handle query requests; for example,
and/or
logic applied to only one Internal Logical File (count as one point)
* Flexible query facility is provided that can handle query requests of average
complexity; for example and/or logic applied to more than one internal Logical
File (count as two point)
* Flexible query facility is provided that can handle complex query request; for
example
and/or logic combinations on more than one Internal Logical Files (count as three
point)
* Control data is kept in tables that are maintained by the Student with on-line
interactive
processes but changes take effect only on the next business day.
* Control data is kept in tables that are maintained by the Student with on-line
interactive processes and the changes take effect immediately (count as two
items)
Facilitate Change DI Matrix
1 Data Communications 3
2 Distributed Functions 0
3 Performance 1
4 Heavily Used Configuration 2
5 Transaction Rate 0
6 On-Line Data Entry 5
7 End Student Efficiency 2
8 On-line Update 3
9 Complex Processing 1
10 Reusability 0
11 Installation Ease 1
37

12 Operational Ease 1
13 Multiple Sites 0
14 Facilitate Change 4
Total Degree of Influence 23
Total Degree of Influence

Next, we need to calculate the Value Adjustment Factor (VAF) by using the following
formula –
VAF = 0.65 + (0.01 * DI)
= 0.65 + (0.01 * 23)
= 0.65 + 0.23
= 0.88

To compute the total no. of function points, we use the following formula

FP = UFP * VAF
= 553 * 0.88
= 487

The organizational average productivity for this type of project is 2 Man-Hours /FP.
Total Time Taken for Project = 487 * 2
= 974 Man-Hours

No. of Members in the Project Group = 2


Daily Working Hours per Person = 8.5
Total Working Hours in a Day = 2 * 8.5
= 17
38

Total Time Required For Project = 974 /17


= 4 Days (Approx.)

Total Cost = 974 * 100 // Assume Charge per Hour = Rs. 100/-
= 97400 INR

TOTAL COST OF PROJECT = Rs. 97400/- Only.

Hardware and Software Specifications

Minimum Hardware Requirements


(a) Intel P-4 or any Compatible CPU
(b) 256 MB RAM
(c) 2 GB of Free Hard Disk Space
(d) Keyboard, mouse and other necessary peripherals
(e) Printer for Printing Reports

Minimum Software Requirements


1. Windows XP Operating System
2. JRE 6
3. Oracle 9i Database
4. Tomcat 4.1
5. Internet Explorer or any compatible web browser
Tools/Software Used
1. VISUAL STUDIO 2012: Microsoft Visual Studio is an integrated Development
Environment (IDE) from Microsoft, it can be used to console and graphical
applications along with Windows form application, Web Sites, Web applications
39

and Web Services in both native code together with managed code for all
platform supported by Microsoft windows.
2. MS WORD 2013: Microsoft Word is the flagship product of the Office suite, and
has been one of the cornerstones of Microsoft's success in both the home
software and business sectors. The first versions were developed in 1981 under
a different name, but the brand was born in 1983 when Microsoft produced the
Multi-Word Tool for Xenix, a Microsoft-developed operating system based on
UNIX.

Project Schedule

Gantt Chart
A Gantt chart is a type of bar chart that illustrates a project schedule. Gantt chart
shows the start and finish dates of a project along with the various sub-sections of the
project. [1]

Gantt chart
PERT Analysis
PERT (Project Evaluation and Review Technique) [1] analysis represents the statistical
variations in the project estimates by making pessimistic, expected and optimistic
estimates. We have used MS Project 2003 for this purpose. This tool performs PERT
analysis and generates three types of estimates such as Pessimistic Gantt, Expected
Gantt and Optimistic Gantt.
Pessimistic Gantt

Pessimistic Gantt chart Tasks


40
41

Expected Gantt

Expected Gantt chart

Optimistic Gantt

Optimistic Gantt chart Tasks

Critical Path
The Critical Path is the series of tasks (or even a single task) that dictates the calculated
finish date of the project. That is, when the last task in the critical path is completed,
the project is completed.
By knowing and tracking the critical path for the project, as well as the resources
assigned to critical tasks, the project manager can determine which tasks can affect
the project's finish date and whether the project will finish on time.
The series of tasks are generally interrelated by task dependencies. Although there are
likely to be many such networks of tasks throughout the project plan, the network
finishing the latest is the project's critical path.
42

Network Diagram

Critical Time = 4 + 7 + 4 + 5 + 15 + 4 + 10 + 11 = 60 Days

Design

The design phase of software development includes creating Data Flow Diagrams,
Entity Relationship Diagrams and Algorithms for the project.

Data Flow Diagram


A data flow diagram (DFD) is a graphical technique that depicts information flow and
transformations that are applied as data moves from input to output. The DFD is also
known as a data flow graph. The DFD may be used to represent a system or software
at any level of abstraction. Therefore, the DFD provides a mechanism for functional
modeling as well as information flow modeling.

‘0’ level DFD, also called a context model, represents the entire software as a single
bubble with input and output data indicated by incoming and outgoing arrows,
respectively. Additional process and information flow paths are represented as the ‘0’
level DFD is partitioned into 1st and 2nd levels and so on to reveal more detail.

A producer or consumer of information that resides


External Entity
outside the bounds of the system to be modeled.
43

Process
A transformer of information (of n) that resides with
the bounds of the system to be modeled.

Data Flow The arrow head indicates the direction of data flow.
The data flow name indicates information acting as
input or output.

A repository of data that is to be stored for use by


one or more processes. It has a unique name and
1 Data Store
number attached to it.

If an entity is used more than once in the same DFD,


External Entity then a double arrow is put on the top left-hand
corner of the entity to denote it.
Basic DFD Notations
Context level DFD
44

✓ 1st Level DFD

Student Login

Admin login

Student Sign Up
45

Student Profile management

Student Academic History

Admin Records Management

Entity Relationship Diagram


An ER Diagram represents the relationship among entities. In an ERD, the entities are related to each
other with certain meaningful relationships. These relations among the entities could be in form of

• One-to-One
• One-to-Many
46

• Many-to-Many

Basic Notations
Entities are the basic units used in modeling classes of concrete or
abstract objects. Entities can have concrete existence or
Entity constitute ideas or concepts. An entity type is a group of similar
object of concern to an organization for which it maintains data.

It represents relationship. The relationship is used in data


modeling to represent an association between entity sets. The
R association would have certain properties represented by the
attributes of the relationship sets.

It represents attributes. The properties that characterize an entity


set are called its attributes.

It represents key attributes. A key is a symbol attribute or a


combination of two or more attributes of an entity set that is used
to identify one or more instances of the set

It denotes a derived attribute. Such an attribute is dependent on


the other attributes of the entity.

Basic ERD Notations


47

✓ Student – ERD
48

✓ Admin – ERD
49

Database Table Structure

T_ADMIN

TABLE NAME COLUMN DATA TYPE NOT NULL PRIMARY KEY


admintable aId int Not Null PK
ad_name nvarchar(MAX) Not Null
ad_uname nvarchar(MAX) Not Null
ad_ph nvarchar(MAX) Not Null
ad_mail nvarchar(MAX) Not Null
ad_pass nvarchar(MAX) Not Null

T_ATTENDANCE

TABLE NAME COLUMN DATA TYPE NOT NULL PRIMARY KEY


attendancetable Id int Not Null PK
reg_nmbr nvarchar(MAX) Not Null
date date Not Null
day nvarchar(10) Not Null
math nvarchar(10) Not Null
phy nvarchar(10) Not Null
che nvarchar(10) Not Null

T_SemesterFees

TABLE NAME COLUMN DATA TYPE NOT NULL PRIMARY KEY


semfeetable Id int Not Null PK
reg_nmbr nvarchar(MAX) Null
semester nvarchar(MAX) Null
method nvarchar(MAX) Null
50

T_Students

TABLE NAME COLUMN DATA TYPE NOT NULL PRIMARY KEY


studenttable stsId int Not Null PK
reg_nmbr nvarchar(MAX) Null
stream nvarchar(MAX) Null
name nvarchar(MAX) Null
u_name nvarchar(MAX)) Null
ph_nmbr nvarchar(MAX) Null
mail_id nvarchar(MAX) Null
password nvarchar(MAX) Null

Proposed Algorithm

The following algorithms define the process logic of the various functionalities
provided by online game Store.

Login
1. Ask the Student to enter the Registration Number and the password.
2. If nothing is entered and log in tried, system gives validation message.
• Validation 1 – Registration Number is required
• Validation 2 – password is required
3. The Student enters the information.
4. Connect with the Student database and checks if the Student is present there or
not.
5. If present then go to 6. Otherwise give error and go to 1.
6. The Student is allowed to enter into the system.
7. The system checks the database gives the Student some pre-assigned privileges.
8. In Student Login a Unique Transaction id will be generated and stored in session.

Student Registration
1. Student related details like Name, Address, Email Id, Password, are entered into
the system.
2. System performs validation like:
• Validation 1 – Name Address City State should be string and should not be
empty.
• Validation 2 – Email should be Valid Email.
• Validation 3 - password should be entered.
51

3. After the system validates the data, it would get saved into the specified
Database.
Else, the system will not store the data into database and show validation message

Exam Scheduling
1. Faculty selects subject based on course.
2. Exam details like exam date, exam type are entered into the system.
3. The system performs some validations like if it is a elective paper or not. If so,
then has any student selected it or not etc.
4. Exam Details are saved into the Exam Database after validation.

Employee Registration
1. Employee details like name, address, date of birth etc. are entered into the system.
2. System performs some validations like:
• Validation 1.Data needs to be entered in all mandatory fields.
• Validation 2.Data of Birth not entered etc.

3. After validation, the data gets saved into the Employee database.
4. The Employee is allocated to a pay-scale according to his/her designation. Salary
details like DA, Special Allowance etc. are entered into the system.
5. After they are validated, the data gets saved into the employee salary database.

Student Attendance Calculation


1. Select Student from the Student Database.
2. Enter monthly attendance for Student.
3. The system performs some validations.
4. Attendance Details are saved into the Attendance Database after validation.
Payment Processing
1. Select Student from the Student Database.
2. Verify monthly attendance for Student.
3. If Student is absent for semester, then it is removed from database.
52

Testing

Testing is a phase that consists of subjecting the program to a set of test inputs (or
test cases) and observing if the program behaves as expected. The commonly used
terms associated with testing are as follows: [1]
• A failure is a manifestation of an error (or defect or bug).
• A test case is a triplet [I, S, O] where I am the data input to the system, S is the
state of the system at which the data is input and O is the expected output of the
system.
• A test suite is the set of all test cases with which a given software product is to be
tested.

Testing Principles

• Testing cannot show the absence of defects it shows only their presence.
• It is easier to detect but costlier to eliminate.
• The later an error is detected, it is costlier to debug.
• All tests should be traceable to custom requirements.
• Tests should be planned long before testing begins.
• Testing should begin in small and progress towards testing in large.
• Exhaustive testing is impossible.

Testing Objectives

• To ensure that the product is safe and reliable.


• To ensure that the product will function properly under both normal and adverse
condition.
• To ensure that the product satisfies Students needs.
• To determine that earliest date when the product can be released with minimum
risk of the customer loss or dissatisfaction
53

Testing Characteristics

• Operability
• Controllability
• Decomposability
• Stability
• Understandability

Levels of Testing

Software products are normally tested first at the individual component (or unit)
level, known as testing in the small. After individual testing components are
integrated and tested. Finally fully integrated system is tested.

Thus, software goes through three levels of testing:


• Unit testing
• Integration testing
• System testing.

Black Box Testing

In black-box testing, test cases are designed from an examination of the


input/output values only and no knowledge of design or code is required. It is an
external view of the test object. The following are the two main approaches to
designing black-box test cases.
• Equivalence class partitioning
• Boundary value analysis

In Equivalence class partitioning approach, the domain of input values to a program


are partitioned into a set of equivalence classes such that the behavior of the
program is similar to every input data belonging to the same equivalence class.
54

In Boundary value analysis approach, emphasis is given on the errors that frequently
occur at the boundaries of different equivalence classes of inputs.

White Box Testing

White-box testing is involved directly with the structure of the code within a module
or structure code. Different types of white-box testing are as follows:
• Statement coverage: Each statement of the code within control structure is
executed at least once.

• Branch coverage: Each branch in the code assumes true or false value in turn thus
taken each possible direction at least once.

• Condition coverage: Here each test case is designed to make each component of
a composite conditional expression assume both true and false values. For
conditional expression having n components, 2nd test cases are required.

• Path coverage: In this strategy all linearly independent paths in the program are
executed at least once. For this we have to draw control flow graph (CFG).

• McCabe’s Cyclomatic complexity metric: It can be computed in three ways:


1. For a given CFG G of a program, the Cyclomatic complexity V(G) computed
as V(G) = E-N+2 where
E = No. of edges in G
N = No. of nodes in G
2. V(G) = Total no. of bounded areas + 1
3. V(G) = Total no. of decision statement of a program + 1

Test Plan

Test plans document the test strategy. They describe what will be tested in the
system, but do not give detailed inputs and outputs. Test plans should answer such
issues as:
55

• What will be tested


• What type of testing environment will be used (executable code, scripts etc.)
• How performance, usability, reliability and other “non-functional” parameters
will be measured.

We have used “Black Box” testing as our testing mechanism. This is due to the time
constraints of our project. We have used executable code to test each feature of our
system.

Test Case Result

Test Case Form Description/ Expected Output Actual Output


Name
Input
TC-1 Login Student ID: Blank A message “No A message “No
field entered” field entered”
Password: Blank
TC-2 Login Student ID: Given A message A message
“Password Not “Password Not
Password: Blank
Given” Given”
TC-3 Login Student ID: Blank A message A message
“Student ID Not “Student ID Not
Password: Given
Given” Given”
TC-4 Login Student ID: Raaj A message A message
“Student ID must “Student ID must
Password:****
be Registration be Registration
number” number”
TC-5 Login Student ID: Open Home Page Open Home Page
[email protected] and Display Menu and Display Menu
m
Password: ****
(Correct Data)
TC-6 Home Page Click on Options Show All Options Show all Options
Link
56

TC-7 Student Click on Redirect to Redirect to


Page “Attendance” Link Attendance Page Attendance Page
TC-8 Attendanc Display Display
e Page
Attendance Chart Attendance Chart
TC-9 Student Click on “Holydays” Redirect to Redirect to
Page Link Holydays Page Holydays Page
TC-10 Holydays Holydays Chart Holydays Chart
Page
TC-11 Student Click on “Change Redirect to Redirect to Change
Page Password” Link Change Passowrd Passowrd Page
Page
TC-12 Change Input as directed Save Data and Save Data and Give
Password Give a success a success message
message
TC-13 Student Click on “Pay sem Redirect to Redirect to
Page fee” Link Pyment Page Pyment Page
TC-14 Payment Payment Option : A Error Message A Error Message
Page Not selected Will Be shown. Will Be shown.
TC-15 Payment Payment Option : Redirect to Redirect to
Page Cash Payment Payment Complete
Complete Page Page
57

Conclusion

This paper assists in automating the existing manual system. This is a paperless work.
It can be monitored and controlled remotely. It reduces the man power required. It
provides accurate information always. Malpractice can be reduced. All years together
gathered information can be saved and can be accessed at any time. The data which
is stored in the repository helps in taking intelligent decisions by the management.
So it is better to have a Web Based Information Management system. All the
stakeholders, faculty and management can get the required information without
delay. This system is essential in the colleges/hostels and universities.

References

1.Web Programming Using ASP.NET 1st Edition (12 Jan 2014) by Balram Krishan
2. SP.NET and VB.NET Web Programming 1st Edition by Matt J. Crouch
https://meeraacademy.com/student-management-system-project-asp-net/
https://www.kashipara.com/project/asp-net/125/college-management-system-asp-
net-source-code
https://codecanyon.net/search/college%20management
https://www.w3schools.com/

https://msdn.microsoft.com/en-
us/library/system.web.ui.webcontrols.changepassword(v=vs.110).aspx

https://www.c-sharpcorner.com/UploadFile/satyapriyanayak/change-a-password-in-
Asp-Net/
58

Snapshots & Codes

Default.aspx

Source
<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="EnginX._Default" %>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<link rel='stylesheet' id='camera-css' href='assets/css/camera.css'
type='text/css' media='all'>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
59

<div class="navbar navbar-inverse">


<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li class="active"><a
href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->

<!-- Header -->


<header id="head">
<div class="container">
<div class="heading-text">
<h1 class="animated flipInY
delay1">Come and Jion Us</h1>
<h2>Securing future of the World</h2>
</div>

<div class="fluid_container">
<div class="camera_wrap camera_emboss pattern_1"
id="camera_wrap_4">
<div data-thumb="assets/images/slides/thumbs/img1.jpg" data-
src="assets/images/slides/img1.jpg">
<h2>We develop.</h2>
</div>
<div data-thumb="assets/images/slides/thumbs/img2.jpg" data-
src="assets/images/slides/img2.jpg">
</div>
<div data-thumb="assets/images/slides/thumbs/img3.jpg" data-
src="assets/images/slides/img3.jpg">
</div>
60

</div><!-- #camera_wrap_3 -->


</div><!-- .fluid_container -->
</div>
</header>

<!-- /Header -->

<div class="container">
<div class="row">
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/1.png"
alt="" />
</div><!--icon box top -->
<h4>Academics</h4>
<p>KIIT is unique among its peer
institutions in having nineteen schools co-located on one contiguous campus...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/2.png"
alt="" />
</div><!--icon box top -->
<h4>Meet our Staff</h4>
<p>More than 2500 academic and
research staff, many leaders in their fields with international reputations...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/3.png"
alt="" />
</div><!--icon box top -->
<h4>Campus Life</h4>
<p>Life at KIIT is more than just
lectures and study sessions. Students get a plenty of excuses to take a well-earned
...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/4.png"
alt="" />
</div><!--icon box top -->
<h4>Placements</h4>
<p>Placement is one of the advantages
that KIIT offers since its inception .It has an impeccable record in campus...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
61

</div>
</div>
<section class="news-box top-margin">
<div class="container">
<h2><span>Latest News From KIIT</span></h2>
<div class="row">

<div class="col-lg-4 col-md-4 col-sm-12">


<div class="newsBox">
<div class="thumbnail">
<figure><img src="assets/images/news2.jpg"
alt=""></figure>
<div class="caption maxheight2">
<div class="box_inner">
<div class="box">
<p><a href="#"><em>Curiosity is the mother
of invention – Padmabhushan Prof. Jogesh Pati</em></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12">
<div class="newsBox">
<div class="thumbnail">
<figure><img src="assets/images/news3.jpg"
alt=""></figure>
<div class="caption maxheight2">
<div class="box_inner">
<div class="box">
<p><a href="#"><em>National School Chess
Championship for Chess Wizards</em></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12">
<div class="newsBox">
<div class="thumbnail">
<figure><img src="assets/images/news4.jpg"
alt=""></figure>
<div class="caption maxheight2">
<div class="box_inner">
<div class="box">
<p><a href="#"><em>75000 People Run for
Education for All</em></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>

<section class="container">
62

<div class="row">
<div class="col-md-8"><div class="title-box clearfix "><h2 class="title-
box_primary">About Us</h2></div>
<p><span>The IEM group is an acclaimed educational group amongst the industry-
centred academic training organisations of today.
IEM has set sublime standards in addressing the technical and managerial
resource shortage in the new era of dynamic globalisation.
The IEM group has risen to fame for its strong foundation in teaching and
R&D in multifaceted areas. It aims to serve the future
generation as well as the Nation through its commitment towards self
sufficiency and unmatchable excellence.</span></p>
<a href="#" title="read more" class="btn-inline " target="_self">Read more--
></a> </div>

<div class="col-md-4"><div class="title-box clearfix "><h2 class="title-


box_primary">Gymkhana TV</h2></div>
<div class="list styled custom-list">
<ul><li><a title="Brief explanation of all the topics of all your chapters
of Mathematics II by Sudipto sir" href="#">Mathematics II</a></li>
<li><a title="Fusce feugiat malesuada odio. Morbi nunc odio gravida at
cursus nec luctus." href="#">Computer Science</a></li>
<li><a title="Penatibus et magnis dis parturient montes ascetur ridiculus
mus." href="#">Electromagnatic Theory</a></li>
<li><a title="Morbi nunc odio gravida at cursus nec luctus a lorem.
Maecenas tristique orci." href="#">Data Structure and C</a></li>
<li><a title="Snatoque penatibus et magnis dis partu rient montes ascetur
ridiculus mus." href="#">Control System</a></li>
<li><a title="Fusce feugiat malesuada odio. Morbi nunc odio gravida at
cursus nec luctus." href="#">Computer Algorithm</a></li>
</ul>
</div>
</div>
</div>
</section>

<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
63

IEM Ashram Campus</a>


</li>
<li><a href="#">
New York Public School</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Admissions
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">Application Procedure </a></li>
<li><a href="#">Live Counseling</a></li>
<li><a href="#">Scholarship Scheme</a></li>
<li><a href="#">Career</a>
<li><a href="#">Test Education</a>
<li><a href="#">Loans</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Institute of Engineering & Management</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i>Ashram Building, GN-34/2, Sector – V,
Saltlake Electronics Complex
Kolkata – 700 091, West Bengal, India.<br>
<i class="fa fa-phone"></i>+91 7278162910 <br>
<i class="fa fa-envelope-o"></i>[email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
64

<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script src="assets/js/modernizr-latest.js"></script>
<script type='text/javascript' src='assets/js/jquery.min.js'></script>
<script type='text/javascript'
src='assets/js/fancybox/jquery.fancybox.pack.js'></script>

<script type='text/javascript'
src='assets/js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='assets/js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='assets/js/camera.min.js'></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
jQuery(function () {

jQuery('#camera_wrap_4').camera({
transPeriod: 500,
time: 3000,
height: '600',
loader: 'false',
pagination: true,
thumbnails: false,
hover: false,
playPause: false,
navigation: false,
opacityOnGrid: false,
imagePath: 'assets/images/'
});

});

</script>
65

</body>
</html>

Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
}

Login.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
CodeBehind="Login.aspx.cs" Inherits="EnginX.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
height: 61px;
66

}
.auto-style3 {
width: 191px;
}
.auto-style5 {
width: 100px;
height: 61px;
}
.auto-style6 {
width: 100%;
height: 376px;
}
.auto-style7 {
width: 100px;
height: 34px;
}
.auto-style8 {
width: 191px;
height: 34px;
}
.auto-style9 {
width: 462px;
height: 34px;
}
.auto-style10 {
height: 34px;
}
.auto-style11 {
width: 462px
}
.auto-style12 {
font-size: x-large;
}
.auto-style13 {
width: 100px;
height: 41px;
}
.auto-style14 {
width: 191px;
height: 41px;
}
.auto-style15 {
width: 462px;
height: 41px;
}
.auto-style16 {
height: 41px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Student Login<h1>

</div>
</header>

<table class="auto-style6">
<tr>
67

<td class="auto-style5"></td>
<td class="auto-style2" colspan="2">EnginX<br />
<span style="color: rgb(110, 110, 110); font-family: Lato, sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-
caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-
decoration-style: initial; text-decoration-color: initial; display: inline !important;
float: none;">Log in into your account to check your Academic
Achvievement.</span></td>
<td class="auto-style2"><span class="auto-style12">Not an
EnginXer?</span><br />
<asp:Button ID="Buttonrgnw" runat="server"
PostBackUrl="~/Registration.aspx" Text="Register Now!" OnClick="Buttonrgnw_Click"
CausesValidation="False" />
</td>
</tr>
<tr>
<td class="auto-style13"></td>
<td class="auto-style14">Registration Number:</td>
<td class="auto-style15">
<asp:TextBox ID="TextBoxrgnmbr" runat="server"
Width="180px"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidatorrgnmbr"
runat="server" ControlToValidate="TextBoxrgnmbr" ErrorMessage="Registration Number Is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style16">&nbsp;</td>
</tr>
<tr>
<td class="auto-style7"></td>
<td class="auto-style8">Password:</td>
<td class="auto-style9">
<asp:TextBox ID="TextBoxpswrd" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidatorpas"
runat="server" ControlToValidate="TextBoxpswrd" ErrorMessage="Please input Password"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style10"><span class="auto-style12">EnginX
Admin?</span><br />
<asp:Button ID="Buttonadminlgin" runat="server" Text="Log In"
OnClick="Buttonadminlgin_Click" PostBackUrl="~/Admin_Login.aspx"
CausesValidation="False" />
</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style3">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[studenttable]"></asp:SqlDataSource>
</td>
<td class="auto-style11">
<asp:Button ID="Buttonlgin" runat="server" Text="Log In"
OnClick="Buttonlgin_Click" />
</td>
<td>&nbsp;</td>
</tr>
<tr>
68

<td class="auto-style1">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

</asp:Content>

Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;

namespace EnginX
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Buttonlgin_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd=new SqlCommand("select * from studenttable where
reg_nmbr='"+TextBoxrgnmbr.Text+"'and password='"+TextBoxpswrd.Text+"'",con);
SqlDataAdapter sda = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
sda.Fill(dt);
if (dt.Rows.Count.ToString() == "1")
{

Session["reg_nmbr"] = TextBoxrgnmbr.Text;
Response.Redirect("studentinterface.aspx");
}
else
{
Response.Redirect("~/Default.aspx");
}
con.Close();

}
69

protected void Buttonadminlgin_Click(object sender, EventArgs e)


{
Response.Redirect("Admin_Login.aspx");
}

protected void Buttonrgnw_Click(object sender, EventArgs e)


{
Response.Redirect("~/Registration.aspx");
}
}
}

studentinterface.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="studentinterface.aspx.cs" Inherits="EnginX.studentinterface1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<style type="text/css">
.auto-style1 {
width: 15px;
}
.auto-style2 {
width: 100px;
}
.auto-style3 {
width: 100px;
height: 16px;
}
.auto-style8 {
height: 20px;
width: 175px;
}
.auto-style9 {
height: 21px;
70

width: 175px;
}
.auto-style10 {
height: 22px;
width: 175px;
}
.auto-style11 {
height: 23px;
width: 8px;
}
.auto-style12 {
height: 24px;
}
.auto-style13 {
height: 25px;
width: 66px;
}
.auto-style14 {
height: 26px;
width: 13px;
}
.auto-style15 {
height: 18px;
width: 66px;
}
.auto-style16 {
height: 17px;
}
.auto-style17 {
height: 16px;
}
.auto-style18 {
height: 16px;
width: 66px;
}
.auto-style19 {
height: 16px;
width: 2px;
}
.auto-style20 {
width: 2px;
}
.auto-style21 {
height: 16px;
width: 175px;
}
.auto-style22 {
height: 16px;
width: 9px;
}
.auto-style23 {
width: 9px;
}
.auto-style24 {
height: 16px;
width: 13px;
}
.auto-style25 {
height: 16px;
width: 8px;
}
</style>
71

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table style="width:101%;">
<tr>
<td class="auto-style3"></td>
<td class="auto-style21"></td>
<td class="auto-style19"></td>
<td class="auto-style18"></td>
<td class="auto-style22"></td>
<td class="auto-style24"></td>
<td class="auto-style25"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style1" colspan="4">
<h2><asp:Label ID="Labelhello" runat="server" Text="Label"
Width="180px"></asp:Label></h2>
</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td></td>
<td class="auto-style12"></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonchngpass" runat="server"
PostBackUrl="~/stdchngpass.aspx" OnClick="LinkButtonchngpass_Click">1. Change
Password</asp:LinkButton>
</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">Day</td>
<td class="auto-style23">1st</td>
<td class="auto-style14">2nd</td>
<td class="auto-style11">3rd</td>
<td class="auto-style12">4th</td>
<td>5th</td>
<td>6th</td>
<td>7th</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
72

<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2"></td>
<td class="auto-style10">
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/holydays.aspx" OnClick="LinkButton2_Click">2.Holyday
list</asp:LinkButton>
</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style15">Monday</td>
<td class="auto-style16" colspan="4" rowspan="2">Digital Communication LAB
(Grp A) / CN II LAB<br />
<asp:LinkButton ID="LinkButton1" runat="server">GG
sir</asp:LinkButton>
</td>
<td class="auto-style16"></td>
<td class="auto-style16"></td>
<td class="auto-style16">&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style10">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style15">&nbsp;</td>
<td class="auto-style16">&nbsp;</td>
<td class="auto-style16">&nbsp;</td>
<td class="auto-style16">&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonsemfee" runat="server"
OnClick="LinkButtonsemfee_Click" PostBackUrl="~/payment.aspx">3. Pay Semester
Fees</asp:LinkButton>
</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">thuesday</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
73

<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonatt" runat="server"
OnClick="LinkButtonatt_Click"
PostBackUrl="~/Attenance.aspx">4.Attendance</asp:LinkButton>
</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">Wednesday</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">Thursday</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
74

<td class="auto-style13">Friday</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">Saturday</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11"></td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
75

<td class="auto-style2">&nbsp;</td>
<td class="auto-style8">&nbsp;</td>
<td class="auto-style20">&nbsp;</td>
<td class="auto-style13">&nbsp;</td>
<td class="auto-style23">&nbsp;</td>
<td class="auto-style14">&nbsp;</td>
<td class="auto-style11">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

studentinterface.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class studentinterface1 : System.Web.UI.Page
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{
if (Session["reg_nmbr"] != null)
{
Labelhello.Text = "How is it going?" + Session["reg_nmbr"].ToString();
}
else
{
Response.Redirect("~/Login.aspx");
}
}

protected void LinkButtonchngpass_Click(object sender, EventArgs e)


{
Response.Redirect("stdchngpass.aspx");

protected void LinkButton2_Click(object sender, EventArgs e)


{
Response.Redirect("holydays.aspx");
}

protected void LinkButtonsemfee_Click(object sender, EventArgs e)


76

{
Response.Redirect("payment.aspx");
}

protected void LinkButtonatt_Click(object sender, EventArgs e)


{
Response.Redirect("Attenance.aspx");
}
}
}

stdchngpass.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="stdchngpass.aspx.cs" Inherits="EnginX.Change_Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 200px;
}
.auto-style3 {
width: 100px;
height: 24px;
}
.auto-style4 {
width: 200px;
height: 24px;
}
.auto-style5 {
height: 24px;
}
.auto-style6 {
width: 100px;
77

height: 29px;
}
.auto-style7 {
width: 200px;
height: 29px;
}
.auto-style8 {
height: 29px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Change Password</h1>
</div>
</header>
<table style="width: 100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style4">Current Password</td>
<td class="auto-style5">
<asp:TextBox ID="TextBoxcurpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidatorcpas"
runat="server" ControlToValidate="TextBoxcurpass" ErrorMessage="Provide Current
Password" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style5"></td>
<td class="auto-style5"></td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">New Password</td>
<td>
<asp:TextBox ID="TextBoxnwpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidatornpas"
runat="server" ControlToValidate="TextBoxnwpass" ErrorMessage="Input New Password"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
78

<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Confirm New Password</td>
<td>
<asp:TextBox ID="TextBoxcnwpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="TextBoxcnwpass" ErrorMessage="Retype your New
Paasword" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style6"></td>
<td class="auto-style7"></td>
<td class="auto-style8">
<asp:Button ID="Buttonchngpass" runat="server"
OnClick="Buttonchngpass_Click" Text="Change" />
<asp:Label ID="Labelchngpass" runat="server"></asp:Label>
</td>
<td class="auto-style8"></td>
<td class="auto-style8"></td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[studenttable]">
</asp:SqlDataSource>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

stdchngpass.aspx.cs
using System;
79

using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace EnginX
{
public partial class Change_Password : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{

protected void Buttonchngpass_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
SqlDataAdapter sda = new SqlDataAdapter("select * from studenttable where
password='"+TextBoxcurpass.Text+"'",con);
DataTable dt=new DataTable();
sda.Fill(dt);
if (dt.Rows.Count.ToString() == "1")
{
if (TextBoxnwpass.Text == TextBoxcnwpass.Text)
{
con.Open();
SqlCommand cmd = new SqlCommand("update studenttable set
password='" + TextBoxcnwpass.Text + "'where password='" + TextBoxcurpass.Text + "'",
con);
cmd.ExecuteNonQuery();
con.Close();
Labelchngpass.Text = "Password changed successfully";
Labelchngpass.ForeColor = System.Drawing.Color.Green;

}
else
{
Labelchngpass.Text = "Please check the password once again!";
Labelchngpass.ForeColor = System.Drawing.Color.Red;
}
}

}
}
}
80

payment.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="payment.aspx.cs" Inherits="EnginX.payment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
height: 20px;
}
.auto-style2 {
height: 20px;
width: 100px;
}
.auto-style3 {
width: 100px;
}
.auto-style8 {
height: 20px;
width: 233px;
}
.auto-style9 {
width: 233px;
}
.auto-style11 {
height: 20px;
width: 12px;
}
.auto-style12 {
width: 12px;
}
.auto-style14 {
height: 23px;
81

}
.auto-style15 {
width: 127px;
}
.auto-style16 {
height: 23px;
width: 127px;
}
.auto-style17 {
height: 18px;
width: 100px;
}
.auto-style18 {
height: 18px;
}
.auto-style19 {
width: 100px;
height: 24px;
}
.auto-style20 {
width: 233px;
height: 24px;
}
.auto-style21 {
width: 12px;
height: 24px;
}
.auto-style22 {
height: 24px;
}
.auto-style23 {
width: 100px;
height: 29px;
}
.auto-style24 {
width: 233px;
height: 29px;
}
.auto-style25 {
width: 12px;
height: 29px;
}
.auto-style26 {
height: 29px;
}
.auto-style29 {
width: 100px;
height: 25px;
}
.auto-style30 {
width: 233px;
height: 25px;
}
.auto-style31 {
width: 12px;
height: 25px;
}
.auto-style32 {
height: 25px;
}
.auto-style33 {
width: 100px;
82

height: 27px;
}
.auto-style34 {
height: 27px;
}
.auto-style35 {
width: 56%
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Pay Semester Fee<h1>

</div>
</header>

<table style="width: 100%;">


<tr>
<td class="auto-style29"></td>
<td class="auto-style30"></td>
<td class="auto-style31"></td>
<td class="auto-style32"></td>
<td class="auto-style32"></td>
<td class="auto-style32">&nbsp;</td>
</tr>
<tr>
<td class="auto-style33"></td>
<td class="auto-style34" colspan="2">Step 1: Select Semester</td>
<td rowspan="5">
<table class="auto-style35">
<tr>
<td class="auto-style15">Fee Structure</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style15">Semester</td>
<td>Fees</td>
</tr>
<tr>
<td class="auto-style16">1st</td>
<td class="auto-style14">12000/-</td>
</tr>
<tr>
<td class="auto-style16">2nd</td>
<td class="auto-style14">12500/-</td>
</tr>
<tr>
<td class="auto-style16">3rd</td>
<td class="auto-style14">13000/-</td>
</tr>
<tr>
<td class="auto-style16">4th</td>
<td class="auto-style14">13500/-</td>
</tr>
<tr>
<td class="auto-style16">5th</td>
<td class="auto-style14">14000/-</td>
</tr>
<tr>
83

<td class="auto-style16">6th</td>
<td class="auto-style14">14500/-</td>
</tr>
<tr>
<td class="auto-style15">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
<td class="auto-style34"></td>
<td class="auto-style34">&nbsp;</td>
</tr>
<tr>
<td class="auto-style17"></td>
<td class="auto-style18" colspan="2">
<asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="True">
<asp:ListItem>Select Semester</asp:ListItem>
<asp:ListItem>1st Sem</asp:ListItem>
<asp:ListItem>2nd Sem</asp:ListItem>
<asp:ListItem>3rd Sem</asp:ListItem>
<asp:ListItem>4th Sem</asp:ListItem>
<asp:ListItem>5th Sem</asp:ListItem>
<asp:ListItem>6th Sem</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</td>
<td class="auto-style18"></td>
<td class="auto-style18">&nbsp;</td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style9">Registration Number<br />
<asp:TextBox ID="TextBoxrgnmbr" runat="server"
Width="180px"></asp:TextBox>
</td>
<td class="auto-style12"></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style19"></td>
<td class="auto-style20">Step 2: Select Payment Method</td>
<td class="auto-style21"></td>
<td class="auto-style22"></td>
<td class="auto-style22">&nbsp;</td>
</tr>
<tr>
<td class="auto-style23"></td>
<td class="auto-style24">
<asp:DropDownList ID="DropDownList2" runat="server"
AutoPostBack="True">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Cash</asp:ListItem>
<asp:ListItem>Debit Card</asp:ListItem>
<asp:ListItem>Credit Card</asp:ListItem>
<asp:ListItem>NEFT</asp:ListItem>
</asp:DropDownList>
</td>
<td class="auto-style25"></td>
<td class="auto-style26"></td>
<td class="auto-style26">&nbsp;</td>
84

</tr>
<tr>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style9">
<asp:Button ID="Buttonpay" runat="server" OnClick="Buttonpay_Click"
Text="Pay Now!" />
<asp:Label ID="Labelpay" runat="server"></asp:Label>
</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
<Columns>
<asp:BoundField DataField="reg_nmbr" HeaderText="Registration
Number" SortExpression="reg_nmbr" >
<HeaderStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="semester" HeaderText="Semester"
SortExpression="semester" >
<HeaderStyle Width="80px" />
</asp:BoundField>
<asp:BoundField DataField="method" HeaderText="Method"
SortExpression="method" >
<HeaderStyle Width="80px" />
</asp:BoundField>
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="#FFFFCC" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099"
HorizontalAlign="Center" />
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="#663399" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT [reg_nmbr],
[semester], [method] FROM [semfeetable] WHERE ([reg_nmbr] = @reg_nmbr)">
<SelectParameters>
<asp:SessionParameter Name="reg_nmbr" SessionField="reg_nmbr"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
85

<td class="auto-style8">&nbsp;</td>
<td class="auto-style11"></td>
<td class="auto-style1"></td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
</tr>
<tr>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style12">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

payment.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;

namespace EnginX
{
public partial class payment : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{

protected void Buttonpay_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
semfeetable(reg_nmbr,semester,method)values(@reg_nmbr,@semester,@method)", con);
cmd.Parameters.AddWithValue("@reg_nmbr", TextBoxrgnmbr.Text);
cmd.Parameters.AddWithValue("@semester",
DropDownList1.SelectedItem.Value);
cmd.Parameters.AddWithValue("@method", DropDownList2.SelectedItem.Value);
if (cmd.ExecuteNonQuery() == 1)
{
Response.Redirect("~/Paymentcomplete.aspx");
}
else
86

{
Labelpay.Text = "Error, Try again!!";
}
}

}
}

Paymentcomplete.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="Paymentcomplete.aspx.cs" Inherits="EnginX.Paymentcomplete" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Payment Complete!<h1>

</div>
</header>

<table style="width: 100%;">


<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
87

<td>
<asp:Label ID="Labelpaycom" runat="server"
ForeColor="#66FF66"></asp:Label>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

Paymentcomplete.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class Paymentcomplete : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{
if (Session["reg_nmbr"] != null)
{
Labelpaycom.Text = "Your Payment is Complete "+
Session["reg_nmbr"].ToString();
}
else
{
Response.Redirect("payment.aspx");
}
}
}
}
88

After Payment payment.aspx

holydays.aspx

Source
89

<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"


CodeBehind="holydays.aspx.cs" Inherits="EnginX.holydays" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 288px
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<header id="head" class="secondary">
<div class="container">
<h1>HOLIDAY LIST FOR THE YEAR 2018</h1>

</div>
</header>

<table style="width: 100%;">


<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td colspan="2" rowspan="2">
<table class="table table-bordered table-striped table-hover"
style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse;
background-color: rgb(255, 255, 255); width: 750px; max-width: 100%; margin-bottom:
20px; border: 1px solid rgb(221, 221, 221); color: rgb(0, 0, 0); font-family: Roboto;
font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-
caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:
0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-
color: initial; height: 890px;" width="823">
<thead style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<th style="box-sizing: border-box; padding: 8px; text-
align: left; line-height: 1.42857; vertical-align: bottom; border-width: 0px 1px 2px;
border-top-style: initial; border-top-color: initial; border-bottom-style: solid;
border-bottom-color: rgb(221, 221, 221); border-right-style: solid; border-left-style:
solid; border-right-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221);
border-image: initial;">Date</th>
<th style="box-sizing: border-box; padding: 8px; text-
align: left; line-height: 1.42857; vertical-align: bottom; border-width: 0px 1px 2px;
border-top-style: initial; border-top-color: initial; border-bottom-style: solid;
border-bottom-color: rgb(221, 221, 221); border-right-style: solid; border-left-style:
solid; border-right-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221);
border-image: initial;">Day</th>
<th style="box-sizing: border-box; padding: 8px; text-
align: left; line-height: 1.42857; vertical-align: bottom; border-width: 0px 1px 2px;
border-top-style: initial; border-top-color: initial; border-bottom-style: solid;
border-bottom-color: rgb(221, 221, 221); border-right-style: solid; border-left-style:
solid; border-right-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221);
border-image: initial;">Particulars</th>
</tr>
</thead>
90

<tbody style="box-sizing: border-box;">


<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">1st
January</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Monday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">New
Year’s Day</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">12th
January</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Birthday
of Swami Vivekananda</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">22nd
January</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Monday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Saraswati
Puja</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">23rd
January</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Tuesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Birthday
of Netaji Subhash Chandra Bose</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">26th
January</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Republic
Day</td>
</tr>
<tr style="box-sizing: border-box;">
91

<td style="box-sizing: border-box; padding: 8px; line-


height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">1st
March</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Thursday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Doljatra</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">2nd
March</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Holi</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">29th
March</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Thursday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Mahavir
Jayanti</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">30th
March</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Good
Friday</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">14th
April</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Saturday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Birthday
of Dr. B. R. Ambedkar</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">15th
April</td>
92

<td style="box-sizing: border-box; padding: 8px; line-


height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Sunday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Bengali
New Year’s Day</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">29th
April</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Sunday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Buddha
Purnima</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">1st
May</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Tuesady</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">May
Day</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">9th
May</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Wednesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Birthday
of Rabindranath Tagore</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">16th
June</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Saturday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Id-Ul-
Fitar</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">14th
July</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Saturday</td>
93

<td style="box-sizing: border-box; padding: 8px; line-


height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Rathayatra</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">15th
August</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Wednesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Independence Day</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">22nd
August</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Wednesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Id-Ud-
Zoha (Bakrid)</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">2nd
September</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Sunday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Janmastami</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">17th
September</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Monday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Viswakarma Puja</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">21st
September</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Muharram</td>
</tr>
94

<tr style="box-sizing: border-box;">


<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">2nd
October</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Tuesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Birthday
of Gandhiji</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">8th
October</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Monday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Mahalaya</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">15th
October to 26th October</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Monday to
Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">On
account of Durga Puja and Lakshmi Puja</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">6th
November to 9th November</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Tuesday
to Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">On
account of Kali Puja, Diwali &amp; Bhatridwitya</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">13th
November</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Tuesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Chhatpuja</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(249,
249, 249);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">21st
November</td>
95

<td style="box-sizing: border-box; padding: 8px; line-


height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Wednesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Fateh-
Dwaz-Daham</td>
</tr>
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">23rd
November</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Friday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Guru
Nanak Jayanti</td>
</tr>
<tr style="box-sizing: border-box; background-color: rgb(245,
245, 245);">
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">25th
December</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221,
221);">Tuesday</td>
<td style="box-sizing: border-box; padding: 8px; line-
height: 1.42857; vertical-align: top; border: 1px solid rgb(221, 221, 221);">Christmas
Day</td>
</tr>
</tbody>
</table>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

holydays.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class holydays : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
96

protected void Page_Load(object sender, EventArgs e)


{

}
}
}

Attenance.aspx

Source
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Attenance.aspx.cs"
Inherits="EnginX.Attenance" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<link rel='stylesheet' id='camera-css' href='assets/css/camera.css'
type='text/css' media='all'>
97

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
<style type="text/css">
.auto-style1 {
width: 101px;
}
.auto-style2 {
width: 101px;
height: 20px;
}
.auto-style3 {}
.auto-style4 {
width: 593px
}
</style>
</head>
<body>
<form id="form1" runat="server">
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li><a href="Login.aspx">Log Out</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->
98

<header id="head" class="secondary">


<div class="container">
<h1>Attendance</h1>
</div>
</header>
<table style="width: 100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2"></td>
<td class="auto-style3" colspan="2" rowspan="2">

<asp:GridView ID="GridView1" runat="server" AllowPaging="True"


AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None" Width="960px">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="reg_nmbr" HeaderText="reg_nmbr"
SortExpression="reg_nmbr" />
<asp:BoundField DataField="date" HeaderText="date"
SortExpression="date" />
<asp:BoundField DataField="day" HeaderText="day" SortExpression="day"
/>
<asp:BoundField DataField="math" HeaderText="math"
SortExpression="math" />
<asp:BoundField DataField="phy" HeaderText="phy" SortExpression="phy"
/>
<asp:BoundField DataField="che" HeaderText="che" SortExpression="che"
/>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333"
HorizontalAlign="Center" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<SortedAscendingCellStyle BackColor="#FDF5AC" />
<SortedAscendingHeaderStyle BackColor="#4D0000" />
<SortedDescendingCellStyle BackColor="#FCF6C0" />
<SortedDescendingHeaderStyle BackColor="#820000" />
</asp:GridView>
</td>
<td class="auto-style3"></td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td>&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
99

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$


ConnectionStrings:student %>" SelectCommand="SELECT [reg_nmbr], [date], [day], [math],
[phy], [che] FROM [attendancetable] WHERE ([reg_nmbr] = @reg_nmbr)">
<SelectParameters>
<asp:SessionParameter Name="reg_nmbr" SessionField="reg_nmbr"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</form>

</body>
</html>

Attenance.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class Attenance : System.Web.UI.Page
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{

}
}
}

Registration.aspx
100

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
CodeBehind="Registration.aspx.cs" Inherits="EnginX.Registration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
}
.auto-style3 {
font-size: xx-large;
}
.auto-style4 {
font-size: medium;
}
.auto-style5 {
width: 226px;
}
.auto-style7 {
width: 281px;
}
.auto-style8 {
width: 281px;
font-size: x-large;
}
.auto-style9 {
width: 99px;
}
.auto-style10 {
width: 283px
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Registration</h1>
101

<p>Register for your EnginX account</p>


</div>
</header>
<table style="width:100%;">
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style1" colspan="3"><span class="auto-style3">EnginX<br />
</span><span class="auto-style4" style="color: rgb(110, 110, 110); font-
family: Lato, sans-serif; font-style: normal; font-variant-ligatures: normal; font-
variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-
align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color: initial; display: inline
!important; float: none;">Register for your EnginX account to keep a track of your
Academic Achievements.</span></td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style1" colspan="2"><span style="color: rgb(110, 110, 110);
font-family: &quot;Times New Roman&quot;, Times, serif; font-size: x-large; font-
style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-
transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-
stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline !important; float:
none;">Create a new Account</span></td>
<td class="auto-style8">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">&nbsp;</td>
<td class="auto-style7">
&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Stream:</td>
<td class="auto-style10">
<asp:DropDownList ID="DropDownListstrm" runat="server" AutoPostBack="True"
Width="180px">
<asp:ListItem Value="0">Select Stream</asp:ListItem>
<asp:ListItem>Civil</asp:ListItem>
<asp:ListItem>Mechanical</asp:ListItem>
<asp:ListItem>Electrical</asp:ListItem>
<asp:ListItem>Electronics</asp:ListItem>
</asp:DropDownList>
*</td>
<td class="auto-style7">Already an EnginXer?</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorstrm" runat="server"
ControlToValidate="DropDownListstrm" ErrorMessage="*Stream Field Required"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">
<asp:Button ID="Buttonlgin" runat="server" Text="Log In"
OnClick="Buttonlgin_Click" CausesValidation="False" />
</td>
102

</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Registration Number</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxregnmbr" runat="server"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorrgnmbr"
runat="server" ControlToValidate="TextBoxregnmbr" ErrorMessage="*Registraion Number is
Required" ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Name:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxname" runat="server" Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatornm" runat="server"
ControlToValidate="TextBoxname" ErrorMessage="*Name is Required"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Student Name:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxuname" runat="server" Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorunm" runat="server"
ControlToValidate="TextBoxuname" ErrorMessage="*Student Name is Required"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Phone Number:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxphnmbr" runat="server"
Width="180px"></asp:TextBox>
103

*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorph" runat="server"
ControlToValidate="TextBoxphnmbr" ErrorMessage="*Phone No is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Email Id:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxmailid" runat="server" Width="180px"
TextMode="Email"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatoremail"
runat="server" ControlToValidate="TextBoxmailid" ErrorMessage="*Email Id is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Password</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxpass" runat="server" TextMode="Password"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorpas" runat="server"
ControlToValidate="TextBoxpass" ErrorMessage="*Password is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">Confirm Password:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxcpass" runat="server" TextMode="Password"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
104

<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorcpas" runat="server"
ControlToValidate="TextBoxcpass" ErrorMessage="*Confirm your
Password"></asp:RequiredFieldValidator>
<br />
<asp:CompareValidator ID="CompareValidatorcpas" runat="server"
ControlToCompare="TextBoxpass" ControlToValidate="TextBoxcpass"
ErrorMessage="*Password didn't match" ForeColor="#FF3300"></asp:CompareValidator>
</td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">
&nbsp;</td>
<td class="auto-style5">
<asp:Label ID="Label1" runat="server"></asp:Label>
</td>
<td class="auto-style10">
<asp:Button ID="Buttonsubmit" runat="server" OnClick="Buttonsubmit_Click1"
Text="Sign Up" />
&nbsp;<input id="Reset1" type="reset" value="Reset" /></td>
<td class="auto-style7">&nbsp;</td>
</tr>
<tr>
<td class="auto-style9">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style10">&nbsp;</td>
<td class="auto-style7">&nbsp;</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:student %>" DeleteCommand="DELETE FROM [studenttable] WHERE [stsId]
= @stsId" InsertCommand="INSERT INTO [studenttable] ([reg_nmbr], [stream], [name],
[u_name], [ph_nmbr], [mail_id], [password]) VALUES (@reg_nmbr, @stream, @name,
@u_name, @ph_nmbr, @mail_id, @password)" SelectCommand="SELECT * FROM [studenttable]"
UpdateCommand="UPDATE [studenttable] SET [reg_nmbr] = @reg_nmbr, [stream] = @stream,
[name] = @name, [u_name] = @u_name, [ph_nmbr] = @ph_nmbr, [mail_id] = @mail_id,
[password] = @password WHERE [stsId] = @stsId">
<DeleteParameters>
<asp:Parameter Name="stsId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
<asp:Parameter Name="stsId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
105

</asp:Content>

Registration.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;

namespace EnginX
{
public partial class Registration : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Buttonsubmit_Click1(object sender, EventArgs e)


{

SqlConnection con = new


SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
studenttable(reg_nmbr,stream,name,u_name,ph_nmbr,mail_id,password)values(@reg_nmbr,@st
ream,@name,@u_name,@ph_nmbr,@mail_id,@password)",con);
cmd.Parameters.AddWithValue("@reg_nmbr",TextBoxregnmbr.Text);

cmd.Parameters.AddWithValue("@stream",DropDownListstrm.SelectedItem.Value);
cmd.Parameters.AddWithValue("@name",TextBoxname.Text);
cmd.Parameters.AddWithValue("@u_name",TextBoxuname.Text);
cmd.Parameters.AddWithValue("@ph_nmbr",TextBoxphnmbr.Text);
cmd.Parameters.AddWithValue("@mail_id",TextBoxmailid.Text);
cmd.Parameters.AddWithValue("@password",TextBoxpass.Text);

if (cmd.ExecuteNonQuery() == 1)
{
Response.Redirect("~/Login.aspx");
}
else
{
Label1.Text = "Try Again!!";
Label1.ForeColor = System.Drawing.Color.Red;
}
con.Close();

}
protected void Buttonlgin_Click(object sender, EventArgs e)
{
Response.Redirect("~/Login.aspx");
106

}
}

Admin_Login.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Add.aspx.cs" Inherits="EnginX.Admin.Add__Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 180px;
}
.auto-style3 {
width: 290px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<form id="form1" runat="server">


<table style="width:100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
107

</tr>
<tr>
<td class="auto-style1">
</td>
<td class="auto-style2">Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadname" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm0" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm0_Click">Admin
Home</asp:LinkButton>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Student Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaduname" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Phone Number:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaddph" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Mail Id:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadmail" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadpass" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Confirm Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadcpass" runat="server"
Width="180px"></asp:TextBox>
108

</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">
<asp:Label ID="Labeladadmin" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[admintable] WHERE [aId] = @aId" InsertCommand="INSERT INTO [admintable] ([ad_name],
[ad_uname], [ad_ph], [ad_mail], [ad_pass]) VALUES (@ad_name, @ad_uname, @ad_ph,
@ad_mail, @ad_pass)" SelectCommand="SELECT * FROM [admintable]" UpdateCommand="UPDATE
[admintable] SET [ad_name] = @ad_name, [ad_uname] = @ad_uname, [ad_ph] = @ad_ph,
[ad_mail] = @ad_mail, [ad_pass] = @ad_pass WHERE [aId] = @aId">
<DeleteParameters>
<asp:Parameter Name="aId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
<asp:Parameter Name="aId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonsbmitadmin" runat="server"
OnClick="Buttonsbmitadmin_Click" Text="Submit" />
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</form>

</asp:Content>
109

Admin_Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;

namespace EnginX.Admin
{
public partial class Add__Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin_Login.aspx");
}
}

protected void Buttonsbmitadmin_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
admintable(ad_name,ad_uname,ad_ph,ad_mail,ad_pass)values(@ad_name,@ad_uname,@ad_ph,@ad
_mail,@ad_pass)", con);
cmd.Parameters.AddWithValue("@ad_name", TextBoxadname.Text);
cmd.Parameters.AddWithValue("@ad_uname",TextBoxaduname.Text);
cmd.Parameters.AddWithValue("@ad_ph",TextBoxaddph.Text);
cmd.Parameters.AddWithValue("@ad_mail",TextBoxadmail.Text);
cmd.Parameters.AddWithValue("@ad_pass",TextBoxadpass.Text);

if (cmd.ExecuteNonQuery() == 1)
{

Labeladadmin.Text = "Admin added!!";


Labeladadmin.ForeColor = System.Drawing.Color.Green;
}
else
{
Labeladadmin.Text = "Try once again";
Labeladadmin.ForeColor = System.Drawing.Color.Red;
}
con.Close();
}

protected void LinkButtonadhm0_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations.aspx");
}
}
110

Admin_Operations.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Operations.aspx.cs" Inherits="EnginX.Admin.Operations" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style3 {
width: 479px;
}
.auto-style4 {
width: 422px;
}
.auto-style5 {
width: 439px;
}
.auto-style6 {
width: 222px;
}
.auto-style10 {
width: 100px;
height: 9px;
}
.auto-style11 {
width: 222px;
height: 9px;
111

}
.auto-style12 {
height: 9px;
}
.auto-style13 {
width: 100px;
height: 2px;
}
.auto-style14 {
width: 222px;
height: 2px;
}
.auto-style15 {
height: 2px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<header id="head" class="secondary">
<div class="container">
<h1>Welcome
<asp:Label ID="Labelwlad" runat="server"></asp:Label>
</h1>
</div>
</header>
<br />
<table style="width:100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">
<asp:LinkButton ID="LinkButton2" runat="server"
OnClick="LinkButton2_Click" PostBackUrl="~/Admin_Operations.aspx">Admin
Home</asp:LinkButton>
</td>
<td class="auto-style6">&nbsp;</td>
<td>
<asp:LinkButton ID="LinkButtonaddadmin" runat="server"
PostBackUrl="~/Admin_Add.aspx" OnClick="LinkButtonaddadmin_Click">Add a new
Admin</asp:LinkButton>
</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">
<asp:LinkButton ID="LinkButtonstdreg" runat="server"
OnClick="LinkButtonstdreg_Click" PostBackUrl="~/Registration.aspx">Student
Registration</asp:LinkButton>
</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>
112

<asp:LinkButton ID="LinkButtonchngpass" runat="server"


OnClick="LinkButtonchngpass_Click" PostBackUrl="~/Admin_ChangePass.aspx" Width="180px"
Height="25px">Change Password</asp:LinkButton>
</td>
</tr>
<tr>
<td class="auto-style10"></td>
<td colspan="3" rowspan="5">
<asp:GridView ID="GridView2" runat="server"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="stsId"
DataSourceID="SqlDataSource1" Width="543px" BackColor="White" BorderColor="#3366CC"
BorderStyle="None" BorderWidth="1px">
<Columns>
<asp:CommandField ShowDeleteButton="True"
ShowEditButton="True" />
<asp:BoundField DataField="stsId" HeaderText="stsId"
InsertVisible="False" ReadOnly="True" SortExpression="stsId" >
<HeaderStyle Width="50px" />
</asp:BoundField>
<asp:BoundField DataField="reg_nmbr" HeaderText="reg_nmbr"
SortExpression="reg_nmbr" />
<asp:BoundField DataField="stream" HeaderText="stream"
SortExpression="stream" />
<asp:BoundField DataField="name" HeaderText="name"
SortExpression="name" />
<asp:BoundField DataField="u_name" HeaderText="u_name"
SortExpression="u_name" />
<asp:BoundField DataField="ph_nmbr" HeaderText="ph_nmbr"
SortExpression="ph_nmbr" />
<asp:BoundField DataField="mail_id" HeaderText="mail_id"
SortExpression="mail_id" />
<asp:BoundField DataField="password" HeaderText="password"
SortExpression="password" />
</Columns>
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<HeaderStyle BackColor="#003399" Font-Bold="True"
ForeColor="#CCCCFF" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399"
HorizontalAlign="Left" />
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True"
ForeColor="#CCFF99" />
<SortedAscendingCellStyle BackColor="#EDF6F6" />
<SortedAscendingHeaderStyle BackColor="#0D4AC4" />
<SortedDescendingCellStyle BackColor="#D6DFDF" />
<SortedDescendingHeaderStyle BackColor="#002876" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[studenttable] WHERE [stsId] = @stsId" InsertCommand="INSERT INTO [studenttable]
([reg_nmbr], [stream], [name], [u_name], [ph_nmbr], [mail_id], [password]) VALUES
(@reg_nmbr, @stream, @name, @u_name, @ph_nmbr, @mail_id, @password)"
SelectCommand="SELECT * FROM [studenttable] ORDER BY [reg_nmbr]" UpdateCommand="UPDATE
[studenttable] SET [reg_nmbr] = @reg_nmbr, [stream] = @stream, [name] = @name,
[u_name] = @u_name, [ph_nmbr] = @ph_nmbr, [mail_id] = @mail_id, [password] = @password
WHERE [stsId] = @stsId">
<DeleteParameters>
<asp:Parameter Name="stsId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
113

<asp:Parameter Name="name" Type="String" />


<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
<asp:Parameter Name="stsId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style11"></td>
<td class="auto-style12"></td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>
<asp:LinkButton ID="LinkButtonsud" runat="server"
PostBackUrl="~/Admin_SUD.aspx"
OnClick="LinkButtonsud_Click">Search/Update/Delete</asp:LinkButton>
</td>
</tr>
<tr>
<td class="auto-style13"></td>
<td class="auto-style14"></td>
<td class="auto-style15"></td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>
<asp:LinkButton ID="LinkButtonattendance" runat="server"
PostBackUrl="~/Admin_Attendance.aspx" OnClick="LinkButtonattendance_Click">Update
Attendance</asp:LinkButton>
</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
114

<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style5">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

</asp:Content>

Admin_Operations.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX.Admin
{
public partial class Operations : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin_Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{
if (Session["ad_uname"] != null)
{
Labelwlad.Text =Session["ad_uname"].ToString();
}
else
{
Response.Redirect("~/Admin_Login.aspx");
}
}

protected void LinkButtonchngpass_Click(object sender, EventArgs e)


{
115

Response.Redirect("~/Admin_ChangePass.aspx");
}

protected void LinkButtonaddadmin_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Add.aspx");
}

protected void LinkButtonsud_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_SUD.aspx");
}

protected void LinkButtonattendance_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Attendance.aspx");
}

protected void LinkButtonstdreg_Click(object sender, EventArgs e)


{
Response.Redirect("~/Registration.aspx");
}

protected void LinkButton2_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations");
}

}
}

Admin_Add.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Add.aspx.cs" Inherits="EnginX.Admin.Add__Admin" %>
116

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 180px;
}
.auto-style3 {
width: 290px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<header id="head" class="secondary">
<div class="container">
<h1>Add a new Admin</h1>
</div>
</header>

<table style="width:100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">
</td>
<td class="auto-style2">Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadname" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBoxadname" ErrorMessage="This field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm0" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm0_Click">Admin
Home</asp:LinkButton>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Student Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaduname" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBoxaduname" ErrorMessage="This Field is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Phone Number:</td>
117

<td class="auto-style3">
<asp:TextBox ID="TextBoxaddph" runat="server" Width="180px"
TextMode="Phone"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="TextBoxaddph" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Mail Id:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadmail" runat="server" Width="180px"
TextMode="Email"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server" ControlToValidate="TextBoxadmail" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5"
runat="server" ControlToValidate="TextBoxadpass" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Confirm Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadcpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6"
runat="server" ControlToValidate="TextBoxadcpass" ErrorMessage="This Field is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="TextBoxadpass" ControlToValidate="TextBoxadcpass"
ErrorMessage="Password didn't match" ForeColor="#FF3300"></asp:CompareValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">
<asp:Label ID="Labeladadmin" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
118

<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[admintable] WHERE [aId] = @aId" InsertCommand="INSERT INTO [admintable] ([ad_name],
[ad_uname], [ad_ph], [ad_mail], [ad_pass]) VALUES (@ad_name, @ad_uname, @ad_ph,
@ad_mail, @ad_pass)" SelectCommand="SELECT * FROM [admintable]" UpdateCommand="UPDATE
[admintable] SET [ad_name] = @ad_name, [ad_uname] = @ad_uname, [ad_ph] = @ad_ph,
[ad_mail] = @ad_mail, [ad_pass] = @ad_pass WHERE [aId] = @aId">
<DeleteParameters>
<asp:Parameter Name="aId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
<asp:Parameter Name="aId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonsbmitadmin" runat="server"
OnClick="Buttonsbmitadmin_Click" Text="Submit" />
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

</asp:Content>

Admin_Add.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;

namespace EnginX.Admin
119

{
public partial class Add__Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin_Login.aspx");
}
}

protected void Buttonsbmitadmin_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
admintable(ad_name,ad_uname,ad_ph,ad_mail,ad_pass)values(@ad_name,@ad_uname,@ad_ph,@ad
_mail,@ad_pass)", con);
cmd.Parameters.AddWithValue("@ad_name", TextBoxadname.Text);
cmd.Parameters.AddWithValue("@ad_uname",TextBoxaduname.Text);
cmd.Parameters.AddWithValue("@ad_ph",TextBoxaddph.Text);
cmd.Parameters.AddWithValue("@ad_mail",TextBoxadmail.Text);
cmd.Parameters.AddWithValue("@ad_pass",TextBoxadpass.Text);

if (cmd.ExecuteNonQuery() == 1)
{

Labeladadmin.Text = "Admin added!!";


Labeladadmin.ForeColor = System.Drawing.Color.Green;
}
else
{
Labeladadmin.Text = "Try once again";
Labeladadmin.ForeColor = System.Drawing.Color.Red;
}
con.Close();
}

protected void LinkButtonadhm0_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations.aspx");
}
}
}

After adding a new Admin Admin_Add.aspx


120

Admin_ChangePass.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_ChangePass.aspx.cs" Inherits="EnginX.Admin.Change_Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 198px;
}
121

.auto-style3 {
width: 363px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Change Password</h1>
</div>
</header>
<table style="width: 100%;">
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Current Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxcpas" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBoxcpas" ErrorMessage="Input Current Paasword"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:LinkButton ID="LinkButton2" runat="server"
OnClick="LinkButton2_Click">Admin Home</asp:LinkButton>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">New Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxnpas" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBoxnpas" ErrorMessage="Input New Password"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
122

<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">Confirm New Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxcnpas" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ErrorMessage="Retype New Password" ForeColor="#FF3300"
ControlToValidate="TextBoxcnpas"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[admintable]"></asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonchngpas" runat="server"
OnClick="Buttonchngpas_Click" Text="Change" />
<asp:Label ID="Labeladpas" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style3">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

</asp:Content>

Admin_ChangePass.aspx.cs
using System;
using System.Collections.Generic;
123

using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace EnginX.Admin
{
public partial class Change_Password : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin_Login.aspx");
}
}

protected void Buttonchngpas_Click(object sender, EventArgs e)


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
SqlDataAdapter sda = new SqlDataAdapter("select * from admintable where
ad_pass='" + TextBoxcpas.Text + "'", con);
DataTable dt = new DataTable();
sda.Fill(dt);
if (dt.Rows.Count.ToString() == "1")
{
if (TextBoxnpas.Text == TextBoxcnpas.Text)
{
con.Open();
SqlCommand cmd = new SqlCommand("update admintable set ad_pass='"
+ TextBoxcnpas.Text + "'where ad_pass='" + TextBoxcpas.Text + "'", con);
cmd.ExecuteNonQuery();
con.Close();
Labeladpas.Text = "Password changed successfully";
Labeladpas.ForeColor = System.Drawing.Color.Green;

}
else
{
Labeladpas.Text = "Please check the password once again!";
Labeladpas.ForeColor = System.Drawing.Color.Red;
}
}
}

protected void LinkButton2_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations");
}
}
}
124

After Changing Password Admin_ChangePass.aspx

Admin_SUD.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_SUD.aspx.cs" Inherits="EnginX.Admin.SUD" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
height: 20px;
}
.auto-style2 {
125

width: 100px;
}
.auto-style3 {
height: 20px;
width: 100px;
}
.auto-style4 {
width: 78px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Serach/Update/Delete</h1>
</div>
</header>

<table style="width: 100%;">


<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>
<asp:LinkButton ID="LinkButton2" runat="server"
OnClick="LinkButton2_Click" PostBackUrl="~/Admin_Operations.aspx">Admin
Home</asp:LinkButton>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style4">
<asp:TextBox ID="TextBox1" runat="server" Width="180px">Search by
Name</asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBox1" ErrorMessage="Provide a Name"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:Button ID="Buttonsrch" runat="server" OnClick="Buttonsrch_Click"
Text="Search" />
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
126

<td class="auto-style3"></td>
<td class="auto-style1" colspan="2">
<asp:GridView ID="GridViewsrchres" runat="server"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="stsId"
DataSourceID="SqlDataSource1" EmptyDataText="No records found." ForeColor="#333333"
GridLines="None" Visible="False">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:CommandField ShowDeleteButton="True"
ShowEditButton="True" />
<asp:BoundField DataField="stsId" HeaderText="stsId"
InsertVisible="False" ReadOnly="True" SortExpression="stsId" />
<asp:BoundField DataField="reg_nmbr" HeaderText="Registration
Number" SortExpression="reg_nmbr" />
<asp:BoundField DataField="stream" HeaderText="Stream"
SortExpression="stream" />
<asp:BoundField DataField="name" HeaderText="Name"
SortExpression="name" />
<asp:BoundField DataField="u_name" HeaderText="Student Name"
SortExpression="u_name" />
<asp:BoundField DataField="ph_nmbr" HeaderText="Phone Number"
SortExpression="ph_nmbr" />
<asp:BoundField DataField="mail_id" HeaderText="Mail Id"
SortExpression="mail_id" />
<asp:BoundField DataField="password" HeaderText="Password"
SortExpression="password" />
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[studenttable] WHERE [stsId] = @stsId" InsertCommand="INSERT INTO [studenttable]
([reg_nmbr], [stream], [name], [u_name], [ph_nmbr], [mail_id], [password]) VALUES
(@reg_nmbr, @stream, @name, @u_name, @ph_nmbr, @mail_id, @password)"
SelectCommand="SELECT * FROM [studenttable] WHERE ([name] LIKE '%' + @name + '%')"
UpdateCommand="UPDATE [studenttable] SET [reg_nmbr] = @reg_nmbr, [stream] = @stream,
[name] = @name, [u_name] = @u_name, [ph_nmbr] = @ph_nmbr, [mail_id] = @mail_id,
[password] = @password WHERE [stsId] = @stsId">
<DeleteParameters>
<asp:Parameter Name="stsId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
127

</InsertParameters>
<SelectParameters>
<asp:ControlParameter ControlID="TextBox1" Name="name"
PropertyName="Text" Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
<asp:Parameter Name="stsId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style1"></td>
<td class="auto-style1"></td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style4">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

Admin_SUD.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace EnginX.Admin
{
public partial class SUD : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin/Admin_Login.aspx");
}
}

protected void Page_Load(object sender, EventArgs e)


{

protected void Buttonsrch_Click(object sender, EventArgs e)


{
GridViewsrchres.Visible = true;
128

protected void LinkButton2_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations");
}
}
}

Admin_Attendance.aspx

Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Attendance.aspx.cs" Inherits="EnginX.Admin.Attendance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 179px;
}
.auto-style2 {
width: 100px;
}
.auto-style3 {
width: 100px;
height: 23px;
}
.auto-style4 {
width: 179px;
height: 23px;
}
.auto-style5 {
height: 23px;
}
.auto-style6 {
width: 377px;
129

}
.auto-style7 {
height: 23px;
width: 377px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<header id="head" class="secondary">


<div class="container">
<h1>Update Attndance</h1>
</div>
</header>

<p>
<table style="width:100%;">
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Registration Number:</td>
<td class="auto-style6">
<asp:TextBox ID="TextBox1" runat="server"
Width="180px"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBox1" ErrorMessage="Input Registration Number"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm_Click">Admin
Home</asp:LinkButton>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Date:</td>
<td class="auto-style6">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Date"
Width="180px"></asp:TextBox>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBox2" ErrorMessage="Date is required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
130

<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Day:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="True" Width="180px">
<asp:ListItem Value="0">Select Day</asp:ListItem>
<asp:ListItem>Monday</asp:ListItem>
<asp:ListItem>Tuesday</asp:ListItem>
<asp:ListItem>Wednesday</asp:ListItem>
<asp:ListItem>Thursday</asp:ListItem>
<asp:ListItem>Friday</asp:ListItem>
<asp:ListItem>Saturday</asp:ListItem>
</asp:DropDownList>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="DropDownList1" ErrorMessage="Date is required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Mathematics:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList2" runat="server" Width="180px">
<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server" ControlToValidate="DropDownList2" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Physics:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList3" runat="server"
AutoPostBack="True" Height="16px" Width="180px">
131

<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator5"
runat="server" ControlToValidate="DropDownList3" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">Chemistry:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList4" runat="server"
AutoPostBack="True" Width="180px">
<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6"
runat="server" ControlToValidate="DropDownList4" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style4"></td>
<td class="auto-style7"></td>
<td class="auto-style5"></td>
<td class="auto-style5">&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[attendancetable] WHERE [Id] = @Id" InsertCommand="INSERT INTO [attendancetable]
([reg_nmbr], [date], [day], [math], [phy], [che]) VALUES (@reg_nmbr, @date, @day,
@math, @phy, @che)" SelectCommand="SELECT * FROM [attendancetable]"
UpdateCommand="UPDATE [attendancetable] SET [reg_nmbr] = @reg_nmbr, [date] = @date,
[day] = @day, [math] = @math, [phy] = @phy, [che] = @che WHERE [Id] = @Id">
<DeleteParameters>
<asp:Parameter Name="Id" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter DbType="Date" Name="date" />
<asp:Parameter Name="day" Type="String" />
<asp:Parameter Name="math" Type="String" />
<asp:Parameter Name="phy" Type="String" />
132

<asp:Parameter Name="che" Type="String" />


</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter DbType="Date" Name="date" />
<asp:Parameter Name="day" Type="String" />
<asp:Parameter Name="math" Type="String" />
<asp:Parameter Name="phy" Type="String" />
<asp:Parameter Name="che" Type="String" />
<asp:Parameter Name="Id" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style6">
<asp:Button ID="Buttonattsbmit" runat="server"
OnClick="Buttonattsbmit_Click" Text="Submit" />
<asp:Label ID="Labelattsub" runat="server"></asp:Label>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td class="auto-style1">&nbsp;</td>
<td class="auto-style6">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</p>
</asp:Content>

Admin_Attendance.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace EnginX.Admin
{
public partial class Attendance : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void Page_Init(object sender, EventArgs e)


{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin/Admin_Login.aspx");
}
}

protected void Buttonattsbmit_Click(object sender, EventArgs e)


133

{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
attendancetable(reg_nmbr,date,day,math,phy,che)values(@reg_nmbr,@date,@day,@math,@phy,
@che)", con);
cmd.Parameters.AddWithValue("@reg_nmbr",TextBox1.Text);
cmd.Parameters.AddWithValue("@date",TextBox2.Text);
cmd.Parameters.AddWithValue("@day",DropDownList1.SelectedItem.Value);
cmd.Parameters.AddWithValue("@math",DropDownList2.SelectedItem.Value);
cmd.Parameters.AddWithValue("@phy",DropDownList3.SelectedItem.Value);
cmd.Parameters.AddWithValue("@che",DropDownList4.SelectedItem.Value);
if (cmd.ExecuteNonQuery() == 1)
{
Labelattsub.Text = "Submitted";
}
else
{
Labelattsub.Text = "Try again!!";
Labelattsub.ForeColor = System.Drawing.Color.Red;
}
con.Close();
}

protected void LinkButtonadhm_Click(object sender, EventArgs e)


{
Response.Redirect("~/Admin_Operations");
}
}
}

about.html

Source
<!--
Author: WebThemez
134

Author URL: http://webthemez.com


License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>

<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li class="active"><a
href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
135

<li><a href="Login.aspx">Log In</a></li>


</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->

<header id="head" class="secondary">


<div class="container">
<h1>About Us</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing eliras
scele!</p>
</div>
</header>

<!-- container -->


<section class="container">
<div class="row">
<!-- main content -->
<section class="col-sm-8 maincontent">
<h3>About Us</h3>
<p>
<img src="assets/images/about.jpg" alt="" class="img-rounded pull-
right" width="300">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet,
consequuntur eius repellendus eos aliquid molestiae ea laborum ex Lorem ipsum dolor
sit amet, consectetur adipisicing elit. Eveniet, consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam beatae soluta accusantium iusto nihil nesciunt unde veniam magnam
repudiandae sapiente.
</p>
<p>Consectetur adipisicing elit. Eveniet, consequuntur eius
repellendus eos aliquid molestiae ea laborum ex quibusdam laudantium voluptates
placeat consectetur quam aliquam beatae soluta accusantium iusto nihil nesciunt unde
veniam magnam repudiandae sapiente.</p>
<h3>Our Achievements</h3>
<strong>2014</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet,
consequuntur eius repellendus eos aliquid molestiae ea laborum ex quibusdam laudantium
voluptates placeat consectetur quam aliquam beatae soluta accusantium iusto nihil
nesciunt unde veniam magnam repudiandae sapiente. consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam!</p>
<strong>2013</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet,
consequuntur eius repellendus eos aliquid molestiae ea laborum ex quibusdam laudantium
voluptates placeat consectetur quam aliquam beatae soluta accusantium iusto nihil
nesciunt unde veniam magnam repudiandae sapiente. consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam!</p>
<strong>2012</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet,
consequuntur eius repellendus eos aliquid molestiae ea laborum ex quibusdam laudantium
voluptates placeat consectetur quam aliquam beatae soluta accusantium iusto nihil
nesciunt unde veniam magnam repudiandae sapiente. consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam!</p>
<strong>2011</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet,
consequuntur eius repellendus eos aliquid molestiae ea laborum ex quibusdam laudantium
136

voluptates placeat consectetur quam aliquam beatae soluta accusantium iusto nihil
nesciunt unde veniam magnam repudiandae sapiente. consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam!</p>
</section>
<!-- /main -->

<!-- Sidebar -->


<aside class="col-sm-4 sidebar sidebar-right">

<div class="panel">
<h4>Latest News</h4>
<ul class="list-unstyled list-spaces">
<li><a href="">Responsive Design</a><br>
<span class="small text-muted">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Animi, laborum.</span></li>
<li><a href="">HTML5, CSS3 and JavaScript</a><br>
<span class="small text-muted">Consequuntur eius
repellendus eos aliquid molestiae ea laborum ex quibusdam</span></li>
<li><a href="">Bootstrap</a><br>
<span class="small text-muted">Eveniet, consequuntur eius
repellendus eos aliquid molestiae ea</span></li>
<li><a href="">Clean Template</a><br>
<span class="small text-muted">Sed, mollitia earum debitis
est itaque esse reiciendis amet cupiditate.</span></li>
<li><a href="">Premium Quality</a><br>
<span class="small text-muted">Voluptate minus illo
tenetur sint ab in culpa cumque impedit quibusdam. Saepe, molestias quia.</span></li>
</ul>
</div>

</aside>
<!-- /Sidebar -->

</div>
</section>
<!-- /container -->
<section class="team-content">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3>Our Team</h3>
<p>Voluptate minus illo tenetur sint ab in culpa cumque impedit
quibusdam. Saepe, molestias quia.Voluptate minus illo tenetur sint ab in culpa cumque
impedit quibusdam. Saepe, molestias quia.Voluptate minus illo tenetur sint ab in culpa
cumque impedit quibusdam. Saepe, molestias quia.</p>
<br />
</div>
</div>
<div class="row">

<div class="col-md-3 col-sm-6 col-xs-6">


<!-- Team Member -->
<div class="team-member">
<!-- Image Hover Block -->
<div class="member-img">
<!-- Image -->
<img class="img-responsive" src="assets/images/photo-
1.jpg" alt="">
</div>
<!-- Member Details -->
<h4>John Doe</h4>
137

<!-- Designation -->


<span class="pos">CEO</span>
<div class="team-socials">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<!-- Team Member -->
<div class="team-member pDark">
<!-- Image Hover Block -->
<div class="member-img">
<!-- Image -->
<img class="img-responsive" src="assets/images/photo-
2.jpg" alt="">
</div>
<!-- Member Details -->
<h4>Larry Doe</h4>
<!-- Designation -->
<span class="pos">Director</span>
<div class="team-socials">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<!-- Team Member -->
<div class="team-member pDark">
<!-- Image Hover Block -->
<div class="member-img">
<!-- Image -->
<img class="img-responsive" src="assets/images/photo-
3.jpg" alt="">
</div>
<!-- Member Details -->
<h4>Ranith Kays</h4>
<!-- Designation -->
<span class="pos">Manager</span>
<div class="team-socials">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<!-- Team Member -->
<div class="team-member pDark">
<!-- Image Hover Block -->
<div class="member-img">
<!-- Image -->
138

<img class="img-responsive" src="assets/images/photo-


4.jpg" alt="">
</div>
<!-- Member Details -->
<h4>Joan Ray</h4>
<!-- Designation -->
<span class="pos">Creative</span>
<div class="team-socials">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
</div>
</div>
</section>
<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
139

Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
140

<a href="#"><i class="fa fa-github"></i></a>


</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>
141

courses.html

Source
<!--
Author: WebThemez
Author URL: http://webthemez.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>

<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
142

<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li ><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li class="active"><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->

<header id="head" class="secondary">


<div class="container">
<h1>Contact Us</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing eliras
scele!</p>
</div>
</header>

<!-- container -->


<div class="container">
<div class="row">
<div class="col-md-8">
<h3 class="section-title">Your Message</h3>
<p>
Lorem Ipsum is inting and typesetting in
simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
is dummy text ever since the 1500s, when an unknown printer took a galley of type and
scrambled it to make a type specimen book.
</p>

<form class="form-light mt-20" role="form">


<div class="form-group">
<label>Name</label>
143

<input type="text" class="form-


control" placeholder="Your name">
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">

<label>Email</label>
<input
type="email" class="form-control" placeholder="Email address">
</div>
</div>
<div class="col-md-6">
<div class="form-group">

<label>Phone</label>
<input
type="text" class="form-control" placeholder="Phone number">
</div>
</div>
</div>
<div class="form-group">
<label>Subject</label>
<input type="text" class="form-
control" placeholder="Subject">
</div>
<div class="form-group">
<label>Message</label>
<textarea class="form-control"
id="message" placeholder="Write you message here..." style="height:100px;"></textarea>
</div>
<button type="submit" class="btn btn-
two">Send message</button><p><br/></p>
</form>
</div>
<div class="col-md-4">
<div class="row">
<div class="col-md-6">
<h3 class="section-
title">Office Address</h3>
<div class="contact-info">
<h5>Address</h5>
<p>5th Street, Carl View
- United States</p>

<h5>Email</h5>

<p>[email protected]</p>

<h5>Phone</h5>
<p>+09 123 1234 123</p>
</div>
</div>
</div>

</div>
</div>
</div>
<!-- /container -->

<footer id="footer">
144

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
145

<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
146

<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>

<!-- Google Maps -->


<script
src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script src="assets/js/google-map.js"></script>

</body>
</html>
147

videos.html

Source
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" type="text/css" href="assets/css/isotope.css"
media="screen" />
<link rel="stylesheet" href="assets/js/fancybox/jquery.fancybox.css"
type="text/css" media="screen" />
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>

<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
148

<!-- Button for smallest screens -->


<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li ><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li class="active"><a
href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->

<header id="head" class="secondary">


<div class="container">
<h1>Online Videos</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing eliras
scele!</p>
</div>
</header>

<!-- container -->


<section class="container">
<div class="row">
<div class="col-md-12">
<section id="portfolio" class="page-section section appear
clearfix">
<br />
<br />
<p>
At lorem Ipsum available, but the majority
have suffered alteration in some form by injected huffered altehe majority have
suffered alteration in some form by injected huffered alteration in some form by
injected humour.uffered alteration in some form by injected h
<br />
<br />
</p>
149

<div class="row">
<nav id="filter" class="col-md-12 text-
center">
<ul>
<li><a href="#" class="current
btn-theme btn-small" data-filter="*">All</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".webdesign">Development</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".photography">Designing</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".print">Tools</a></li>
</ul>
</nav>
<div class="col-md-12">
<div class="row">
<div class="portfolio-items
isotopeWrapper clearfix" id="3">

<article class="col-sm-4
isotopeItem webdesign">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img1.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img1.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img2.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img2.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

</div>
</div>
150

</div>
</article>

<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img3.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img3.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img4.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img4.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img5.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img5.jpg" class="fancybox">

<h5>Project Title</h5>
151

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem webdesign">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img6.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="assets/images/portfolio/img6.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img7.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="images/portfolio/img7.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img8.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">
152

<a href="images/portfolio/img8.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img9.jpg" alt="" />
<div
class="portfolio-desc align-center">

<div class="folio-info">

<a href="images/portfolio/img9.jpg" class="fancybox">

<h5>Project Title</h5>

<i class="fa fa-link fa-2x"></i></a>

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

</div>

</div>
</div>

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

</section>
<!-- /container -->
<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
153

</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
154

<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
155

</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/jquery.cslider.js"></script>
<script src="assets/js/jquery.isotope.min.js"></script>
<script src="assets/js/fancybox/jquery.fancybox.pack.js"
type="text/javascript"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>

contact.html

Source
<!--
Author: WebThemez
Author URL: http://webthemez.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<head>
156

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>About - Techro Bootstrap template</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>

<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li class="active"><a
href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
157

<!-- /.navbar -->

<header id="head" class="secondary">


<div class="container">
<h1>Courses</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing eliras
scele!</p>
</div>
</header>

<div class="container">
<h3>Courses</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.
</p>
<br/>
<ul class="list-unstyled video-list-thumbs row">
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
</ul>

</div>
158

<div id="courses">
<section class="container">
<h3>Development Courses</h3>
<div class="row">
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Responsive Design</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>HTML5/CSS3</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Web Designing</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Web App Dev</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Data Base</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Mobile App Dev</h3>
159

Lorem ipsum dolor sit amet,


consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
</div>

</section>
</div>

<!-- container -->


<div class="container">
<div class="row">
<!-- Article content -->
<section class="col-sm-12 maincontent">
<h3>Responsive Website</h3>
<p>
Lorem Ipsum is simply dummy text of the printing
and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever
since the 1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book. It has survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially unchanged. It was popularised in
the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and
more recently with desktop publishing software like Aldus PageMaker including versions
of Lorem Ipsum.
</p>
<h3>Bootstrap</h3>
<p>Standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s with the
release of Letraset sheets containing Lorem Ipsum passages, and more recently with
desktop publishing software like Aldus PageMaker including versions of Lorem
Ipsum.</p>
</section>
</div>
</div>
<!-- /container -->
<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
160

</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
161

</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>
162

<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>

Master Page for Student/Admin Log In


Site.Master
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs"
Inherits="EnginX.SiteMaster" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>

<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>

<asp:ContentPlaceHolder ID="head" runat="server">


</asp:ContentPlaceHolder>
</head>
<body>

<form id="form1" runat="server">


<div>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
163

<img src="assets/images/logo.png" alt="Techro HTML5


template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>

<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
164

IEM Management Campus</a>


</li>
<li><a href="#">
IEM Ashram Campus</a>
</li>
<li><a href="#">
New York Public School</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Admissions
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">Application Procedure </a></li>
<li><a href="#">Live Counseling</a></li>
<li><a href="#">Scholarship Scheme</a></li>
<li><a href="#">Career</a>
<li><a href="#">Test Education</a>
<li><a href="#">Loans</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Institute of Engineering & Management</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i>Ashram Building, GN-34/2, Sector – V,
Saltlake Electronics Complex
Kolkata – 700 091, West Bengal, India.<br>
<i class="fa fa-phone"></i>+91 7278162910 <br>
<i class="fa fa-envelope-o"></i>[email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
165

<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

<!-- JavaScript libs are placed at the end of the document so the pages load faster --
>
<script src="assets/js/modernizr-latest.js"></script>
<script type='text/javascript' src='assets/js/jquery.min.js'></script>
<script type='text/javascript'
src='assets/js/fancybox/jquery.fancybox.pack.js'></script>
<script type='text/javascript'
src='assets/js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='assets/js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='assets/js/camera.min.js'></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
jQuery(function () {
jQuery('#camera_wrap_4').camera({
transPeriod: 500,
time: 3000,
height: '600',
loader: 'false',
pagination: true,
thumbnails: false,
hover: false,
playPause: false,
navigation: false,
opacityOnGrid: false,
imagePath: 'assets/images/'
});
});

</script>
</div>
166

</form>
</body>
</html>
Site.Master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class SiteMaster : MasterPage
{
private const string AntiXsrfTokenKey = "__AntiXsrfToken";
private const string AntiXsrfStudentNameKey = "__AntiXsrfStudentName";
private string _antiXsrfTokenValue;

protected void Page_Init(object sender, EventArgs e)


{
// The code below helps to protect against XSRF attacks
var requestCookie = Request.Cookies[AntiXsrfTokenKey];
Guid requestCookieGuidValue;
if (requestCookie != null && Guid.TryParse(requestCookie.Value, out
requestCookieGuidValue))
{
// Use the Anti-XSRF token from the cookie
_antiXsrfTokenValue = requestCookie.Value;
Page.ViewStateStudentKey = _antiXsrfTokenValue;
}
else
{
// Generate a new Anti-XSRF token and save to the cookie
_antiXsrfTokenValue = Guid.NewGuid().ToString("N");
Page.ViewStateStudentKey = _antiXsrfTokenValue;

var responseCookie = new HttpCookie(AntiXsrfTokenKey)


{
HttpOnly = true,
Value = _antiXsrfTokenValue
};
if (FormsAuthentication.RequireSSL && Request.IsSecureConnection)
{
responseCookie.Secure = true;
}
Response.Cookies.Set(responseCookie);
}

Page.PreLoad += master_Page_PreLoad;
}

protected void master_Page_PreLoad(object sender, EventArgs e)


{
if (!IsPostBack)
{
// Set Anti-XSRF token
ViewState[AntiXsrfTokenKey] = Page.ViewStateStudentKey;
ViewState[AntiXsrfStudentNameKey] = Context.Student.Identity.Name ??
String.Empty;
167

}
else
{
// Validate the Anti-XSRF token
if ((string)ViewState[AntiXsrfTokenKey] != _antiXsrfTokenValue
|| (string)ViewState[AntiXsrfStudentNameKey] !=
(Context.Student.Identity.Name ?? String.Empty))
{
throw new InvalidOperationException("Validation of Anti-XSRF token
failed.");
}
}
}

protected void Page_Load(object sender, EventArgs e)


{

}
}
}

Master Page for Student Log Out


Site2.Master
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site2.master.cs"
Inherits="EnginX.Site2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>

<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>

<asp:ContentPlaceHolder ID="head" runat="server">


</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
168

<div>
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li>
<asp:LinkButton ID="LinkButton1" class="nav navbar-nav pull-
right mainNav" runat="server" OnClick="LinkButton1_Click">Logout</asp:LinkButton>
</li>

</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>

<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
169

</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
IEM Ashram Campus</a>
</li>
<li><a href="#">
New York Public School</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Admissions
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">Application Procedure </a></li>
<li><a href="#">Live Counseling</a></li>
<li><a href="#">Scholarship Scheme</a></li>
<li><a href="#">Career</a>
<li><a href="#">Test Education</a>
<li><a href="#">Loans</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Institute of Engineering & Management</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i>Ashram Building, GN-34/2, Sector – V,
Saltlake Electronics Complex
Kolkata – 700 091, West Bengal, India.<br>
<i class="fa fa-phone"></i>+91 7278162910 <br>
<i class="fa fa-envelope-o"></i>[email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
170

<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>

</div>
</form>
</body>
</html>

Site2.Master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnginX
{
public partial class Site2 : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
171

protected void LinkButton1_Click(object sender, EventArgs e)


{
if (Session["reg_nmbr"] != null)
Session.Remove("reg_nmbr");
Response.Redirect("Login.aspx");
}
}
}

Master Page for Admin Log Out


Admin.Master
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="admin.master.cs"
Inherits="EnginX.admin" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>

<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>

<asp:ContentPlaceHolder ID="head" runat="server">


</asp:ContentPlaceHolder>
</head>
<body>

<form id="form1" runat="server">


<div>
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
172

</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li>
<asp:LinkButton ID="LinkButton1" class="nav navbar-nav pull-
right mainNav" runat="server" OnClick="LinkButton1_Click">Logout</asp:LinkButton>
</li>

</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>

<footer id="footer">

<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
173

IEM Ashram Campus</a>


</li>
<li><a href="#">
New York Public School</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Admissions
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">Application Procedure </a></li>
<li><a href="#">Live Counseling</a></li>
<li><a href="#">Scholarship Scheme</a></li>
<li><a href="#">Career</a>
<li><a href="#">Test Education</a>
<li><a href="#">Loans</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Institute of Engineering & Management</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i>Ashram Building, GN-34/2, Sector – V,
Saltlake Electronics Complex
Kolkata – 700 091, West Bengal, India.<br>
<i class="fa fa-phone"></i>+91 7278162910 <br>
<i class="fa fa-envelope-o"></i>[email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>

<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">

<div class="col-md-6 panel">


<div class="panel-body">
<p class="simplenav">
<a href="index.html">Home</a> |
174

<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>

<div class="col-md-6 panel">


<div class="panel-body">
<p class="text-right">
Copyright &copy; 2014. Template
by <a href="http://webthemez.com/" rel="develop">WebThemez.com</a>
</p>
</div>
</div>

</div>
<!-- /row of panels -->
</div>
</div>
</footer>s
</div>
</form>
</body>
</html>

Admin.Master

You might also like