Table Bootstrap
Table Bootstrap
php
include('../header.php');
include('../functions.php');
// if (!isset($_SESSION)) {
// session_start();
// }
// if (isset($_SESSION['user']) && !empty($_SESSION['user'])) {
// echo 'Set and not empty, and no undefined index error!';
// } else {
// echo "blaa";
// }
?>
<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.0">
<title>Register</title>
<link rel="stylesheet" href="../../css/bootstrap.css">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/bootstrap-table.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.1/bootstrap3-
editable/css/bootstrap-editable.css" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/bootstrap-
table.min.css" rel="stylesheet">
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-
awesome.css" rel="stylesheet" type='text/css'>
</head>
<body>
<div class="container">
<button id="remove" class="btn btn-danger mt-3 mb-3" disabled>
<i class="fas fa-times"></i> Delete
</button>
<!-- <table id="table-register" data-pagination="true" data-toggle="table"
data-click-to-select="true" data-toolbar="#toolbar" data-search="true">
<thead>
<tr>
<th data-checkbox="true"></th>
<th>Item Name</th>
<th>Item Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Item 1</td>
<td>$1</td>
</tr>
<tr>
<td>2</td>
<td>Item 2</td>
<td>$2</td>
</tr>
</tbody>
</table> -->
<table id="table"
data-toolbar="#toolbar"
data-search="true"
data-show-refresh="true"
data-show-toggle="true"
data-show-columns="true"
data-show-export="true"
data-detail-view="true"
data-detail-formatter="detailFormatter"
data-minimum-count-columns="2"
data-show-pagination-switch="true"
data-pagination="true"
data-id-field="id"
data-page-list="[10, 25, 50, 100, ALL]"
data-show-footer="false"
data-side-pagination="server"
data-url="https://examples.wenzhixin.net.cn/examples/bootstrap_table/data"
data-response-handler="responseHandler">
</table>
</div>
<!-- <script src="../../js/jquery.min.js"></script>
<script src="../../js/bootstrap.min.js"></script> -->
<script src="admin-js\registration.js"></script>
<script src="https://unpkg.com/[email protected]/dist/bootstrap-
table.min.js"></script>
<script src="https://kit.fontawesome.com/5552ff4542.js"
crossorigin="anonymous"></script>
<script
src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.1/bootstrap3-editable/
js/bootstrap-editable.min.js"></script>
<script
src="https://unpkg.com/[email protected]/tableExport.min.js"></
script>
<script src="https://unpkg.com/[email protected]/dist/bootstrap-
table.min.js"></script>
<script
src="https://unpkg.com/[email protected]/dist/extensions/editable/bootstrap-
table-editable.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/extensions/export/
bootstrap-table-export.min.js"></script>
</body>
</html>