Gym Management System
Gym Management System
Date of viva-Voice:
SIGNATURE
(M.JAFRIN)
CONTEXT
S.NO SYNOPSIS PAGE NO
1 INTRODUCTION
1.1 Objective
1.2 Methodology development
Model
1.3 Tools and Technique
2 SYSTEM SPECIFICATION
2.1 Software Specification
2.2 Hardware Specification
2.3 External Interface
2.4 Software Product Features
3 3. SYSTEM STUDY
3.1.Existing System
3.2.proposed System
3.3. Structure of the Project
3.4.System Analysis
3.5.System Design
4 SYSTEM DESIGN DEVELOPMENT
4.1.Input Design
4.2.Output Design
4.3. Coding Design
4.4. Database Design
5 TESTING & IMPLEMENTATION
6 CONCLUSION
7 APPENDICES
A.SCHEMA DIAGRAM
B.FOLW CHART
C.DATA FLOW DIAGRAM
D.ER DIAGRAM
E.SAMPLE CODING
F.SAMPLE INPUT
G.SAMPLE OUTPUT
ABSTRACT:
This project aims at creating on Gym Management System which can be
used by Admin and Customers. The admin to advise/publish the availability of
rooms in different hotels and customers are checking the availability of room in
required gym.Customers should be able to know the availability of the rooms on a
particular date to reserve in gym. They should be able to reserve the available
rooms according to their need in advance to make their stay comfortable. The
Admin hands the booking information of customers. The users can register and log
into the system. The administrator will know the details of reservation and daily
income. The hotel department maintain the seat availability and booking details in
certain database. This project provides high security to Admin and user
information.
INTRODUCTION
Xampp
Mysqlyog
HTML
Bootstrap
Sublime text
Java Script
Css
Php
Hypertext Preprocessor (or simply PHP) is a server-side scripting
language designed for Web development, but also used as a general-purpose
programming language. It was originally created by RasmusLerdorf in
1994,] the PHP reference implementation is now produced by The PHP
Group. PHP originally stood for Personal Home Page,] but it now stands for
the recursive acronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it can be used in
combination with various web template systems, web content management
systems, and web frameworks. PHP code is usually processed by a PHP
interpreter implemented as a module in the web server or as a Common
Gateway Interface (CGI) executable. The web server combines the results of
the interpreted and executed PHP code, which may be any type of data,
including images, with the generated web page. PHP code may also be
executed with a command-line interface (CLI) and can be used to implement
standalone graphical applications.
Xampp
XAMPP is a free and open source cross-platform web server solution
stack package developed by Apache Friends, consisting mainly of the
Apache HTTP Server, MariaDB database, and interpreters for scripts written
in the PHP and Perl programming languages. XAMPP stands for Cross-
Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a
simple, lightweight Apache distribution that makes it extremely easy for
developers to create a local web server for testing and deployment purposes.
Everything needed to set up a web server – server application (Apache),
database (MariaDB), and scripting language (PHP) – is included in an
extractable file. XAMPP is also cross-platform, which means it works
equally well on Linux, Mac and Windows. Since most actual web server
deployments use the same components as XAMPP, it makes transitioning
from a local test server to a live server extremely easy as well.
Mysqlyog
MySQL Workbench is a unified visual tool for database architects,
developers, and DBAs. MySQL Workbench provides data modeling, SQL
development, and comprehensive administration tools for server
configuration, user administration, backup, and much more. MySQL
Workbench is available on Windows, Linux and Mac OS X.
HTML
Hypertext Markup Language (HTML) is the standard markup
language for creating web pages and web applications. With Cascading Style
Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for
the World Wide Web.[4]
Web browsers receive HTML documents from a web server or from local
storage and render the documents into multimedia web pages. HTML
describes the structure of a web page semantically and originally included
cues for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML
constructs, images and other objects such as interactive forms may be
embedded into the rendered page. HTML provides a means to create
structured documents by denoting structural semantics for text such as
headings, paragraphs, lists, links, quotes and other items.
Bootstrap
Bootstrap is a free and open-source front-end framework for
designing websites and web applications. It contains HTML- and CSS-based
design templates for typography, forms, buttons, navigation and other
interface components, as well as optional JavaScript extensions. Unlike
many web frameworks, it concerns itself with front-end development only.
Java Script
JavaScript often abbreviated as JS, is a high-level, interpreted
programming language. It is a language which is also characterized as
dynamic, weakly typed, prototype-based and multi-paradigm.
Alongside HTML and CSS, JavaScript is one of the three core technologies
of the World Wide Web. JavaScript enables interactive web pages and thus
is an essential part of web applications. The vast majority of websites use it,
and all major web browsers have a dedicated JavaScript engine to execute it.
Sublime Text
Sublime Text is a proprietary cross-platform source code editor with a
Python application programming interface (API). It natively supports many
programming languages and markup languages, and functions can be added
by users with plugins, typically community-built and maintained under free-
software licenses.
Css
Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation of a document written in a markup language like
HTML. CSS is a cornerstone technology of the World Wide Web, alongside
HTML and JavaScript.
CSS is designed to enable the separation of presentation and content,
including layout, colors, and fonts. This separation can improve content
accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple web pages to share formatting
by specifying the relevant CSS in a separate css file, and reduce complexity
and repetition in the structural content.
2. SPECIFICATION REQUIREMENT
2.1 SOFTWAREN SPCIFICATION:
Operating System – Windows/Linux
Database – MYSQL
Platform – PHP
Web Server – XAMPP
2.2HARDWARE SPCIFICATION:
Processor – INTEL CODE
I3 (2.30 CH2)
Ram – 1 GM RAM
Hard Disk – 250 GB HDD
LCD MONITOR
Conform
ID:
Precondition: Admin has successfully navigated to the
Search result
Success end Condition: Admin has successfully made the
Changes
2.4 SOFTWARE PRODUCT FEATURES
Gym Management System
sequencing information
-Login information should be filled before the user allowed.
Error Handling
-If user doesn’t filled up validate information then the system display
error message for user and request to enter the validate information.
Performance required
Security
System should be Protected from unauthorized access Where the
validate Username and Password are required so no other can access.
Login Database :
Data Design
Data Model: A database model is a type of data model that determines
the logical structure of a database and fundamentally determines in which
manner data can be stored, organized and manipulated.
3. SYSTEM STUDY
3.1 EXISTING SYSTEM:
3.2PROPOSED SYSTEM:
To overcome the problems of manual System, online hotel
management System is proposed.
The Central Objective of Online Hotel Managements is to
provide online facility for booking rooms.
This software can manage and keep records of hotel.
Context diagram
Leveled data flow diagrams
Process specification for elementary bubbles
Data dictionary for the flow and stores on the DFDs.
6. CONCLUSION
A. Schema Diagram
B. Flow Chart
C. Data Flow Diagram
D. ER Diagram
C. Sample coding
#health management system
#3 clients -harry , vaibhav , samarth
def getdate():
import datetime
return datetime.datetime.now()
# Excersixe Functions
def exc(a):
Excersize_name = input("Which Excersize You Complete mr harry
==>>")
date = getdate()
f = open(a, "a")
f.write("\n")
f.write("[")
f.write(str(date))
f.write("]")
f.write("\t")
f.write(":")
f.write("\t")
f.write(Excersize_name)
f.close()
print("well Done Keep up\n")
def exc_show(a):
f = open(a)
content = f.read()
print(content)
f.close()
#FoodFunctions
def food(b):
print("Which Food You ate ",b[0:7])
Excersize_name = input(" ==>>")
date = getdate()
f = open(b, "a")
f.write("Following is List of Food You eat")
f.write("\n")
f.write("[")
f.write(str(date))
f.write("]")
f.write("\t")
f.write(":")
f.write("\t")
f.write(Excersize_name)
f.close()
print("follow the food chart giver by Gym\n")
def food_show(b):
f = open(b)
content = f.read()
print(content)
f.close()
f.write(name)
f.write("\n")
f.write("Age : \t")
f.write(age)
f.close()
work=1
while (work <= 50):
print("What do You Want To Chnage Or Show ")
print("press 1 for Excersize ")
print("press 2 for Food ")
print("press 3 for EXIT")
print("press 4 for New Admission")
user_input1 = int(input("==>>>"))
#Excersize Data
if(user_input1 == 1):
print("WELCOME TO GYM DATABASE ")
print("1-retrive or 11-Show For Harry ")
print("2-retrive or 22-Show for Vaibhav")
print("3-retrive or 33-Show for Samrth")
print("4 for Others\n")
a1 = "he.txt"
a2 = "ve.txt"
a3 = "se.txt"
user_name = int(input("==>>>"))
if(user_name == 1):
exc(a1)
if (user_name == 2):
exc(a2)
if (user_name == 3):
exc(a3)
if (user_name == 11):
exc_show(a1)
if (user_name == 22):
exc_show(a2)
if (user_name == 33):
exc_show(a3)
if (user_name == 4):
print("1 For Record and 11 For Show Record \n")
user_other = int(input("PLZ ENTER THE NUMBER==>>>"))
if (user_other == 1):
user_response = input("Enter Your name Same as Registraion")
n = user_response + "e.txt"
exc👎
if (user_other == 11):
user_response = input("Enter Your name Same as Registraion")
n = user_response + "e.txt"
exc_show👎
# food data
if(user_input1 == 2):
print("Whos Food You want to Save record or Show Record\n")
print("1-retrive or 11-Show For Harry ")
print("2-retrive or 22-Show for Vaibhav")
print("3-retrive or 33-Show for Samrth")
print("4 for Others\n")
b1 = "hf.txt"
b2 = "vf.txt"
b3 = "sf.txt"
user_name = int(input("PLZ ENTER THE NUMBER ===>>>"))
if (user_name == 1):
food(b1)
if (user_name == 2):
food(b2)
if (user_name == 3):
food(b3)
if (user_name == 11):
food_show(b1)
if (user_name == 22):
food_show(b2)
if (user_name == 33):
exc_show(b3)
if (user_name == 4):
print("1 For Record and 2 For Show Record \n")
user_other = int(input("PLZ ENTER THE NUMBER==>>>"))
if(user_other == 1):
user_response = input("Enter Your name Same as Registraion")
n = user_response + "f.txt"
food👎
if(user_other == 2):
user_response = input("Enter Your name Same as Registraion")
n = user_response + "f.txt"
food_show👎
if(user_other != 1 and user_other != 2):
print("Plz Enter Coreect Number")
if(user_input1 != 1 and user_input1 != 2 and user_input1 != 3 and
user_input1!= 4):
print("You Enter Wrong one")
if(user_input1 == 4):
New()
print("Thanks for show interset in our gym ..We will update your name
soon \n")
if(user_input1 == 3):
exit()
Sample Output:
Sample page:
New Admission:
Sample food page:
Exit page:
Full details sample page:
THANK YOU