123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <?php
- $i=null;
- function decimalAndNumberFormat1($number){
- $i = number_format(round($number,0));
- return $i;
- }
- function decimalAndNumberFormat2($number){
- $i = number_format(round($number,1),1);
- return $i;
- }
- function decimalAndNumberFormat3($number){
- $i = number_format(round($number,3));
- return $i;
- }
- function generate_password($length = 6){
- $chars = '0123456789';
- $str = '';
- $max = strlen($chars) - 1;
- for ($i=0; $i < $length; $i++)
- $str .= $chars[random_int(0, $max)];
- return $str;
- }
- ?>
- <!DOCTYPE html>
- <html lang="en" >
- <head>
- <meta charset="UTF-8">
- <title>Forward Staion Server</title>
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
- <link rel='stylesheet' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'>
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
- <!-- <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css"> -->
- <!-- Bootstrap 3.3.7 -->
- <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
- <!-- Font Awesome -->
- <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
- <!-- Ionicons -->
- <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
- <!-- Theme style -->
- <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
- <link rel="stylesheet" href="dist/css/style.css">
- <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
- <!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> -->
- <script src="bower_components/jquery/dist/jquery.min.js"></script>
- <script src="bower_components/raphael/raphael.min.js"></script>
- <script src="bower_components/morris.js/morris.min.js"></script>
- <script src="bower_components/moment/min/moment.min.js"></script>
- <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
- <!-- datepicker -->
- <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
- <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
- <!-- AdminLTE App -->
- <script src="dist/js/adminlte.min.js"></script>
- <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
- <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
- <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/jq-3.3.1/jszip-2.5.0/dt-1.10.18/b-1.5.6/b-flash-1.5.6/b-html5-1.5.6/b-print-1.5.6/sl-1.3.0/datatables.min.css"/>
- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script>
- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script>
- <script type="text/javascript" src="https://cdn.datatables.net/v/bs4/jq-3.3.1/jszip-2.5.0/dt-1.10.18/b-1.5.6/b-flash-1.5.6/b-html5-1.5.6/b-print-1.5.6/sl-1.3.0/datatables.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- var $targetElement = $("#mainNavMenu li a");
- $targetElement.click(function() {
- $targetElement.removeClass("changeColor");
- $(this).addClass("changeColor");
- });
- });
- </script>
- <link rel="stylesheet" href="css/style.css">
- <style type="text/css">
- td.details-control {
- background: url('resources/details_open.png') no-repeat center center;
- cursor: pointer;
- }
- tr.shown td.details-control {
- background: url('resources/details_close.png') no-repeat center center;
- }
- </style>
- <style type="text/css">
- #example tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #example tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #example th {
- background-color: #009688;
- }
- #vehicle tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #vehicle tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #vehicle th {
- background-color: #009688;
- }
- #supplier tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #supplier tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #supplier th {
- background-color: #009688;
- }
- </style>
- <style>
- iframe {
- /*float: left;*/
- height: 100vh; /* For 100% screen height */
- width: 100%; /* For 100% screen width */
- margin-right: 5px;
- border-style: none;
- /*border:1px solid green;*/
- }
- li.active >a{
- /*color: white;*/
- background: #009688;
- }
- </style>
- </head>
|