Gym Management System Final Report
Gym Management System Final Report
A PROJECT REPORT
ON
“GYM MANAGEMENT SYSTEM”
2022-23
RNS FIRST GRADE COLLEGE
NAAC ACCREDITED WITH “A” GRADE
Channasandra, Bangalore - 560098
CERTIFICATE
This is to certify that Harshith M (Register No. 208MSB7027) has successfully completed the
project titled “GYM MANAGEMENT SYSTEM” at RNS First Grade College under my
supervision and guidance in the fulfillment of requirements of VI semester, Bachelor of
Computer Applications of Bangalore University, Bangalore.
1)...........................
2).........................
ACKNOWLEDGEMENT
I express my sincere thanks to our beloved Principal, Dr. Sudheer Pai K L, for
providing us all the facilities for laboratory and library.
I express my gratitude to our Vice Principal Prof. Shilpa Sarnad for her
continuous support and assistance during the course of my project.
I express my grateful thanks to all the staff members, Department of BCA for
their valuable assistance, encouragement and co-operation during this
wonderful learning experience.
1.1 Aim
1.2 Existing system
1.3 Proposed System
1.4 Objective
1.5 Modules
4.1 Definition
4.2 Function Requirements
4.3 Non-Function Requirements
5.1 Definition
5.2 Conceptual Design
5.3 Logical Design
5.4 Physical Design
5.5 E R Diagram
5.6 Methodology
CHAPTER – 6 SCREENSHOTS
CHAPTER – 7 CODING
8.1 Testing
8.2 Unit Testing
8.3 Validation Testing
8.4 Performance Testing
CHAPTER – 10 CONCLUSIONS
BIBLIOGRAPHY
GYM MANAGEMENT SYSTEM
INTRODUCTION
CHAPTER 1
INTRODUCTION
A fully functional project based on Gym Management System Project which uses
PHP Language with MySQL Database. It has a number of features that will allow
users to manage gym memberships, services, and daily records. This web
application’s concept is all clear. It’s the same as real-life scenarios and well-
implemented on it. the system helps to keep track of customers and track
activities with respect to their chosen services. Also, the system displays all the
available service packages. In addition, the system allows online registration for
the customers. Evidently, this project contains an admin panel with customer and
staff panels.
With our Gym Management System, you can efficiently handle membership
management, class scheduling, trainer assignments, billing and payments,
attendance tracking, and much more. The system is built using PHP, a popular
server-side scripting language, known for its flexibility and wide community
support.
1.1 AIM
In the existing system the exams are done only manually but in proposed system we have
to computerize the exams using this application.
Lack of security of data.
More man power.
Time consuming.
Consumes large volume of pare work.
Needs manual calculations.
No direct role for the higher officials.
Security of data.
Greater efficiency.
Better service.
1.4 OBJECTIVES
Client Acquisition
Client Retention
Managing Bookings and Scheduling Classes
Email Marketing
Billing Process Management
1.5 MODULES
The proposed project will have its main page and will be mainly divided into
partially dependent and partially independent modules as.
Member Management
Staff Management
Attendance Tracking
Access Control
SYSTEM ANALYSIS
CHAPTER 2
SYSTEM ANALYSIS
The existing system is clearly understood. The next step is to conduct the
feasibility study, which is a high-level capsule version of the entire system
analysis and design process. The objective is to determine whether the proposed
system is feasible. The three tests of feasibility nave been coming out:
1. Technical feasibility
2. Economic feasibility
3. Operational feasibility
In technical feasibility study, one has to test whether the proposed system can
be developed using existing technology or not. It is planned to implement the
proposed system using Windows 2000 Professional, JSP and Apache Tomcat
Web Server.
As part of this, the costs and benefits associated with the proposed system are to
be compared and the project is economically feasible only if benefits outweigh
costs. The Organization has already its own satellite link, and a host of SUN
FIRE 6800 servers.
So, it need not invest newly for the internet connection and also the organization
initiated to use Open Source in project development, hence there is 0 additional
cost incurred for the tools that will be used.
This test of feasibility checks if the system works with least difficulties when it
is developed and installed. The technical staffs have sufficient knowledge of the
tools being used and the users need just to know how to access and run the
programs in the Apache Web Server. Hence it is concluded that the system is
operationally feasible.
Software Requirement
Hardware Requirement
SOFTWARE COMPONENTS
CHAPTER 3
SOFTWARE COMPONENTS
TECHNOLOGY USED
HTML, which stands for Hypertext Mark-up Language, is the standard mark-up
language used to create the structure and content of web pages. It provides a set
of tags or elements that define the various components of a webpage, such as
headings, paragraphs, images, links, and more.
HTML uses a simple and straightforward syntax, making it easy to learn and
understand. It is a key building block in web development, as it forms the
foundation for creating the structure and layout of a webpage.
HTML documents consist of a series of elements enclosed within opening and
closing tags. The opening tag indicates the start of an element, while the closing
tag denotes its end. Elements can also contain attributes, which provide
additional information about the element.
One of the key advantages of PHP is its ability to interact with databases,
making it well-suited for creating websites that involve data manipulation and
storage. It can seamlessly connect to various database systems, such as MySQL,
PostgreSQL, and Oracle, allowing you to retrieve, insert, update, and delete
data.
The Apache HTTP Server commonly referred to as Apache, is one of the most
widely used open-source web server software in the world. It provides a reliable
and powerful platform for serving web pages and handling HTTP requests.
Originally developed in 1995, Apache has grown into a robust and feature-rich
web server that can be deployed on various operating systems, including
Windows, Linux, and macOS. It has a strong reputation for its stability,
performance, and security, making it a popular choice for hosting websites of all
sizes.
One of the key features of Apache is its modular architecture, which allows for
flexibility and extensibility. Apache's core functionality can be extended
through modules, enabling developers to add additional features and customize
the server's behavior based on specific needs. There are numerous modules
available that provide functionalities such as SSL/TLS encryption, URL
rewriting, caching, compression, and more.
SOFTWARE REQUIREMENT
SPECIFICATION
CHAPTER 4
4.1 DEFINITION
A software requirements specification (SRS) is a description of a software
system to be developed. It lays out functional and non-functional requirements,
and may include a set of use cases that describe user interactions that the
software must provide.
It serves as a product validation check. The SRS also serves as the parent
document for testing and validation strategies that will be applied to the
requirements for verification.
basis for estimating product costs, risks, and schedules. Used appropriately,
software requirements specifications can help prevent software project failure.
USER SIGN UP
USER LOGIN
• The system provides facility to the user to login into the system.
USER REGISTRATION
User Registration
USER LOGOUT
PERFORMANCE REQUIREMENTS
The load time for the user interface screen shall take no longer than two
seconds.
SAFETY REQUIREMENTS
SECURITY REQUIREMENTS
After entering the password and user id the user can access his profile.
Sharing of details.
RELIABILTY
MAINTAINABILITY
It is easy to maintain.
PORTIBILITY
The Study Tweaks Forum shall run in any platform with web browser
support
SYSTEM DESIGN
CHAPTER 5
SYSTEM DESIGN
5.1 DEFINITION
The major steps in the design phase are input design, output design, and dealing
with coding issues. The very first step is design of Input and output screen to the
client requirements. Next comes the various issues that should be dealt with
while coding and the code should be such that it should be compatible with the
real time environment and should be generic in nature. System design is a
process through which requirements are translated into a representation of
software. Initially the representation depicts a holistic view of software. System
design serves as the foundation for all software engineering and software
maintenance steps that follow.
• Conceptual Design
• Logical Design
• Physical Design
Logical Design derives business objects and their related services directly from
these usage scenarios. The logical view of the solution provides a basis for
evaluating different physical options. It also formalizes the solution for the
project team.
The idea of the application is that the system first emerges in logical design. Its
boundaries are business objects and it contains the system definition. Logical
design specifies the interfaces between the system and external entities, such as
users and other systems. Within a system there may be a number of subsystems,
and these boundaries are also specified.
• Input/output Specifications
• File Specification
• Processing Specifications
The purpose of Physical Design is to translate the logical design into a solution
that can be implemented effectively, according to performance, administration
and development process requirements. This physical view should correctly
implement the desired system behavior while meeting the constraints imposed
by the technology.
The idea of the application is that the system first emerges in logical design. Its
boundaries and business objects contain the system definition. Logical design
specifies the interfaces between the system and external entities, such as users
and other systems. Within a system there may be a number of subsystems, and
these boundaries are also specified.
Input/output Specifications
File Specifications
Processing Specification
DATA FLOW
A data flow diagram shows the logical flows of data through a transaction
processing system of an organization.
They are primarily used in the systems development process as a tool for
analyzing an existing system.
PROCESS:
DATA SOURCE:
Login
GYM
USER ADMIN
MANAGEMENT
SYSTEM
1) ENTITY
Entities are represented by rectangles. An entity is an object or concept about
which you want to store information.
2) ATTRIBUTE
Attributes are represented by ovals. A key attribute is the unique, distinguishing
Characteristic of the entity. For example, an employee's social security number
might be the employee's key attribute.
3) RELATIONSHIP
Relationship is represented by diamond shapes, show how two entities share
information.
Employee
4) MULTIVATED ATTRIBUTES
A multivalued attribute can have more than one value. For example, an
employee entity can have multiple skill values.
Attribute
5) DERIVED ATTRIBUTES
A derived attribute is based on another attribute. For example, an employee's
monthly salary is based on the employee’s annual salary.
ER DIAGRAM
5.7 Methodology
SCREENSHOTS
CHAPTER 6
SCREENSHOTS
CODING
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
if(isset($_POST['fullname'])){
$fullname = $_POST["fullname"];
$username = $_POST["username"];
$password = $_POST["password"];
$email = $_POST["email"];
$address = $_POST["address"];
$designation = $_POST["designation"];
$gender = $_POST["gender"];
$contact = $_POST["contact"];
$password = md5($password);
include 'dbcon.php';
//code after connection is successfull
$qry = "insert into staffs(fullname,username,password,email,address,designation,gender,contact) values
('$fullname','$username','$password','$email','$address','$designation','$gender','$contact')";
$result = mysqli_query($conn,$qry); //query executes
if(!$result){
echo"<div class='container-fluid'>";
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 42
GYM MANAGEMENT SYSTEM
echo"<div class='row-fluid'>";
echo"<div class='span12'>";
echo"<div class='widget-box'>";
echo"<div class='widget-title'> <span class='icon'> <i class='fas fa-info'></i> </span>";
echo"<h5>Error Message</h5>";
echo"</div>";
echo"<div class='widget-content'>";
echo"<div class='error_ex'>";
echo"<h1 style='color:maroon;'>Error 404</h1>";
echo"<h3>Error occured while submitting your details</h3>";
echo"<p>Please Try Again</p>";
echo"<a class='btn btn-warning btn-big' href='edit-member.php'>Go Back</a> </div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
}else {
echo"<div class='container-fluid'>";
echo"<div class='row-fluid'>";
echo"<div class='span12'>";
echo"<div class='widget-box'>";
echo"<div class='widget-title'> <span class='icon'> <i class='fas fa-info'></i> </span>";
echo"<h5>Message</h5>";
echo"</div>";
echo"<div class='widget-content'>";
echo"<div class='error_ex'>";
echo"<h1>Success</h1>";
echo"<h3>Staff details has been added!</h3>";
echo"<p>The requested staff details are added to database. Please click the button to go back.</p>";
echo"<a class='btn btn-inverse btn-big' href='staffs.php'>Go Back</a> </div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
}
// <!-- Visit codeastro.com for more projects -->
}else{
echo"<h3>YOU ARE NOT AUTHORIZED TO REDIRECT THIS PAGE. GO BACK to <a href='index.php'>
DASHBOARD </a></h3>";
}
?>
</form>
</div>
</div></div>
</div>
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style><!-- Visit codeastro.com for more projects -->
<!--end-Footer-part-->
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.wizard.js"></script>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 43
GYM MANAGEMENT SYSTEM
</body>
</html>
<?php
session_start();
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!-- Visit codeastro.com for more projects -->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="fa-search fa-white"></i></button>
</div> -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page='add-equip'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="fa fa-home"></i> Home</a>
<a href="#" class="tip-bottom">Manamge Members</a> <a href="#" class="current">Add Members</a> </div>
<h1>Equipment Entry Form</h1>
</div>
<form role="form" action="index.php" method="POST">
<?php
if(isset($_POST['ename'])){
$name = $_POST["ename"];
$amount = $_POST["amount"];
$vendor = $_POST["vendor"];
$description = $_POST["description"];
$date = $_POST["date"];
$quantity = $_POST["quantity"];
$address = $_POST["address"];
$contact = $_POST["contact"];
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 44
GYM MANAGEMENT SYSTEM
include 'dbcon.php';
//code after connection is successfull
$qry = "insert into equipment(name,description,amount,vendor,address,contact,date,quantity) values
('$name','$description','$totalamount','$vendor','$address','$contact','$date','$quantity')";
$result = mysqli_query($conn,$qry); //query executes
if(!$result){
echo"<div class='container-fluid'>";
echo"<div class='row-fluid'>";
echo"<div class='span12'>";
echo"<div class='widget-box'>";
echo"<div class='widget-title'> <span class='icon'> <i class='fas fa-info'></i> </span>";
echo"<h5>Error Message</h5>";
echo"</div>";
echo"<div class='widget-content'>";
echo"<div class='error_ex'>";
echo"<h1 style='color:maroon;'>Error 404</h1>";
echo"<h3>Error occured while entering your details</h3>";
echo"<p>Please Try Again</p>";
echo"<a class='btn btn-warning btn-big' href='edit-equipment.php'>Go Back</a> </div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
}else {
echo"<div class='container-fluid'>";
echo"<div class='row-fluid'>";
echo"<div class='span12'>";
echo"<div class='widget-box'>";
echo"<div class='widget-title'> <span class='icon'> <i class='fas fa-info'></i> </span>";
echo"<h5>Message</h5>";
echo"</div>";
echo"<div class='widget-content'>";
echo"<div class='error_ex'>";
echo"<h1>Success</h1>";
echo"<h3>Equipment record has been added!</h3>";
echo"<p>The requested details are added. Please click the button to go back.</p>";
echo"<a class='btn btn-inverse btn-big' href='equipment.php'>Go Back</a> </div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
echo"</div>";
}else{
echo"<h3>YOU ARE NOT AUTHORIZED TO REDIRECT THIS PAGE. GO BACK to <a href='index.php'>
DASHBOARD </a></h3>";
}
?>
</form>
</div>
</div></div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<!-- Visit codeastro.com for more projects -->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--sidebar-menu-->
<?php $page='announcement'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i>
Home</a><a href="announcement.php" class="current">Announcements</a> </div>
<h1>Announcement</h1>
</div>
<div class="container-fluid">
<hr>
<a href="manage-announcement.php"><button class="btn btn-danger" type="button">Manage Your
Announcements</button></a>
<div class="row-fluid">
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="fas fa-align-justify"></i> </span>
<h5>Make Announcements</h5>
</div>
<div class="widget-content">
<div class="control-group">
<form action="post-announcement.php" method="POST">
<div class="controls">
<textarea class="span12" name="message" rows="6" placeholder="Enter text ..."></textarea>
</div>
<div class="controls">
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 47
GYM MANAGEMENT SYSTEM
</div></div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script src="../js/wysihtml5-0.3.0.js"></script>
<script src="../js/bootstrap-wysihtml5.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
}
function resetMenu() {
document.gomenu.selector.selectedIndex = 2;
}
</script>
<script>
$('.textarea_editor').wysihtml5();
</script>
</body>
</html>
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/uniform.css" />
<link rel="stylesheet" href="../css/select2.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Visit codeastro.com for more projects -->
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!-- Visit codeastro.com for more projects -->
<!--sidebar-menu-->
<?php $page="attendance"; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
<a href="attendance.php" class="current">Manage Attendance</a> </div>
<h1 class="text-center">Attendance List <i class="fas fa-calendar"></i></h1>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='fas fa-th'></i> </span>
<h5>Attendance Table</h5>
</div>
<div class='widget-content nopadding'>
<tbody>
<?php
$qry = "SELECT * FROM attendance WHERE curr_date = '$todays_date' AND user_id = '".$row['user_id']."'";
$res = $conn->query($qry);
$num_count = mysqli_num_rows($res);
$row_exist = mysqli_fetch_array($res);
$curr_date = $row_exist['curr_date'];
if($curr_date == $todays_date){
?>
<td>
<div class='text-center'><span class="label label-inverse"><?php echo $row_exist['curr_date'];?> <?php echo
$row_exist['curr_time'];?></span></div>
<div class='text-center'><a href='actions/delete-attendance.php?id=<?php echo $row['user_id'];?>'><button class='btn
btn-danger'>Check Out <i class='fas fa-clock'></i></button> </a></div>
</td>
<?php } else {
?>
<?php }
?>
</tbody>
<?php $cnt++; } ?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
</script>
</body>
</html>
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 51
GYM MANAGEMENT SYSTEM
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!-- Visit codeastro.com for more projects -->
<!--sidebar-menu-->
<?php $page='manage-customer-progress'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
<a href="customer-progress.php" class="current">Customer Progress</a> </div>
<h1 class="text-center">Update Customer's Progress <i class="fas fa-signal"></i></h1>
</div>
<div class="container-fluid">
<hr>
<div class="row-fluid">
<div class="span12">
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='fas fa-th'></i> </span>
<h5>Member's Table</h5>
<form id="custom-search-form" role="search" method="POST" action="search-result-progress.php" class="form-search
form-horizontal pull-right">
<div class="input-append span12">
<input type="text" class="search-query" placeholder="Search" name="search" required>
<button type="submit" class="btn"><i class="fas fa-search"></i></button>
</div>
</form>
</div>
<?php
include "dbcon.php";
$qry="select * from members";
$cnt=1;
$result=mysqli_query($conn,$qry);
<th>Plan</th>
<th>Action</th>
</tr>
</thead>";
while($row=mysqli_fetch_array($result)){
echo"<tbody>
<td><div class='text-center'>".$cnt."</div></td>
<td><div class='text-center'>".$row['funame']."</div></td>
<td><div class='text-center'>".$row['services']."</div></td>
<td><div class='text-center'>".$row['plan']." Month/s</div></td>
<td><div class='text-center'><a href='update-progress.php?id=".$row['user_id']."'><button class='btn btn-warning
btn'> Update Progress</button></a></div></td>
</tbody>";
$cnt++; }
?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<style>
#custom-search-form {
margin:0;
margin-top: 5px;
padding: 0;
}
#custom-search-form .search-query {
padding-right: 3px;
padding-right: 4px \9;
padding-left: 3px;
padding-left: 4px \9;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#custom-search-form button {
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 53
GYM MANAGEMENT SYSTEM
border: 0;
background: none;
/** belows styles are working good */
padding: 2px 5px;
margin-top: 2px;
position: relative;
left: -28px;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.search-query:focus + button {
z-index: 3;
}
</style>
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
</body>
</html>
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 54
GYM MANAGEMENT SYSTEM
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--sidebar-menu-->
<?php $page='update-equip'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
<a href="#" class="current">Equipment List</a> </div>
<h1 class="text-center">Perfect Gym's Equipment List <i class="fas fa-cogs"></i></h1>
</div>
<div class="container-fluid">
<hr>
<div class="row-fluid">
<div class="span12">
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='fas fa-cogs'></i> </span>
<h5>Equipment table</h5>
</div>
<div class='widget-content nopadding'>
<?php
include "dbcon.php";
$qry="select * from equipment";
$cnt = 1;
$result=mysqli_query($conn,$qry);
echo"<tbody>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 55
GYM MANAGEMENT SYSTEM
<td><div class='text-center'>".$cnt."</div></td>
<td><div class='text-center'>".$row['name']."</div></td>
<td><div class='text-center'>".$row['description']."</div></td>
<td><div class='text-center'>".$row['quantity']."</div></td>
<td><div class='text-center'>$".$row['amount']."</div></td>
<td><div class='text-center'>".$row['vendor']."</div></td>
<td><div class='text-center'>".$row['address']."</div></td>
<td><div class='text-center'>".$row['contact']."</div></td>
<td><div class='text-center'>".$row['date']."</div></td>
<td><div class='text-center'><a href='edit-equipmentform.php?id=".$row['id']."'><i class='fas fa-edit'></i>
Edit</a></div></td>
</tbody>";
$cnt++; }
?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<!-- Visit codeastro.com for more projects -->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 56
GYM MANAGEMENT SYSTEM
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
include "dbcon.php";
$qry="SELECT services, count(*) as number FROM members GROUP BY services";
$result=mysqli_query($con,$qry);
$qry="SELECT gender, count(*) as enumber FROM members GROUP BY gender";
$result3=mysqli_query($con,$qry);
$qry="SELECT designation, count(*) as snumber FROM staffs GROUP BY designation";
$result5=mysqli_query($con,$qry);
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
while($row = mysqli_fetch_array($result))
{
echo "['".$row["services"]."', ".$row["number"]."],";
}
?>
]);
var options = {
//is3D:true,
pieHole: 0.4 ,
};
var chart = new google.visualization.PieChart(document.getElementById('piechart'));
chart.draw(data, options);
}
</script>
<!-- Visit codeastro.com for more projects -->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['bar']});
google.charts.setOnLoadCallback(drawStuff);
function drawStuff() {
var data = new google.visualization.arrayToDataTable([
['Services', 'Total Numbers'],
// ["King's pawn (e4)", 44],
// ["Queen's pawn (d4)", 31],
// ["Knight to King 3 (Nf3)", 12],
// ["Queen's bishop pawn (c4)", 10],
// ['Other', 3]
<?php
$query="SELECT services, count(*) as number FROM members GROUP BY services";
$res=mysqli_query($con,$query);
while($data=mysqli_fetch_array($res)){
$services=$data['services'];
$number=$data['number'];
?>
['<?php echo $services;?>',<?php echo $number;?>],
<?php
}
?>
]);
var options = {
// title: 'Chess opening moves',
width: 710,
legend: { position: 'none' },
// chart: { title: 'Chess opening moves',
// subtitle: 'popularity by percentage' },
bars: 'vertical', // Required for Material Bar Charts.
axes: {
x: {
0: { side: 'top', label: 'Total'} // Top x-axis.
}
},
bar: { groupWidth: "100%" }
};
</script>
<script type="text/javascript">
google.charts.load('current', {'packages':['bar']});
google.charts.setOnLoadCallback(drawStuff);
function drawStuff() {
var data = new google.visualization.arrayToDataTable([
['Terms', 'Total Amount',],
<?php
$query1 = "SELECT gender, SUM(amount) as numberone FROM members; ";
$rezz=mysqli_query($con,$query1);
while($data=mysqli_fetch_array($rezz)){
$services='Earnings';
$numberone=$data['numberone'];
// $numbertwo=$data['numbertwo'];
?>
['<?php echo $services;?>',<?php echo $numberone;?>,],
<?php
}
?>
<?php
$query10 = "SELECT quantity, SUM(amount) as numbert FROM equipment";
$res1000=mysqli_query($con,$query10);
while($data=mysqli_fetch_array($res1000)){
$expenses='Expenses';
$numbert=$data['numbert'];
?>
['<?php echo $expenses;?>',<?php echo $numbert;?>,],
<?php
}
?>
]);
var options = {
width: "1050",
legend: { position: 'none' },
</script>
<script type="text/javascript">
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Gender', 'Number'],
<?php
while($row = mysqli_fetch_array($result3))
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 59
GYM MANAGEMENT SYSTEM
{
echo "['".$row["gender"]."', ".$row["enumber"]."],";
}
?>
]);
var options = {
pieHole: 0.4,
};
<script>
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Designation', 'Number'],
<?php
while($row = mysqli_fetch_array($result5))
{
echo "['".$row["designation"]."', ".$row["snumber"]."],";
}
?>
]);
var options = {
pieHole: 0.4,
};
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="You're right here" class="tip-bottom"><i class="fa fa-home"></i>
Home</a></div>
</div>
<!--End-breadcrumbs-->
<!--Action boxes-->
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 60
GYM MANAGEMENT SYSTEM
<div class="container-fluid">
<div class="quick-actions_homepage">
<ul class="quick-actions">
<li class="bg_ls span"> <a href="index.php" style="font-size: 16px;"> <i class="fas fa-user-check"></i> <span
class="label label-important"><?php include'actions/dashboard-activecount.php'?></span> Active Members </a> </li>
<li class="bg_lo span3"> <a href="members.php" style="font-size: 16px;"> <i class="fas fa-users"></i></i><span
class="label label-important"><?php include'dashboard-usercount.php'?></span> Registered Members</a> </li>
<li class="bg_lg span3"> <a href="payment.php" style="font-size: 16px;"> <i class="fa fa-dollar-sign"></i> Total
Earnings: $<?php include'income-count.php' ?></a> </li>
<li class="bg_lb span2"> <a href="announcement.php" style="font-size: 16px;"> <i class="fas fa-bullhorn"></i><span
class="label label-important"><?php include'actions/count-announcements.php'?></span>Announcements </a> </li>
<!-- <li class="bg_ls span2"> <a href="buttons.html"> <i class="fas fa-tint"></i> Buttons</a> </li>
<li class="bg_ly span3"> <a href="form-common.html"> <i class="fas fa-th-list"></i> Forms</a> </li>
<li class="bg_lb span2"> <a href="interface.html"> <i class="fas fa-pencil"></i>Elements</a> </li> -->
<!-- <li class="bg_lg"> <a href="calendar.html"> <i class="fas fa-calendar"></i> Calendar</a> </li>
<li class="bg_lr"> <a href="error404.html"> <i class="fas fa-info-sign"></i> Error</a> </li> -->
<!-- Visit codeastro.com for more projects -->
</ul>
</div>
<!--End-Action boxes-->
<!--Chart-box-->
<div class="row-fluid">
<div class="widget-box">
<div class="widget-title bg_lg"><span class="icon"><i class="fas fa-file"></i></span>
<h5>Services Report</h5>
</div>
<div class="widget-content" >
<div class="row-fluid">
<div class="span8">
<!-- <div id="piechart"></div> -->
<div id="top_x_div" style="width: 700px; height: 290px;"></div>
</div>
<div class="span4">
<ul class="site-stats">
<li class="bg_lh"><i class="fas fa-users"></i> <strong><?php include 'dashboard-usercount.php';?></strong>
<small>Total Members</small></li>
<li class="bg_lg"><i class="fas fa-user-clock"></i> <strong><?php include 'actions/dashboard-staff-
count.php';?></strong> <small>Staff Users</small></li>
<li class="bg_ls"><i class="fas fa-dumbbell"></i> <strong><?php include 'actions/count-
equipments.php';?></strong> <small>Available Equipments</small></li>
<li class="bg_ly"><i class="fas fa-file-invoice-dollar"></i> <strong>$<?php include 'actions/total-
exp.php';?></strong> <small>Total Expenses</small></li>
<li class="bg_lr"><i class="fas fa-user-ninja"></i> <strong><?php include 'actions/count-trainers.php';?></strong>
<small>Active Gym Trainers</small></li>
<li class="bg_lb"><i class="fas fa-calendar-check"></i> <strong><?php include 'actions/count-
attendance.php';?></strong> <small>Present Members</small></li>
</ul>
</div>
</div>
</div>
</div><!-- Visit codeastro.com for more projects -->
</div><!-- End of row-fluid -->
<div class="row-fluid">
<div class="widget-box">
<div class="widget-title bg_lg"><span class="icon"><i class="fas fa-file"></i></span>
<h5>Earnings & Expenses Reports</h5>
</div>
<div class="widget-content" >
<div class="row-fluid">
<div class="span12">
<!-- <div id="piechart"></div> -->
<div id="top_y_div" style="width: 700px; height: 180px;"></div>
</div>
</div>
</div>
</div>
</div><!-- End of row-fluid -->
<div class="row-fluid">
<div class="span6">
<div class="widget-box">
<div class="widget-title bg_ly" data-toggle="collapse" href="#collapseG2"><span class="icon"><i class="fas fa-chevron-
down"></i></span>
<h5>Registered Gym Members by Gender: Overview</h5>
</div>
<div class="widget-content nopadding collapse in" id="collapseG2">
<ul class="recent-posts">
</ul>
</div>
</div>
</div>
<div class="span6">
<div class="widget-box">
<div class="widget-title bg_ly" data-toggle="collapse" href="#collapseG2"><span class="icon"><i class="fas fa-chevron-
down"></i></span>
<h5>Staff Members by Designation: Overview</h5>
</div>
<div class="widget-content nopadding collapse in" id="collapseG2">
<ul class="recent-posts">
<?php
include "dbcon.php";
$qry="SELECT * FROM announcements";
$result=mysqli_query($conn,$qry);
while($row=mysqli_fetch_array($result)){
echo"<div class='user-thumb'> <img width='70' height='40' alt='User' src='../img/demo/av1.jpg'> </div>";
echo"<div class='article-post'>";
echo"<span class='user-info'> By: System Administrator / Date: ".$row['date']." </span>";
echo"<p><a href='#'>".$row['message']."</a> </p>";
echo"</div>";
echo"</li>";
?>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 62
GYM MANAGEMENT SYSTEM
</div>
<div class="span6">
<div class="widget-box">
<div class="widget-title"> <span class="icon"><i class="fas fa-tasks"></i></span>
<h5>Customer's To-Do Lists</h5>
</div>
<div class="widget-content">
<div class="todo">
<ul>
<?php
include "dbcon.php";
$qry="SELECT * FROM todo";
$result=mysqli_query($con,$qry);
while($row=mysqli_fetch_array($result)){ ?>
<li class='clearfix'>
<div class='txt'> <?php echo $row["task_desc"]?> <?php if ($row["task_status"] == "Pending") { echo '<span
class="by label label-info">Pending</span>';} else { echo '<span class="by label label-success">In Progress</span>';
}?></div>
<?php }
echo"</li>";
echo"</ul>";
?>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
#piechart {
width: 800px;
height: 280px;
margin-left:auto;
margin-right:auto;
}
</style>
<!--end-Footer-part-->
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 64
GYM MANAGEMENT SYSTEM
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!-- Visit codeastro.com for more projects -->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> --><!-- Visit codeastro.com for more projects -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page="announcement"; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i>
Home</a><a href="announcement.php">Announcement</a> <a href="#" class="current">Manage Announcement</a> </div>
<h1 class="text-center">Manage Announcement <i class="fas fa-bullhorn"></i></h1>
</div>
<div class="container-fluid">
<hr>
<div class="row-fluid">
<div class="span12">
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='fas fa-bullhorn'></i> </span>
<h5>Announcement table</h5>
</div>
<div class='widget-content nopadding'>
<?php
include "dbcon.php";
$qry="select * from announcements";
$cnt = 1;
$result=mysqli_query($conn,$qry);
while($row=mysqli_fetch_array($result)){
echo"<tbody>
<td><div class='text-center'>".$cnt."</div></td>
<td><div class='text-center'>".$row['date']."</div></td>
<td><div class='text-center'>".$row['message']."</div></td>
<td><div class='text-center'><a href='actions/remove-announcement.php?id=".$row['id']."' style='color:#F66;' ><i
class='fas fa-trash'></i> Remove</a></div></td>
</tbody>";
$cnt++; }
?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 66
GYM MANAGEMENT SYSTEM
<?php
session_start();
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--sidebar-menu-->
<?php $page='payment'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 67
GYM MANAGEMENT SYSTEM
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='fas fa-th'></i> </span>
<h5>Member's Payment table</h5>
<form id="custom-search-form" role="search" method="POST" action="search-result.php" class="form-search form-
horizontal pull-right">
<div class="input-append span12">
<input type="text" class="search-query" placeholder="Search" name="search" required>
<button type="submit" class="btn"><i class="fas fa-search"></i></button>
</div>
</form>
</div>
<?php
include "dbcon.php";
$qry="SELECT * FROM members";
$cnt = 1;
$result=mysqli_query($conn,$qry);
while($row=mysqli_fetch_array($result)){ ?>
<tbody>
?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<style>
#custom-search-form {
margin:0;
margin-top: 5px;
padding: 0;
}
#custom-search-form .search-query {
padding-right: 3px;
padding-right: 4px \9;
padding-left: 3px;
padding-left: 4px \9;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#custom-search-form button {
border: 0;
background: none;
/** belows styles are working good */
padding: 2px 5px;
margin-top: 2px;
position: relative;
left: -28px;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.search-query:focus + button {
z-index: 3;
}
</style>
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 70
GYM MANAGEMENT SYSTEM
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--sidebar-menu-->
<?php include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.html" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
<a href="#" class="current">Announcement</a> </div>
<h1>Announcement</h1>
</div>
<form role="form" action="index.php" method="POST">
<?php
if(isset($_POST['message'])){
$message = $_POST["message"];
$date = $_POST["date"];
include 'dbcon.php';
//code after connection is successfull
$qry = "insert into announcements(message,date) values ('$message','$date')";
$result = mysqli_query($conn,$qry); //query executes
if(!$result){
echo"<div class='container-fluid'>";
echo"<div class='row-fluid'>";
echo"<div class='span12'>";
echo"<div class='widget-box'>";
echo"<div class='widget-title'> <span class='icon'> <i class='fas fa-info'></i> </span>";
echo"<h5>Error Message</h5>";
echo"</div>";
echo"<div class='widget-content'>";
echo"<div class='error_ex'>";
echo"<h1 style='color:maroon;'>Error 404</h1>";
echo"<h3>Error occured while entering your details</h3>";
echo"<p>Please Try Again</p>";
echo"<a class='btn btn-warning btn-big' href='edit-member.php'>Go Back</a> </div>";
echo"</div>";
echo"</div>";
echo"</div>";
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 71
GYM MANAGEMENT SYSTEM
echo"</div>";
echo"</div>";
}else {
echo("<script>location.href = 'index.php';</script>");
}
}else{
echo"<h3>YOU ARE NOT AUTHORIZED TO REDIRECT THIS PAGE. GO BACK to <a href='index.php'>
DASHBOARD </a></h3>";
}
?>
</form>
</div>
</div></div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="../font-awesome/css/all.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include 'includes/topheader.php'?>
<!--sidebar-menu-->
<?php $page='staff-management'; include 'includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="fas fa-home"></i> Home</a>
<a href="staffs.php">Staffs</a> <a href="staffs-entry.php" class="current">Staff Entry</a> </div>
<h1 class="text-center">GYM's Staff Entry Form <i class="fas fa-briefcase"></i></h1>
</div>
<div class="container-fluid"><hr>
<div class="row-fluid">
<div class="span12">
<div class="widget-box">
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 73
GYM MANAGEMENT SYSTEM
<div class="control-group">
<label class="control-label">Enter Staff's Fullname</label>
<div class="controls">
<input id="fullname" type="text" name="fullname" required/>
</div>
</div>
<div class="control-group">
<label class="control-label">Enter a Username</label>
<div class="controls">
<input id="username" type="text" name="username" />
</div>
</div>
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<input id="password" type="password" name="password" />
</div>
</div>
<div class="control-group">
<label class="control-label">Confirm Password</label>
<div class="controls">
<input id="password2" type="password" name="password2" />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Address</label>
<div class="controls">
<input id="address" type="text" name="address" required/>
</div>
</div>
<div class="control-group">
<label class="control-label">Designation</label>
<div class="controls">
<select name="designation" id="designation">
<option value="Cashier">Cashier</option>
<option value="Trainer">Trainer</option>
<option value="GYM Assistant">GYM Assistant</option>
<option value="Front Desk Staff">Front Desk Staff</option>
<option value="Manager">Manager</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Gender</label>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 74
GYM MANAGEMENT SYSTEM
<div class="controls">
<select name="gender" id="gender">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Contact Number</label>
<div class="controls">
<input id="contact" type="number" name="contact" required/>
</div>
</div>
</div>
<div class="form-actions">
<input id="back" class="btn btn-primary" type="reset" value="Back" />
<input id="next" class="btn btn-primary" type="submit" value="Proceed Next Step" />
<div id="status"></div>
</div>
<div id="submitted"></div>
</form>
</div>
</div><!--end of widget box-->
</div><!--end of span 12 -->
</div>
</div>
</div>
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.wizard.js"></script>
</body>
</html>
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 75
GYM MANAGEMENT SYSTEM
<!--Header-part-->
<div id="header">
<h1><a href="index.php">Perfect Gym System</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include '../includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page="reminder"; include '../includes/sidebar.php'?>
<!--sidebar-menu-->
<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="You're right here" class="tip-bottom"><i class="icon-home"></i>
Home</a></div>
</div>
<!--End-breadcrumbs-->
<!--Action boxes-->
<div class="container-fluid">
<!--End-Action boxes-->
<div class="row-fluid">
<div class="span12">
<?php
include "dbcon.php";
$qry="SELECT reminder FROM members WHERE user_id='".$_SESSION['user_id']."'";
$cnt = 1;
$result=mysqli_query($con,$qry);
while($row=mysqli_fetch_array($result)){ ?>
before your due dates. <br>IT IS IMPORTANT THAT YOU CLEAR YOUR DUES ON TIME IN ORDER TO AVOID
SERVICE DISRUPTIONS.</p>
<hr>
<p class="mb-0">We value you as our customer and look forward to continue serving you in the future.</p>
</div>
<?php } }?>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/font-awesome.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="index.php">Perfect Gym System</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include '../includes/topheader.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page="dashboard"; include '../includes/sidebar.php'?>
<!--sidebar-menu-->
<!--main-container-part-->
<div id="content">
<!--breadcrumbs-->
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="You're right here" class="tip-bottom"><i class="icon-home"></i>
Home</a></div>
</div>
<!--End-breadcrumbs-->
<!--Action boxes-->
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 78
GYM MANAGEMENT SYSTEM
<div class="container-fluid">
<!--End-Action boxes-->
<div class="row-fluid">
<div class="span6">
<div class="widget-box">
<div class="widget-title"> <span class="icon"><i class="icon-time"></i></span>
<h5>My To-Do List</h5>
</div>
<div class="widget-content nopadding">
<?php
include "dbcon.php";
include "session.php";
$qry="SELECT * FROM todo WHERE user_id='".$_SESSION['user_id']."'";
$result=mysqli_query($con,$qry);
</tbody>";
}
?>
</table>
</div>
</div>
<div class="span6">
<div class="widget-box">
<div class="widget-title bg_ly" data-toggle="collapse" href="#collapseG2"><span class="icon"><i class="icon-chevron-
down"></i></span>
<h5>Gym Announcement</h5>
</div>
<div class="widget-content nopadding collapse in" id="collapseG2">
<ul class="recent-posts">
<li>
<?php
include "dbcon.php";
$qry="select * from announcements";
$result=mysqli_query($con,$qry);
while($row=mysqli_fetch_array($result)){
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 79
GYM MANAGEMENT SYSTEM
echo"</div>";
echo"</li>";
?>
<a href="announcement.php"><button class="btn btn-warning btn-mini">View All</button></a>
</li>
</ul>
</div>
</div>
</div> <!-- end of announcement -->
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 460px;
margin: auto;
text-align: center;
font-family: arial;
}
.title {
color: grey;
font-size: 18px;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 80
GYM MANAGEMENT SYSTEM
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!-- Visit codeastro.com for more projects -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/uniform.css" />
<link rel="stylesheet" href="../css/select2.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/font-awesome.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym Admin</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include '../includes/header.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page="attendance"; include '../includes/sidebar.php'?>
<!--sidebar-menu-->
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
<a href="attendance.php" class="current">Manage Attendance</a> </div>
<h1 class="text-center">Attendance List <i class="icon icon-calendar"></i></h1>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div class='widget-box'>
<div class='widget-title'> <span class='icon'> <i class='icon-th'></i> </span>
<h5>Attendance Table</h5>
</div>
<div class='widget-content nopadding'>
<?php
include "dbcon.php";
date_default_timezone_set('Asia/Kathmandu');
//$current_date = date('Y-m-d h:i:s');
$current_date = date('Y-m-d h:i A');
$exp_date_time = explode(' ', $current_date);
$todays_date = $exp_date_time['0'];
$qry="SELECT * FROM members WHERE status = 'Active'";
$result=mysqli_query($conn,$qry);
$i=1;
$cnt = 1;
while($row=mysqli_fetch_array($result)){ ?>
<tbody>
<?php
$qry = "select * from attendance where curr_date = '$todays_date' AND user_id = '".$row['user_id']."'";
$res = $conn->query($qry);
$num_count = mysqli_num_rows($res);
$row_exist = mysqli_fetch_array($res);
$curr_date = $row_exist['curr_date'];
if($curr_date == $todays_date){
?>
<td><div class='text-center'><span class="label label-inverse"><?php echo $row_exist['curr_date'];?> <?php echo
$row_exist['curr_time'];?></span></div>
<div class='text-center'><a href='actions/delete-attendance.php?id=<?php echo $row['user_id'];?>'><button class='btn
btn-danger'>Check Out <i class='icon icon-time'></i></button> </a></div>
</td>
<?php } else {
?>
<?php $cnt++; }
?>
</tbody>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
</script>
</body>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 83
GYM MANAGEMENT SYSTEM
</html>
<?php
session_start();
//the isset function to check username is already loged in and stored on the session
if(!isset($_SESSION['user_id'])){
header('location:../index.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gym System</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/fullcalendar.css" />
<link rel="stylesheet" href="../css/matrix-style.css" />
<link rel="stylesheet" href="../css/matrix-media.css" />
<link href="../font-awesome/css/font-awesome.css" rel="stylesheet" />
<link rel="stylesheet" href="../css/jquery.gritter.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!--Header-part-->
<div id="header">
<h1><a href="dashboard.html">Perfect Gym</a></h1>
</div>
<!--close-Header-part-->
<!--top-Header-menu-->
<?php include '../includes/header.php'?>
<!--close-top-Header-menu-->
<!--start-top-serch-->
<!-- <div id="search">
<input type="hidden" placeholder="Search here..."/>
<button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div> -->
<!--close-top-serch-->
<!--sidebar-menu-->
<?php $page="staff"; include '../includes/sidebar.php'?>
<!--sidebar-menu-->
<?php
include 'dbcon.php';
$id=$_GET['id'];
$qry= "select * from staffs where user_id='$id'";
$result=mysqli_query($conn,$qry);
while($row=mysqli_fetch_array($result)){
?>
<div id="content">
<div id="content-header">
<div id="breadcrumb"> <a href="index.php" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
<a href="staffs.php" class="tip-bottom">Staffs</a> <a href="edit-staff-form.php" class="current">Edit Staff Records</a>
</div>
<h1 class="text-center">Update Staff's Detail <i class="icon icon-briefcase"></i></h1>
</div>
<div class="container-fluid">
<hr>
<div class="row-fluid">
<div class="span6">
<div class="widget-box">
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 84
GYM MANAGEMENT SYSTEM
</div>
</div>
<div class="widget-content nopadding">
</div>
</div>
</div>
</div>
<div class="span6">
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
<h5>Staff-Details</h5>
</div>
<div class="widget-content nopadding">
<div class="form-horizontal">
<div class="control-group">
<label for="normal" class="control-label">Contact Number</label>
<div class="controls">
<input type="number" id="mask-phone" name="contact" value='<?php echo $row['contact']; ?>' class="span8 mask
text">
<span class="help-block blue span8">(999) 999-9999</span>
</div>
</div>
<div class="control-group">
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 85
GYM MANAGEMENT SYSTEM
<div class="control-group">
<label class="control-label">Designation</label>
<div class="controls">
<select name="designation" id="designation">
<option value="Cashier">Cashier</option>
<option value="Trainer">Trainer</option>
<option value="GYM Assistant">GYM Assistant</option>
<option value="Front Desk Staff">Front Desk Staff</option>
<option value="Manager">Manager</option>
</select>
</div>
</div>
</div>
</form>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
<div class="row-fluid">
</div>
</div>
<!--end-main-container-part-->
<!--Footer-part-->
<div class="row-fluid">
<div id="footer" class="span12"> <?php echo date("Y");?> © Developed By Naseeb Bajracharya</a> </div>
</div>
<style>
#footer {
color: white;
}
</style>
<!--end-Footer-part-->
<script src="../js/excanvas.min.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/jquery.ui.custom.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.flot.min.js"></script>
<script src="../js/jquery.flot.resize.min.js"></script>
<script src="../js/jquery.peity.min.js"></script>
<script src="../js/fullcalendar.min.js"></script>
<script src="../js/matrix.js"></script>
<script src="../js/matrix.dashboard.js"></script>
<script src="../js/jquery.gritter.min.js"></script>
<script src="../js/matrix.interface.js"></script>
<script src="../js/matrix.chat.js"></script>
<script src="../js/jquery.validate.js"></script>
<script src="../js/matrix.form_validation.js"></script>
<script src="../js/jquery.wizard.js"></script>
<script src="../js/jquery.uniform.js"></script>
<script src="../js/select2.min.js"></script>
<script src="../js/matrix.popover.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/matrix.tables.js"></script>
<script type="text/javascript">
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
// if url is empty, skip the menu dividers and reset the menu selection to default
if (newURL != "") {
<?php
$con = mysqli_connect("localhost","root","","gymnsb");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?><!-- Visit codeastro.com for more projects -->
<?php session_start();
include('dbcon.php'); ?>
<!DOCTYPE html>
<html lang="en">
<!-- Visit codeastro.com for more projects -->
<head>
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 87
GYM MANAGEMENT SYSTEM
</head>
<body>
<div id="loginbox">
<form id="loginform" method="POST" class="form-vertical" action="#">
<div class="control-group normal_text"> <h3><img src="img/icontest3.png" alt="Logo" /></h3></div>
<div class="control-group">
<div class="controls">
<div class="main_input_box">
<span class="add-on bg_lg"><i class="fas fa-user-circle"></i></span><input type="text" name="user"
placeholder="Username" required/>
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
<div class="main_input_box">
<span class="add-on bg_ly"><i class="fas fa-lock"></i></span><input type="password" name="pass"
placeholder="Password" required />
</div>
</div>
</div>
<div class="form-actions center">
<!-- <span class="pull-right"><a type="submit" href="index.html" class="btn btn-success" /> Login</a></span> --
>
<!-- <input type="submit" class="button" title="Log In" name="login" value="Admin Login"></input> -->
<button type="submit" class="btn btn-block btn-large btn-info" title="Log In" name="login" value="Admin
Login">Admin Login</button>
</div>
</form>
<?php
if (isset($_POST['login']))
{
$username = mysqli_real_escape_string($con, $_POST['user']);
$password = mysqli_real_escape_string($con, $_POST['pass']);
$password = md5($password);
if ($num_row > 0)
{
$_SESSION['user_id']=$row['user_id'];
header('location:admin/index.php');
}
else
{
echo "<div class='alert alert-danger alert-dismissible' role='alert'>
Invalid Username and Password
<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
<span aria-hidden='true'>×</span>
</button>
</div>";
DEPARTMENT OF COMPUTER APPLICATIONS, RNSFGC 88
GYM MANAGEMENT SYSTEM
}
}
?>
<div class="pull-left">
<a href="customer/index.php"><h6>Customer Login</h6></a>
</div>
<div class="pull-right">
<a href="staff/index.php"><h6>Staff Login</h6></a>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/matrix.login.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/matrix.js"></script>
</body>
<!-- Visit codeastro.com for more projects -->
</html>
CHAPTER 8
8.1 TESTING
Instead of testing the system as a whole, Unit testing focuses on the modules
that make up the system. Each module is taken up individually and tested for
correctness in coding and logic.
Performance testing can serve different purposes. It can demonstrate that the
system meets Performance criteria. It can compare two systems to find which
performs better. Or it can measure what parts of the system or workload cause
the system to perform badly. In the diagnostic case, software engineers use tools
such as profilers to measure what parts of a device or software contribute most
to the poor performance or to establish throughput levels (and thresholds) for
maintaining acceptable response time. It is critical to the cost Performance of a
new system; the performance test efforts begin at the inception of the
development project and extend through to deployment. The later a
performance defect is detected, the higher the cost of remediation. This is true
in the case of functional testing, but even more so with performance testing, due
to the end-to-end nature of its scope.
In performance testing, it is often crucial (and often difficult to arrange) for the
test conditions to be similar to the expected actual use. This is, however, not
entirely possible in actual practice. The reason is that production systems have a
random nature of the workload and while the test workloads do their best to
mimic what may happen in the production environment, it is impossible to
exactly replicate this workload variability - except in the simplest system.
FUTURE ENHANCEMENT
CHAPTER 9
FUTURE ENHANCEMENT
In the future, there are several potential enhancements that could be implemented in
a gym management system to improve its functionality and user experience. Here
are a few ideas:
2. Virtual Classes and Training: Incorporate virtual classes and training sessions
into the gym management system. This feature would enable members to join
live or pre-recorded fitness classes from the comfort of their homes or while
traveling. It could include a video streaming platform, interactive chat
features, and the ability to track attendance and engagement.
4. Integration with Health Apps and Devices: Integrate the gym management
system with popular health and fitness apps, such as MyFitnessPal or Apple
Health, to enable seamless data synchronization. This integration would allow
members to track their nutrition, sleep patterns, and other health metrics in one
central location, providing a comprehensive overview of their overall well-
being.
5. Automated Equipment Tracking: Equip the gym with IoT (Internet of Things)
sensors or RFID tags to track equipment usage and availability. Members can
check the real-time status of equipment through the gym management system,
reducing waiting times and improving the overall efficiency of equipment
usage.
10. Social Integration: Integrate social media platforms within the gym
management system to allow members to share their achievements, progress
photos, and workout updates with their social network. This social integration
can foster a sense of community, encourage accountability, and attract
potential new members.
These are just a few potential enhancements for a gym management system in the
future. The specific features implemented would depend on the gym's goals,
budget, and the needs of its members.
CONCLUSION
CONCLUSION
I would like to admit that there was a lot of effort involved in developing the
software/report ready. The completion time for the report was as long as that of
the program.
5. Provides high security to the system and hence unauthorized users can be
prevented
7. Ease of operation.
BIBLIOGRAPHY
BIBLIOGRAPHY
REFERANCE BOOK
WEBSITE
http://www.w3school.com
http://www.codeacademy.com
http://github.com
www.codeastro.com
www.slideshare.net
www.enggroom.com
www.Projectsgeek.com
https://projectabstracts.com/bca-mini-project-topics-and-ideas