12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?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;
- }
- ?>
- <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
- <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
- <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" charset="utf-8"></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/3.4.0/js/bootstrap.min.js"></script>
- <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;
- }
- </style>
|