index.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 lang="en">
  18. <head>
  19. <title>Forward Station Server</title>
  20. <meta charset="utf-8">
  21. <meta name="viewport" content="width=device-width, initial-scale=1">
  22. <!-- <link rel="stylesheet" type="text/css" href="css/styles.css"> -->
  23. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  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. </head>
  31. <style type="text/css">
  32. td.details-control {
  33. background: url('resources/details_open.png') no-repeat center center;
  34. cursor: pointer;
  35. }
  36. tr.shown td.details-control {
  37. background: url('resources/details_close.png') no-repeat center center;
  38. }
  39. </style>
  40. <style type="text/css">
  41. #example tbody tr:hover {
  42. background-color: cadetblue;
  43. cursor: pointer;
  44. }
  45. #example tr:hover td.sorting_1 {
  46. background-color: cadetblue;
  47. cursor: pointer;
  48. }
  49. #example th {
  50. background-color: #009688;
  51. }
  52. #vehicle tbody tr:hover {
  53. background-color: cadetblue;
  54. cursor: pointer;
  55. }
  56. #vehicle tr:hover td.sorting_1 {
  57. background-color: cadetblue;
  58. cursor: pointer;
  59. }
  60. #vehicle th {
  61. background-color: #009688;
  62. }
  63. #supplier tbody tr:hover {
  64. background-color: cadetblue;
  65. cursor: pointer;
  66. }
  67. #supplier tr:hover td.sorting_1 {
  68. background-color: cadetblue;
  69. cursor: pointer;
  70. }
  71. #supplier th {
  72. background-color: #009688;
  73. }
  74. </style>
  75. <body>
  76. <?php include "users.php" ?>
  77. </body>
  78. </html>