This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| header("Content-type: application/json; charset=utf-8"); | |
| /* something... */ | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="nav"> | |
| <div class="holder"> | |
| SIMPLE ROULETTE | |
| <div id="bal" style="float: right"></div> | |
| </div> | |
| </div> | |
| <div class="holder"> | |
| <div id="out">NUMBER</div> | |
| <div class="roulette"> | |
| <div class="timer" id="timer"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function dt_sort_up($a, $b){ | |
| if ($a['dt'] == $b['dt']) return 0; | |
| return (strtotime($a['dt']) < strtotime($b['dt'])) ? -1 : 1; | |
| } | |
| function dt_sort_down($a, $b){ | |
| if ($a['dt'] == $b['dt']) return 0; | |
| return (strtotime($a['dt']) > strtotime($b['dt'])) ? -1 : 1; | |
| } |
NewerOlder