active city administration php
DESCRIPTION
This is the report on PHP project named ACTIVE CITY ADMINISTRATIONTRANSCRIPT
-
5/25/2018 active city administration php
1/48
1
SEMINAR ON INDUSTRIAL TRAINING
(June-July, 2013)
ACTIVE CITY ADMINISTRATION
Submitted by
Himanshu Agarwal
11000186
Under the Guidance of
Mr. Shwetank Kumar Gupta
(Training Coordinator, TCIL-IT, Chandigarh)
Discipline of CSE/IT
Lovely Professional University, PhagwaraJune-July, 2013.
-
5/25/2018 active city administration php
2/48
2
DECLARATION
I hereby declare that I have completed my six weeks summer training at TCIL-IT,Chandigarhfrom 27thMay 2013to 11thJuly 2013under the guidance of Mr. ShwetankKumar Gupta. I have worked with full dedication during these six weeks and my learningoutcomes fulfill the requirements of training.
Name of Student: Himanshu Agarwal
Registration Number: 11000186
Date: 5thAugust, 2013
-
5/25/2018 active city administration php
3/48
3
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of my project depends largely on the encouragement
and guidelines of many others. I take this opportunity to express my gratitude to the people
who have been instrumental in the successful completion of this project.
I would like to show my greatest appreciation to my project in-charge, Mr. Shwetank
Kumar Gupta. I cant say thank you enough for the tremendous support and help. I feel
motivated and encouraged every time I attend his classes. Without his encouragement and
guidance this project work would not have materialized.
Im highly grateful to Mr. Manoj Dhiman (Head of Placements and Training, TCIL-
IT,Chandigarh), also to my training coordinator, for his thorough guidance right from the
day one till the end of training. He actually laid the ground for conceptual understanding of
technologies used in project.
-
5/25/2018 active city administration php
4/48
4
-
5/25/2018 active city administration php
5/48
5
INDEX
1. Organization Overview-----------------------------------------------------------------------[6]2. Profile of the Problem-------------------------------------------------------------------------[8]3. Existing System--------------------------------------------------------------------------------[9]4. Problem Analysis-----------------------------------------------------------------------------[10]
a. Product definitionb. Feasibility Analysis5. Software Requirement Analysis------------------------------------------------------------[12]6. Design------------------------------------------------------------------------------------------[13]
a. Tables and their relationshipsb. Flowcharts
7. Source Code-----------------------------------------------------------------------------------[16]8. Screen Shots-----------------------------------------------------------------------------------[38]9. Gantt chart-------------------------------------------------------------------------------------[41]10.Project Legacy--------------------------------------------------------------------------------[42]
a. Technical and Managerial lessons learnt.11.Bibliography-----------------------------------------------------------------------------------[43]
-
5/25/2018 active city administration php
6/48
6
ORGANIZATIONAL OVERVIEW
Telecommunications consultants India Limited Information Technology popularly known
as TCILIT, managed by ICSIL (joint venture of Delhi State Industrial Infrastructure
Development Corporation, an undertaking of Delhi Govt. & TCIL, A Govt. of India
Enterprise under ministry of communications and information technology). In Chandigarh,
ICS is a license of TCIL-IT training division in 1999 with a vision to contribute to the IT
world by focusing on IT Education, Training and Development, entrepreneurship and
innovation. TCIL-IT Chandigarh brilliantly running its Industrial training programs from
more than a decade and has reputed name in northern region of the country, provide training
to students of almost every Technical University/Engineering College of Punjab HARYANA,H.P., and Rajasthan etc. In the past decade TCIL IT, Chandigarh trained thousands of
engineering graduates successfully.
TCIL-IT, Chandigarh provides training in PHP, .Net, JAVA, ETHICAL HACKING,
EMBEDDED SYSTEM, NETWORKING ADMINISTRATION and TELECOM
TECHNOLOGY in the Tri-city i.e. Chandigarh, Mohali and Panchkula with their team of
experienced and trained faculties from their respective area of expertise. Where a gamut of
comprehensive training programs is being introduced in software, hardware and networking,
telecom, multimedia, interior designing and fashion technology through its countrywide
network.
Over the years TCIL- IT has been so able to build its reputation that its distinctive name is
being sought after by the biggest and best market majors-from Indian army to MNCs, for
Imparting IT Training in Software, Hardware, Telecom and Embedded systems.
The curriculum development team of TCIL-IT Chandigarh is updating its training curriculum
regularly to pace-up with the current needs and requirements of the IT Industry. The training
curriculum is designed giving utmost importance to:-
i. Live project based knowledge and practical skills, where the trainees are getting ample timeto work in labs.
ii. Various Interactive Sessions are integral part of our training curriculum.
TCIL-IT is managed by ICSIL (Intelligent Communication Systems India Ltd.), a Joint
Venture of TCIL (Telecommunication Consultants India Ltd), a Govt. of India Enterprise and
DSIIDC (Delhi State Industrial Infrastructure Development Corporation Ltd), a Govt. of
Delhi Undertaking. TCIL-IT has tie-up with many government agencies to impart computer
education for career advancement.
-
5/25/2018 active city administration php
7/48
7
In Information Technology TCIL has established its IT Training Centre TCIL- IT which is
running various courses duly approved by Department of Electronics, Govt. of India for
career advancement. Keeping in view the rising need for quality computer professionals,
TCIL has introduced a gamut of comprehensive computer courses in Software, Hardware,
Multimedia, Telecom, Interior Designing and Fashion Technology through its countrywide
network. Over the years TCIL has built up a solid reputation for offering world class training
in software, hardware and multimedia courses. From Indian Army, Banks to Multinational
majorsTCIL -IT is being sought after by the biggest and the best for imparting IT Training.
The curriculum development team of TCIL is in regular touch with todays industry and
updates the course curriculum regularly to meet its demands. As the course curriculum is
designed giving equal importance to theoretical knowledge and practical skills, the students
will get ample time to work in computers.
The placement cell of TCIL ensures suitable jobs for the meritorious students.
The business of TCIL is characterized by advanced technologies both in the field of Telecom
and IT. Technology is advancing very fast and with a view to keep updated with the latest
technology TCIL undertakes training activities either through its own resources or through
external agencies. TCIL is having strategic tie-up to provide telecom training with the
following prestigious institutes of Govt. of India:
Advanced Level Telecom Centre (ALTTC), Ghaziabad
Centre for Excellence in Telecom Technology and Management, Mumbai
TCIL has also organized a number of training programs catering to specific requirements of
Telecom PTTs from various countries viz. Ethiopia, Nigeria, Kuwait, Maldives, Republic of
Yemen.
-
5/25/2018 active city administration php
8/48
8
PROFILE OF THE PROBLEM
Project Title: Active City Administration
Project Duration: 2 Weeks
Project Category: Website Development
This project is the development of a website using PHP, CSS, JavaScript and HTML. The
IDE Adobe Dreamweaver CS5.5 have been used to develop it along with the WAMP server
for server side scripting. This project is developed in partial fulfillment of requirements for
the degree of B.Tech-CSE from LOVELY PROFESSIONAL UNIVERSITY (LPU).
ABOUT THE PROJECT
Profile of the problem
This application mainly help those people who are not able to go to police station forsome reasons and for those whose complaints are not listening. Now these ways every
person knows about the functioning of every political or criminal dept. that how
efficiently and honestly they serve their duties.
With the help of this application the problems like corruption will also be removed. Display all fairness working and innovation in that particular area. This application is very useful for all people who want to make the country corruption
free and developed.
With the help of this application young guys also take interest in all over developmentbecause it is an interesting, fair and trendy way of all solutions of problems.
-
5/25/2018 active city administration php
9/48
9
EXISTING SYSTEM
The primary concern of every system client is validity of the purchased software product in
the near future. In order to cope with this problem, programmers often provide their clients
with regular system updates so that in case there have been any change include in working
criteria of institution/organization, it can be absorbed within existing automated system.
I have compiled this project keeping this point in full regards that it can be easily upgraded if
need arises. From time to time, new modules can be added to it or existing ones can be
modified. The development tools we have used i.e. PHP, My SQL on windows server are
flexibility allowing tools and hence changes to existing system can be made very easily in
order to make it serve a long way.
This project will provide information to all common man power that how the development is
going on likes as:
Corruption free Easy to complaint Easy to get solutions Innovative ideas and multiple solutions
No harassment
Fair and open system Lead to progress of country Bribe free system Youth participation
-
5/25/2018 active city administration php
10/48
10
PROBLEM ANALYSIS
PRODUCT DEFINITION AND FEASIBILITY ANALYSIS
Active City Administration
This project is aimed at developing an application which can streamline to all about manual
complains and its solutions for the public. It involves both administrative and police
departments to handle all type issues. This project is to develop and deploy a web based
application so that the different aspects of complain system will be improved and easy to
handle.
Userscan visit our site and can get knowledge about the laws and get to know aboutthe current issues and news but users will have to register first to put their complaints,
they can chat with our officers online to have help about any topic. So that every work
should be clearly done without harassment and corruption its easiest and helpful to
every user. They have a proper FIR form available here and proper instruction
regarding this. Users can get knowledge about how to keep themselves save from the
safety tips page. Students can know about the laws and rules of our constitution. Users
can also directly connect with our organization in case of having any query.
News
Laws FIR FORM Download Frequently Asked Questions Important Links Complaint Box with Category Contact page with message to admin
-
5/25/2018 active city administration php
11/48
11
News:ACA have provided the news page for user/people, which provide the information
related to-
Crime News:- latest news about the crime Achievements:-Achievements of our organization. Activities: - Activities i.e. the cases recently running.
Laws: Itprovides the information about legal rules of Indian laws and helps them to
understand the legal working of the organization.
Complaint Box: These all comes after user login into their accounts. Here users can
register their complaints online.
Send messages:User can send the message to admin. But it should be related to legal
environment. They can send messages directly to higher authorities (DM/CM) in case there
complaints have not paid attention.(By Contact us page)
.
Download FIR form: Users can also download fir form from our application and can
send by post or submit their form manually by visiting our office.
.
-
5/25/2018 active city administration php
12/48
12
Software Requirement Analysis
Adobe Dreamweaver CS5.5 Web Browser Wamp server
Hardware Requirement
1GHz Pentium 4 processor or equivalent 512 MB of RAM 1GB of disk space* Monitor that supports 1024x768 resolution
-
5/25/2018 active city administration php
13/48
13
Design
Table and their relationships
Since the project has been developed using the PHP MySQL windows sever, it contains a
relational approach. This website contains two tables in the aca database
1.)TABLE 1 (CONTACTUS)This table contains 5 attributes
Name Email Phone Address Message
Name- This attribute is varchar type and is holding the Name of the user.
Email-This attribute is also varchar type and is holding the email address of the user.
Phone- This attribute is varchar type and is holding the phone number of the user.
Address-This attribute is varchar type and is holding the address of the users.
Message- This attribute is varchar type and is holding the message that is sent by the user to
admin.
-
5/25/2018 active city administration php
14/48
14
2.)TABLE 2 (COMPLAINTUS)This table contains six attributes
Full_name Email Phone_no Complaint_title Complaint_type Complaint_details
Full_name-This attribute is varchar type and is holding the fullname of the user.
Email- This attribute is varchar type and is holding the email address of the user.
Phone_no- This attribute is int type and is holding the phone number of the user.
Complaint_title- This attribute is varchar type and is holding the complaint title of the user.
Complaint_type- This attribute is varchar type and is holding the complaint type of the user.
Complaint_detail- This attribute is varchar type and is holding the complete details of the
user.
-
5/25/2018 active city administration php
15/48
15
Flowchart
-
5/25/2018 active city administration php
16/48
16
SOURCE CODE
I ndex f il e
Untitled Document
-
5/25/2018 active city administration php
17/48
17
Active City Administration is a user-friendly online interface for
citizens to communicate with administrative body and, reduce the distance and time barrier
between citizens and administration.
By using active city administration services we able to know real time, quantitative and basic
approach of the government services for the people living in the particular area. Due to
provided services their might be possibility of increase in communication among the
municipal authorities and the local people New media and information and communication
technologies are influencing our live more and more.
Citizens are getting increasingly used to e-technologies and the deployment of new media.
Used to global information, e-commerce and quick responses from the internet e-citizens are
demanding also from public administration higher efficiency, more transparency and better
services.
-
5/25/2018 active city administration php
18/48
18
Objectives:
To create a user-friendly online interface for citizens to communicate with administrative
body and, reduce the distance and time barrier between citizens and administration
To create a online platform where people can share ideas, invoke discussions, issue
complaints, create suggestion/petitions for improvement of city administration.
To encourage the citizens to actively participate in city administration to bring transparency
and flexibility in system.
Announcements:
-
5/25/2018 active city administration php
19/48
19
Important Nos.
Nearest Police Station
100
Fire
101
Ambulance
102
Emergency
911
Railway
139
-
5/25/2018 active city administration php
20/48
20
Header fi le
Untitled Document
-
5/25/2018 active city administration php
21/48
21
Home
News
Crime
-
5/25/2018 active city administration php
22/48
22
Achievements
Activities
Laws
FIR
Form
Download (.pdf)
How To Fill (.pdf)
Where To
Send
FAQ
Important Links
Complaint Us
Contact Us
-
5/25/2018 active city administration php
23/48
23
Footer
Untitled Document
-
5/25/2018 active city administration php
24/48
24
Follow us on:Copyright 2013 | Himanshu Agarwal .
All rights reserved.
-
5/25/2018 active city administration php
25/48
25
Privacy Policy
Terms of Service Copyright/IP Policy
Complaintus_data
Untitled Document
-
5/25/2018 active city administration php
26/48
26
-
5/25/2018 active city administration php
27/48
27
alert("data successfully submitted");
Contact_data
Untitled Document
-
5/25/2018 active city administration php
28/48
28
-
5/25/2018 active city administration php
29/48
29
Complaint_us
// JavaScript Document
//===============form validation======================//
function validation()
{
var full_name=document.getElementById("n1");
var email= document.getElementById("n2");
var telephone= document.getElementById("n3");
var title= document.getElementById("n4");
var type= document.getElementById('n5');
-
5/25/2018 active city administration php
30/48
30
var detail= document.getElementById("n6");
if(full_name.value=="")
{
alert("Please Enter Name");
first_name.focus();
return false;
}
if( email.value=="" )
{
alert("Please Enter Email");
email.focus();
return false;
}
if(emailValidator() !=true)
{
email.focus();
return false;
}
-
5/25/2018 active city administration php
31/48
31
if( telephone.value=="" )
{
telephone.focus();
alert("Please Enter Phone No.");
return false;
}
if(isNumeric()!=true)
{
telephone.focus();
return false;
}
if(title.value=="")
{
alert("Please Enter Complaint Title");
title.focus();
return false;
}
if(type.value=="")
{
alert("Please select complaint type");
type.focus();
return false;
-
5/25/2018 active city administration php
32/48
32
}
if(detail.value=="")
{
alert("Please Enter Complaint Detail");
detail.focus();
return false;
}
return true;
}
//======================================email validation
=====================//
function emailValidator()
{
var email= document.getElementById("n2");
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
if(email.value.match(emailExp))
{
return true;
}
else
{
alert("Please enter valid email id");
-
5/25/2018 active city administration php
33/48
33
return false;
}
}
//=============contact no validation===============================//
function isNumeric()
{
var mn= document.getElementById("n3");
var numericExpression = /^[0-9]+$/;
if(mn.value.match(numericExpression))
{
return true;
}
else
{
alert("Please enter valid contact no.");
return false;
}
}
Untitled Document
-
5/25/2018 active city administration php
34/48
34
File Cyber Crime Private Complaint
Full Name:
Email:
-
5/25/2018 active city administration php
35/48
35
Telephone No.:
Complaint Title:
Complaint Type:
-
5/25/2018 active city administration php
36/48
36
- Select -
Abusive Chat
Abusive Email
Banking Fraud
Copyright Infringement
Credit Card Fraud
Cyber Stalking
Domain Hacking
E-commerce frauds
Email Hacking
Email Threat
Net Extortion
Obscene Email
Online Defamation
Phishing
Pornography
Social Profile Hacking
Software Piracy
Spoofing
Trademark Abuse
Virus or Trojan attack
Website Hacking
Others
-
5/25/2018 active city administration php
37/48
37
Complaint Details:
-
5/25/2018 active city administration php
38/48
38
Contact us
//===============form validation======================//
function validation()
{
var first_name=document.getElementById("n1");
var email= document.getElementById("n2");
var telephone= document.getElementById("n3");
if(first_name.value=="")
{
alert("Please Enter Name");
first_name.focus();
return false;
}
if( email.value=="" || emailValidator() !=true)
{
alert("Please Enter Email");
email.focus();
-
5/25/2018 active city administration php
39/48
39
return false;
}
if( telephone.value=="" || isNumeric()!=true)
{
telephone.focus();
alert("Please Enter Phone No.");
return false;
}
return true;
}
//======================================email validation
=====================//
function emailValidator(){
var email= document.getElementById("n2");
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
if(email.value.match(emailExp)){
return true;
}else{
alert("Please enter valid email id");
return false;
}
}
//=============contact no validation===============================//
function isNumeric()
-
5/25/2018 active city administration php
40/48
40
{
var mn= document.getElementById("n3");
var numericExpression = /^[0-9]+$/;
if(mn.value.match(numericExpression))
{
return true;
}
else
{
alert("Please enter valid contact no.");
return false;
}
}
Untitled Document
-
5/25/2018 active city administration php
41/48
41
email at on: [email protected]
Headquater Address: Plot No 5-B, C
GO Complex,Lodhi Road,
New Delhi-110003
Please enter your query...
Name
Email id
Phone no.
Address
-
5/25/2018 active city administration php
42/48
42
Message
-
5/25/2018 active city administration php
43/48
43
SCREEN SHOTS:
Home Page
News
-
5/25/2018 active city administration php
44/48
44
LAWS
Important L inks
-
5/25/2018 active city administration php
45/48
45
Complaint Box
Message to Admin
-
5/25/2018 active city administration php
46/48
46
Gantt Chart
Task Length
A. Introduction 5 daysB. CSS and PHP overview 1 week
C. Project analysis 1 weekD. Database Connection 1 week
E. Form validation 4 daysF. Doubt clearing and
project2 weeks
G. Project evaluation 4 days
-
5/25/2018 active city administration php
47/48
47
PROJECT LEGACY
Technical and managerial lessons learnt
Lean or Agile sessions are held every three to four days throughout the project. This results in
three key outcomes:
It is much easier to remember what went well and what needed improvement. It is alsomuch easier to make changes over a short time period than a long one.
The sessions are held mid-project so the team that identified the items can act upon themin the context in which they have relevance.
Because another session will be held in a couple of weeks, the team is able to inspect theresults of the actions they took to rectify a problem and adopt a new solution if the last
one didn't fix the problem.
-
5/25/2018 active city administration php
48/48
48
BIBLIOGRAPHY
As per the need of my project of PHP, I required information regarding various concepts and
logics used in developing a website. Therefore I have gone through several books for more
information. My project co-coordinator has suggested me to go through some books whose
list is as follows:
Book Reference
Php reference by Shwetankkumargupta Beginner to intermediate php5 Complete ref by php 5
Website Reference
W3school.com Shwetankeducation.com Phpf1.com Php.net Tizag.net