Пример #1
0
                <button id="btn-remove-member" class="btn btn-danger form-control">Delete</button>
            </div>
            <div class="col-lg-4">
                <button class="btn btn-primary form-control" data-toggle="dropdown" data-target=".dropdown-body">Export <span class="caret"></span></button>
                <div class="dropdown-toggle dropdown-body">
                    <ul class="dropdown-menu">
                        <li><a id="btn-export-word" href="#">Microsoft Word</a></li>
                        <li><a id="btn-export-excel" href="#">Microsoft Excel</a></li>                    
                    </ul>
                </div>
            </div>
        </div>
        <div class="row well well-lg">
            <?php 
$table = new CTable('members', 'table-members');
$html = $table->drawTable(array('#', ' ', 'Office Bearing', 'Name', 'Class', 'Email'), true, "SELECT * FROM members ORDER BY designation");
echo "{$html}";
?>
        </div>
    </div>
    <div class="modal fade" id="modal-insert-member">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">Add Member</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" method="post" id="form-add-member">
                        <div class="form-group">
                            <label class="control-label col-lg-3">Name</label>                            
Пример #2
0
                            </ul>
                        </li>                    
                    </ul>
                </div>
            </div>
        </div>
        
        <div class="container-fluid">
            <div class="well well-lg">
                <div class="row">
                    <?php 
if (isset($_GET['id'])) {
    $eventid = $_GET['id'];
    CFeedback::createFeedback($eventid);
    $table = new CTable("feedback" . $eventid, 'table-feedback');
    $response = $table->drawTable(array('#', '', 'Name', 'Department', 'Section', 'Year', 'Email', 'Date Of Birth', 'GSC Member', 'Feedback'), true);
    echo "{$response}";
} else {
    echo "<p>Invalid event index</p>";
    exit;
}
?>
                </div>
         </div>
         <div class="modal fade" id="modal-reply-suggest">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button class="close" data-dismiss="modal">&times;</button>
                        <h4 class="modal-title">Reply</h4>
                    </div>
Пример #3
0
                        <span class="icon-bar"></span>                                              
                    </button>
                </div>
                <div class="collapse navbar-collapse navbar-right navbar-body">
                    <ul class="nav navbar-nav">
                        <li><a href="index.php#home">Home</a>
                        <li><a href="index.php#event">Event</a>                       
                        <li><a href="#">Google Student Ambassador</a>                                              
                        <li class="active"><a href="#">Members</a>                                              
                        <li><a href="#">About</a>                       
                    </ul>
                </div> 
            </div> 
        </div>
        <div class="jumbotron">
           <div class="container">
               <h1>Hey there!,<small>We run the whole fleet at GSC</small></h1> 
           </div>
        </div>
        <div class="container">
            <div class="row well well-lg">
                <?php 
require_once 'admin/include/table.inc.php';
$table = new CTable('members', 'table-members');
$html = $table->drawTable(array('Office Bearing', 'Name', 'Class', 'Email'), false, "SELECT designation,name,class,email FROM members ORDER BY designation");
echo "{$html}";
?>
            </div>
        </div>
    </body>
</html>