<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">


    <title>Edit Member</title>
    <style type="text/css">
      body
      {
        background-image: url('<?= base_url() ?>asset/images/fitness.png');
        background-size: cover;
        background-attachment: fixed ;
      }
    </style>

        <!-- Bootstrap core CSS -->
        <link href="<?=base_url()?>asset/css/bootstrap.min.css" rel="stylesheet">
        <!-- Custom styles for this template -->
        <link href="<?=base_url()?>asset/css/cover.css" rel="stylesheet">
        <link href="<?=base_url()?>asset/css/style.css" rel="stylesheet">
        <link href="<?=base_url()?>asset/css/gymlogo.css" rel="stylesheet">

<body>

    <div class="site-wrapper" >
        <div class="site-wrapper-inner">

          <div class="cover-container">
            <div class="masthead clearfix">
              <div class="inner">

  </head>
   <div class="inner cover">
    <h1 class="cover-heading">Edit Member</h1>
    <div class="panel panel-default">
      <div class="panel-heading"></div>
          <div class="panel-body">
            <form action="<?php echo base_url('Visitor_portal/update/'
             . $singleMember->member_id); ?>" method="post">
                  <div class="form-group">      
                    <input type="text" class="form-control" name="firstname" value="<?php echo $singleMember->firstname; ?>" placeholder="Enter First Name">
                  </div>
                  <div class="form-group">      
                    <input type="text" class="form-control" name="lastname" value="<?php echo $singleMember->lastname; ?>" placeholder="Enter Last Name">
                  </div>
                  <div class="form-group">
                        <select name="gender" class="form-control" required>
                        <option value="">Select Gender</option> 
                        <option value="Male">Male</option>
                        <option value="Female">Female</option>
                    </select>
                  </div>
                  <div class="form-group">      
                    <input type="text" class="form-control" name="email" value="<?php echo $singleMember->email; ?>" placeholder="Enter Email">
                  </div>
                  <div class="form-group">      
                    <input type="text" class="form-control" name="contact_no" value="<?php echo $singleMember->contact_no; ?>" placeholder="Enter Contract Number">
                  </div>
          </div>
                <div class="mt-3">
                    <input type="submit" name="edit" value="Update" class="btn btn-primary">
                    <a href="<?= base_url() ?>visitor_portal/personal_information" class="btn btn-secondary">Back</a>
                </div>
            </div>
          
        </form>
    
</main> 



  <script src="<?=base_url()?>asset/js/jquery-3.2.1.slim.min.js"></script>
    <script src="<?=base_url()?>asset/js/vendor/popper.min.js"></script>
    <script src="<?=base_url()?>asset/js/bootstrap.min.js"></script>
    <script src="<?=base_url()?>asset/js/vendor/holder.min.js"></script>
    <script src="<?=base_url()?>asset/js/offcanvas.js"></script>
  </body>
</html>