<?php include "../datacon.php"; ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WealthClub</title>
    <!-- Core CSS - Include with every page -->
    <link href="assets/plugins/bootstrap/bootstrap.css" rel="stylesheet" />
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="assets/plugins/pace/pace-theme-big-counter.css" rel="stylesheet" />
    <link href="assets/css/style.css" rel="stylesheet" />
    <link href="assets/css/main-style.css" rel="stylesheet" />
    <!-- Page-Level CSS -->
    <link href="assets/plugins/morris/morris-0.4.3.min.css" rel="stylesheet" />
   <style type="text/css">
input
{
   
   border:1px solid #ccc;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;   
}
fieldset
{
   width: 800px;
   padding:20px;
   background-color:#b3ffff;
   border:1px solid #ccc;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;   
}
.error{
.error{
.error{
margin-top: 6px;
margin-bottom: 0;
color: #fff;
background-color: #D65C4F;
display: table;
padding: 5px 8px;
font-size: 11px;
font-weight: 600;
line-height: 14px;
  }
.green{
margin-top: 6px;
margin-bottom: 0;
color: #fff;
background-color: green;
display: table;
padding: 5px 8px;
font-size: 11px;
font-weight: 600;
line-height: 14px;
  }
</style>
   </head>
   <?php  include('session.php'); ?>
<body>
    <!--  wrapper -->
    <div id="wrapper">
        <!-- navbar top -->
        <nav class="navbar navbar-default navbar-fixed-top" role="navigation" id="navbar">
            <!-- navbar-header -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.php">
                    <img src="assets/img/logo.png" alt="" />
                </a>
            </div>
            <!-- end navbar-header -->
            <!-- navbar-top-links -->
            <ul class="nav navbar-top-links navbar-right">
                <!-- main dropdown -->
               

                             

                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-3x"></i>
                    </a>
                    <!-- dropdown user-->
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="userprofile.php"><i class="fa fa-user fa-fw"></i>User Profile</a>
                        </li>
  <li class="divider"></li>                       
					   <li><a href="passchange.php"><i class="fa fa-gear fa-fw"></i>Change Password</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="logout.php"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
                        </li>
                    </ul>
                    <!-- end dropdown-user -->
                </li>
                <!-- end main dropdown -->
            </ul>
            <!-- end navbar-top-links -->

        </nav>
        <!-- end navbar top -->

          <!-- navbar side -->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <!-- sidebar-collapse -->
            <div class="sidebar-collapse">
                <!-- side-menu -->
                <?php include ('menu.php');?>
                <!-- end side-menu -->
            </div>
            <!-- end sidebar-collapse -->
        </nav>
        <!-- end navbar side -->
        <!--  page-wrapper -->
        <div id="page-wrapper">

            <div class="row">
                <!-- Page Header -->
                <div class="col-lg-12">
                    <h4 class="page-header">You are on <b> <?php echo $row ['premium'];?></b> Premium.</h4>
                </div>
                <!--End Page Header -->
            </div>

            <div class="row">
                <!-- Welcome -->
                <div class="col-lg-12">
                    <div class="alert alert-info">
                        <i class="fa fa-folder-open"></i><b>&nbsp;Hello ! </b>Welcome  <b><?php echo $row['fname']." ".$row['lname']." ".$row['sname'];  ?></b>
 <b></b>
                    </div>
                </div>
                <!--end  Welcome -->
            </div>

<?php
								$query = mysql_query("select * from operators where Userid = '$session_id'")or die(mysql_error());
								$row = mysql_fetch_array($query);
								?>
            <form action="club.php" method="post">
							   <fieldset><fieldset>
									<legend>Join Club</legend>
									<div class="form-group">
                                        <div class="col-sm-4">
                                            <label>Phone Number <span class="required">*</span></label>
                                            <input type="text" value="<?php echo $row['Username']; ?>" maxlength="100" class="form-control" name="pnumber" id="name" required>
                                        </div>
                                        <div class="col-sm-4">
                                            <label>National Id Number <span class="required">*</span></label>
                                            <input type="text" value="<?php echo $row['idno']; ?>" maxlength="100" class="form-control" name="idno" id="name" required> 
                                        </div>
                                        <div class="col-sm-4">
                                            <label>Mpesa Code <span class="required">*</span></label>
                                            <input type="text" value="" maxlength="100" class="form-control" name="mpesa" id="name" required>
                                        </div>
										<div class="col-sm-4">
                                            <label>Amount <span class="required">*</span></label>
                                            <input type="text" value="5000" maxlength="100" class="form-control" name="amount" id="name" required>
                                        </div>
										<div class="col-sm-4">
                                            <label>Register Under <span class="required">*</span></label>
                                            <input type="text" value="" maxlength="100" class="form-control" name="runder" id="name" required>
                                        </div>
                                    </div> </fieldset>
									                 <div class="row">
                                    <div class="col-sm-12" align="center">
                                        <br />
                                        <button name="submit" type="submit" id="sendmesage" class="btn v-btn no-three-d">Join Club</button>
                                    </div>
                                </div>
                            </form> 
</fieldset>
          
                </div>
            </div>


         


        </div>
        <!-- end page-wrapper -->

    </div>
    <!-- end wrapper -->

    <!-- Core Scripts - Include with every page -->
    <script src="assets/plugins/jquery-1.10.2.js"></script>
    <script src="assets/plugins/bootstrap/bootstrap.min.js"></script>
    <script src="assets/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="assets/plugins/pace/pace.js"></script>
    <script src="assets/scripts/siminta.js"></script>
    <!-- Page-Level Plugin Scripts-->
    <script src="assets/plugins/morris/raphael-2.1.0.min.js"></script>
    <script src="assets/plugins/morris/morris.js"></script>
    <script src="assets/scripts/dashboard-demo.js"></script>

</body>

</html>
