INDRA GANDHI NATIONAL OPEN UNIVERSITY Bca project report(bcsp-064) NAME : Ankit Shah ENROLLMENT NO. : 197395252 STUDY CENTRE : RCDELHI3 (SC 38039) PROGRAMME : BCA EMAIL ID : ankitshahankit181@gmail.com PHONE NO. : 9958664357, 7723004438 DATE : 31/05/2022 INDEX Introduction Objectives Hardware Specifications Software Specifications Diagram Code Testing Limitations User Interface Bibliography INTRODUCTION Our Gym Management Software is a gym and health club membership management system. You can keep records on your members, their memberships, and have and easy communication between you and your members. Gym Management also includes a booking system, point of sale, banking, accounting, concessions and has a range of reports that help in the management of your club. Our Gym Management Software is a complete gym and recreation facility system program which looks after all of your members, memberships and activities. It is designed for gyms, recreation centers, and health clubs. Our Gym Management Software provides lots of functions such data entry of customer, keeping records of all the things about customer’s fees, plan, and physical fitness which help to provide good quality of services to customer from Gym managers. In this proposed system also provide the total information about machinery and data of coaches is also stored in it. Services provided by Gym are also handled by this system. OBJECTIVES The main objective of the project is to develop software that facilitates the data storage, data maintenance and its retrieval for the gym in an igneous way. To store the record of the customers, the staff that has the privilege es to access, modify and delete any record and finally the service, gym provides top its customers. Also, only the staff has the privilege to access any database and make the required changes, if necessary. To develop easy-to-use software which handles the customer- staff relationship in an effective manner. To develop a user-friendly system requires minimal user training. Most of features and function are similar to those on any windows platform TOOLS AND PLATFORM HARDWARE SPECIFICATIONS Processor : Intel premium IV or more Ram : 512MB or more Cache : 1mb Hard Disk : 10gb recommended SOFTWARE SPECIFICATIONS CLIENT ON INTERNET : Web Browser, Operating System WEB SERVER : Operating System any ,Apache 2 DATA BASE : MySQL SCRIPTING LANGUAGE : html, PhpScript, jQuery DATA FLOW DIAGRAMS PACKAGE MANAGEME NT TRAINER GYM MANAGEME MANAGEME NT GYM MANAGEME NT SYSTEM SYSTEM USER MANAGEME FACILITY MANAGEME NT LOGIN MANAGEME NT Login to ADMIN system Check Roles To Access Check Credentials fd Manage Gym Details FORGOT PASSWORD Manage Attendance Details Manage Gym Shift Details Manage SEND EMAIL Modules TO USER Manage Package Details Manage Payment Details Manage Trainer Profiles Manage Report Manage User Permission Manage System Admins Manage Roles of User Gym Management Generate Gym Report Gym Branch Management Generate Gym Branch Report Generate Gym Shift Report Gym Shift Management GYM MANAGEMENT Package Management Generate Package Report SYSTEM Login Management Check User Login Details System User Management Generate System User Report E-R DIAGRAM SOURCE CODE LOG IN <?php session_start(); if(isset($_POST['submit'])) { include 'dbh.inc.php'; $uid = mysqli_real_escape_string($conn, $_POST['uid']); $pwd = mysqli_real_escape_string($conn, $_POST['pwd']); //error handlers //check if inputs are empty if(empty($uid) || empty($pwd)) { header("Location: ../index.phph?login=empty"); exit(); } else { $sql = "SELECT * FROM users WHERE user_uid='$uid' OR user_email='$uid'"; $result = mysqli_query($conn, $sql); $resultCheck = mysqli_num_rows($result); if($resultCheck < 1) { header("Location: ../index.phph?login=error"); exit(); } else { if($row = mysqli_fetch_assoc($result)) { //de=hashing the password $hashedPwdCheck = password_verify($pwd, $row['user_pwd']) ; if($hashedPwdCheck == false) { header("Location: ../index.phph?login=error"); exit(); } elseif ($hashedPwdCheck == true) { //log in the user here $_SESSION['u_id'] = $row['user_id']; $_SESSION['u_first'] = $row['user_first']; $_SESSION['u_last'] = $row['user_last']; $_SESSION['u_email'] = $row['user_email']; $_SESSION['u_uid'] = $row['user_uid']; header("Location: ../index.php?login=success"); exit(); } } } } } else { header("Location: ../index.phph?login=error"); exit(); } INDEX <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <style type="text/css"> #inputbtn:hover{cursor:pointer;} </style> <body style="background:url('images/4.jpg'); background-size: cover;"> <div class="container-fluid" style="margin-top:60px;margin-bottom:60px;color:#34495E;"> <div class="row"> <div class="col-md-1"></div> <div class="col-md-4"> <div class="card"> <img src="images/cardback.jpg" class="card-img-top"> <div class="card-body"> <center> <h5>Admin Login</h5><br> <form class="form-group" method="POST" action="admin-panel.php"> <div class="row"> <div class="col-md-4"><label>Username: </label></div> <div class="col-md-8"><input type="text" name="username" class="form-control" placeholder="enter username" required/></div><br><br> <div class="col-md-4"><label>Password: </label></div> <div class="col-md-8"><input type="password" class="form-control" name="password" placeholder="enter password" required/></div><br><br><br> </div> <center><input type="submit" id="inputbtn" name="login_submit" value="Login" class="btn btn-primary"></center> </form> </center> </div> </div> </div> <div class="col-md-7"></div> </div> </div> <!-- Optional JavaScript --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </body> </html> ADMIN PANEL <!DOCTYPE html> <?php // php select option value from database $hostname = "localhost"; $username = "root"; $password = ""; $databaseName = "loginsystem"; // connect to mysql database $connect = mysqli_connect($hostname, $username, $password, $databaseName); // mysql select query $query = "SELECT * FROM `Trainer`"; // for method 1 $result1 = mysqli_query($connect, $query); ?> <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0beta/css/bootstrap.min.css" integrity="sha384/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <div class="jumbotron" style="border-radius:0;background:url('images/3.jpg');backgroundsize:cover;height:400px;"></div> <div class="container-fluid"> <div class="row"> <div class="col-md-3"> <div class="list-group"> <a href="" class="list-group-item active" >Members</a> <a href="trainer_details.php" class="list-group-item">Member details</a> <a href="package.php" class="list-group-item">Package details</a> <a href="payment.php" class="list-group-item">Payments</a> </div> <hr> <div class="list-group"> <a href="trainer.php" class="list-group-item active">Trainer</a> <a href="trainer.php" class="list-group-item active">Trainer details</a> <a href="trainer.php" class="list-group-item active">Add new Trainer</a> </div> </div> <div class="col-md-8"> <div class="card"> <div class="card-body" style="background-color:#3498DB;color:FFFFFF;"> <h3>Register new members</h3> </div> <div class="card-body"></div> <form class="form-group" action="func.php" method="post"> <label>first name:</label> <input type="text" name="fname" class="form-control"><br> <label>last name:</label> <input type="text" name="lname" class="form-control"><br> <label>email</label> <input type="text" name="email" class="form-control"><br> <label>Member ID</label> <input type="text" name="contact" class="form-control"><br> <label>Trainer </label> <select class="form-control" name="docapp"> <?php while($row1 = mysqli_fetch_array($result1)):;?> <option value="<?php echo $row1[0];?>"><?php echo $row1[1];?></option> <?php endwhile;?> </select> <br> <input type="submit" class="btn btn-primary" name="pat_submit" value="Register"> <a href="func.php" class="btn btn-light"></a> </form> </div> </div> </div> <div class="col-md-1"></div> </div> <header> <nav> <div class="main-wrapper"> <div class="nav-login"> <?php if (isset($_SESSION['u_id'])) { echo '<form action="includes/index.php" method="POST"> <button type="submit" name="submit">logout</button> </form>'; } else { echo '<form action="includes/index.php" method="POST"> </form> <a href="index.php" class="btn btn-light" style="backgrouncolor:#3498DB;color:FFFFFF">Logout</a>' } ?> </div> </div> </nav> </header> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </body> </html> FUNCTIONS(VARIOUS FUNCTIONS USED IN PROGRAM) <?php $con=mysqli_connect("localhost","root","","loginsystem"); if(isset($_POST['login_submit'])){ $username=$_POST['username']; $password=$_POST['password']; $query="select * from logintb where username='$username' and password='$password'"; $result=mysqli_query($con,$query); if(mysqli_num_rows($result)==1) { header("Location:admin-panel.php"); } else { echo "<script>alert('error login')</script>"; echo "<script>window.open('admin-panel.php','_self')</script>"; } } if(isset($_POST['pat_submit'])) { $fname=$_POST['fname']; $lname=$_POST['lname']; $email=$_POST['email']; $contact=$_POST['contact']; $docapp=$_POST['docapp']; $query="insert into doctorapp(fname,lname,email,contact,docapp)values('$fname','$lname','$email','$contact','$docapp')" ; $result=mysqli_query($con,$query); if($result) { echo "<script>alert('Member added.')</script>"; echo "<script>window.open('admin-panel.php','_self')</script>"; } } if(isset($_POST['tra_submit'])) { $Trainer_id=$_POST['Trainer_id']; $Name=$_POST['Name']; $phone=$_POST['phone']; $query="insert into Trainer(Trainer_id,Name,phone)values('$Trainer_id','$Name','$phone')"; $result=mysqli_query($con,$query); if($result) { echo "<script>alert('Trainer added.')</script>"; echo "<script>window.open('admin-panel.php','_self')</script>"; } } if(isset($_POST['pay_submit'])) { $Payment_id=$_POST['Payment_id']; $Amount=$_POST['Amount']; $customer_id=$_POST['customer_id']; $payment_type=$_POST['payment_type']; $customer_name=$_POST['customer_name']; $query="insert into Payment(Payment_id,Amount,customer_id,payment_type,customer_name)values('$Payment_id','$Am ount','$customer_id','$payment_type','$customer_name')"; $result=mysqli_query($con,$query); if($result) { echo "<script>alert('Payment sucessfull.')</script>"; echo "<script>window.open('admin-panel.php','_self')</script>"; } } function get_patient_details(){ global $con; $query="select * from doctorapp"; $result=mysqli_query($con,$query); while ($row=mysqli_fetch_array($result)){ $fname=$row ['fname']; $lname=$row['lname']; $email=$row['email']; $contact=$row['contact']; $docapp=$row['docapp']; echo "<tr> <td>$fname</td> <td>$lname</td> <td>$email</td> <td>$contact</td> <td>$docapp</td> </tr>"; } } function get_package(){ global $con; $query="select * from Package"; $result=mysqli_query($con,$query); while($row=mysqli_fetch_array($result)){ $Package_id=$row ['Package_id']; $Package_name=$row['Package_name']; $Amount=$row['Amount']; echo"<tr> <td>$Package_id</td> <td>$Package_name</td> <td>$Amount</td> </tr>"; } } function get_trainer(){ global $con; $query="select * from Trainer"; $result=mysqli_query($con,$query); while($row=mysqli_fetch_array($result)){ $Trainer_id=$row ['Trainer_id']; $Name=$row['Name']; $phone=$row['phone']; echo"<tr> <td>$Trainer_id</td> <td>$Name</td> <td>$phone</td> </tr>"; } } function get_payment(){ global $con; $query="select * from Payment"; $result=mysqli_query($con,$query); while($row=mysqli_fetch_array($result)){ $Payment_id=$row ['Payment_id']; $Amount=$row['Amount']; $payment_type=$row['payment_type']; $customer_id=$row['customer_id']; $customer_name=$row['customer_name']; echo"<tr> <td>$Payment_id</td> <td>$Amount</td> <td>$payment_type</td> <td>$customer_id</td> <td>$customer_name</td> </tr>"; } } ?> PACKAGES <!DOCTYPE html> <?php include("func.php");?> <html> <head> <title>Members details</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0beta/css/bootstrap.min.css" integrity="sha384/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <div class="jumbotron" style="background: url('images/2.jpg') no-repeat;background-size: cover;height: 300px;"></div> <div class="container"> <div class="card"> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="row"> <div class="col-md-1"> <a href="admin-panel.php" class="btn btn-light ">Go Back</a> </div> <div class="col-md-3"><h3>Pcakage Details</h3></div> <div class="col-md-8"> <form class="form-group" action="patient_search.php" method="post"> <div class="row"> </form></div></div></div> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="card-body"> <table class="table table-hover"> <thead> <tr> <th>Package ID </th> <th>Package Name</th> <th>Amounts</th> </tr> </thead> <tbody> <?php get_package(); ?> </tbody> </table> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </div> </body> </html> PAYMENT <!DOCTYPE html> <?php include("func.php");?> <html> <head> <title>Members details</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <div class="jumbotron" style="background: url('images/2.jpg') no-repeat;background-size: cover;height: 300px;"></div> <div class="container"> <div class="card"> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="row"> <div class="col-md-1"> <a href="admin-panel.php" class="btn btn-light ">Go Back</a> </div> <div class="col-md-3"><h3>Payment Details</h3></div> <div class="col-md-8"> <form class="form-group" action="patient_search.php" method="post"> <div class="row"> </form></div></div></div> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="card-body"> <table class="table table-hover"> <thead> <tr> <th>Payment ID </th> <th>Amount</th> <th>Payment Type</th> <th>Customer ID</th> <th>Customer Name</th> </tr> </thead> <tbody> <?php get_payment(); ?> </tbody> </table> <div class="card-body" style="background-color:#3498DB;color:FFFFFF;"> <h3>Make new Payment</h3> </div> <div class="card-body"></div> <form class="form-group" action="func.php" method="post"> <label>Payment ID</label> <input type="text" name="Payment_id" class="form-control"><br> <label>Amount</label> <input type="text" name="Amount" class="form-control"><br> <label>Customer ID</label> <input type="text" name="customer_id" class="form-control"><br> <label>Customer Name</label> <input type="text" name="customer_name" class="form-control"><br> <label>Payment Type</label> <input type="text" name="payment_type" class="form-control"><br> <input type="submit" class="btn btn-primary" name="pay_submit" value="PAY"> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </div> </body> </html> REGISTER NEW MEMBERS <?php if (isset($_POST['submit'])) { include_once 'dbh.inc.php'; $first = mysqli_real_escape_string($conn, $_POST['first']); $last = mysqli_real_escape_string($conn, $_POST['last']); $email = mysqli_real_escape_string($conn, $_POST['email']); $uid = mysqli_real_escape_string($conn, $_POST['uid']); $pwd = mysqli_real_escape_string($conn, $_POST['pwd']) ; //error handlers //check for empty fields if (empty($first) || empty($last) || empty($email)|| empty($uid)|| empty($pwd) ) { header("Location: ../signup.php?signup=empty"); exit(); } else { //check if input character are valid if(!preg_match("/^[a-zA-Z]*$/", $first) || !preg_match("/^[a-zA-Z]*$/", $last)){ header("Location: ../signup.php?signup=invalid"); exit(); } else { //check if email is valid if(!filter_var($email, FILTER_VALIDATE_EMAIL)){ header("Location: ../signup.php?signup=email"); exit(); } else { $sql = "SELECT * FROM users WHERE user_uid='$uid'"; $result = mysqli_query($conn, $sql); $resultCheck = mysqli_num_rows($result); if($resultCheck > 0) { header("Location: ../signup.php?signup=usertaken"); exit(); } else { //hashing the password $hashedPwd = password_hash($pwd, PASSWORD_DEFAULT); //insert the user into database $sql = "INSERT INTO users (user_first, user_last, user_email, user_uid, user_pwd) VALUES ('$first', '$last', '$email', '$uid', '$hashedPwd');"; mysqli_query($conn, $sql); header("Location: ../signup.php?signup=success"); exit(); } } } } } else { header("Location: ../signup.php"); exit(); } TRAINERS PAGE <!DOCTYPE html> <?php include("func.php");?> <html> <head> <title>Members details</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <div class="jumbotron" style="background: url('images/2.jpg') no-repeat;background-size: cover;height: 300px;"></div> <div class="container"> <div class="card"> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="row"> <div class="col-md-1"> <a href="admin-panel.php" class="btn btn-light ">Go Back</a> </div> <div class="col-md-3"><h3> Trainer Information</h3></div> <div class="col-md-8"> <form class="form-group" action="patient_search.php" method="post"> <div class="row"> </form></div></div></div> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="card-body"> <table class="table table-hover"> <thead> <tr> <th>Trainer ID</th> <th>Name</th> <th>Phone</th> </tr> </thead> <tbody> <?php get_trainer(); ?> </tbody> </table> <div class="card-body" style="background-color:#3498DB;color:FFFFFF;"> <h3>Register new Trainer</h3> </div> <div class="card-body"></div> <form class="form-group" action="func.php" method="post"> <label>Trainer ID</label> <input type="text" name="Trainer_id" class="form-control"><br> <label>Name</label> <input type="text" name="Name" class="form-control"><br> <label>Phone</label> <input type="text" name="phone" class="form-control"><br> <input type="submit" class="btn btn-primary" name="tra_submit" value="Register"> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </div> </body> </html> TRAINER DETAILS <!DOCTYPE html> <?php include("func.php");?> <html> <head> <title>Members details</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0beta/css/bootstrap.min.css" integrity="sha384/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <div class="jumbotron" style="background: url('images/2.jpg') no-repeat;background-size: cover;height: 300px;"></div> <div class="container"> <div class="card"> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="row"> <div class="col-md-1"> <a href="admin-panel.php" class="btn btn-light ">Go Back</a> </div> <div class="col-md-3"><h3>Members Details</h3></div> <div class="col-md-8"> <form class="form-group" action="trainer_search.php" method="post"> <div class="row"> <div class="col-md-10"><input type="text" name="search" class="form-control" placeholder="enter contact"></div> <div class="col-md-2"><input type="submit" name="patient_search_submit" class="btn btnlight" value="Search"> </div></div> </form></div></div></div> <div class="card-body" style="background-color:#3498DB;color:#ffffff;"> <div class="card-body"> <table class="table table-hover"> <thead> <tr> <th>First Name</th> <th>Last Name</th> <th>Email id</th> <th>Member ID</th> <th>Trainer ID</th> </tr> </thead> <tbody> <?php get_patient_details(); ?> </tbody> </table> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </div> </body> </html> TRAINER SEARCH <html> <head> <title>Patient details</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0beta/css/bootstrap.min.css" integrity="sha384/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> </head> <body> <?php include("func.php"); if(isset($_POST['patient_search_submit'])) { $contact=$_POST['search']; $query="select * from doctorapp where contact='$contact'"; $result=mysqli_query($con,$query); echo "<div class='container-fluid' style='margin-top:50px;'> <div class'card'> <div class='card-body'><a href='trainer_details.php' class='btn brn-light'>Go Back</a></div> <img src='images/1.jpg'> <table class='table table-hover'> <thead> <tr> <th>First name</th> <th>Last name</th> <th>Email id</th> <th>Contact</th> <th>Trainer ID</th> </tr> </thead> <tbody> </div></div>"; while ($row=mysqli_fetch_array($result)) { $fname=$row ['fname']; $lname=$row['lname']; $email=$row['email']; $contact=$row['contact']; $docapp=$row ['docapp']; echo " <tr> <td>$fname</td> <td>$lname</td> <td>$email</td> <td>$contact</td> <td>$docapp</td> </tr>"; } echo "</tbody></table></div></div></div>"; } ?> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> </body> </html> STYLE SHEET (CSS) /* html5doctor.com Reset Stylesheet v1.6.1 Last Updated: 2010-09-17 Author: Richard Clark - http://richclarkdesign.com Twitter: @rich_clark */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; } body { line-height:1; } article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section { display:block; } nav ul { list-style:none; } blockquote, q { quotes:none; } blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; } a{ margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; } /* change colours to suit your needs */ ins { background-color:#ff9; color:#000; text-decoration:none; } /* change colours to suit your needs */ mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; } table { border-collapse:collapse; border-spacing:0; } /* change border colour to suit your needs */ hr { display:block; height:1px; border:0; border-top:1px solid #cccccc; margin:1em 0; padding:0; } input, select { vertical-align:middle; } /*my code*/ .main-wrapper{ margin: 0 auto; width: 1000px; } a{ text-decoration: none; } body{ background-color: #ccc; } header nav{ width: 100%; height: 60px; background-color: #fff; } header nav ul { float:left; } header nav ul li{ float:left; list-style:none; } header nav ul li a { font-family: arial; font-size: 20 px; color: #111; line-height: 63px; } header .nav-login { float: right; } header .nav-login form { float: left; padding-top: 15px; } header .nav-login form input { float: left; width: 140px; height: 30px; padding: 0px 10px; margin-right: 10px; border: none; background-color: #ccc; font-family: arial; font-size: 14px; color: #111; line-height: 30px; } header .nav-login form button { float: left; width: 60px; height: 30px; margin-right: 10px; border: none; background-color: #f3f3f3; font-family: arial; font-size: 14px; color: #111; cursor: pointer; } header .nav-login form button:hover { background-color: #ccc; } header .nav-login a { display: block; width:30px; height: 30px; border: none; float: left; background-color: #fff; font-family: arial; font-size: 16px; color: #111; line-height: 63px; cursor: pointer; } .main-container{ padding-top: 40px; } .main-container h2{ font-family: arial; font-size: 40px; color: #111; line-height: 50px; text-align: center; } /* signup.php*/ .signup-form { width: 400px; margin: 0 auto; padding-top: 30px; } .signup-form input { width: 90%; height: 40px; padding: 0px 5%; margin-bottom: 4px; border: none; background-color: #fff; font-family: arial; font-size: 16px; color: #111; line-height: 40px; } .signup-form button { display: block; margin: 0 auto; width: 30%; height: 40px; border: none; background-color: #222; font-family: arial; font-size: 20px; color: #fff; cursor: pointer; } .signup-form button:hover { background-color: #111; } TESTING AND IMPLEMENTATIONS Testing is vital for the success of any software. No system design is ever perfect. Testing is also carried in two phases. First phase is during the software engineering that is during the module creation. Second phase is after the completion of software. This is system testing which verifies that the whole set of programs hanged together. White Box Testing: In this technique, the close examination of the logical parts through the software are tested by cases that exercise species sets of conditions or loops. All logical parts of the software checked once. Errors that can be corrected using this technique are typographical errors, logical expressions which should be executed once may be getting executed more than once and error resulting by using wrong controls and loops. When the box testing tests all the independent part within a module a logical decision on their true and the false side are exercised, all loops and bounds within their operational bounds were exercised and internal data structure to ensure their validity were exercised once. Alpha Testing: Acceptance testing is also sometimes called alpha testing. Be spoke systems are developed for a single customer. The alpha testing proceeds until the system developer and the customer agree that the provided system is an acceptable implementation of the system requirements. Beta Testing: On the other hand, when a system is to marked as a software product, another process called beta testing is often conducted. During beta testing, a system is delivered among a number of potential users who agree to use it. The customers then report problems to the developers. The provides the product for real use and detects errors which may not have been anticipated by the system developers. Unit Testing: Each module is considered independently. It focuses on each unit of software as implemented in the source code. It is white box testing. Integration Testing: Integration testing aims at constructing the program structure while at the same constructing tests to uncover errors associated with interfacing the modules. Modules are integrated by using the top-down approach. System Testing: It is executing programs to check logical changes made in it with intention of finding errors. A system is tested for online response, volume of transaction, recovery from failure etc. system testing is done to ensure that the system satisfies all the user requirements. Detailed Design of Implementation: This phase of the systems development life cycle refines hardware and software specifications, establishes programming plans, trains users and implements extensive testing procedures, to evaluate design and operating specifications and/or provide the basis for further modification. Technical Design: This activity builds upon specifications produced during new system design, adding detailed technical specifications and documentation. Test Specification and Planning: This activity prepares detailed test specifications for individual modules and programs, job streams, subsystems, and for the system as a whole. Programming and Testing: This activity encompasses actual development, writing, and testing of program units or modules. User Training: This activity encompasses writing user procedure manuals, preparation of user training materials, conducting training programs, and testing procedures. Acceptance Test: A final procedural review to demonstrate a system and secure user approval before a system becomes operational. Installation Phase: In this phase the new computerized system is installed, the conversion to new procedures is fully implemented, and the potential of the new system is explored. System Installation: The process of starting the actual use of system and training user personnel in its operation. Review Phase: This phase evaluates the successes and failures during a systems development project, and to measure the results of a new Computerized Tran system in terms of benefits and savings projected at the start of the project. Development Recap: A review of a project immediately after completion to find successes and potential problems in future work. Post-Implementation Review: A review, conducted after a new system has been in operation for some time, to evaluate actual system performance against original expectations and projections for cost-benefit improvements. Also identifies maintenance projects to enhance or improve the system. THE STEPS IN THE SOFTWARE TESTING The steps involved during Unit testing are as follows: a. Preparation of the test cases. b. Preparation of the possible test data with all the validation checks. c. Complete code review of the module. d. Actual testing done manually. e. Modifications done for the errors found during testing. f. Prepared the test result scripts. The unit testing done included the testing the following items: 1. Functionality of the entire module/forms. 2. Validations for user input. 3. Checking of the Coding Standards to be maintained during coding. 4. Testing the module with all the possible test data. 5. Testing of the functionality involving all type of calculations etc. 6. Commenting standard in the source files. After completing the unit testing of all the modules, the whole system is integrated with all its dependencies in that module. While system integration, we integrated the modules one by one and tested the system at each step. This helped in reduction of errors at the time of the system testing. The steps involved during System testing are as follows: 1. Integration of all the modules/forms in the system. 2. Preparation of the test cases. 3. Preparation of the possible test data with all the validation checks. 4. Actual testing done manually. 5. Recording of all the reproduced errors. 6. Modifications done for the errors found during testing. 7. Prepared the test result scripts after rectification of the errors. The System Testing done included the testing of the following items: 1. Functionality of the entire system as whole. 2. User interface of the system. 3. Testing the dependent modules together with all the possible test data scripts. 4. Verification and validation testing. 5. Testing the reports with all its functionality. After the completion of system testing, the next following phase was the Acceptance testing. Clients at their end did this and accepted the system with appreciation. Thus, we reached the final phase of the project delivery. There are other six tests, which fall under special category. They are described below: Peak Load Test : It determines whether the system will handle the volume of activities that occur when the system is at the peak of its processing demand. For example, test the system by activating all terminals at the same time. Storage Testing: It determines the capacity of the system to store transaction data on a disk or in other files. Performance Time Testing: It determines the length of time system used by the system to process transaction data. This test is conducted prior to implementation to determine how long it takes to get a response to an inquiry, make a backup copy of a file, or send a transmission and get a response. Recovery Testing: This testing determines the ability of user to recover data or re-start system after a failure. For example, load backup copy of data and resume processing without data or integrity loss. Procedure Testing: It determines the clarity of documentation on operation and uses of system by having users do exactly what manuals request. For example, powering down system at the end of week or responding to paper-out light on printer. Human Factors Testing: It determines how users will use the system when processing data or preparing reports. USER INTERFACE ADMIN LOGIN PAGE: NEW MEMBERS REGISTRATIONS: REGISTERED MEMBER DETAILS: PACKAGE DETAILS: TRAINER INFORMATION: REGISTER NEW TRAINER: LIMITATION OF THE PROJECT The existing System such as Gym Master is not as much as user (Customer) friendly ascompare to our proposed system. The communication with members is not well Existing System because all the data is handled by Gym manager. Customers don’t get full accessibility to gym center and all permissions are allowed only for gym manager. Today’s system cannot take effort out of finances and debtcollection. Today’s system is time taking software and cannot be easily install in operating system like Linux, Vista, Mc-Os and Novel. And also need high configuration of PC. Normal PCs cannot install in it. Lot of memory space is required for installing existing software. Existing Gym management software cannot perform all operation expected by manager such as keeping record of machinery maintenance and service BIBLIOGRAPHY Geeksforgeeks Tutorials point Javatpoint