customers.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
  26. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
  27. <!-- Bootstrap 3.3.7 -->
  28. <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  29. <!-- Font Awesome -->
  30. <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  31. <!-- Ionicons -->
  32. <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  33. <!-- Theme style -->
  34. <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  35. <link rel="stylesheet" href="dist/css/style.css">
  36. <!-- <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css"> -->
  37. <!-- Morris chart -->
  38. <link rel="stylesheet" href="bower_components/morris.js/morris.css">
  39. <!-- jvectormap -->
  40. <link rel="stylesheet" href="bower_components/jvectormap/jquery-jvectormap.css">
  41. <!-- Date Picker -->
  42. <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  43. <!-- Daterange picker -->
  44. <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css">
  45. <!-- bootstrap wysihtml5 - text editor -->
  46. <link rel="stylesheet" href="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  47. <!-- Google Font -->
  48. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  49. <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
  50. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  51. <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
  52. <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
  53. <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" charset="utf-8"></script>
  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. <?php include "api/v1/Customers/customersDetails.php" ?>
  61. <?php include "api/v1/Customers/customersVw.php" ?>
  62. <?php echo lastErrormsg(); ?>
  63. </div>
  64. <!-- /.content-wrapper -->
  65. </div>
  66. <!-- ./wrapper -->
  67. <!-- jQuery 3 -->
  68. <script src="bower_components/jquery/dist/jquery.min.js"></script>
  69. <script>
  70. //$.widget.bridge('uibutton', $.ui.button);
  71. </script>
  72. <!-- Bootstrap 3.3.7 -->
  73. <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  74. <!-- Morris.js charts -->
  75. <script src="bower_components/raphael/raphael.min.js"></script>
  76. <script src="bower_components/morris.js/morris.min.js"></script>
  77. <script src="bower_components/moment/min/moment.min.js"></script>
  78. <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  79. <!-- datepicker -->
  80. <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
  81. <!-- Bootstrap WYSIHTML5 -->
  82. <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
  83. <!-- Slimscroll -->
  84. <!-- FastClick -->
  85. <script src="bower_components/fastclick/lib/fastclick.js"></script>
  86. <!-- AdminLTE App -->
  87. <script src="dist/js/adminlte.min.js"></script>
  88. <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
  89. <script src="dist/js/pages/dashboard.js"></script>
  90. <!-- AdminLTE for demo purposes -->
  91. <script src="dist/js/demo.js"></script>
  92. <script type="text/javascript">
  93. $(document).ready(function(){
  94. var $targetElement = $("#mainNavMenu li a");
  95. $targetElement.click(function() {
  96. $targetElement.removeClass("changeColor");
  97. $(this).addClass("changeColor");
  98. });
  99. });
  100. </script>
  101. </body>
  102. </html>
  103. <!-- -->