Chapter 1.Introduction
1.1 Existing SYSTEM
1.2 Proposed SYSTEM:
1.3 Hardware and Website Requirements
1.4 Feasibility Study:
Introduction
2.2
Functional Requirements
2.3
Non-Functional Requirements
Chapter 4. Design
4.1 Requirement Analysis Phase
4.2 Design Phase
4.3 Development Phase
4.4 Coding Phase
4.5 Testing Phase
Abstract:
This School portal project developed using PHP programming language. The main aim of this
project is to develop an online website which covers all the details of school i.e.; Student
attendance details, Event & Activities details, Photo gallery , Notice, Time Table, Result etc.
Admin is the Super user of this project. All the record stores in MySQL Database. The proposed
Website will also reduce the cumbersome paper work, manual labor as well as communication
cost.
School Jotter makes life easier for teachers in more ways than one. Use it to
advertise vacancies and manage CVs, send SMS messages to Staff, create online forms, publicize
events, and more. Because School Jotter is a web based CMS, you can update your site from
anywhere with an Internet connection. Updating and editing your website, and adding images,
videos or web forms couldn't be simpler. Make the most out of the various add-ons such as email
broadcasting to parents, SMS messaging, media, and surveys. From your initial training session
onwards we're on hand to provide \support telephone, email and even web chat.
The various features provided by the system are: Users doesnt have the permission to delete the records only Admin had the permission to
delete the records of users.
Secure
Easy to use
Home Delivery
Fully Dynamic
Module Description:
The system after careful analysis has been identified to be presented with the following modules:
3
Administrator
Notice
Insert
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
Update
Delete
View
Search
---------
Delete
View
Search
Faculty
Insert
Facility
Insert
Gallery
Insert
Student Achievement
Insert
Student Master
Insert
Bus Master
Insert
Category
Insert
Contact
Insert
User
Message
Home
Slider
Notice
About Us
Principal Message
History
Details
Our Aim
Admission
4
Rules & Regulation
School Uniform
Bus Route
Academic
Affiliation
Achievement
a) Home
Student Achievement
b) About Us
About us
i) Principal Message
ii) History of School
Description
Contact Form
Contact Details
Features:
Description of the Project:
1.Introduction
The title of the project is School portal. This project will handle whole the
activities of the school. School portal has most of the facilities that a modern school requires to
computerize its day-to-day jobs. It provides facilities to keep the records of student, fees,
Teaching and non-teaching staff with all their required details along with all required
Transaction handling. It has facilities to generate various types of reports, which are required by
the management during normal business operations to operate the business effectively.
5
For instance
1. For no dues approval a student has to first check by fee clerk, then library regarding any late
submissions of book. This is very tedious for student, so a system should be like at a single place all
dues can be checked.
2. Modification to one unit need to inform all other units to change their data also. This arise many
problems.
3. We cannot get accurate and timely information as different modifications abrupt the data.
4. Examination control process is very long and tedious .A student has to visit different windows for
approval of their details.
5. Any event or new Notice Board details is not immediately informed to students. This lead to delay of
communicating with students.
6. Traditionally all the works are supposed to be maintained manually and this job is very laborious.
Since it can generate solution, therefore the work becomes a lot easier for the agent.
Windows XP / Windows 7
Data Base
MYSQL
Programming Language
PHP
Server
Apache
2.
Hardware Requirements
Processor
PIII or Above
RAM
512 MB
Hard Disk
50 GB
Economic Feasibility
Operational Feasibility
Technical Feasibility
Economic Feasibility: It refers to the benefits or outcomes we are deriving from the product
compared to the total cost we are spending for developing the product. If the benefits are more
or less the same as the older system, then it is not feasible to develop the product.
In the present system, the development of the new product greatly enhances the
accuracy of the system and cuts short the delay in the processing of application.
The errors can be greatly reduced and at the same time providing a great level of security. Here
we dont need any additional equipment except memory of required capacity. No need for
spending money on client for maintenance because the database used is web enabled database.
Technical Feasibility: It refers to whether the Website that is available in the market fully
supports the present application. It studies the pros and cons of using particular Website for the
development and its feasibility. It also studies the additional training needed to be given to the
people to make the application work.
10
Implementation plan:
The main plan for the system developed is to upgrading existing system to the proposed
system. There are mainly 4 methods of upgrading the existing system to proposed
Pilot System
Phase-in Method
Parallel Run System: It is the most secure method of converting from an existing to new
system. In this approach both the systems run in parallel for a specific period of time. During
that period if any serious problems were identified while using the new system, the new system
is dropped and the older system is taken at the start point again.
Direct Cut -Over Method: In this approach a working version of the system is implemented in
one part of the organization such as single work area or department. When the system is
deemed complete it is installed through out the organization either all at once (direct cut-over)
or gradually (phase-in).
Phase-in Method: In this method a part of the system is first implemented and over time other
remaining parts are implemented.
Implementation planed used: The workflow Management system is developed on the basis of
Parallel Run Method because we upgraded the system, which is already in use to fulfill the
requirements of the client. The system already in use is treated as the old system and the new
system is developed on the basis of the old system and maintained the standards processed by
11
the older system. The upgraded system is working well and is implemented on the client
successfully.
Project Plan:
It was decided to use good Software engineering principals in the development of the system
since the company had quite a big client network & was aiming to provide staffing for the
clients or to develop the internal projects of the companies & expand their operations in the
near future. So the following Project Plan was drawn up:
1. The Analysts will interact with the current manual system users to get the Requirements. As a
part of this the Requirements Specification Document will be created.
2. The requirements Specifications document will contain the Analysis & Design of the system
& UML will be used as the modeling language to express the Analysis & Design of the System.
According to Grady Booch et al, in The Unified Modeling Language User Guide [UML-1998],
The Unified Modeling Language (UML) is a graphical language for visualizing, specifying,
constructing, and documenting the artifacts of a Website-intensive system. The UML gives you
a standard way to write a system's blueprints, covering conceptual things, such as business
processes and system functions, as well as concrete things, such as classes written in a specific
programming language, database schemas, and reusable Website components.
3. The Analysis, Design, Implementation & testing of the System itself will be broadly based on
the Rational Unified Website Development process. According to Ivan Jacobson et al, in The
Unified Website Development Process (The Addison-Wesley Object Technology Series)
[USDP-2000], the Unified Website Development Process contains Inception, Elaboration,
Construction & Transition as the main Phases, which contain further cycles & iterations. This
process will be followed to produce an incremental cycle, which will deliver milestones like the
Requirements Specification Document etc., at the end of each of the iterations, Phases or
cycles.
12
4. The Architecture & Technologies will be decided as a part of the Analysis of the
requirements.
5. Once the Design is ready the Implementation & Testing strategy of the system will
commence. Each will be independent of the other.
2.1 Introduction:
According to Roger Pressman in Website Engineering: A Practitioner's Approach (McGraw-Hill
Publications) [SEPA1997], the requirement specification document is produced at the end of
Analysis of the system. This document is a very comprehensive document & contains all the
User requirements & Analysis diagrams. The Requirements are broadly divided into two
groups:
1. Functional requirements
2. Non-functional requirements
2.3.2 Constraints
These are the requirements that are not directly related to the functionality of the system. These
should be considered as mandatory when the system is developed. The following Constraints
were arrived at for the system:
1. The system should be available over the intranet so that the Users like the candidates can use
the system from their system which was assigned to him.
2. For gaining entry into the system the users should be registered and should be able use login
& passwords for gaining access to the system.
3. The users should be able to change their passwords for increased security.
4. The system should conform to the requirement specified and final deliverables of the project
before some date.
5. The system should be easy to understand and organized in a structured way. The users should
also receive feedback about any errors that occur.
6. There should be no limitation about the hardware platform that is to be used to run the
system.
7. Data integrity should be maintained if an error occurs or the whole system comes down.
2.3.3 Guidelines:
We have discussed mandatory requirements in the previous section. The requirements in this
section should be taken as suggestions & they should be thought of as recommendations to
further enhance the usability of the system.
1. The system should display a menu for users to choose from.
2. The system should display users requests in a reasonable time.
3. Services of the system should be available 24 hours a day.
4. The system should be designed in such a way that it is easy to enhance it with more
functionality. It should be scalable & easily maintainable.
15
3. 1 Mysql
According to the Mysql Corporation website, in the Products category where Mysql is listed
Whether users are creating a database for personal use, departmental use or for an entire
organization, oracle offers an easy-to-use database for managing and sharing data. Oracle brings
not only the traditional broad range of easy data management tools but also adds increased
integration with the Web for easier sharing of data across a variety of platforms and user levels
and additional ease-of-use enhancements to assist with personal productivity.
Mysql is a relational Database, which forms part of the Office Suite of products from mysql
Corporation. Though it can be used only for small applications, this RDBMS was chosen for the
implementation because it has a very user friendly Graphical User Interface. The tables can be
created in the design view or through a Wizard. It is easy to create integrity constraints &
foreign keys through the GUI.
3.2 Modules:
3.2.1 Administrator Module: This module allows administrator to manage user contact,
manage Advertisement, and manage slider and so manyIt allows him to add, modify and delete the all these modules related information.
16
3.2.2 User Module: This module allow user to view latest news, home, about as, contact as and
so manyIt allows him to add, modify and delete the all these modules related information.
3.2.3 Registration: This module allows the users to register for the website. It allows the Users
select an option for add favorites with in the stipulated time and continues generating the like
and add new post.
4. Designs:
The general methodology in developing a system in involved in different phases, which
describe the systems life cycle model for developing Website project. The concept includes not only
forward motion but also have the possibility to return that is cycle back to an activity previously
completed. This cycle back or feedback may occur as a result of the failure with the system to meet a
performance objective or as a result of changes in redefinition of system activities. Like most systems
that life cycle of the computer-based system also exhibits distinct phases.
Those are,
Requirement Analysis Phase
Design Phase
Development Phase
Coding Phase
Testing Phase
17
be known. We have to clearly know about the clients requirements and the objectives of the
project.
Testing is done in various ways such as testing the algorithm, programming code; sample
data debugging is also one of following the above testing.
Requirement Specification:
Here, the focus is on specifying what has been found giving analysis such as
representation, specification languages and tools, and checking the specifications are addressed
during this activity.
The Requirement phase terminates with the production of the validate SRS document.
Producing the SRS document is the basic goal of this phase.
The purpose of the Website Requirement Specification is to reduce the communication
gap between the clients and the developers. Website Requirement Specification is the medium
through which the client and user needs are accurately specified. It forms the basis of Website
development. A good SRS should satisfy all the parties involved in the system.
Purpose:
The purpose of this document is to describe all external requirements or client
provisioning. It also describes the interfaces for the system.
Scope:
This document is the only one that describes the requirements of the system. It is
meant for the use by the developers, and will also use by the basis for validating the
final delivered system. Any changes made to the requirements in the future will have to
go through a formal change approval process. The developer is responsible for asking
19
for clarifications, where necessary, and will not make any alternations without the
permission of the client.
Design:
Design of Website involves conceiving, planning out and specifying the
externally observable characteristics of the Website product. We have data design,
architectural design and user interface design in the design process. These are explained
in the following section. The goal of design process is to provide a blue print for
implementation, testing and maintenance activities.
A data
dictionary explicitly represents the relationships among data objects and constraints on
the elements of the data structure. A data dictionary should be established and used to
define both data and program design.
Design process is in between the analysis and implementation process. The
following design diagrams (Data Flow Diagrams and E-R Diagrams) make it easy to
understand and implement
The design process for Website system has two levels.
1. System Design or Top Level Design.
2. Detailed Design or Logical Design.
Verifiability.
Completeness.
Consistency.
Trace ability.
Simplicity/Understandability.
21
5. UML DIAGRAMS
UML APPROACH:
Sequence Diagram
Collaboration Diagram
Object Diagram
Class Diagram
Component Diagram
Deployment Diagram
22
Use case diagrams can be useful for getting an overall view of the system and clarifying
who can do and more importantly what they cant do.
Use case Diagram consists of use cases and actors and shows the interaction between
the use case and actors.
The purpose is to show the interactions between use cases and actor.
It must be remembered that the use-cases are the functions that are to be
performed in the module.
It must be remembered that the the sequence diagram display Objects and
not the classes.
The diagram breaks the class into three layers. One has the name,
the second describes its attributes and the third its methods. The
private attributes are represented by a padlock to left of the name.
Architects look at class diagrams to see if any class has too many functions and see if they are
required to be split.
The details are not used for generating the code by Rational Rose, they are merely for
documentation.
25
1) Class Diagram:
Login Details
User
Username
Username
Password
Password
Connection
Manager
Register
URL
Query
Post
Username
Password
Verify Password
Check
DB Connection
Username
Password
DB Verify Password
26
Add Post
Show Records
Modify Record
Admin
Delete Records
Results
27
Home
New_post
Normal User
User
Contact us
About
28
Admin Login
Add
Update
Delete
Login ()
Choose ()
Creation ()
Add ()
Update ()
Delete ()
29
Log-in
Invalid User
Authetication
Valid User
Administration
Add
Update
Log-Out
Activity
30
Delete
User Form
User
Login
Post
Log-Out
SYSTEM
ANALYSIS:
Analysis is the detailed study of the various operations performed by the system and their
relationships within and outside of the system. A key question is: what must be done to solve the
problem? One aspect of analysis is defining the boundaries of the system and determining whether or
not candidate system should consider other related systems. During analysis, data are collected on the
available files, decision points, and transactions handled by the present system.
What is SRS?
Website Requirement Specification (SRS) is the starting point of the Website developing
activity. AS system grew more complex it became evident that the goal of the entire system cannot be
easily comprehended. Hence the need for requirement phase arose. The Website project is initiated by
31
the client needs. The SRS is the means of translating the ideas of the minds of the clients (the input)
into a formal document (the output of the requirement phase).
The SRS phase consists of two basic activities:
Problem/Requirement Analysis: The process is order and more nebulous of the two, deals with
understanding the problem, the goal and constraints.
Requirement Specification: Here, the focus is on specifying what has been found giving
analysis such as representation, specification languages and tools, and checking the
specifications are addressed during this activity
The Requirement phase terminates with the production of the validate SRS document. Producing the
SRS document is the basic goal of this phase.
Role of SRS:
The purpose of the Website Requirement Specification is to reduce the communication gap
between the clients and the developers. Website Requirement Specification is the medium through
which the client and the user needs are accurately specified. It forms the basis of the Website
development. A good SRS should satisfy all the parties involved in the system.
When an architect designs a building, he has a vision of the finished product and produces a result
based on that vision. Client server, on the other hand, is more like Darwinian model of evolution of a
living species. No one has a vision of the finished products; rather, day-today events and gradual
changes affect it over time in reaction to those events.
32
In the beginning, application were fairly simple, reading input transaction in a batch,
processing them against a data store, and the output was paper. Record retrieval was usually a set of
subroutines embedded in the updating program.
Common functions gradually migrated from the application to the operating system. Database
processing was one of the first major functions to be removed from application control. Much of the
time database functions in the application included retrieval, replacement and insertion. Since it was
function had to be introduced database
Administration. This new function was separated from the application code and involved defining the
structure of the database, value ranges backup, rollback, and so forth.
The hardware and Website can be placed where it will do the most good.
In Client Server model PCs, the power can be spread across the client and the server.
The client Website supplies the interface (Such as windowed program) and the knowledge of
how to pass the request to the server and the format of the data for the user when its returned
from the server. The servers job is to manipulate the data according to the users request.
TECHNOLOGIES
The World Wide Web is an open ended information system where the information can be
retrieved and is designed to use in the Internets distributed environment. It contains Web pages that
provide information and controls. The World Wide Web initially started as a text only medium but now
ranges of features are added like graphics, sounds, animation and video. A large portion of internet is
organized as the world wide web. A Web application is defined as multi tier application based on the
internet standards, using a web browser as client. The rule making body of the web is W3C. W3C
stands for World Wide Web Consortium. W3C puts together specifications for Web standards. The most
essential Web standards are HTML, CSS and XML. The latest HTML standard is XHTML 1.0.
TCP/IP Protocol:
The most basic internet standard is the TCP/IP protocol. This protocol defines the rules for
establishing connections between computers, that is between client and server hardware.
34
Server
Web server
2nd
tier
Request
Web
browser
Run
time
3rd
tier
Server
script
(or
Response
program)
environment
Data Stores
1st
tier
35
In a web application the first tier includes the web browser and the web server. The relevant
script let program runs and gets the data (second and the third tier) and sends the data to the Web
server. The web server sends the data back to the
Client (first tier).
Why Apache?
To address the concerns of a group of WWW providers and part time http programmers that
http didnt as they wanted it to behave. Apache is an entirely volunteer effort, completely funded by its
members, not by commercial sales. Apache has been show to be substantially faster than many other
free servers.
independent, HTML indicates the manner in which the document to be read by the interpreter. This can
be done with the set of HTML elements and tags which mark up the document and inform the browser,
such as Internet Explorer, about the action to be taken when a certain element or tag is specified.
HTML Layout:
An HTML document consists of text, which comprises the content of the document and tags,
which, defines the structure, and appearance of the document. The structure of an HTML document is
simple.
<HTML> tag enclosing the document header and body
Heres an example.
<HEAD>
<TITLE>The title of HTML Document</TITLE>
37
</HEAD>
<BODY>
This is where the actual HTML document
Text lies, which is displayed in the browser.
</BODY>
</HTML>
Java Script:
JavaScript is a scripting language that was created by Netscape. It was originally called Live
Script. Despite the similarities in name and syntax, JavaScript is not related to the Java programming
language.
JavaScript is supported by a wide range of Web browsers, including both Microsoft Internet
Explorer and Netscape Navigator. The Internet Explorer 3.0 supports JavaScript directly through a
scripting engine in the file jscript.dll.
Perhaps the best-known scripting language prior to the introduction of VBScript was
JavaScript. It is used to create interactive web applications supported by the Netscape browser.
38
JavaScript offers many of the same advantages as VBScript. JavaScript is simple to use, lightweight,
and dynamic. Developers can easily embed code functionality for interactive applications inside a web
page.
Syntax :
<SCRIPT LANGUAGE="JavaScript">
var rtn = false;
function push_me() {
alert ("Hello, World!");
return true;
}
</SCRIPT>
TESTING
Website testing is a critical element of the Website quality assurance and represents the ultimate
review of specification, design and coding. Testing is the exposure of the system to trial input to see
whether it produces correct output.
39
Unit Testing: Unit testing is essentially for the verification of the code produced during the coding
phase and the goal is test the internal logic of the module/program. Int the Generic code project, the
unit testing is done during coding phase of data entry forms whether the functions are working properly
or not. In this phase all the drivers are tested they are rightly connected or not.
Integration Testing: All the tested modules are combined into subsystems, which are then tested. The
goal is to see if the modules are properly integrated, and the emphasis being on the testing interfaces
between the modules. The generic code integration testing is done mainly on table creation module and
insertion module.
System Testing: It is mainly used if the Website meets its requirements. The reference document for
this process is the requirement document.
Acceptance Testing: It is performed with realistic data of the client to demonstrate that the Website is
working satisfactorily.
Testing Methods: Testing is a process of executing a program to find out errors. If testing is conducted
successfully, it will uncover all the errors in the Website. Any testing can be done basing on two ways:
White Box Testing: It is a test case design method that uses the control structures of the procedural
design to derive the test cases. Using this testing a Website engineer can derive the following test cases:
Exercise all the logical decisions on either true or false sides. Execute all loops at their boundaries and
within their operational boundaries. Exercise the internal data structures to assure their validity.
40
Black Box Testing: It is a test case design method used on the functional requirements of the Website.
It will help a Website engineer to derive sets of input conditions that will exercise all the functional
requirements of the program.
Black box Testing attempts to find errors in the following categories:
Interface errors
By Black box testing we derive a set of test cases that satisfy the following criteria:
Test cases that reduce by a count that is greater than one, the number of additional test cases
that must be designed to achieve reasonable testing.
Test cases that tell us something about the presence or absence of classes of errors rather than
errors associated only with a specific test at hand.
TEST APPROACH:
Testing can be done in two ways:
Bottom up approach
Bottom up approach: Testing can be performed starting from smallest and lowest level modules and
proceeding one at a time. For each module in bottom up testing a short program executes the module
and provides the needed data so that the module is asked to perform the way it will when embedded
with in the larger system. When bottom level modules are tested attention turns to those on the next
41
level that use the lower level ones they are tested individually and then linked with the previously
examined lower level modules.
Top down approach: This type of testing starts from upper level modules, since the detailed activities
usually performed in the lower level routines are not provided stubs are written. A stub is a module
shell called by upper level module and that when reached properly will return a message to the calling
module indicating that proper interaction occurred. No attempt is made to verify the correctness of the
lower level module.
42
43
Screenshots
44
Coding
User View Coading
Index
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0040)http://www.gautampublicschoolpilani.com/ -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure">
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students.">
<title>RKVM-SCHOOL</title>
<body bgcolor="#CCCCCC">
<?php
include("head.php");
?>
<td height="297" colspan="2" valign="top" >
<?php include("homeslider.php"); ?>
</td>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top" class="small-text"> </td>
<td background="../Gautam Public School -_files/.jpg" class="small-text">
</td>
<td valign="top" class="small-text">
</td>
<td background="image/dots1.jpg" class="small-text">
</td>
<td class="small-text"> </td>
</tr>
<tr>
<td width="29%" valign="top">
<?php include("left_slider.php"); ?>
</td>
<td width="1%" background="../Gautam Public School -_files/dots1.jpg">
</td>
<td width="44%" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr>
<br />
45
<td width="12">
<img src="image/bullet1.jpg" width="7" height="13">
</td>
<td class="title1">
Welcome to Ram Krishna Vidhya Mandir, Dhar
</td>
</tr>
<tr>
<td colspan="2" class="bodytextCopy">
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td width="100%" class="bold-text">
<div align="justify">
<p>
<strong>Shri Ram krishna Vidhya Mandir , Dhar.<img alt=""
src="image/about_ramkrishna.png" style="width: 100px; height: 100px; float: right;
margin: 2px 10px; border-width: 1px; border-style: solid;"></strong></p>
<p>
Shri ram krishna vidhya mandir is an educational project which is urged with
spiritual knowledge with the help of education and culture. We want to make those
student who have powerful desire, strength and we teach them how to be selfdepend.</p>
Its an <strong>English medium co-educational</strong> school following
<strong>CBSE syllabus.</strong> I hope that "Shri Ram krishna Vidhya Mandir" will
scale the new heights of education in the years to come and we must all pledge to
work sincerely to realize the goal. My best wishes are with you all.<br /><br />
</span><strong>The school strives to help children mature with a love for
learning,</strong> develop critical thought and a feeling of care and concern for
mankind so that they acquire the strength of character and moral values needed to
become good citizens of the future. Our commitment is to shape children into
conscientious and responsible citizens with high sense of honesty, integrity and
truthfulness. Our goal is excellence and we strive hard to achieve it and uphold
it through continuous improvement and openness to embrace new ideas and
experiences.<br></p>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="21" colspan="2" valign="bottom"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</tbody></table>
</td>
<td width="1%" background="image/dots1.jpg">
</td>
<td width="25%" valign="top">
<?php include("right_slider.php"); ?>
</td>
</tr>
</tbody></table>
</td>
</tr>
<?php
46
include("foot.php");
?>
</body></html>
47
<th style="width:103px;">
Name</th>
<th style="width:103px;">
Mobile</th>
<th style="width:103px;">
Address</th>
</tr>
<?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_stu_master");
while ($row=mysql_fetch_array($sql))
{
?>
<tr>
<td style="width:45px;">
<?php echo $row["id"]; ?></td>
<td style="width:160px;">
<?php echo $row["bus_no"]; ?></td>
<td style="width:103px;">
<?php echo $row["name"]; ?></td>
<td style="width:103px;">
<?php echo $row["mob"]; ?></td>
<td style="width:103px;">
<?php echo $row["addr"]; ?></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td width="1%" background="./busrute_files/dots1.jpg">
</td>
<td width="27%" valign="top">
<?php include("right_slider.php"); ?>
</td>
</tr>
</tbody></table>
</td>
</tr>
<?php
include("foot.php");
?>
</body></html>
48
<?php
include("head.php");
?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr>
<div style="float:left;">
<td width="100%" colspan="3" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr><br />
<td width="12">
<img src="image/bullet1.jpg" width="7" height="13">
</td>
<td class="title1">
Our Success Stories
</td>
</tr>
<tr>
<td colspan="2" class="bodytextCopy">
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td width="100%" class="bold-text">
<div align="justify">
<div class="product_div">
<div class="pro_img" style="float: left;">
49
50
include("foot.php");
?>
</body></html>
Facility Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure" />
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students." />
<title>RKVM-SCHOOL</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#CCCCCC">
<?php
include_once("head.php");
?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" colspan="3" valign="top">
<table border="0" align="center" cellpadding="0" cellspacing="0" width="960px">
<tr>
<td valign="top" bgcolor="#FFFFFF" align="left" style="width: 700px;">
<div style="float: left; width: 700px;">
<div style=" padding-bottom: 10px;
margin-top: 20px; margin-left: 0px;" class="title1">
<img src="image/bullet1.jpg" width="7" height="13" />
RKVM - Facilities </div>
<?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_facelity");
while ($row=mysql_fetch_array($sql))
{
?>
51
<?php
}?>
<div class="pagination">
</div>
</div>
</td> <td width="290px" style=" vertical-align:top; margin-top:10px;">
<?php include("right_slider.php"); ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<?php
include_once("foot.php");
?>
</body>
</html>
52
Facility Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0052)http://www.gautampublicschoolpilani.com/faculty.aspx -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure">
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students.">
<title>RKVM-SCHOOL</title>
</head>
<body bgcolor="#CCCCCC">
<?php
include("head.php");
?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="71%" colspan="3" valign="top">
<table width="660px">
<tbody><tr>
<td>
<table width="660" border="0" align="left" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="3" style="font-weight: bold;">
<br />
<div class="title1" style="float: left; width: 660px;">
<img src="./faculty_files/bullet1.jpg" width="7" height="13">
Head Faculty
<div style="float: right; padding-right: 30px;">
<b>Page : </b> <a id="ctl00_ContentPlaceHolder1_rptpage_ctl00_btnpageno"
href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$rptpage$ctl00$btnpageno','
')" style="font-weight: bold; font-size: small; color:3d3d3d;">1</a>
<table border="0" cellspacing="0" cellpadding="0" visible="false">
<tbody><tr>
<td align="left" valign="middle">
</td>
</tr>
</tbody></table>
</div>
</div>
</td>
</tr>
<tr>
<td style=" float:left;">
<div id="ctl00_ContentPlaceHolder1_UpdatePanel1">
53
54
<td height="15px">
</td>
</tr>
<tr>
<td>
<div id="ctl00_ContentPlaceHolder1_UpdatePanel2">
<table width="550" align="left" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="3" style="margin-bottom: 15px;">
</td>
</tr>
</tbody></table>
</div>
</td>
</tr>
<tr>
<td height="15px">
</td>
</tr>
<tr>
<td>
<div id="ctl00_ContentPlaceHolder1_UpdatePanel3">
<table width="550" align="left" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="3" style="margin-bottom: 15px;">
</td>
</tr>
</tbody></table>
</div>
</td>
</tr>
<tr>
<td height="15px">
</td>
</tr>
</tbody></table>
</td>
<td width="1%" background="./faculty_files/dots1.jpg">
</td>
<td width="27%" valign="top">
<?php include("right_slider.php"); ?>
</td>
</tr>
</tbody></table>
</td>
</tr>
<?php
include("foot.php");
?>
</body></html>
55
Gallary Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure" />
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students." />
<title>RKVM-SCHOOL</title>
</head>
<body bgcolor="#CCCCCC">
<?php
include_once("head.php");
?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="71%" colspan="3" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF" align="left" style="width: 700px;"
class="title1"><p><img src="image/bullet1.jpg" />
Photo Gallery
</p>
<p><?php include_once("gallery.php"); ?>
</ul>
<div class="clr">
</div>
</div>
</p>
<div class="clr">
</div>
</td>
<td width="290px" style="vertical-align: top; margin-top: 10px;">
<br />
56
57
Gallery Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>imgZoom jQuery plugin - odyniec.net</title>
<meta name="keywords" content="imgzoom,jquery,plugin,image,gallery,zoom,fade
in,rotate,svg,vml,lightbox,Michal Wojciechowski,odyniec" />
<link rel="stylesheet" type="text/css" href="css1/imgzoom.css" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" media="screen"
href="/css/msie/ie6.css" />
<noscript>
<link rel="stylesheet" type="text/css" media="screen"
href="/css/msie/ie6-nojs.css" />
</noscript>
<script type="text/javascript" src="/js/DD_belatedPNG_0.0.8a.js"></script>
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="screen" href="/css/msie/ie7.css" />
<![endif]-->
<script type="text/javascript" src="scripts/jquery.min.js"></script>
<script type="text/javascript" src="scripts/jquery.imgzoom.pack.js"></script>
<script type="text/javascript">
$(function () {
<?php /*?> <?php
$i =0;
$sql=mysql_query("select * from tbl_gallery");
while ($row=mysql_fetch_array($sql))
{
?>
$('#img<?php echo $i; ?>').imgZoom({ showOverlay: true });
<?php
$i++;
}
?><?php */?>
<?php
include_once("conn.php");
if(isset($_GET['status']))
{
$i =1;
$cat_id=$_GET['status'];
$sql=mysql_query("select * from tbl_gallery where cat_id='$cat_id'");
while ($row=mysql_fetch_array($sql))
{
?>
58
59
60
Notice Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure" />
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students." />
<title>RKVM-SCHOOL </title>
</head>
<body bgcolor="#CCCCCC">
<?php include("head.php"); ?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="71%" colspan="3" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="12">
<img src="image/bullet1.jpg" width="7" height="13" />
</td>
<td class="title1">
Notice
</td>
</tr>
<tr>
<td colspan="2" class="bodytextCopy">
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</tr>
</table>
</td>
</tr>
</table>
<div align="justify">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
61
<tr>
<td colspan="2" class="bodytextCopy">
</td>
</tr>
<tr>
<td colspan="2"><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td width="100%" class="bold-text">
<div align="justify">
<table border="1" cellpadding="0" cellspacing="0" style="text-align:center;" s="">
<tbody>
<tr style="border:solid;">
<th style="width:45px;"> S. No. </th>
<th style="width:103px;"> Title</th>
<th style="width:103px;"> Description</th>
<th style="width:103px;"> File</th>
</tr>
<?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_notice");
while ($row=mysql_fetch_array($sql))
{
?>
<tr>
<td style="width:45px;"><?php echo $row["id"]; ?></td>
<td style="width:103px;"><?php echo $row["title"]; ?></td>
<td style="width:103px;"><?php echo $row["disc"]; ?></td>
<td style="width:103px;"><a href="news-upload/<?php echo $row["file"]; ?>"
>Download File</a></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<p> </p></td>
<td width="1%" background="images/dots1.jpg">
</td>
<td width="27%" valign="top">
<?php include("right_slider.php"); ?>
</td>
</tr>
</table>
</td>
</tr>
<?php include("foot.php"); ?>
</body>
</html>
62
Notice1 Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure" />
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students." />
<title>RKVM-SCHOOL</title>
</head>
<body bgcolor="#CCCCCC">
<?php include("head.php"); ?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="71%" colspan="3" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="12">
<img src="image/bullet1.jpg" width="7" height="13" />
</td>
<td class="title1">
Notice
</td>
</tr>
<tr>
<td colspan="2" class="bodytextCopy">
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</tr>
</table>
</td>
</tr>
</table>
<div align="justify">
<?php
include_once("conn.php");
if(isset($_GET['status']))
{
$id=$_GET['status'];
$data=mysql_fetch_array(mysql_query("select * from tbl_notice where id='$id'"));
63
$title=$data['title'];
$date=$data['date'];
$disc=$data['disc'];
?>
<!--<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="bold-text" colspan="2">
<div align="justify">
</td</tr>
<tr>
<td class="title1">
</td>
</tr>
<tr>
<td>
</td>
</tr>
</div>
</tr>
</table>-->
<table border="0" style="width:19%; height:42%;">
<tr>
<td rowspan="3">
<img alt="" src="image/news-icon.jpg" style="width: 100px; height: auto; " /></td>
<td>
<?php echo $data["title"]; ?>
</td>
</tr>
<tr>
<td>
<?php echo $data["disc"]; ?></td>
</tr>
<tr>
<td>
<a href="news-upload/<?php echo $data["file"]; ?>" >Download</a></td>
</tr>
</table>
<?php } ?>
</div>
<p> </p></td>
<td width="1%" background="images/dots1.jpg">
</td>
<td width="27%" valign="top">
<?php include("right_slider.php"); ?>
</td>
</tr>
</table>
</td>
</tr>
<?php include("foot.php"); ?>
</body>
</html>
64
Contact Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="Gautam Public School, Pilani, CBSE Board, English
Medium School, Pre Primary, Primary, Secondary, Sports Facilities, Bus Facility,
Infrastructure" />
<link id="bs-css" href="css/css.css" rel="stylesheet">
<meta name="description" content="Gautam Public School, School is co-educational
CBSE Board English Medium School, committed to providing quality education for all
its students." />
<title>RKVM-SCHOOL </title>
<script type="text/javascript">
function validation()
{
var a = document.form.msg.value;
if(form.name.value=="")
{
alert("please enter name");
form.name.focus();
return false;
}
else if(form.email.value=="")
{
alert("please enter email");
form.email.focus();
return false;
}
else if(a=="")
{
alert("Please Enter Your Details Here");
document.form.msg.focus();
return false;
}
}
</script>
</head>
<body bgcolor="#CCCCCC">
<?php
include_once("head.php");
?>
<tr>
<td height="100%" colspan="2" valign="top" bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" colspan="3" valign="top">
<div style="padding-bottom: 10px;margin-top: 20px; margin-left: 0px; float:left;">
<img src="image/bullet1.jpg" width="7" height="13" />
<span class="title1">Contact Us</span>
<form name="form" method="post" onsubmit="return validation()">
<br />
Name:<br />
65
66
</td>
</tr>
</table>
</td>
</tr>
<?php
include_once("foot.php");
include_once("conn.php");
?>
<?php
if(isset($_POST["contact-us"]))
{
$name=$_POST['name'];
$email=$_POST['email'];
$msg=$_POST['msg'];
mysql_query("insert into tbl_contact(name,email,msg)
values('$name','$email','$msg')");
header("location:contact.php?msg=save");
}
?>
</body>
</html>
Connection Code
<?php
$conn=mysql_connect("localhost","root","");
mysql_select_db("admin1",$conn);
?>
67
Admin Coading
Notice Coad
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
var a = document.form.disc.value;
if(form.title.value=="")
{
alert("please enter title");
form.title.focus();
return false;
}
else if(form.date.value=="")
{
alert("please enter date");
form.date.focus();
return false;
}
else if(form.file.value=="")
{
alert("please enter file");
form.file.focus();
return false;
}
else if(a=="")
{
alert("Please Enter Your message Here");
document.form.disc.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
68
69
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="date01">Date input</label>
<div class="controls">
<input type="text" class="input-xlarge datepicker" id="date01" name="date"
value="<?php echo $date ;?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="fileInput">File input</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Discription</label>
<div class="controls">
<!--<input type="text" class="span6 typeahead" id="typeahead" name="disc" dataprovide="typeahead" data-items="4" value="">-->
<textarea name="disc" cols="30" rows="4" class="typeahead"><?php echo $disc; ?
></textarea><br />
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
70
71
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Slider Code
<?php include("conn.php")?>
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
if(form.title.value=="")
{
alert("please enter title");
form.title.focus();
return false;
}
else if(form.img.value=="")
{
alert("please enter file");
form.img.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
72
<link
<link
<link
<link
<link
<link
<link
<link
<link
<link
<link
<link
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Slider</a>
</li>
</ul>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Slider</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$title="";
$op="add-slider";
if(isset($_GET['status']))
{
$id=$_GET['status'];
$op="update-slider";
$data=mysql_fetch_array(mysql_query("select * from tbl_slider where id='$id'"));
$title=$data['title'];
73
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="typeahead">Title</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="title"
provide="typeahead" data-items="4" value="<?php echo $title; ?>">
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="fileInput">File input</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="img">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Title</th>
<th>File</th>
<th>Update</th>
<th>delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_slider");
while ($row=mysql_fetch_array($sql))
{
74
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[title]</td>
<td class=center>$row[img]</td>
<td class=center>
<a class=btn btn-info href=slider.php?status=$row[id];>
<i class=icon-edit icon-white></i>
Edit
</a>
</td>
<td>
<a class=btn btn-danger href=submit.php?deletee=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Faculty Code
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
if(form.name.value=="")
{
alert("please enter Name");
form.name.focus();
return false;
}
else if(form.file.value=="")
{
alert("please enter File");
form.file.focus();
return false;
}
else if(form.desig.value=="")
{
alert("please enter Designation");
form.desig.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
75
76
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Faculty</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$name="";
$desig="";
$op="add-faculty";
if(isset($_GET['status']))
{
$id=$_GET['status'];
$op="update-faculty";
$data=mysql_fetch_array(mysql_query("select * from tbl_faculty where id='$id'"));
$name=$data['name'];
$desig=$data['desig'];
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="typeahead">Name</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="name"
provide="typeahead" data-items="4" value="<?php echo $name; ?>">
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="fileInput">File input</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Designation</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="desig" dataprovide="typeahead" data-items="4" value="<?php echo $desig;?>">
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="form-actions">
77
78
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Gallery Code
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
var a = document.form.cat_id.value;
if(document.form.cat_id.selectedIndex=="")
{
alert("Please select Category Name from the list");
return false;
}
else if(form.title.value=="")
{
alert("please enter Title");
form.title.focus();
return false;
}
else if(form.img.value=="")
{
alert("please enter Image");
form.img.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
79
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Gallery</a>
</li>
</ul>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Gallery</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$title="";
$op="add-gallery";
if(isset($_GET['status']))
80
{
$id=$_GET['status'];
$op="update-gallery";
$data=mysql_fetch_array(mysql_query("select * from tbl_gallery where id='$id'"));
$title=$data['title'];
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="selectError2">Category Name</label>
<div class="controls">
<select data-placeholder="Select" id="selectError2" data-rel="chosen"
name="cat_id">
<optgroup label="Select option">
<?php
$sql=mysql_query("Select * from tbl_cat");
while ($row1=mysql_fetch_array($sql))
{
if ($_GET['status']=="id")
{
if($id==$row1['id'])
{
?>
<option value="<?php echo $row1['id']; ?>" selected="selected"><?php echo
$row1['cat_name']; ?></option>
<?php
}
else
{
?>
<option value="<?php echo $row1['id']; ?>" ><?php echo $row1['cat_name']; ?
></option>
<?php
}
}
else
{
?>
<option value="<?php echo $row1['id']; ?>" ><?php echo $row1['cat_name']; ?
></option>
<?php
}
}
?>
</optgroup>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="typeahead">Title</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="title" dataprovide="typeahead" data-items="4" value="<?php echo $title; ?>">
</div>
81
</div>
<div class="control-group">
<label class="control-label" for="fileInput">Image</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="img">
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Title</th>
<th>File</th>
<th>Update</th>
<th>delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_gallery");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[cat_id]</td>
<td class=center>$row[title]</td>
<td class=center>$row[img]</td>
<td class=center>
<a class=btn btn-info href=gallery.php?status=$row[id];>
<i class=icon-edit icon-white></i>
82
Edit
</a>
</td>
<td>
<a class=btn btn-danger href=submit.php?gallery=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Facility Code
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
var a = document.form.disc.value;
if(form.title.value=="")
{
alert("please enter title");
form.title.focus();
return false;
}
else if(form.file.value=="")
{
alert("please enter file");
form.file.focus();
return false;
}
else if(a=="")
{
alert("Please Enter Your message Here");
document.form.disc.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
83
84
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="fileInput">File input</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Discription</label>
<div class="controls">
<textarea name="disc" cols="30" rows="4" class="typeahead"><?php echo $disc; ?
></textarea><br />
</textarea>
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
85
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Title</th>
<th>File</th>
<th>Disc</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_facelity");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[title]</td>
<td class=center>$row[file]</td>
<td class=center>$row[disc]</td>
<td class=center>
<a class=btn btn-info href=facelity.php?status=$row[id];>
<i class=icon-edit icon-white></i>
Edit
</a></td>
<td>
<a class=btn btn-danger href=submit.php?deleteee=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
86
87
<link
<link
<link
<link
<link
<link
<link
<link
<link
<link
<link
href='css/chosen.css' rel='stylesheet'>
href='css/uniform.default.css' rel='stylesheet'>
href='css/colorbox.css' rel='stylesheet'>
href='css/jquery.cleditor.css' rel='stylesheet'>
href='css/jquery.noty.css' rel='stylesheet'>
href='css/noty_theme_default.css' rel='stylesheet'>
href='css/elfinder.min.css' rel='stylesheet'>
href='css/elfinder.theme.css' rel='stylesheet'>
href='css/jquery.iphone.toggle.css' rel='stylesheet'>
href='css/opa-icons.css' rel='stylesheet'>
href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Student Achivment</a>
</li>
</ul>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Student Achivment</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$name="";
$per="";
$op="add-stu_achiv";
if(isset($_GET['status']))
{
$id=$_GET['status'];
$op="update-stu_achiv";
$data=mysql_fetch_array(mysql_query("select * from tbl_stu_achiv where id='$id'"));
$name=$data['name'];
88
$per=$data['per'];
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="typeahead">Name</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="name"
provide="typeahead" data-items="4" value="<?php echo $name; ?>">
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="fileInput">Image input</label>
<div class="controls">
<input class="input-file uniform_on" id="file" type="file" name="file" >
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Persantge</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="per" dataprovide="typeahead" data-items="4" value="<?php echo $per;?>">
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Name</th>
<th>Image</th>
<th>Percentage</th>
<th>Edit</th>
89
<th>Delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_stu_achiv");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[name]</td>
<td class=center>$row[file]</td>
<td class=center>$row[per]</td>
<td class=center>
<a class=btn btn-info href=stu_achiv.php?status=$row[id];>
<i class=icon-edit icon-white></i>
Edit
</a></td>
<td>
<a class=btn btn-danger href=submit.php?stu_achiv=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
90
form.mob.focus();
return false;
}
else if(a=="")
{
alert("Please Enter Your Address Here");
document.form.addr.focus();
return false;
}
}
</script>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
91
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Student Master</a>
</li>
</ul>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Student Master</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$name="";
$mob="";
$addr="";
$bus_no="";
$op="add-stu_master";
if(isset($_GET['status']))
{
$id=$_GET['status'];
$op="update-stu_master";
$data=mysql_fetch_array(mysql_query("select * from tbl_stu_master where
id='$id'"));
$name=$data['name'];
$mob=$data['mob'];
$addr=$data['addr'];
$bus_no=$data['bus_no'];
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="selectError2">Bus No.</label>
<div class="controls">
<select data-placeholder="Select" id="selectError2" data-rel="chosen"
name="bus_no">
<optgroup label="Select option">
<?php
$sql=mysql_query("Select * from tbl_bus_master");
92
while ($row1=mysql_fetch_array($sql))
{
if ($_GET['status']=="id")
{
if($id==$row1['id'])
{
?>
<option value="<?php echo $row1['bus_no']; ?>" selected="selected"><?php echo
$row1['bus_no']; ?></option>
<?php
}
else
{
?>
<option value="<?php echo $row1['bus_no']; ?>" ><?php echo $row1['bus_no']; ?
></option>
<?php
}
}
else
{
?>
<option value="<?php echo $row1['bus_no']; ?>" ><?php echo $row1['bus_no']; ?
></option>
<?php
}
}
?>
</optgroup>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="typeahead">Name</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="name" dataprovide="typeahead" data-items="4" value="<?php echo $name; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Mobile</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="mob"
provide="typeahead" data-items="4" value="<?php echo $mob;?>">
data-
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Address</label>
<div class="controls">
<!--<input type="text" class="span6 typeahead" id="typeahead" name="addr"
provide="typeahead" data-items="4" value="">-->
93
data-
94
<td>
<a class=btn btn-danger href=submit.php?stu_master=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php include('footer.php'); ?>
95
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Bus Master</a>
</li>
</ul>
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-edit"></i> Bus Master</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<form class="form-horizontal" action="submit.php" enctype="multipart/form-data"
method="post" onsubmit="return validation()" name="form">
<fieldset>
<?php
$id="";
$bus_no="";
$rute="";
96
$op="add-bus_master";
if(isset($_GET['status']))
{
$id=$_GET['status'];
$op="update-bus_master";
$data=mysql_fetch_array(mysql_query("select * from tbl_bus_master where
id='$id'"));
$bus_no=$data['bus_no'];
$rute=$data['rute'];
}
?>
<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->
<div class="control-group">
<label class="control-label" for="typeahead">Bus No.</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="bus_no"
provide="typeahead" data-items="4" value="<?php echo $bus_no; ?>">
data-
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2">Bus Route</label>
<div class="controls">
<input type="text" class="span6 typeahead" id="typeahead" name="rute"
provide="typeahead" data-items="4" value="<?php echo $rute;?>">
data-
</div>
<!--<div class="controls">
<textarea class="cleditor" id="Disc" name="disc" rows="3"></textarea>
</div>-->
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Bus No.</th>
<th>Bus Route</th>
<th>Edit</th>
97
<th>Delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_bus_master");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[bus_no]</td>
<td class=center>$row[rute]</td>
<td class=center>
<a class=btn btn-info href=bus_master.php?status=$row[id];>
<i class=icon-edit icon-white></i>
Edit
</a></td>
<td>
<a class=btn btn-danger href=submit.php?bus_master=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
98
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a><span class="divider">/</span>
</li>
<li>
<a href="#">Category</a>
</li>
</ul>
</div>
99
data-
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" name="<?php echo $op; ?>"
value="save">Save</button>
<input type="hidden" name="id" value="<?php echo $id;?>">
<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
</div><!--/span-->
</div>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
100
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Title</th>
<th>Update</th>
<th>delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_cat");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[cat_name]</td>
<td class=center>
<a class=btn btn-info href=category.php?status=$row[id];>
<i class=icon-edit icon-white></i>
Edit
</a>
</td>
<td>
<a class=btn btn-danger href=submit.php?cat=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Contact Code
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
function validation()
{
if(form.cat_name.value=="")
{
alert("please enter Category Name");
form.cat_name.focus();
return false;
}
}
</script>
<!--
101
Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title> Admin panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5,
Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<?php include("conn.php")?>
<?php include('header.php'); ?>
<div class="box-content">
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>S.no.</th>
<th>Name</th>
<th>E-Mail</th>
<th>Message</th>
102
<th>delete</th>
</tr>
</thead>
<tbody><?php
include_once("conn.php");
$sql=mysql_query("Select * from tbl_contact");
while ($row=mysql_fetch_array($sql))
{
echo "<tr>
<td>$row[id]</td>
<td class=center>$row[name]</td>
<td class=center>$row[email]</td>
<td class=center>$row[msg]</td>
<td>
<a class=btn btn-danger href=submit.php?contact=$row[id];>
<i class=icon-trash icon-white></i>
Delete
</a>
</td>
</tr>";
}?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include('footer.php'); ?>
Login Code
<?php
session_start();
?>
<?php
$no_visible_elements=true;
include('header.php'); ?>
<div class="row-fluid">
<div class="span12 center login-header">
<h2>Welcome to rkvm</h2>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid">
<div class="well span5 center login-box">
<div class="alert alert-info">
Please login with your Username and Password.
</div>
<form class="form-horizontal" method="post">
<fieldset>
<div class="input-prepend" title="Username" data-rel="tooltip">
<span class="add-on"><i class="icon-user"></i></span><input autofocus class="inputlarge span10" name="uname" required />
</div>
<div class="clearfix"></div>
<div class="input-prepend" title="Password" data-rel="tooltip">
103
Logout Code
<?php
session_start();
session_destroy();
header("location:login.php");
?>
Header Code
<!DOCTYPE html>
<html lang="en">
<head>
<!-Charisma v1.0.0
Copyright 2012 Muhammad Usman
104
105
<span>Log out</span></a>
106
Footer Code
<?php if(!isset($no_visible_elements) || !$no_visible_elements)
<!-- content ends -->
</div><!--/#content.span10-->
<?php } ?>
</div><!--/fluid-row-->
<?php if(!isset($no_visible_elements) || !$no_visible_elements)
{ ?>
{ ?>
<hr>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"></button>
<h3>Settings</h3>
</div>
<div class="modal-body">
<p>Here settings can be configured...</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
<footer>
<p class="pull-left">© <a href="#" target="_blank">Amit solanki and Rahul
raghuwanshi</a> <?php echo date('Y') ?></p>
<p class="pull-right">Powered by: <a href="#">rkvm</a></p>
</footer>
<?php } ?>
107
</div><!--/.fluid-container-->
<!-- external javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery -->
<script src="js/jquery-1.7.2.min.js"></script>
<!-- jQuery UI -->
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
<!-- transition / effect library -->
<script src="js/bootstrap-transition.js"></script>
<!-- alert enhancer library -->
<script src="js/bootstrap-alert.js"></script>
<!-- modal / dialog library -->
<script src="js/bootstrap-modal.js"></script>
<!-- custom dropdown library -->
<script src="js/bootstrap-dropdown.js"></script>
<!-- scrolspy library -->
<script src="js/bootstrap-scrollspy.js"></script>
<!-- library for creating tabs -->
<script src="js/bootstrap-tab.js"></script>
<!-- library for advanced tooltip -->
<script src="js/bootstrap-tooltip.js"></script>
<!-- popover effect library -->
<script src="js/bootstrap-popover.js"></script>
<!-- button enhancer library -->
<script src="js/bootstrap-button.js"></script>
<!-- accordion library (optional, not used in demo) -->
<script src="js/bootstrap-collapse.js"></script>
<!-- carousel slideshow library (optional, not used in demo) -->
<script src="js/bootstrap-carousel.js"></script>
<!-- autocomplete library -->
<script src="js/bootstrap-typeahead.js"></script>
<!-- tour library -->
<script src="js/bootstrap-tour.js"></script>
<!-- library for cookie management -->
<script src="js/jquery.cookie.js"></script>
<!-- calander plugin -->
<script src='js/fullcalendar.min.js'></script>
<!-- data table plugin -->
<script src='js/jquery.dataTables.min.js'></script>
<!-- chart libraries start -->
<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.min.js"></script>
<script src="js/jquery.flot.pie.min.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>
<!-- chart libraries end -->
<!-- select or dropdown enhancer -->
<script src="js/jquery.chosen.min.js"></script>
<!-- checkbox, radio, and file input styler -->
<script src="js/jquery.uniform.min.js"></script>
<!-- plugin for gallery image view -->
<script src="js/jquery.colorbox.min.js"></script>
<!-- rich text editor library -->
<script src="js/jquery.cleditor.min.js"></script>
<!-- notification plugin -->
<script src="js/jquery.noty.js"></script>
<!-- file manager library -->
<script src="js/jquery.elfinder.min.js"></script>
108
11. BIBLIOGRAPHY
109
110