123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?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;
- }
- function dateFormatChanger($datetime) {
- $getDateTime = $datetime;
- $date = explode(' ', $getDateTime);
- $newDate = date("d-M-Y", strtotime($date[0]));
- $timezone = explode('+', $date[1]);
- $time = explode('.', $timezone[0]);
- return($newDate." ".$time[0]);
- }
- ?>
- <!DOCTYPE html>
- <html lang="en" >
- <head>
- <meta charset="UTF-8">
- <title>Forward Staion Server</title>
- <link rel = "icon" href = "img/Autoleum Logo.jpg" type = "image/x-icon">
- <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");
- });
- });
- $(document).ready(function(){
- var $targetElement = $("#mainSubMenu li a");
- $targetElement.click(function() {
- $targetElement.removeClass("change");
- $(this).addClass("change");
- });
- });
- </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;
- }
- td.delete{
- color:red;
- }
- td.delete i{
- /*color: red;*/
- font-size: 20px;
- }
- td.edit {
- color: rebeccapurple;
- }
- td.edit i{
- font-size: 15px;
- }
- </style>
- <style type="text/css">
- #example {
- padding: 10px;
- }
- #example tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #example tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #example th {
- background-color: #3C8DBC;
- color: white;
- font-size: 12px;
- }
- #example td {
- font-size: 12px;
- }
- #vehicle {
- padding: 10px;
- }
- #vehicle tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #vehicle tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #vehicle th {
- background-color: #3C8DBC;
- }
- #vehicle td {
- font-size: 12px;
- }
- #suplier {
- padding: 10px;
- }
- #supplier tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #supplier tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #supplier th {
- background-color: #3C8DBC;
- }
- #supplier td {
- font-size: 12px;
- }
- div.dt-buttons {
- float: right;
- margin:0 10px 0 10px;
- }
- </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;*/
- /*overflow: hidden;*/
- }
- </style>
- </head>
|