0% found this document useful (0 votes)
76 views56 pages

Simplifying The Process of University Admission

Uploaded by

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

Simplifying The Process of University Admission

Uploaded by

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

Simplifying The Process Of University Admission

INTRODUCTION:
There are many matters regarding the college that need to be maintained through the
online method with the help of some application. The activities, student details and many
matters like this can be better managed by the applications which are capable in doing this task.
The college management enrollment system application will allow the authorities of the college
to reduce the pen paper work which is a tedious job. The admission details, students and
faculty’s information, feedback system performance of the students, reviews of the particular
colleges, suggestions that can be given in some matters needed for improvement can all be dealt
easily using the college management system application. This will be one of the interesting
applications that one can work one and implement in real time world.
CONTENT

S.N TITLE PAGE NO


O
1 INTRODUCTION
2 SYSTEM ANALYSIS
2.1 Existing System
2.2 Proposed System
3 SYSTEM SPECIFICATION
3.1 Hardware Configuration
3.2 Software Configuration
3.3 Software Description
4 SYSTEM DESIGN
4.1 Modules
4.2 Modules Description
4.3 Data Flow Diagram
4.4 Database Design
5 SYSTEM TESTING
5.1 Unit Testing
5.2 Integration Testing
5.3 Test Cases
6 SOFTWARE IMPLEMENTATION
7 CONCLUSION & FUTURE
ENHANCEMENT
8 BIBLIOGRAPHY
9 APPENDIX
9.1 Screen Shots
9.2 Source Code
2. SYSTEM ANALYSIS

2.1 EXISTING SYSTEM

The Existing Colleges Enrollment System involves manual entry of student data during
admission. The existing system has text based interface like MS Excel which doesn’t support
multi user environment. This acts as major setback whenever the data has to be shared among
multiple users. Lack of security grants access to anybody. In the existing system summarized
reports cannot be generated. The college Enrollment system eliminates all these limitations by
completely digitizing the whole process.

2.2 PROPOSED SYSTEM

The primary objective of this application is to completely digitalize the existing manual
system. As each and every activity is captured on line the response time increases thus increasing
the throughput. This application effectively increases the accuracy of the operations. The user
friendly interface increases the ease with which operations are carried out. It is simple to use.
3. SYSTEM SPECIFICATION

3.1 HARDWARE CONFIGURATION

Pentium processor : 700 MHZ


RAM Capacity : 512 MB
Hard Disk : 20GB
CD-ROM Drive : 32X
Keyboard : 108 Standard
Mouse : Optical
Monitor : 15’’ Color Monitor

3.2 SOFTWARE CONFIGURATION

Web Presentation : HTML, CSS

Client side Scripting : JavaScript

Server side Scripting : PHP

Backend Database : MYSQL

Operating System : Windows XP/2003, LINUX

Web Server : IIS, Apache

Browser : IE, Mozilla, Opera, Safari


3.3 SOFTWARE DESCRIPTION:

FRONT END: PHP

PHP INCLUDES

 HTML
 CSS
 JAVA SCRIPT
 PHP

HTML:

Hypertext Markup Language, commonly referred to as HTML, is the standard markup


language used to create web pages. It is written in the form of HTML elements consisting of tags
enclosed in angle brackets (like <html>). HTML tags most commonly come in pairs like <h1>
and </h1>, although some tags represent empty elements and so are unpaired, for example
<img>. The first tag in a pair is the start tag, and the second tag is the end tag (they are also
called opening tags and closing tags).
Web browsers can read HTML files and compose them into visible or audible web pages.
Browsers do not display the HTML tags and scripts, but use them to interpret the content of the
page. HTML describes the structure of a website semantically along with cues for presentation,
making it a markup language, rather than a programming language.

HTML elements form the building blocks of all websites. HTML allows images and
objects to be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript
which affect the behavior of HTML web pages.

HTML has been the predominant language of the World Wide Web. Indeed, no small
part what made the World Wide Web "World Wide" was HTML. With the creation of HTML
and the web browsers that interpreted it anyone with a computer and a phone line could surf the
web.There are other languages (e.g. XML) used to write web pages, but most web sites are
written in HTML and will be for the foreseeable future.

Essentially:

HTML is how two computers speak to each other over the internet.

Web sites are what they say.

HTML is "spoken" by two computers:

1. Client

The Client is used by the person surfing the net, such as the computer you are looking at
right now.

2. Server

A server stores and distributes websites over the net. I have a server where I store this
web site.

The terms are often encountered in the phrases "server-side" and "client-side"; meaning
something occurs on the server or the client. "That script runs client-side." means "That script
runs on the client". The latest version of which is HTML5.

CASCADING STYLE SHEETS (CSS)


Stands for "Cascading Style Sheet." Cascading style sheets are used to format the layout
of Web pages. They can be used to define text styles, table sizes, and other aspects of Web pages
that previously could only be defined in a page's HTML.
CSS helps Web developers create a uniform look across several pages of a Web site.
Instead of defining the style of each table and each block of text within a page's HTML,
commonly used styles need to be defined only once in a CSS document. Once the style is defined
in cascading style sheet, it can be used by any page that references the CSS file. Plus, CSS makes
it easy to change styles across several pages at once.
For example, a Web developer may want to increase the default text size from 10pt to
12pt for fifty pages of a Web site. If the pages all reference the same style sheet, the text size
only needs to be changed on the style sheet and all the pages will show the larger text.
While CSS is great for creating text styles, it is helpful for formatting other aspects of
Web page layout as well. For example, CSS can be used to define the cell padding of table cells,
the style, thickness, and color of a table's border, and the padding around images or other objects.
CSS gives Web developers more exact control over how Web pages will look than HTML does.
This is why most Web pages today incorporate cascading style sheets.

JAVASCRIPT
JavaScript is a programming language commonly used in web development. It was
originally developed by Netscape as a means to add dynamic and interactive elements to
websites. While JavaScript is influenced by Java, the syntax is more similar to C and is based on
ECMAScript, a scripting language developed by Sun Microsystems.
JavaScript is a client-side scripting language, which means the source code is processed
by the client's web browser rather than on the web server. This means JavaScript functions can
run after a webpage has loaded without communicating with the server. For example, a
JavaScript function may check a web form before it is submitted to make sure all the required
fields have been filled out. The JavaScript code can produce an error message before any
information is actually transmitted to the server.
Like server-side scripting languages, such as PHP and ASP, JavaScript code can be
inserted anywhere within the HTML of a webpage. However, only the output of server-side code
is displayed in the HTML, while JavaScript code remains fully visible in the source of the
webpage. It can also be referenced in a separate .JS file, which may also be viewed in a browser.
JavaScript functions can be called within <script> tags or when specific events take
place. Examples include onClick, onMouseDown, onMouseUp, onKeyDown, onKeyUp,
onFocus, onBlur, onSubmit, and many others. While standard JavaScript is still used for
performing basic client-side functions, many web developers now prefer to use JavaScript
libraries like jQuery to add more advanced dynamic elements to websites.
PHP
Stands for "Hypertext Preprocessor." (It is a recursive acronym, if you can understand
what that means.) PHP is an HTML-embedded Web scripting language. This means PHP code
can be inserted into the HTML of a Web page. When a PHP page is accessed, the PHP code is
read or "parsed" by the server the page resides on. The output from the PHP functions on the
page are typically returned as HTML code, which can be read by the browser. Because the PHP
code is transformed into HTML before the page is loaded, users cannot view the PHP code on a
page. This make PHP pages secure enough to access databases and other secure information.
A lot of the syntax of PHP is borrowed from other languages such as C, Java and Perl.
However, PHP has a number of unique features and specific functions as well. The goal of the
language is to allow Web developers to write dynamically generated pages quickly and easily.
PHP is also great for creating database-driven Web sites. If you would like to learn more about
PHP, the official site is PHP.net.
The popularity of PHP continues to grow rapidly because of its many advantages:

 It’s fast: On Web sites, because it is embedded in HTML code, the time to process and
load a Web page is short.
 It’s free: PHP is proof that free lunches do exist and that you can get more than you paid
for.
 It’s easy to use: The syntax is simple and easy to understand and use, even for non-
programmers. For use in Web sites, PHP code is designed to be included easily in an
HTML file.
 It’s versatile: PHP runs on a wide variety of operating systems — Windows, Linux, Mac
OS, and most varieties of Unix.
 It’s secure: As long as your scripts are designed correctly, the user does not see the PHP
code.
 It’s customizable: The open source license allows programmers to modify the PHP
software, adding or modifying features as needed to fit their own
environments. PHP provides significant control over the environment,
reducing chances of failure.
 Interact with HTML forms: PHP can display an HTML form and process the information
that the user types in.
 Communicate with databases: PHP can interact with databases to store information from
the user or retrieve information that is displayed to the user.
 Generate secure Web pages: PHP allows the developer to create secure Web pages that
require users to enter a valid username and password before seeing the Web page content.
Using PHP for database applications

BACK END
MY SQL:

MySQL is the most popular Open Source Relational SQL Database Management System.
MySQL is one of the best RDBMS being used for developing various web-based software
applications. MySQL is developed, marketed and supported by MySQL AB, which is a Swedish
company. This tutorial will give you a quick start to MySQL and make you comfortable with
MySQL programming.

MySQL Database
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses.
MySQL is developed, marketed and supported by MySQL AB, which is a Swedish company.
MySQL is becoming so popular because of many good reasons −

 MySQL is released under an open-source license. So you have nothing to pay to use it.
 MySQL is a very powerful program in its own right. It handles a large subset of the
functionality of the most expensive and powerful database packages.
 MySQL uses a standard form of the well-known SQL data language.
 MySQL works on many operating systems and with many languages including PHP,
PERL, C, C++, JAVA, etc.
 MySQL works very quickly and works well even with large data sets.
 MySQL is very friendly to PHP, the most appreciated language for web development.
 MySQL supports large databases, up to 50 million rows or more in a table. The default
file size limit for a table is 4GB, but you can increase this (if your operating system can
handle it) to a theoretical limit of 8 million terabytes (TB).
 MySQL is customizable. The open-source GPL license allows programmers to modify
the MySQL software to fit their own specific environments.

PHP provides various functions to access the MySQL database and to manipulate the data
records inside the MySQL database. You would require to call the PHP functions in the same
way you call any other PHP function.

4. SYSTEM DESIGN
4.1 MODULES

1. Login
2. Admission Form
3. Upload Documents
4. Admin Login
5. View Students List

4.2 MODULES DESCRIPTION

1. Login
Here the normal user can choose their username and password. Then the student
can enter their personal information into the software like name, dob, gender, nationality,
address, contact, previous batch history, marks scored etc. They can also edit or delete the
details provided.

2. Admission Form
In this section, admin can view all application. Admin can view application and
documents on the basis of status(pending application, approved an application and reject
application). Admin also can approve pending application.

3. Upload Documents
In this section, user can upload own document if his/ her selected by
admin(rejected user cannot upload their document) A user can also update his/ her
profile, change the password and recover the password.

4. Admin Login
Admin has their own username and password. The other unauthorized user can choose
their own username and password during registration. This can be accessed only the
admin. The admin has more rights than the normal user. The data entered in the masters
can also be updated by the admin.

5. View Students List


Here we can see the list of students who had enrolled admission in college. We
can see the students list department wise.
4.3 DATA FLOW DIAGRAM:
4.4DATABASE DESIGN
INPUT DESIGN:
The input design is the link between the information system and the user. it
comprises the developing specification and procedures and those steps are necessary to put
transaction data in to a usable form for processing can be achieved by inspecting the computer to
read data from a written or printed document or it can occur by having people keying the data
directly into the system. The design of input focuses on controlling the amount of input required,
controlling the errors, avoiding delay, avoiding extra steps and keeping the process simple. The
input is designed in such a way so that it provides security and ease of use with retaining the
privacy. Input Design considered the following things:

 What data should be given as input?


 How the data should be arranged or coded?
 The dialog to guide the operating personnel in providing input.
 Methods for preparing input validations and steps to follow when error occur.

OBJECTIVES:

1. Input Design is the process of converting a user- oriented description of the input into a
computer- based system. This design is important to avoid errors in the data input process and
show the correct direction to the management for getting correct information from computerized
system.
2. It is achieved by creating user-friendly screens for the data entry to handle large volume of
data. The goal of designing input is to make data entry easier and to be free from errors. The data
entry screen is designed in such a way that all the data manipulates can be performed. it also
provides record viewing facilities.
3. when the data is entered it will check for its validity. Data can be entered with the help of
screens. Appropriate massages are provided as when needed so that the user will not be in maize
of instant. Thus the objective of input design is to create an input layout that is easy to follow.
OUTPUT DESIGN:
A quality output is one, which meets the requirements of the end user and
presents the information clearly. In any system results of processing are communicated to the
users and to the other systems through output. In output design it is determined how the
information is to be displaced for immediate need and also the hard copy output. It is the most
important and direct source information to the user. Efficient and intelligent output design
improves the system's relationship to help user decision-making.
1.Designing computer output should proceed in an organized, well thought out manner. the right
output must be developed while ensuring that each output element is designed so that people will
find the system can use easily and effectively. When analysis design computer output, they
should identify the specific output that is needed to meet the requirements.
2. Select methods for presenting information.
3. Create document, report or other formats that contain information produced by the system.
The output form of an information system should accomplish one or more of the following
objectives.
 Convey information about past activities current status or projections of the future.
 Trigger an action
 Confirm an action
5. SYSTEM TESTING

Software testing is a critical element of software quality assurance and represents the
ultimate review of specification, design and coding. Testing presents an interesting of a system
using various test data. Preparation of the test data plays a vital role in the system testing. After
preparation the test data, the system under study is tested those test data. Errors were found and
corrected by using the following testing steps and corrections are recorded for future references.
Thus, series of testing is performed on the system before it is already for implementation.

The development of software systems involves a series of production activities where


opportunities for injection of human errors are enormous. Errors may begin to occur at the very
inception of the process where the objectives may be erroneously or imperfectly specified as well
as in later design and development stages. Because of human in ability to perform and
communicate with perfection, software development is followed by assurance activities.

Quality assurance is the review of software products and related documentation for
completeness, correctness, reliability and maintainability. And of course it includes assurances
that the system meets the specification and the requirements for its intended use and
performance. The various levels of quality assurance are described in the following sub sections.

System Testing

Software testing is a critical element of software quality assurance and represents the
ultimate review of specifications, design and coding. The testing phase involves the testing of
system using various test data; Preparation of test data plays a vital role in the system testing.
After preparation the test data, the system under study is tested.Those test data, errors were found
and corrected by following testing steps and corrections are recorded for future references. Thus
a series testing is performed on the system before it is ready for implementation.
The various types of testing on the system are:

 Unit testing
 Integrated testing
 Validation testing
 Output testing
 User acceptance testing

Unit testing

Unit testing focuses on verification effort on the smallest unit of software design module.
Using the unit test plans. Prepared in the design phase of the system as a guide, important control
paths are tested to uncover errors within the boundary of the modules. The interfaces of each of
the modules under consideration are also tested. Boundary conditions were checked. All
independent paths were exercised to ensure that all statements in the module are executed at least
once and all error-handling paths were tested. Each unit was thoroughly tested to check if it
might fall in any possible situation. This testing was carried out during the programming itself.
At the end of this testing phase, each unit was found to be working satisfactorily, as regarded to
the expected out from the module.

Integration Testing

Data can be across an interface one module can have an adverse effect on another’s sub
function, when combined may not produce the desired major function; global data structures can
present problems. Integration testing is a symmetric technique for constructing tests to uncover
errors associated with the interface. All modules are combined in this testing step. Then the
entire program was tested as a whole.

Validation Testing

At the culmination of integration testing, software is completely assembled as a package.


Interfacing errors have been uncovered and corrected and final series of software test-validation
testing begins. Validation testing can be defined in many ways, but a simple definition is that
validation succeeds when the software functions in manner that is reasonably expected by the
consumer. Software validation is achieved through a series of black box tests that demonstrate
conformity with requirement. After validation test has been conducted, one of two conditions
exists.

 The function or performance characteristics confirm to specification that are accepted.


 A validation from specification is uncovered and a deficiency created.

 Deviation or errors discovered at this step in this project is corrected prior to completion
of the project with the help of user by negotiating to establish a method for resolving
deficiencies. Thus the proposed system under consideration has been tested by using
validation testing and found to be working satisfactorily.

Output Testing

After performing the validation testing, the next step is output testing of the proposed
system, since a system is useful if it does not produce the required output in the specific format
required by them tests the output generator displayed on the system under consideration. Here
the output is considered in two ways: – one is onscreen and the other is printed format. The
output format on the screen is found to be correct as the format was designed in the system
design phase according to the user needs. As far as hardcopies are considered it goes in terms
with the user requirement. Hence output testing does not result any correction in the system.

User Acceptance Testing

User acceptance of the system is a key factor for success of any system. The system
under consideration is tested for user acceptance by constantly keeping in touch with prospective
system and user at the time of developing and making changes whenever required.
TEST RESULT: UNIT TESTING

LOGIN FORM:

S.NO TEST CASE EXPECTED RESULT TEST


RESULT
1. Enter valid name and It should display main window Successful
password & click on login
button
2 Enter invalid It should not display main Successful
window

6. SYSTEM IMPLEMENTATION

The objective of College Enrollment System is to provide a software which helps


the college management in recording all the information regarding students and the relevant
information like fee’s, exam schedule etc. It gives us particular data about how a student can
enroll to a college, with an ease of use. The system is user friend and is less time consuming. The
data will be saved with in a blink of time into the database. It also generates crystal clear reports
for the needed user.

Scope: This project is helpful in enrolling to a college online without paying


money to the applications. The detailed information about the college, student and other data will
be provided in this project.

The objective of College Enrollment System is to provide a software which helps


the college management in recording all the information regarding students and the relevant
information like fee’s, exam schedule etc. It gives us particular data about how a student can
enroll to a college, with an ease of use. The system is user friend and is less time consuming. The
data will be saved with in a blink of time into the database. It also generates crystal clear reports
for the needed user.
Scope: This project is helpful in enrolling to a college online without paying money to the
applications. The detailed information about the college, student and other data will be provided
in this project.
The software to be produced is on college enrollment system. There are 2 users. The first
user is college authority user or the admin who has the maximum access rights than any other
user. He or she has the right to edit add or delete the master details entered by them. These
master details will be visible to the other user which makes application helpful. The Admin adds
college information to this software also providing their contact and email id. Any awards gained
by the college will also be entered into the database and will be displayed in this software for
user reference. The faculty member details will also be saved in the database. The cons and pros
of the college will be given in detail.
The other user is the student or the one who enrolls to join a college. All he or she need to
do is visit that particular website link. He or she can also view the college information in this
website. The courses offered by this particular college will be displayed in the course menu
along with their fee structure, number of years to complete a course and the subjects offered.
After viewing all these information, if the user wishes to enroll to this college he must first
register. To register he or she must click on the registration button which is provided in the upper
right of the form.

The registration form asks for the complete details of the student including their contact,
parent’s information, previous batch details etc. It also allows the student to choose their own
user name and password. Using this user name and password the student can login to the system.
The fee for the particular course can be paid either online through card or offline by paying it
directly to the college. Now the enrollment system is completed. For further details they login to
their website using their user id and password. This creates their own profile where the details of
their upcoming exam or result or any functions will be updated by the Admin.
7. CONCLUSION

College Enrollment System allows the user/student to enroll into a college online by less
effort. Whereas in the world of offline, going to college manually and enrolling and giving all the
particular information is very time consuming. Any doubts regarding the college will also be
cleared by the website as this site contains complete details of the college. A questionnaire can
be sent to the admin for clearing out any certain doubts through mails. This project is helpful as
there is less of paper work and maintenance of records through computer system is easier than
file paper system. The database is cleared depending upon a certain amount of time and
maintained regressively. Reports can also be generated.

FUTURE ENHANCEMENT:

student can select their seat preference accordingly in an hassle freeway which will make a clear
impact for selecting their desired branch in an quick interval of time. This online counselling
management system will do the best for the needful who are at very large distance and will clear
information about the process so that counselling can be implemented in an smooth way and by
reducing the efforts and by increasing the efficiency in the college work process.
8. BIBLIOGRAPHY

BOOK RESOURCE

1. Fundamentals of software engineering by Rajib mall, PHIlearning

2. Web development and application development by Ivan Byross BPB publications.

ONLINE RESOURCE

1. http://www.w3schools.com/html/html_intro.asp

2. http://www.w3schools.com/css/css_background.asp

3. http://www.w3schools.com/js/js_datatypes.asp

4. http://www.w3schools.com/sql/sql_insert.asp

5. http://www.w3schools.com/php/php_forms.asp
9.APPENDIX

9.1Screen Shots
9.2Source Code

<?php

error_reporting(0);

session_start();

$con=mysqli_connect("localhost","root","123456","oas");

if($_REQUEST["srchk"]!="")

$id = $_REQUEST["srchk"];

$ra = mysqli_query($con, "select s_name from t_user_data where s_id = '$id'");

if($row = mysqli_fetch_array($ra))

echo $row[0];

die();

if($_REQUEST["srchk1"]!="")

{
$id1 = $_REQUEST["srchk1"];

$ra1 = mysqli_query($con, "select s_omr from t_usermark where s_id = '$id1'");

if($row = mysqli_fetch_array($ra1))

echo $row[0];

die();

if(!isset($con))

die("Database Not Found");

$txtname=$_REQUEST["txtname"];

$txteml=$_REQUEST["txteml"];

$txtpwd=$_REQUEST["txtpwd"];

$txtid=$_REQUEST["txtid"];

$omarkof=$_REQUEST["omarkof"];
$markof=$_REQUEST["markof"];

$txtomr=$_REQUEST["txtomr"];

$txtmark=$_REQUEST["txtmark"];

$q=mysqli_query($con,"select ad_name from t_admin where ad_id='".


$_SESSION['ad']."'");

$n= mysqli_fetch_assoc($q);

$adname= $n['ad_name'];

$q1=mysqli_query($con,"select s_name from t_user_data where s_id='".$markof."'");

$n1= mysqli_fetch_assoc($q1);

$usname= $n1['s_name'];

if(isset($_REQUEST["admcreate"]))

if($txtid == "")

$txtid = AdminCode();

if($txtpwd == "")

$txtpwd = AdminPass();
$sql = "insert into t_admin values(";

$sql .= "'" . $txtid . "',";

$sql .= "'" . $txtname . "',";

$sql .= "'" . $txtpwd . "',";

$sql .= "'" . $txteml . "')";

mysqli_query($con, $sql);

echo "Your ID is ".$txtid;

if(isset($_REQUEST["submitomr"]))

$sql = "insert into t_usermark (s_id,s_omr) values(";

$sql .= "'" . $omarkof . "',";

$sql .= "'" . $txtomr . "')";


mysqli_query($con, $sql);

if(isset($_REQUEST["submitmarks"]))

$sql = "update t_usermark set s_mark=";

$sql .= "'" . $txtmark . "'";

$sql .= "where s_id='" . $markof . "'";

mysqli_query($con, $sql);

function AdminCode()

$con = mysqli_connect("localhost", "root", "123456", "oas");


$rs=mysqli_query($con,"select
CONCAT('AD',LPAD(RIGHT(ifnull(max(ad_id),'AD00000'),5) + 1,5,'0')) from t_admin");

// return mysqli_fetch_array($rs)[0];

if($row = mysqli_fetch_array($rs))

return $row[0];

function AdminPass()

$alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345
67890";

$pass = array();

$alphaLength = strlen($alphabet) - 1;

for($i=0;$i<8;$i++)

$n=rand(0,$alphaLength);

$pass[]=$alphabet[$n];

return implode($pass);

}
?>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title></title>

<link rel="stylesheet" href="bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="bootstrap/bootstrap-theme.min.css">

<script src="bootstrap/jquery.min.js"></script>

<script src="bootstrap/bootstrap.min.js"></script>

<link type="text/css" rel="stylesheet" href="css/admform.css"></link>

<script src="https://code.jquery.com/jquery-2.1.1.min.js"
type="text/javascript"></script>

<!--autosearch-->

<script type="text/javascript" src="jquery/jquery-1.8.3.min.js"></script>

<script type="text/javascript" src="jquery/jquery-ui-1.8.2.custom.min.js"></script>

<link href="css/css.css" rel="stylesheet" type="text/css" /

<!--search table-->

<script>

$(document).ready(function(){

$("#search-box").keyup(function(){
$.ajax({

type: "POST",

url: "readID.php",

data:'keyword='+$(this).val(),

beforeSend: function(){

$("#search-box").css("background","#FFF url(LoaderIcon.gif) no-


repeat 165px");

},

success: function(data){

$("#suggesstion-box").show();

$("#suggesstion-box").html(data);

$("#search-box").css("background","#FFF");

});

});

});

function selectid(val) {

$("#search-box").val(val);

$("#suggesstion-box").hide();

</script>
<script>

$(document).ready(function()

$('#searchtb').keyup(function()

searchTable($(this).val());

});

});

function searchTable(inputVal)

var table = $('#tblData');

table.find('tr').each(function(index, row)

var allCells = $(row).find('td');

if(allCells.length > 0)

var found = false;

allCells.each(function(index, td)

var regExp = new RegExp(inputVal, 'i');

if(regExp.test($(td).text()))
{

found = true;

return false;

});

if(found == true)$(row).show();

else $(row).hide();

});

</script>

<!--toggle

<script>

$(document).ready(function(){

$("#appr").click(function(){

$("#disapp").hide();

$("#appr").hide();

});

//$("#disapp").click(function(){

// $("p").show();

//});
});

</script>

<!--auto search-->

<script type="text/javascript">

$(function() {

$("#search1").autocomplete({

source: "global_search.php",

minLength: 2,

select: function(event, ui) {

var getUrl = ui.item.id;

if(getUrl != '#') {

var kk = $("#search1").val();

$.ajax();

type : "GET",

cache : false,

url : "admin.php",

data : {

srchk : kk

},

success : function(response) {

// alert(response)
$("#searhid1").val(response);

});

},

html: true,

// showname showomr submitmarks

});

});

</script>

<script type="text/javascript">

$(function() {

$("#search2").autocomplete({
source: "global_search.php",

minLength: 2,

select: function(event, ui) {

var getUrl = ui.item.id;

if(getUrl != '#') {

var kk = $("#search2").val();

$.ajax({

type : "GET",

cache : false,

url : "admin.php",

data : {

srchk1 : kk

},

success : function(response) {

// alert(response);

$("#showomr").val(response);

});

}
},

html: true,

// showname showomr submitmarks

});

});

</script>

</head>

<body style="background-image:url(./images/inbg.jpg) ">

<?php

include 'adminsession.php';

?>

<form id="admin" action="admin.php" method="post">


<div class="container-fluid">

<div class="row">

<div class="col-sm-12">

<img src="images/cutm.jpg" width="100%" style="box-shadow: 0px 5px


5px #999999; "></img>

</div>

</div>

</div>

<div class="container-fluid" id="dmid">

<div class="row">

<div class="col-sm-12">

<font style="color:white; font-family: Verdana; font-size:20px;">

<p align="justify"><?php echo "Welcome, $adname


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Administratio
n Cell </b>"?></p> </font>
</div>

</div>

</div>

<div class="container">

<ul class="nav nav-tabs" >

<li class="active"><a data-toggle="tab" href="#viewapp">View


Applications</a></li>

<li><a data-toggle="tab" href="#adomr">Enter OMR</a></li>

<li><a data-toggle="tab" href="#admarks">Enter Marks</a></li>

<li><a data-toggle="tab" href="#adadmin">Add New Manager</a></li>

<li><a href="adlogout.php">Logout</a></li>

<li> <input type="text" id="searchtb" name="searchtb"


placeholder="Search" class="form-control"

style="margin-top:5px;margin-left:250px;width:300px;"></li>

</ul>

<div class="tab-content">

<div id="viewapp" class="tab-pane fade in active">

<?php
$rs1 = mysqli_query($con,"select * from t_user_data");

echo '<table class="table table-striped" id="tblData">';

echo "<thead>";

echo "<tr>";

echo "<th>ID</th>";

echo "<th>NAME</th>";

echo "<th>DATE OF BIRTH</th>";

echo "<th>EMAIL ID</th>";

echo "<th>CONTACT NO.</th>";

echo "<th>SIGNUP DATE</th>";

echo "<tr>";

echo "</thead>";

echo "<tbody>";

while($ar = mysqli_fetch_array($rs1))

echo "<tr>";
echo "<td><a href='viewform.php?id=".$ar[0]."'>" . $ar[0] . "</a></td>";

echo "<td>" . $ar[3] . "</td>";

echo "<td>" . $ar[2] . "</td>";

echo "<td>" . $ar[4] . "</td>";

echo "<td>" . $ar[5] . "</td>";

echo "<td>" . $ar[6] . "</td>";

echo "<td> <a href='adminac.php?id=".$ar[0]."'>

<input type='button' value='Card' name='adcard' class='toggle btn btn-


primary'> </a></td>";

echo "<td>

<a href='appr.php?id=".$ar[0]."'>

<img src='./images/Tick.png' width='20px'></img></button> </a> </td>";

echo "<td> <a href='delete.php?id=".$ar[0]."'>

<img src='./images/cross.png' width='20px'></img>

</button> </td>";

echo "</tr>";
// echo "<td> <a href='adminac.php?id=".$ar[0]."'><input type='button'
value='Admit Card' name='adcard' class='toggle btn btn-primary'> </a></td>";

//echo "</tr>";

//echo "<td> <a href='viewform.php?id=".$ar[0]."'>

//<input type='button' value='View' name='view' class='toggle btn btn-primary'>


</a></td>";

echo "</tbody>";

echo "</table>";

?>

</div>

<div id="adomr" class="tab-pane fade">

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

<div class="col-sm-12">

<br>

</div>

</div>

<div class="row">

<div class="col-sm-12">

<div class="container">

<center> <div class="jumbotron" style="width:50%; box-shadow: -3px 3px


10px #999999; margin-top:10px;">

<div class="row">

<div class="col-sm-6">

<input type="text" name="omarkof" id="search1" class="form-


control" placeholder="Application ID" style="width:200px;"/>

</div>
<div class="col-sm-6">

<input type="text" id="searhid1" value="<?php echo $usname ?


>"class="form-control" style="width:200px;"/><br />

<input type="text" name="txtomr" placeholder="Enter OMR No."


class="form-control" style="width:200px;"/>

</div>

</div><br>

<input type="submit" value="Submit" name="submitomr"


class="toggle btn btn-primary" />

</div></center>

</div>

</div>

</div>

</div>

</div>

<div id="admarks" class="tab-pane fade">


<div class="container-fluid">

<div class="row">

<div class="col-sm-12">

<br>

</div>

</div>

<div class="row">

<div class="col-sm-12">

<div class="container">

<center> <div class="jumbotron" style="width:50%; box-shadow: -3px 3px


10px #999999; margin-top:10px;">

<div class="row">

<div class="col-sm-6">

<input type="text" name="markof" id="search2" class="form-


control" placeholder="Application ID" style="width:200px;"/>
</div>

<div class="col-sm-6">

<input type="text" name="showomr" id="showomr"


placeholder="Omr" class="form-control" style="width:200px;"/><br>

<input type="text" name="txtmark" placeholder="Enter Marks"


class="form-control" style="width:200px;"/>

</div>

</div><br>

<input type="submit" value="Submit" name="submitmarks"


class="toggle btn btn-primary" />

</div></center>

</div>

</div>

</div>

</div>

</div>
<div id="adadmin" class="tab-pane fade">

<div class="row">

<div class="col-sm-12">

<h3>New Manager Details</h3>

<input type="text" id="txtname" name="txtname"


class="form-control" style="width:200px;margin-left:32px;"
placeholder="Name"><br><br>

<input type="text" id="txteml" name="txteml" class="form-


control" style="width:200px;margin-left:32px;" placeholder="Email ID"><br>

<input type="submit" value="Create" name="admcreate"


class="toggle btn btn-primary" style="margin-left:102px;"/> <br>

<hr><hr>

<h3>Existing Managers</h3>

<?php

$rs2 = mysqli_query($con,"select * from t_admin");


echo '<table class="table table-striped">';

echo "<thead>";

echo "<tr>";

echo "<th>ID</th>";

echo "<th>NAME</th>";

echo "<th>EMAIL ID</th>";

echo "<tr>";

echo "</thead>";

echo "<tbody>";

while($ar = mysqli_fetch_array($rs2))

echo "<tr>";

echo "<td>" . $ar[0] . "</td>";

echo "<td>" . $ar[1] . "</td>";

echo "<td>" . $ar[3] . "</td>";

echo "</tr>";

echo "</tbody>";
echo "</table>";

?>

<input type="hidden" id="txtid" name="txtid" >

<input type="hidden" id="txtpwd" name="txtpwd">

</div>

</div>

</div>

</div>

</div>

</form>

</body> </html>

You might also like