
<!-- Dashboard content -->
<div class="row">

    <div class="col-lg-6"> 
        <!-- Form horizontal -->
        <div class="panel panel-flat">
            <div class="panel-heading">
                <h5 class="panel-title">Add Member</h5>
            </div>

            <div class="panel-body">           

                <form class="form-horizontal" action="#" method="POST">
                    <fieldset class="content-group">
                        <legend class="text-bold">Member Detail</legend>
                        <div class="form-group">
                            <label class="control-label col-lg-2">Created by</label>
                            <div class="col-lg-10">
                                <input type="text" class="form-control" readonly="readonly" value='Web Admin'>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-lg-2">Name</label>
                            <div class="col-lg-5">
                                <input type="text" class="form-control" placeholder='Firstname' name='firstname' value="<?=$firstname?>">
                            </div>
                            <div class="col-lg-5">
                                <input type="text" class="form-control" placeholder='Lastname' name='lastname' value="<?=$lastname?>">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="control-label col-lg-2">Email/Username</label>
                            <div class="col-lg-10">
                                <input type="text" class="form-control" placeholder="Enter the Email also Username..." name='username' value="<?=$username?>">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="control-label col-lg-2">Password</label>
                            <div class="col-lg-10">
                                <input type="password" class="form-control" name='password' >
                            </div>
                        </div>

                        <legend class="text-bold">Address</legend>
                        <div class="form-group">
                            <label class="control-label col-lg-2">Address</label>

                            <div class="col-lg-8">
                                <input type="text" class="form-control"  name="street" placeholder='Address' value='<?=$street ?>'>
                            </div>
                            <div class="col-lg-2">
                                <input type="text" class="form-control"  name="aptno" placeholder='Apt No' value='<?=$aptno?>'>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-lg-2">Zip Code/Phone</label>
                            <div class="col-lg-5">
                                <input type="text" class="form-control" name="zipcode" placeholder='Zip code' value='<?=$zipcode?>'>
                            </div>
                            <div class="col-lg-5">
                                <input type="text" class="form-control" name="phone" placeholder='Phone' value='<?=$phone?>'>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-lg-2">City/State</label>
                            <div class="col-lg-5">
                                <input type="text" class="form-control" name="city" value='<?=$city?>'>
                            </div>

                            <div class="col-lg-3">
                                <select name="state" class="form-control">
                                    <option value="GA">Georgia</option>                                                                 
                                </select>
                            </div>
                            
                            <div class="col-lg-2">
                                <select name="country" class="form-control">
                                    <option value="US">United States</option>                                                                 
                                </select>
                            </div>
                        </div>             

                                          

                    </fieldset>
                     <div class="text-left">
                        <?=$create_message?>
                    </div>
                    <div class="text-right">
                        <button type="submit" class="btn btn-primary">Submit <i class="icon-arrow-right14 position-right"></i></button>
                    </div>
                </form>
            </div>
        </div>

        <!-- /form horizontal -->
    </div>

    <div class="col-lg-6">
        <!-- Recent Members -->
        <div class="panel panel-flat">
            <div class="panel-heading">
                <h6 class="panel-title">Resent Signup</h6>
                <div class="heading-elements">
                    <span class="heading-text">Last: <span class="text-bold text-danger-600 position-right">10</span></span>             
                </div>
            </div>

            <div class="panel-body">
                <div id="sales-heatmap"></div>
            </div>

            <div class="table-responsive">
                <table class="table text-nowrap">
                    <thead>
                        <tr>
                            <th>Name/Email</th>
                            <th>Date</th>
                            <th>Pry.Phone</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php
                        //  print_r($recent_signup);

                        foreach ($recent_signup as $rect) {
                            ?>
                            <tr>
                                <td>                     

                                    <div class="media-body">
                                        <div class="media-heading">
                                           <a href="#"  onclick="openMemberID(<? echo $rect->id; ?>);" class="letter-icon-title"><? echo $rect->firstname; ?> <? echo $rect->lastname; ?></a>
                                        </div>

                                        <div class="text-muted text-size-small"><? echo $rect->email; ?></div>
                                    </div>
                                </td>
                                <td>
                                    <span class="text-muted text-size-small"><? echo $rect->added; ?></span>
                                </td>
                                <td>
                                    <h6 class="text-semibold no-margin"><? echo $rect->phone; ?></h6>
                                </td>
                            </tr>                   

                            <?
                        }
                        ?>
                        <tr>
                            <td colspan='3'><a href='/bkoreport/members'>Sign Up Report</a></td>

                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /Recent Members -->
    </div>
</div>
<!-- /dashboard content -->

