shiftTankReport.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. $i=null;
  3. function decimalAndNumberFormat1($number){
  4. $i = number_format(round($number,0));
  5. return $i;
  6. }
  7. function decimalAndNumberFormat2($number){
  8. $i = number_format(round($number,1),1);
  9. return $i;
  10. }
  11. function decimalAndNumberFormat3($number){
  12. $i = number_format(round($number,3));
  13. return $i;
  14. }
  15. ?>
  16. <!DOCTYPE html>
  17. <html>
  18. <head>
  19. <meta charset="utf-8">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  21. <title>Forward Station Server</title>
  22. <!-- Tell the browser to be responsive to screen width -->
  23. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  24. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  25. <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
  26. <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
  27. <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" charset="utf-8"></script>
  28. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  29. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
  30. <!-- Bootstrap 3.3.7 -->
  31. <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  32. <!-- Font Awesome -->
  33. <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  34. <!-- Ionicons -->
  35. <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  36. <!-- Theme style -->
  37. <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  38. <link rel="stylesheet" href="dist/css/style.css">
  39. <!-- <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css"> -->
  40. <!-- Morris chart -->
  41. <link rel="stylesheet" href="bower_components/morris.js/morris.css">
  42. <!-- jvectormap -->
  43. <link rel="stylesheet" href="bower_components/jvectormap/jquery-jvectormap.css">
  44. <!-- Date Picker -->
  45. <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  46. <!-- Daterange picker -->
  47. <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css">
  48. <!-- bootstrap wysihtml5 - text editor -->
  49. <link rel="stylesheet" href="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  50. <!-- Google Font -->
  51. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  52. <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
  53. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  54. </head>
  55. <body class="hold-transition skin-blue sidebar-mini">
  56. <div class="wrapper">
  57. <?php include("main_header.php");?>
  58. <!-- Content Wrapper. Contains page content -->
  59. <div class="content-wrapper">
  60. <form>
  61. <input type="date" name="selectDateToFind">
  62. <input class="btn btn-primary" type="submit" value="Find">
  63. </form>
  64. <table id="example" class="table display table-striped table-bordered table-hover table-sm" cellspacing="0" width="100%">
  65. <?php include "api/v1/ShiftTankReport/shiftTankVw1.php"; ?>
  66. <?php include "api/v1/ShiftTankReport/shiftTankReport1.php"; ?>
  67. <?php include "api/v1/ShiftTankReport/shiftTankVw2.php"; ?>
  68. <?php include "api/v1/ShiftTankReport/shiftTankReport2.php"; ?>
  69. <?php include "api/v1/ShiftTankReport/shiftTankVw3.php"; ?>
  70. <?php include "api/v1/ShiftTankReport/shiftTankReport3.php"; ?>
  71. </table>
  72. </div>
  73. <!-- /.content-wrapper -->
  74. </div>
  75. <!-- ./wrapper -->
  76. <!-- jQuery 3 -->
  77. <script src="bower_components/jquery/dist/jquery.min.js"></script>
  78. <script>
  79. $.widget.bridge('uibutton', $.ui.button);
  80. </script>
  81. <!-- Bootstrap 3.3.7 -->
  82. <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  83. <!-- Morris.js charts -->
  84. <script src="bower_components/raphael/raphael.min.js"></script>
  85. <script src="bower_components/morris.js/morris.min.js"></script>
  86. <script src="bower_components/moment/min/moment.min.js"></script>
  87. <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  88. <!-- datepicker -->
  89. <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
  90. <!-- Bootstrap WYSIHTML5 -->
  91. <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
  92. <!-- Slimscroll -->
  93. <!-- FastClick -->
  94. <script src="bower_components/fastclick/lib/fastclick.js"></script>
  95. <!-- AdminLTE App -->
  96. <script src="dist/js/adminlte.min.js"></script>
  97. <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
  98. <script src="dist/js/pages/dashboard.js"></script>
  99. <!-- AdminLTE for demo purposes -->
  100. <script src="dist/js/demo.js"></script>
  101. </body>
  102. </html>
  103. <!-- -->