├── simple part.fig ├── assets ├── img │ ├── demopp.jpg │ └── error-404-monochrome.svg └── demo │ ├── datatables-demo.js │ ├── chart-pie-demo.js │ ├── chart-bar-demo.js │ └── chart-area-demo.js ├── logout.php ├── index.php ├── db.php ├── js ├── datatables-simple-demo.js └── scripts.js ├── footer.php ├── ajax └── order.php ├── 500.php ├── 404.php ├── 401.php ├── addnewclient.php ├── header.php ├── password.php ├── login.php ├── ims.sql ├── allclients.php ├── register.php ├── addneworders.php ├── sidebar.php ├── brands.php ├── types.php ├── layout-sidenav-light.php ├── layout-static.php ├── addnewproduct.php ├── allorders.php ├── charts.php ├── allproducts.php ├── main.php └── tables.php /simple part.fig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ims/HEAD/simple part.fig -------------------------------------------------------------------------------- /assets/img/demopp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ims/HEAD/assets/img/demopp.jpg -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/demo/datatables-demo.js: -------------------------------------------------------------------------------- 1 | // Call the dataTables jQuery plugin 2 | $(document).ready(function() { 3 | $('#dataTable').DataTable({perPage: 5}); 4 | }); 5 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 4 |
5 | 8 |
9 | 12 |
13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /db.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/datatables-simple-demo.js: -------------------------------------------------------------------------------- 1 | window.addEventListener('DOMContentLoaded', event => { 2 | // Simple-DataTables 3 | // https://github.com/fiduswriter/Simple-DataTables/wiki 4 | 5 | const datatablesSimple = document.getElementById('datatablesSimple'); 6 | if (datatablesSimple) { 7 | new simpleDatatables.DataTable(datatablesSimple, {perPage: 5}); 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /assets/demo/chart-pie-demo.js: -------------------------------------------------------------------------------- 1 | // Set new default font family and font color to mimic Bootstrap's default styling 2 | Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; 3 | Chart.defaults.global.defaultFontColor = '#292b2c'; 4 | 5 | // Pie Chart Example 6 | var ctx = document.getElementById("myPieChart"); 7 | var myPieChart = new Chart(ctx, { 8 | type: 'pie', 9 | data: { 10 | labels: ["Blue", "Red", "Yellow", "Green"], 11 | datasets: [{ 12 | data: [12.21, 15.58, 11.25, 8.32], 13 | backgroundColor: ['#007bff', '#dc3545', '#ffc107', '#28a745'], 14 | }], 15 | }, 16 | }); 17 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /js/scripts.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - SB Admin v7.0.7 (https://startbootstrap.com/template/sb-admin) 3 | * Copyright 2013-2023 Start Bootstrap 4 | * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin/blob/master/LICENSE) 5 | */ 6 | // 7 | // Scripts 8 | // 9 | 10 | window.addEventListener('DOMContentLoaded', event => { 11 | 12 | // Toggle the side navigation 13 | const sidebarToggle = document.body.querySelector('#sidebarToggle'); 14 | if (sidebarToggle) { 15 | // Uncomment Below to persist sidebar toggle between refreshes 16 | // if (localStorage.getItem('sb|sidebar-toggle') === 'true') { 17 | // document.body.classList.toggle('sb-sidenav-toggled'); 18 | // } 19 | sidebarToggle.addEventListener('click', event => { 20 | event.preventDefault(); 21 | document.body.classList.toggle('sb-sidenav-toggled'); 22 | localStorage.setItem('sb|sidebar-toggle', document.body.classList.contains('sb-sidenav-toggled')); 23 | }); 24 | } 25 | 26 | }); 27 | -------------------------------------------------------------------------------- /ajax/order.php: -------------------------------------------------------------------------------- 1 | product_id; 12 | $quantity = $row->quantity; 13 | $sql = "UPDATE `products` SET `stock` = `stock` + '$quantity' WHERE `id` = '$product_id'"; 14 | $result3 = mysqli_query($conn, $sql); 15 | if($result && $result2 && $result3){ 16 | echo "success"; 17 | }else{ 18 | echo "fail"; 19 | } 20 | } 21 | if(isset($_POST['eid'])){ 22 | $id = $_POST['eid']; 23 | $sql = "UPDATE `orders` SET `status` = 'Delivered' WHERE `id` = '$id'"; 24 | $result = mysqli_query($conn, $sql); 25 | if($result){ 26 | echo "success"; 27 | }else{ 28 | echo "fail"; 29 | } 30 | } 31 | ?> -------------------------------------------------------------------------------- /assets/demo/chart-bar-demo.js: -------------------------------------------------------------------------------- 1 | // Set new default font family and font color to mimic Bootstrap's default styling 2 | Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; 3 | Chart.defaults.global.defaultFontColor = '#292b2c'; 4 | 5 | // Bar Chart Example 6 | var ctx = document.getElementById("myBarChart"); 7 | var myLineChart = new Chart(ctx, { 8 | type: 'bar', 9 | data: { 10 | labels: ["January", "February", "March", "April", "May", "June"], 11 | datasets: [{ 12 | label: "Revenue", 13 | backgroundColor: "rgba(2,117,216,1)", 14 | borderColor: "rgba(2,117,216,1)", 15 | data: [4215, 5312, 6251, 7841, 9821, 14984], 16 | }], 17 | }, 18 | options: { 19 | scales: { 20 | xAxes: [{ 21 | time: { 22 | unit: 'month' 23 | }, 24 | gridLines: { 25 | display: false 26 | }, 27 | ticks: { 28 | maxTicksLimit: 6 29 | } 30 | }], 31 | yAxes: [{ 32 | ticks: { 33 | min: 0, 34 | max: 15000, 35 | maxTicksLimit: 5 36 | }, 37 | gridLines: { 38 | display: true 39 | } 40 | }], 41 | }, 42 | legend: { 43 | display: false 44 | } 45 | } 46 | }); 47 | -------------------------------------------------------------------------------- /assets/demo/chart-area-demo.js: -------------------------------------------------------------------------------- 1 | // Set new default font family and font color to mimic Bootstrap's default styling 2 | Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; 3 | Chart.defaults.global.defaultFontColor = '#292b2c'; 4 | 5 | // Area Chart Example 6 | var ctx = document.getElementById("myAreaChart"); 7 | var myLineChart = new Chart(ctx, { 8 | type: 'line', 9 | data: { 10 | labels: ["Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13"], 11 | datasets: [{ 12 | label: "Sessions", 13 | lineTension: 0.3, 14 | backgroundColor: "rgba(2,117,216,0.2)", 15 | borderColor: "rgba(2,117,216,1)", 16 | pointRadius: 5, 17 | pointBackgroundColor: "rgba(2,117,216,1)", 18 | pointBorderColor: "rgba(255,255,255,0.8)", 19 | pointHoverRadius: 5, 20 | pointHoverBackgroundColor: "rgba(2,117,216,1)", 21 | pointHitRadius: 50, 22 | pointBorderWidth: 2, 23 | data: [10000, 30162, 26263, 18394, 18287, 28682, 31274, 33259, 25849, 24159, 32651, 31984, 38451], 24 | }], 25 | }, 26 | options: { 27 | scales: { 28 | xAxes: [{ 29 | time: { 30 | unit: 'date' 31 | }, 32 | gridLines: { 33 | display: false 34 | }, 35 | ticks: { 36 | maxTicksLimit: 7 37 | } 38 | }], 39 | yAxes: [{ 40 | ticks: { 41 | min: 0, 42 | max: 40000, 43 | maxTicksLimit: 5 44 | }, 45 | gridLines: { 46 | color: "rgba(0, 0, 0, .125)", 47 | } 48 | }], 49 | }, 50 | legend: { 51 | display: false 52 | } 53 | } 54 | }); 55 | -------------------------------------------------------------------------------- /500.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 404 Error - SB Admin 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |

500

22 |

Internal Server Error

23 | 24 | 25 | Return to Dashboard 26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 | 47 |
48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 404 Error - SB Admin 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | 22 |

This requested URL was not found on this server.

23 | 24 | 25 | Return to Dashboard 26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 | 47 |
48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /401.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 404 Error - SB Admin 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |

401

22 |

Unauthorized

23 |

Access to this resource is denied.

24 | 25 | 26 | Return to Dashboard 27 | 28 |
29 |
30 |
31 |
32 |
33 |
34 | 48 |
49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /addnewclient.php: -------------------------------------------------------------------------------- 1 | toastr.error('Client Name is Required')"; 14 | } 15 | // mobile is mendetory 16 | if ($mobile == "") { 17 | # code... 18 | echo ""; 19 | } 20 | // address is mendetory 21 | if ($address == "") { 22 | # code... 23 | echo ""; 24 | } 25 | // check if client already exists 26 | $sql = "SELECT * FROM `clients` WHERE `mobile`='$mobile'"; 27 | $result = mysqli_query($conn, $sql); 28 | if (mysqli_num_rows($result) > 0) { 29 | # code... 30 | echo ""; 31 | } else { 32 | # code... 33 | if(!empty($cname) && !empty($mobile) && !empty($address)){ 34 | $sql = "INSERT INTO `clients` (`name`, `mobile`, `address`) VALUES ('$cname', '$mobile', '$address')"; 35 | $result = mysqli_query($conn, $sql); 36 | if ($result) { 37 | # code... 38 | echo ""; 39 | } else { 40 | # code... 41 | echo ""; 42 | } 43 | } 44 | } 45 | } 46 | ?> 47 |
48 | 51 |
52 |
53 |
54 |
55 |

Add New Client

56 | 57 |
58 |
59 | 60 | 61 |
62 |
63 | 64 | 65 |
66 |
67 | 68 | 69 |
70 |
71 | 72 |
73 |
74 |
75 |
76 |
77 | 80 |
81 |
82 | 83 | 84 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Dashboard - SB Admin 18 | 19 | 20 | 21 | 22 | 23 | 24 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /password.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Password Reset - SB Admin 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |

Password Recovery

22 |
23 |
Enter your email address and we will send you a link to reset your password.
24 |
25 |
26 | 27 | 28 |
29 | 33 |
34 |
35 | 38 |
39 |
40 |
41 |
42 |
43 |
44 | 58 |
59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | Login 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | toastr.error('Email is Required')"; 28 | } else { 29 | # code... 30 | if (empty($password)) { 31 | # code... 32 | echo ""; 33 | } else { 34 | # code... 35 | $sql = "SELECT * FROM `users` WHERE `email` = '$email'"; 36 | $result = mysqli_query($conn, $sql); 37 | if (mysqli_num_rows($result) > 0) { 38 | # code... 39 | $row = mysqli_fetch_object($result); 40 | if (password_verify($password, $row->pass)) { 41 | # code... 42 | $_SESSION['id'] = $row->id; 43 | $_SESSION['name'] = $row->name; 44 | $_SESSION['email'] = $row->email; 45 | $_SESSION['gender'] = $row->gender; 46 | $_SESSION['image'] = $row->image ?? "demopp.jpg"; 47 | $_SESSION['role'] = $row->role; 48 | header("location: index.php"); 49 | } else { 50 | # code... 51 | echo ""; 52 | } 53 | } else { 54 | # code... 55 | echo ""; 56 | } 57 | } 58 | } 59 | } 60 | ?> 61 |
62 |
63 |
64 |
65 |
66 |

Login

67 |
68 |
69 | 70 |
71 |
72 | 73 |
74 | 75 |
76 |
77 |
78 |
79 | 80 | 81 | -------------------------------------------------------------------------------- /ims.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.2.1 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Nov 12, 2023 at 09:44 AM 7 | -- Server version: 10.4.28-MariaDB 8 | -- PHP Version: 8.2.4 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `ims` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `brands` 28 | -- 29 | -- Error reading structure for table ims.brands: #1932 - Table 'ims.brands' doesn't exist in engine 30 | -- Error reading data for table ims.brands: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `ims`.`brands`' at line 1 31 | 32 | -- -------------------------------------------------------- 33 | 34 | -- 35 | -- Table structure for table `clients` 36 | -- 37 | -- Error reading structure for table ims.clients: #1932 - Table 'ims.clients' doesn't exist in engine 38 | -- Error reading data for table ims.clients: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `ims`.`clients`' at line 1 39 | 40 | -- -------------------------------------------------------- 41 | 42 | -- 43 | -- Table structure for table `orders` 44 | -- 45 | -- Error reading structure for table ims.orders: #1932 - Table 'ims.orders' doesn't exist in engine 46 | -- Error reading data for table ims.orders: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `ims`.`orders`' at line 1 47 | 48 | -- -------------------------------------------------------- 49 | 50 | -- 51 | -- Table structure for table `products` 52 | -- 53 | -- Error reading structure for table ims.products: #1932 - Table 'ims.products' doesn't exist in engine 54 | -- Error reading data for table ims.products: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `ims`.`products`' at line 1 55 | 56 | -- -------------------------------------------------------- 57 | 58 | -- 59 | -- Table structure for table `types` 60 | -- 61 | -- Error reading structure for table ims.types: #1932 - Table 'ims.types' doesn't exist in engine 62 | -- Error reading data for table ims.types: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `ims`.`types`' at line 1 63 | 64 | -- -------------------------------------------------------- 65 | 66 | -- 67 | -- Table structure for table `users` 68 | -- 69 | 70 | CREATE TABLE `users` ( 71 | `id` int(11) NOT NULL, 72 | `name` varchar(160) NOT NULL, 73 | `gender` varchar(6) NOT NULL, 74 | `email` varchar(160) NOT NULL, 75 | `image` varchar(160) NOT NULL, 76 | `pass` varchar(160) NOT NULL, 77 | `role` varchar(10) NOT NULL DEFAULT 'user', 78 | `created_at` timestamp NOT NULL DEFAULT current_timestamp() 79 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; 80 | 81 | -- 82 | -- Dumping data for table `users` 83 | -- 84 | 85 | INSERT INTO `users` (`id`, `name`, `gender`, `email`, `image`, `pass`, `role`, `created_at`) VALUES 86 | (1, 'Roman', 'Male', 'roman@gmail.com', '', '$2y$10$8MebhfmCOrXzyBte.frdYuLvBo.LOk0QOZfOjsA4HDff.09ZID8iS', 'admin', '2023-11-12 08:19:04'); 87 | 88 | -- 89 | -- Indexes for dumped tables 90 | -- 91 | 92 | -- 93 | -- Indexes for table `users` 94 | -- 95 | ALTER TABLE `users` 96 | ADD PRIMARY KEY (`id`), 97 | ADD UNIQUE KEY `email` (`email`); 98 | 99 | -- 100 | -- AUTO_INCREMENT for dumped tables 101 | -- 102 | 103 | -- 104 | -- AUTO_INCREMENT for table `users` 105 | -- 106 | ALTER TABLE `users` 107 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; 108 | COMMIT; 109 | 110 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 111 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 112 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 113 | -------------------------------------------------------------------------------- /allclients.php: -------------------------------------------------------------------------------- 1 | 8 |
9 | 12 |
13 |
14 |
15 | 16 |
17 |

All Clients

18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 35 | 36 | 37 | 38 | 39 | 40 | 44 | 45 | 48 | 49 |
S.N.Client NameMobileAddressActions
name ?>mobile ?>address ?> 41 | 42 | 43 |
50 |
51 | 52 | 57 |
58 | 59 | 68 |
69 |

Edit Client

70 |
71 |
72 | 73 | 74 |
75 |
76 | 77 | 78 |
79 |
80 | 81 | 82 |
83 |
84 | 85 |
86 |
87 |
88 | 91 | toastr.success('Client Deleted Successfully')"; 101 | } else { 102 | # code... 103 | echo ""; 104 | } 105 | } 106 | ?> 107 |
108 |
109 | 112 |
113 |
114 | 115 | 116 | -------------------------------------------------------------------------------- /register.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Register - SB Admin 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |

Create Account

22 |
23 |
24 |
25 |
26 |
27 | 28 | 29 |
30 |
31 |
32 |
33 | 34 | 35 |
36 |
37 |
38 |
39 | 40 | 41 |
42 |
43 |
44 |
45 | 46 | 47 |
48 |
49 |
50 |
51 | 52 | 53 |
54 |
55 |
56 |
57 | 58 |
59 |
60 |
61 | 64 |
65 |
66 |
67 |
68 |
69 |
70 | 84 |
85 | 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /assets/img/error-404-monochrome.svg: -------------------------------------------------------------------------------- 1 | error-404-monochrome -------------------------------------------------------------------------------- /addneworders.php: -------------------------------------------------------------------------------- 1 | 4 |
5 | price; 19 | $total = $price * $quantity; 20 | // validate client_id | product_id | quantity 21 | if (empty($client_id)) { 22 | # code... 23 | echo ""; 24 | } else { 25 | # code... 26 | if (empty($product_id)) { 27 | # code... 28 | echo ""; 29 | } else { 30 | # code... 31 | if (empty($quantity)) { 32 | # code... 33 | echo ""; 34 | } else { 35 | # code... 36 | if ($quantity > $row->stock) { 37 | # code... 38 | echo ""; 39 | } else { 40 | # code... 41 | // insert into orders table 42 | $sql = "INSERT INTO `orders` (`client_id`, `product_id`, `quantity`, `price`, `total`) VALUES ('$client_id', '$product_id', '$quantity', '$price', '$total')"; 43 | $result = mysqli_query($conn, $sql); 44 | // update stock in products table 45 | $sql = "UPDATE `products` SET `stock` = `stock` - '$quantity' WHERE `id` = '$product_id'"; 46 | $result2 = mysqli_query($conn, $sql); 47 | if ($result && $result2) { 48 | # code... 49 | echo ""; 50 | } else { 51 | # code... 52 | echo ""; 53 | } 54 | } 55 | } 56 | } 57 | } 58 | } 59 | ?> 60 |
61 |
62 |

Add New Orders

63 |
64 |
65 | 66 |
67 |
68 | 81 | 82 |
83 |
84 | 96 | 97 |
98 |
99 | 100 | 101 |
102 |
103 | 104 |
105 |
106 |
107 |
108 | 111 |
112 |
113 | 123 | 124 | 125 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 63 |
-------------------------------------------------------------------------------- /brands.php: -------------------------------------------------------------------------------- 1 | toastr.error('Brand Name is Required')"; 7 | } else { 8 | // Check if brand name already exists 9 | $sql = "SELECT * FROM brands WHERE `name` = '$brand_name'"; 10 | $result = mysqli_query($conn, $sql); 11 | if (mysqli_num_rows($result) > 0) { 12 | echo ""; 13 | } else { 14 | $sql = "INSERT INTO brands (`name`) VALUES ('$brand_name')"; 15 | $result = mysqli_query($conn, $sql); 16 | if ($result) { 17 | echo ""; 18 | $brand_name = null; 19 | } else { 20 | echo ""; 21 | } 22 | } 23 | } 24 | } 25 | 26 | isset($_GET['eid']) ? $eid = safuda($_GET['eid']) : $eid = null; 27 | $checkGetId = $conn->query("SELECT * FROM `brands` WHERE `id` = '$eid'"); 28 | isset($_GET['eid']) && $checkGetId->num_rows === 1 ? $eidData = $checkGetId->fetch_object() : null; 29 | isset($_GET['eid']) && $checkGetId->num_rows === 0 ? header("location: brands.php") : null; 30 | if(isset($_POST['esub'])){ 31 | $ename = safuda($_POST['ename']); 32 | if(empty($ename)){ 33 | echo ""; 34 | }else{ 35 | $sql = "UPDATE `brands` SET `name` = '$ename' WHERE `id` = '$eid'"; 36 | $result = mysqli_query($conn, $sql); 37 | if($result){ 38 | echo ""; 39 | }else{ 40 | echo ""; 41 | } 42 | } 43 | } 44 | 45 | isset($_GET['did']) ? $did = safuda($_GET['did']) : $did = null; 46 | $checkGetId = $conn->query("SELECT * FROM `brands` WHERE `id` = '$did'"); 47 | isset($_GET['did']) && $checkGetId->num_rows === 1 ? $didData = $checkGetId->fetch_object() : null; 48 | isset($_GET['did']) && $checkGetId->num_rows === 0 ? header("location: brands.php") : null; 49 | if(isset($_POST['dsub'])){ 50 | $sql = "DELETE FROM `brands` WHERE `id` = '$did'"; 51 | $result = mysqli_query($conn, $sql); 52 | if($result){ 53 | echo ""; 54 | }else{ 55 | echo ""; 56 | } 57 | } 58 | 59 | ?> 60 |
61 | 64 |
65 |
66 |

Brands

67 |
68 |
69 |
70 |
71 |
72 | 73 | 74 |
75 |
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 0) { 98 | $i = 1; 99 | while ($row = mysqli_fetch_assoc($result)) { 100 | echo ""; 101 | echo ""; 102 | echo ""; 103 | echo ""; 104 | echo ""; 105 | } 106 | } else { 107 | echo ""; 108 | } 109 | ?> 110 | 111 |
S.NBrand NameAction
S.NBrand NameAction
" . $i++ . "" . $row['name'] . "
No Brands Found
112 |
113 |
114 | 117 |

Edit Brand Name

118 |
119 |
120 | 121 |
122 | 123 | 124 | Cancel 125 | 126 |
127 | 130 | 133 |

Delete Brand Name

134 |
135 |
136 | 137 |
138 | 139 | 140 | Cancel 141 | 142 |
143 | 146 |
147 |
148 | 149 |
150 | 153 |
154 |
155 | 156 | 157 | -------------------------------------------------------------------------------- /types.php: -------------------------------------------------------------------------------- 1 | toastr.error('Type Name is Required')"; 7 | } else { 8 | // Check if brand name already exists 9 | $sql = "SELECT * FROM `types` WHERE `name` = '$type_name'"; 10 | $result = mysqli_query($conn, $sql); 11 | if (mysqli_num_rows($result) > 0) { 12 | echo ""; 13 | } else { 14 | $sql = "INSERT INTO `types` (`name`) VALUES ('$type_name')"; 15 | $result = mysqli_query($conn, $sql); 16 | if ($result) { 17 | echo ""; 18 | $type_name = null; 19 | } else { 20 | echo ""; 21 | } 22 | } 23 | } 24 | } 25 | 26 | isset($_GET['eid']) ? $eid = safuda($_GET['eid']) : $eid = null; 27 | $checkGetId = $conn->query("SELECT * FROM `types` WHERE `id` = '$eid'"); 28 | isset($_GET['eid']) && $checkGetId->num_rows === 1 ? $eidData = $checkGetId->fetch_object() : null; 29 | isset($_GET['eid']) && $checkGetId->num_rows === 0 ? header("location: brands.php") : null; 30 | if(isset($_POST['esub'])){ 31 | $ename = safuda($_POST['ename']); 32 | if(empty($ename)){ 33 | echo ""; 34 | }else{ 35 | $sql = "UPDATE `types` SET `name` = '$ename' WHERE `id` = '$eid'"; 36 | $result = mysqli_query($conn, $sql); 37 | if($result){ 38 | echo ""; 39 | }else{ 40 | echo ""; 41 | } 42 | } 43 | } 44 | 45 | isset($_GET['did']) ? $did = safuda($_GET['did']) : $did = null; 46 | $checkGetId = $conn->query("SELECT * FROM `types` WHERE `id` = '$did'"); 47 | isset($_GET['did']) && $checkGetId->num_rows === 1 ? $didData = $checkGetId->fetch_object() : null; 48 | isset($_GET['did']) && $checkGetId->num_rows === 0 ? header("location: types.php") : null; 49 | if(isset($_POST['dsub'])){ 50 | $sql = "DELETE FROM `types` WHERE `id` = '$did'"; 51 | $result = mysqli_query($conn, $sql); 52 | if($result){ 53 | echo ""; 54 | }else{ 55 | echo ""; 56 | } 57 | } 58 | 59 | ?> 60 |
61 | 64 |
65 |
66 |

Types

67 |
68 |
69 |
70 |
71 |
72 | 73 | 74 |
75 |
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 0) { 98 | $i = 1; 99 | while ($row = mysqli_fetch_assoc($result)) { 100 | echo ""; 101 | echo ""; 102 | echo ""; 103 | echo ""; 104 | echo ""; 105 | } 106 | } else { 107 | echo ""; 108 | } 109 | ?> 110 | 111 |
S.NType NameAction
S.NType NameAction
" . $i++ . "" . $row['name'] . "
No Types Found
112 |
113 |
114 | 117 |

Edit Type Name

118 |
119 |
120 | 121 |
122 | 123 | 124 | Cancel 125 | 126 |
127 | 130 | 133 |

Delete Type Name

134 |
135 |
136 | 137 |
138 | 139 | 140 | Cancel 141 | 142 |
143 | 146 |
147 |
148 | 149 |
150 | 153 |
154 |
155 | 156 | 157 | 158 | -------------------------------------------------------------------------------- /layout-sidenav-light.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Sidenav Light - SB Admin 10 | 11 | 12 | 13 | 14 | 39 |
40 |
41 | 108 |
109 |
110 |
111 |
112 |

Sidenav Light

113 | 117 |
118 |
119 | This page is an example of using the light side navigation option. By appending the 120 | .sb-sidenav-light 121 | class to the 122 | .sb-sidenav 123 | class, the side navigation will take on a light color scheme. The 124 | .sb-sidenav-dark 125 | is also available for a darker option. 126 |
127 |
128 |
129 |
130 | 142 |
143 |
144 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /layout-static.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Static Navigation - SB Admin 10 | 11 | 12 | 13 | 14 | 39 |
40 |
41 | 108 |
109 |
110 |
111 |
112 |

Static Navigation

113 | 117 |
118 |
119 |

120 | This page is an example of using static navigation. By removing the 121 | .sb-nav-fixed 122 | class from the 123 | body 124 | , the top navigation and side navigation will become static on scroll. Scroll down this page to see an example. 125 |

126 |
127 |
128 |
129 |
When scrolling, the navigation stays at the top of the page. This is the end of the static navigation demo.
130 |
131 |
132 | 144 |
145 |
146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /addnewproduct.php: -------------------------------------------------------------------------------- 1 | toastr.error('Product Name is Required')"; 53 | } 54 | 55 | // price is mendetory 56 | if ($price == "") { 57 | # code... 58 | echo ""; 59 | } 60 | 61 | // stock limit is mendetory 62 | if ($stock == "") { 63 | # code... 64 | echo ""; 65 | } 66 | 67 | // shelf no is mendetory 68 | if ($shelf_no == "") { 69 | # code... 70 | echo ""; 71 | } 72 | 73 | // description is mendetory 74 | if ($description == "") { 75 | # code... 76 | echo ""; 77 | } 78 | 79 | // typeid is mendetory 80 | if ($typeid == "") { 81 | # code... 82 | echo ""; 83 | } 84 | 85 | // brandid is mendetory 86 | if ($brandid == "") { 87 | # code... 88 | echo ""; 89 | } 90 | 91 | // insert product 92 | if (!empty($type_name) && !empty($price) && !empty($stock) && !empty($shelf_no) && !empty($description) && !empty($typeid) && !empty($brandid)) { 93 | # code... 94 | $sql = "INSERT INTO `products` (`name`, `type_id`, `brand_id`, `description`, `price`, `stock`, `shelf_no`) VALUES ('$type_name', '$typeid', '$brandid', '$description', '$price', '$stock', '$shelf_no')"; 95 | $result = mysqli_query($conn, $sql); 96 | if ($result) { 97 | # code... 98 | echo ""; 99 | // emty all the fields 100 | $type_name = $typeid = $newtype = $brandid = $newbrand = $description = $price = $stock = $shelf_no = null; 101 | } else { 102 | # code... 103 | echo ""; 104 | } 105 | } 106 | } 107 | ?> 108 |
109 | 112 |
113 |
114 |
115 |
116 |

All Products

117 |
118 |
119 |
120 | 121 | 122 |
123 |
124 | 138 |
139 |
140 |
141 | 142 | 143 |
144 |
145 |
146 | 160 |
161 |
162 |
163 | 164 | 165 |
166 |
167 | 168 |
169 | 170 |
171 |
172 | 173 | 174 |
175 |
176 | 177 | 178 |
179 |
180 | 181 | 182 |
183 | 184 |
185 | 186 |
187 | 188 |
189 |
190 |
191 | 194 |
195 |
196 | 214 | 215 | 216 | 223 | 224 | 225 | -------------------------------------------------------------------------------- /allorders.php: -------------------------------------------------------------------------------- 1 | 4 |
5 | 8 |
9 |
10 | 14 | 15 | 55 | 58 | 59 | 63 | 64 | 105 | 108 | 109 | product_id; 116 | $quantity = $row->quantity; 117 | $sql = "UPDATE `products` SET `stock` = `stock` + '$quantity' WHERE `id` = '$product_id'"; 118 | $result2 = mysqli_query($conn, $sql); 119 | $sql = "DELETE FROM `orders` WHERE `id` = '$id'"; 120 | $result = mysqli_query($conn, $sql); 121 | if ($result && $result2) { 122 | # code... 123 | echo ""; 124 | } else { 125 | # code... 126 | echo ""; 127 | } 128 | } 129 | ?> 130 | 131 |

All Orders

132 |
133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | client_id; 159 | $product_id = $row->product_id; 160 | $client_sql = "SELECT * FROM `clients` WHERE `id` = '$client_id'"; 161 | $client_result = mysqli_query($conn, $client_sql); 162 | $client_row = mysqli_fetch_object($client_result); 163 | $product_sql = "SELECT * FROM `products` WHERE `id` = '$product_id'"; 164 | $product_result = mysqli_query($conn, $product_sql); 165 | $product_row = mysqli_fetch_object($product_result); 166 | ?> 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 192 | 193 | 196 | 197 |
S.N.Client NameMobileAddressProductQuantityPriceTotalStatusActions
name ?>mobile ?>address ?>name ?>quantity ?>price ?>total ?>status ?> 178 | 179 | status == 'Pending') { 181 | ?> 182 | 183 | 184 | 187 | 188 | 191 |
198 |
199 | 202 |
203 |
204 | 205 | 206 | -------------------------------------------------------------------------------- /charts.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Charts - SB Admin 10 | 11 | 12 | 13 | 14 | 39 |
40 |
41 | 108 |
109 |
110 |
111 |
112 |

Charts

113 | 117 |
118 |
119 | Chart.js is a third party plugin that is used to generate the charts in this template. The charts below have been customized - for further customization options, please visit the official 120 | Chart.js documentation 121 | . 122 |
123 |
124 |
125 |
126 | 127 | Area Chart Example 128 |
129 |
130 | 131 |
132 |
133 |
134 |
135 |
136 | 137 | Bar Chart Example 138 |
139 |
140 | 141 |
142 |
143 |
144 |
145 |
146 | 147 | Pie Chart Example 148 |
149 |
150 | 151 |
152 |
153 |
154 |
155 |
156 | 168 |
169 |
170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /allproducts.php: -------------------------------------------------------------------------------- 1 | toastr.error('Product Name is Required')"; 51 | } 52 | 53 | // price is mendetory 54 | if ($price == "") { 55 | # code... 56 | echo ""; 57 | } 58 | 59 | // update product 60 | if ($ename != "" && $price != "") { 61 | # code... 62 | $sql = "UPDATE `products` SET `name` = '$ename', `type_id` = '$typeid', `brand_id` = '$brandid', `description` = '$description', `price` = '$price', `stock` = '$stock', `shelf_no` = '$shelfno' WHERE `id` = '$eid'"; 63 | $result = mysqli_query($conn, $sql); 64 | if ($result) { 65 | # code... 66 | echo ""; 67 | } else { 68 | # code... 69 | echo ""; 70 | } 71 | } 72 | } 73 | 74 | // delete product 75 | if (isset($_POST['dsub'])) { 76 | $did = safuda($_GET['did']); 77 | $sql = "DELETE FROM `products` WHERE `id` = '$did'"; 78 | $result = mysqli_query($conn, $sql); 79 | if ($result) { 80 | # code... 81 | echo ""; 82 | } else { 83 | # code... 84 | echo ""; 85 | } 86 | } 87 | ?> 88 |
89 | 92 |
93 |
94 |
95 | 98 |
99 |

All Products

100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 0) { 118 | // output data of each row 119 | while ($row = mysqli_fetch_assoc($result)) { 120 | // get brand name 121 | $brandid = $row['brand_id']; 122 | $sql1 = "SELECT * FROM `brands` WHERE `id` = '$brandid'"; 123 | $result1 = mysqli_query($conn, $sql1); 124 | $row1 = mysqli_fetch_assoc($result1); 125 | $brandname = $row1['name']; 126 | // get type name 127 | $typeid = $row['type_id']; 128 | $sql2 = "SELECT * FROM `types` WHERE `id` = '$typeid'"; 129 | $result2 = mysqli_query($conn, $sql2); 130 | $row2 = mysqli_fetch_assoc($result2); 131 | $typename = $row2['name']; 132 | echo " 133 | 134 | 135 | 136 | 137 | 138 | 143 | "; 144 | } 145 | } else { 146 | echo " 147 | 148 | "; 149 | } 150 | ?> 151 | 152 |
Product NameBrandPriceStockShelf NoActions
" . $row['name'] . "" . $brandname . "" . $row['price'] . "" . $row['stock'] . "" . $row['shelf_no'] . " 139 | 140 | 141 | 142 |
No Products Found
153 |
154 | 155 | 158 |
159 |

Edit Product

160 | 167 |
168 |
169 | 170 |
171 |
172 | 188 |
189 |
190 |
191 | 192 | 193 |
194 |
195 |
196 | 212 |
213 |
214 |
215 | 216 | 217 |
218 |
219 | 220 |
221 | 222 |
223 |
224 | 225 |
226 |
227 | 228 |
229 |
230 | 231 |
232 | 233 | Cancel 234 |
235 |
236 | 237 | 240 |
241 | Do you really want to delete this product? 242 |
243 | 244 | No 245 |
246 |
247 | 250 |
251 | real_escape_string(safuda($_POST["pid"])); 254 | $quantity = $conn->real_escape_string(safuda($_POST["quantity"])); 255 | if(!empty($pid) && !empty($quantity)){ 256 | $sql = "UPDATE `products` SET `stock` = `stock` + '$quantity' WHERE `id` = '$pid'"; 257 | $result = mysqli_query($conn, $sql); 258 | if($result){ 259 | echo ""; 260 | }else{ 261 | echo ""; 262 | } 263 | }else{ 264 | echo ""; 265 | } 266 | } 267 | ?> 268 | stock; 275 | $pname = $row->name; 276 | ?> 277 |
278 |

Add Product

279 |
280 |
281 | 282 |
283 | 284 | 285 |
286 |
287 | 288 |
289 | 290 | Cancel 291 |
292 |
293 | 294 |
295 | 298 |
299 |
300 | 305 | 306 | 313 | 314 | 315 | -------------------------------------------------------------------------------- /main.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Dashboard

4 | 7 |
8 |
9 |
10 |
Primary Card
11 | 15 |
16 |
17 |
18 |
19 |
Warning Card
20 | 24 |
25 |
26 |
27 |
28 |
Success Card
29 | 33 |
34 |
35 |
36 |
37 |
Danger Card
38 | 42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | 50 | Area Chart Example 51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | 59 | Bar Chart Example 60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | 68 | DataTable Example 69 |
70 |
71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 |
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
551 |
552 |
553 |
554 |
-------------------------------------------------------------------------------- /tables.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Tables - SB Admin 10 | 11 | 12 | 13 | 14 | 15 | 40 |
41 |
42 | 109 |
110 |
111 |
112 |
113 |

Tables

114 | 118 |
119 |
120 | DataTables is a third party plugin that is used to generate the demo table below. For more information about DataTables, please visit the 121 | official DataTables documentation 122 | . 123 |
124 |
125 |
126 |
127 | 128 | DataTable Example 129 |
130 |
131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 |
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
611 |
612 |
613 |
614 |
615 | 627 |
628 |
629 | 630 | 631 | 632 | 633 | 634 | 635 | --------------------------------------------------------------------------------