Beispiel #1
0
                <div class="col-md-8">
                    <!-- TABLE: LATEST ORDERS -->
                    <div class="box box-info">
                        <div class="box-header with-border">
                            <h3 class="box-title">Add Accounts</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="register-box-body">
                                <p class="login-box-msg">Register a new membership</p>

                                <?php 
echo Html::form_begin('', 'POST', ['enctype' => "multipart/form-data", 'id' => "register-form", 'novalidate' => "novalidate"]);
?>
                                <input type="text" name="type" value="<?php 
echo Ngaji\Http\Request::GET()->type;
?>
" hidden=""/>
                                <div class="form-group has-feedback">
                                    <span class="glyphicon glyphicon-user form-control-feedback"></span>
                                    <input type="text" id="name" name="name" class="form-control" placeholder="Full name"/>
                                </div>
                                <div class="form-group has-feedback">
                                    <span class="glyphicon glyphicon-user form-control-feedback"></span>
                                    <input type="text" id="username" name="username" class="form-control" placeholder="Username"/>
                                </div>
                                <div class="form-group has-feedback">
                                    <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
                                    <input type="text" id="email" name="email" class="form-control" placeholder="Email"/>
                                </div>
                                <div class="form-group has-feedback">
Beispiel #2
0
                        function hideFlashMessage() {
                            $('#flash-message').fadeOut('normal');
                        }
                    </script>
                <? endif; ?>
                <div class="col-md-8">
                    <!-- TABLE: LATEST ORDERS -->
                    <div class="box box-info">
                        <div class="box-header with-border">
                            <h3 class="box-title">Accounts</h3>

                            <? if (Ngaji\Http\Request::is_admin()): ?>
                                <div class="box-tools pull-right">
                                    <?php 
echo Html::anchor("accounts/add?type=" . Ngaji\Http\Request::GET()->type, '<i class="fa fa-plus"></i> Add New', ['class' => 'btn btn-info btn-sm btn-flat']);
?>
                                </div>
                            <? endif; ?>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="table-responsive">
                                <table class="table table-striped no-margin">
                                    <tr>
                                        <th style="width: 30px">ID</th>
                                        <th>Username</th>
                                        <th>Name</th>
                                        <th>Created Add</th>
                                        <? if (Ngaji\Http\Request::is_admin()): ?>
                                            <th>Action</th>