first commit
This commit is contained in:
1311
resources/views/HomePage/home.blade.php
Normal file
1311
resources/views/HomePage/home.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
3
resources/views/HomePage/phone_user_attendance.blade.php
Normal file
3
resources/views/HomePage/phone_user_attendance.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
@foreach($phoneUsersAttendance as $index => $phone)
|
||||
{{ $phone }},
|
||||
@endforeach
|
158
resources/views/HomePage/script.blade.php
Normal file
158
resources/views/HomePage/script.blade.php
Normal file
@@ -0,0 +1,158 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
}
|
||||
});
|
||||
@if($canAttendance)
|
||||
timelast = Number('{{ $secondRealTime }}');
|
||||
setTimeSessionAttendance();
|
||||
@endif
|
||||
setTimeout(getDataAfterLoad(), 3000)
|
||||
|
||||
let timeRefreshTable = Number({{TIME_REFRESH_LOAD_DATA_AFTER}});
|
||||
setInterval(function () {
|
||||
if (timeRefreshTable > 0) {
|
||||
timeRefreshTable--;
|
||||
} else {
|
||||
getDataAfterLoad()
|
||||
timeRefreshTable = {{TIME_REFRESH_LOAD_DATA_AFTER}};
|
||||
}
|
||||
$(".coundown-time").html(timeRefreshTable);
|
||||
}, 1000);
|
||||
|
||||
});
|
||||
|
||||
function getDataAfterLoad() {
|
||||
$.ajax({
|
||||
url: '{{route('home.get_data_after_load')}}',
|
||||
type: 'post',
|
||||
success: function (data) {
|
||||
if (data.status == 2) {
|
||||
console.log("Lỗi")
|
||||
} else {
|
||||
$('#lich_su_thang').html(data.lich_su_thang)
|
||||
$('#table_trang_thai_momo').html(data.view_table_trang_thai_momo)
|
||||
$('#view_top_tuan').html(data.view_top_tuan)
|
||||
var countViews = Number({{ count(Config::get('constant.list_game')) }});
|
||||
for (let i = 1; i <= countViews; i++) {
|
||||
$('#table_account_' + i).html(data.view_table_account[i])
|
||||
}
|
||||
$('.setting_tiencuoc_1').html(data.tiencuoc_1)
|
||||
$('.setting_tiencuoc_2').html(data.tiencuoc_2)
|
||||
$('.setting_tiencuoc_3').html(data.tiencuoc_3)
|
||||
$('.setting_tiencuoc_4_1').html(data.tiencuoc_4_1)
|
||||
$('.setting_tiencuoc_4_2').html(data.tiencuoc_4_2)
|
||||
$('.setting_tiencuoc_4_3').html(data.tiencuoc_4_3)
|
||||
$('.setting_tiencuoc_5_1').html(data.tiencuoc_5_1)
|
||||
$('.setting_tiencuoc_5_2').html(data.tiencuoc_5_2)
|
||||
$('.setting_tiencuoc_5_3').html(data.tiencuoc_5_3)
|
||||
$('.setting_tiencuoc_6').html(data.tiencuoc_6)
|
||||
}
|
||||
},
|
||||
|
||||
error: function () {
|
||||
console.log("Lỗi")
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function socket(timelast) {
|
||||
$.ajax({
|
||||
url: '{{ route('home.attendance.realtime') }}',
|
||||
data: {time: timelast},
|
||||
type: 'post',
|
||||
success: function (data) {
|
||||
let result = JSON.parse(data);
|
||||
$('.diemdanh_users').html(result.count_users_attendance);
|
||||
$('#diemdanh_last').html(result.phone_win_latest);
|
||||
$('#diemdanh_id').html(result.session_current_code);
|
||||
$('#muc_users').html(result.phones_attendance);
|
||||
$('#mayman_log').html(result.view_list_session_past);
|
||||
$("#diemdanh_tongtien").html(result.total_amount);
|
||||
if (timelast % 10 == 0) {
|
||||
$("#thoigian_head").html(result.second_realtime);
|
||||
delete window.timelast;
|
||||
window.timelast = Number(result.second_realtime);
|
||||
}
|
||||
}, error: function (data) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
function setTimeSessionAttendance() {
|
||||
setInterval(function () {
|
||||
if (timelast > 0) {
|
||||
timelast--;
|
||||
} else {
|
||||
timelast = Number('{{ $timeEach }}');
|
||||
}
|
||||
$("#thoigian_head").html(timelast);
|
||||
$("#diemdanh_thoigian").html(timelast);
|
||||
if (timelast % 2 == 0)
|
||||
socket(timelast);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
function getRndInteger(min, max) {
|
||||
return Math.floor(Math.random() * (max - min)) + min;
|
||||
}
|
||||
|
||||
function diemdanh() {
|
||||
var num1 = getRndInteger(1, 9);
|
||||
var num2 = getRndInteger(1, 9);
|
||||
let phone = $("#phonevalue").val();
|
||||
var floatRegex = /^((\d+(\.\d *)?)|((\d*\.)?\d+))$/;
|
||||
var phoneRegex = /\(?([0-9]{3})\)?([ .-]?)([0-9]{3})\2([0-9]{4})/;
|
||||
if (phone.length <= 9 || !floatRegex.test(phone) || !phoneRegex.test(phone)) {
|
||||
alert(`Khong hop le`);
|
||||
return false;
|
||||
}
|
||||
|
||||
let person = prompt("Mã xác minh " + num1 + "+" + num2 + "= ?:", "");
|
||||
if (person == null || person != (num1 + num2)) {
|
||||
alert(`Bạn đã nhập sai phép tính. Vui lòng thử lại`);
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
url: '{{ route('home.attendance_session') }}',
|
||||
data: {phone: $("#phonevalue").val(), captcha: person},
|
||||
type: 'POST',
|
||||
success: function (data) {
|
||||
if (data.status == 2) {
|
||||
alert(data.message);
|
||||
} else {
|
||||
alert("Điểm danh thành công!");
|
||||
num1 = Number('{{ random_int(1,9) }}');
|
||||
num2 = Number('{{ random_int(1,9) }}');
|
||||
$("#phonevalue").val(``)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function diemDanhNgay(button) {
|
||||
|
||||
let phone = $('#PhoneDiemDanhNgay').first().val();
|
||||
if (phone.trim() == "") {
|
||||
alert("Bạn chưa nhập số điện thoại")
|
||||
return false;
|
||||
}
|
||||
$(button).attr('disabled', true);
|
||||
$(button).css('cursor', "not-allowed");
|
||||
$.ajax({
|
||||
url: '{{ route('home.attendance_date') }}',
|
||||
data: {phone: phone},
|
||||
type: 'POST',
|
||||
success: function (data) {
|
||||
alert(data.message)
|
||||
$("#PhoneDiemDanhNgay").val(``);
|
||||
$(button).removeAttr('disabled');
|
||||
$(button).css('cursor', "auto");
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
90
resources/views/HomePage/tab_attendance_session.blade.php
Normal file
90
resources/views/HomePage/tab_attendance_session.blade.php
Normal file
@@ -0,0 +1,90 @@
|
||||
@if(isset($checkCanAttendance) && $checkCanAttendance)
|
||||
<div class="row collapse show" id="diemDanhCard" style="">
|
||||
<div class="col-lg-12">
|
||||
<div class="body">
|
||||
<div class="text-center">
|
||||
|
||||
<font color="blue"><big><b>Điểm Danh Nhận Quà Miễn Phí</b></big></font>
|
||||
<br>
|
||||
<small><i class="fa fa-info-circle" aria-hidden="true"></i> Mã quà: <font
|
||||
color="orange"><b id="diemdanh_id">{{ $attendanceSessionCurrent->id }}</b></font></small><br>
|
||||
|
||||
<small><i class="fa fa-usd" aria-hidden="true"></i> Giá trị: <font color="Maroon">
|
||||
<!--<b id="">{{ number_format($setting['money_min']) }} ~ {{ number_format($setting['money_max']) }}</b> vnđ</font></small><br>-->
|
||||
<b id="">{{ number_format($setting['money_min']) }} ~ {{ number_format('100000') }}</b> vnđ</font></small><br>
|
||||
|
||||
<small><i class="fa fa-user" aria-hidden="true"></i>: <font color="333366"><b
|
||||
id="diemdanh_users" class="diemdanh_users">{{ $countUsersAttendance }}</b> người</font></small><br>
|
||||
|
||||
<small><i class="fa fa-clock-o" aria-hidden="true"></i> Quay thưởng sau: <font
|
||||
color="660000"><b
|
||||
id="diemdanh_thoigian">{{ $canAttendance ? $secondRealTime : $timeEach }}</b>
|
||||
giây</font></small><br>
|
||||
<small><i class="fa fa-star" aria-hidden="true"></i> Thắng phiên trước: <font
|
||||
color="333300"><b id="diemdanh_last">{{$phoneWinLatest}}</b></font></small><br>
|
||||
<small><i class="fa fa-bandcamp" aria-hidden="true"></i> Tổng tiền đã trao: <font color="blue"><b
|
||||
id="diemdanh_tongtien">{{ number_format($totalAmount) }}</b> VNĐ</font></small>
|
||||
<div class="form-group occard" id="occard">
|
||||
<label for="exampleInputEmail1">Số điện thoại:</label>
|
||||
<input type="text" class="form-control" id="phonevalue" aria-describedby="emailHelp"
|
||||
placeholder="03837755">
|
||||
<small id="emailHelp" class="form-text text-muted">Nhập số điện thoại của bạn để
|
||||
điểm danh.</small>
|
||||
<br>
|
||||
<button class="btn btn-success" data-toggle="modal" data-target="#modalDiemDanh"
|
||||
onclick="diemdanh()">Điểm danh
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-info"
|
||||
onclick="$('#muc_huongdan').show();$('#muc_users').hide();$('#muc_lichsu').hide();">
|
||||
Cách chơi
|
||||
</button>
|
||||
<button class="btn btn-dark" data-toggle="modal"
|
||||
onclick="$('#muc_huongdan').hide();$('#muc_users').hide();$('#muc_lichsu').show();">
|
||||
Lịch sử
|
||||
</button>
|
||||
<button class="btn btn-danger"
|
||||
onclick="$('#muc_huongdan').hide();$('#muc_users').show();$('#muc_lichsu').hide();">
|
||||
Danh sách
|
||||
</button>
|
||||
</div>
|
||||
<?php
|
||||
$time = (int) $timeEach;
|
||||
$startTime = $setting['start_time'];
|
||||
$endTime = $setting['end_time'];
|
||||
?>
|
||||
<div class="occho" id="muc_huongdan">
|
||||
- Mỗi phiên quà các bạn có {{ $time >= 86400 ? $time/86400 : ($time >= 3600 ? $time/3600 : $time/60) }} {{ $time >=86400 ? "ngày":($time >= 3600 ? "tiếng" : "phút") }} để điểm danh. <br>
|
||||
- Số điện thoại điểm danh phải chơi AUTOCLTXMOMO.CLUB ít nhất 1 lần trong ngày. Không giới hạn số
|
||||
lần điểm danh trong ngày. <br>
|
||||
- Khi hết thời gian, người may mắn sẽ nhận được số tiền của phiên đó. <br>
|
||||
- Game chỉ hoạt động từ <b>{{ \Carbon\Carbon::parse($startTime)->format('H:i') }} sáng</b> đến {{ \Carbon\Carbon::parse($endTime)->format('H:i') }} tối
|
||||
</div>
|
||||
|
||||
<div class="occho" id="muc_lichsu" style="display:none;">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover text-center">
|
||||
<thead>
|
||||
<tr role="row" class="bg-primary">
|
||||
<th class="text-center text-white">Mã</th>
|
||||
<th class="text-center text-white">SDT</th>
|
||||
<th class="text-center text-white">Mã GD</th>
|
||||
<th class="text-center text-white">VND</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="mayman_log">
|
||||
@include('HomePage.table_sessions_attendance')
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="occho" id="muc_users" style="display:none;">
|
||||
@foreach($usersAttendance as $userAttendance)
|
||||
{{ $userAttendance->getPhone() }},
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
42
resources/views/HomePage/table_account_1.blade.php
Normal file
42
resources/views/HomePage/table_account_1.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesChanLe = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_CHAN_LE)) && count($accountMomosGroupTypes->get(CONFIG_CHAN_LE)) > 0){
|
||||
$accountMomosGroupTypesChanLe = $accountMomosGroupTypes->get(CONFIG_CHAN_LE)->merge($accountMomosGroupTypesChanLe);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesChanLe) > 0)
|
||||
@foreach($accountMomosGroupTypesChanLe->take(5) as $rowChanLe)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $rowChanLe['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowChanLe['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowChanLe['color_tiencuoc'] }}">{{ number_format($rowChanLe['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowChanLe['color_countbank'] }}">{{ $rowChanLe['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td style="font-weight: bold;color: {{$rowChanLe['color_min']}}">{{ number_format($rowChanLe['min']) }} VNĐ</td>
|
||||
<td style="font-weight: bold;color: {{$rowChanLe['color_min']}}">{{ number_format($rowChanLe['max']) }} VNĐ</td>
|
||||
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
</tr>
|
||||
@endforeach
|
||||
@else{
|
||||
<td colspan="3" ><Mark>WEB ĐANG HẾT SỐ ĐỢI ADMIN THÊM SỐ !</Mark> </td>
|
||||
}
|
||||
@endif
|
39
resources/views/HomePage/table_account_2.blade.php
Normal file
39
resources/views/HomePage/table_account_2.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesTaiXiu = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_TAI_XIU)) && count($accountMomosGroupTypes->get(CONFIG_TAI_XIU)) > 0){
|
||||
$accountMomosGroupTypesTaiXiu = $accountMomosGroupTypes->get(CONFIG_TAI_XIU)->merge($accountMomosGroupTypesTaiXiu);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesTaiXiu) > 0)
|
||||
@foreach($accountMomosGroupTypesTaiXiu->take(5) as $rowTaiXiu)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $rowTaiXiu['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowTaiXiu['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowTaiXiu['color_tiencuoc'] }}">{{ number_format($rowTaiXiu['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowTaiXiu['color_countbank'] }}">{{ $rowTaiXiu['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($rowTaiXiu['min']) }} VNĐ</td>
|
||||
<td> {{ number_format($rowTaiXiu['max']) }} VNĐ</td>
|
||||
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
39
resources/views/HomePage/table_account_3.blade.php
Normal file
39
resources/views/HomePage/table_account_3.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesTaiXiu2 = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_CHAN_LE_TAI_XIU_2)) && count($accountMomosGroupTypes->get(CONFIG_CHAN_LE_TAI_XIU_2)) > 0){
|
||||
$accountMomosGroupTypesTaiXiu2 = $accountMomosGroupTypes->get(CONFIG_CHAN_LE_TAI_XIU_2)->merge($accountMomosGroupTypesTaiXiu2);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesTaiXiu2) > 0)
|
||||
@foreach($accountMomosGroupTypesTaiXiu2->take(5) as $rowChanLe2)
|
||||
<tr>
|
||||
<td id="p_28"><b id="ducnghia_28"
|
||||
style="position: relative;">{{ $rowChanLe2['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowChanLe2['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowChanLe2['color_tiencuoc'] }}">{{ number_format($rowChanLe2['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowChanLe2['color_countbank'] }}">{{ $rowChanLe2['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($rowChanLe2['min']) }} VNĐ</td>
|
||||
<td>{{ number_format($rowChanLe2['max']) }} VNĐ</td>
|
||||
|
||||
</tr>
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
@endforeach
|
||||
@endif
|
39
resources/views/HomePage/table_account_4.blade.php
Normal file
39
resources/views/HomePage/table_account_4.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesGap3 = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_GAP_3)) && count($accountMomosGroupTypes->get(CONFIG_GAP_3)) > 0){
|
||||
$accountMomosGroupTypesGap3 = $accountMomosGroupTypes->get(CONFIG_GAP_3)->merge($accountMomosGroupTypesGap3);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesGap3) > 0)
|
||||
@foreach($accountMomosGroupTypesGap3->take(5) as $rowGap3)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $rowGap3['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowGap3['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowGap3['color_tiencuoc'] }}">{{ number_format($rowGap3['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowGap3['color_countbank'] }}">{{ $rowGap3['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($rowGap3['min']) }} VNĐ</td>
|
||||
<td>{{ number_format($rowGap3['max']) }} VNĐ</td>
|
||||
|
||||
</tr>
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
@endforeach
|
||||
@endif
|
39
resources/views/HomePage/table_account_5.blade.php
Normal file
39
resources/views/HomePage/table_account_5.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesTong3So = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_TONG_3_SO)) && count($accountMomosGroupTypes->get(CONFIG_TONG_3_SO)) > 0){
|
||||
$accountMomosGroupTypesTong3So = $accountMomosGroupTypes->get(CONFIG_TONG_3_SO)->merge($accountMomosGroupTypesTong3So);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesTong3So) > 0)
|
||||
@foreach($accountMomosGroupTypesTong3So->take(5) as $rowTong3So)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $rowTong3So['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowTong3So['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowTong3So['color_tiencuoc'] }}">{{ number_format($rowTong3So['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowTong3So['color_countbank'] }}">{{ $rowTong3So['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($rowTong3So['min']) }} VNĐ</td>
|
||||
<td> {{ number_format($rowTong3So['max']) }} VNĐ</td>
|
||||
|
||||
</tr>
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
@endforeach
|
||||
@endif
|
39
resources/views/HomePage/table_account_6.blade.php
Normal file
39
resources/views/HomePage/table_account_6.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypes1Phan3 = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_1_PHAN_3)) && count($accountMomosGroupTypes->get(CONFIG_1_PHAN_3)) > 0){
|
||||
$accountMomosGroupTypes1Phan3 = $accountMomosGroupTypes->get(CONFIG_1_PHAN_3)->merge($accountMomosGroupTypes1Phan3);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypes1Phan3) > 0)
|
||||
@foreach($accountMomosGroupTypes1Phan3->take(5) as $row1Phan3)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $row1Phan3['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $row1Phan3['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $row1Phan3['color_tiencuoc'] }}">{{ number_format($row1Phan3['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $row1Phan3['color_countbank'] }}">{{ $row1Phan3['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($row1Phan3['min']) }} VNĐ</td>
|
||||
<td> {{ number_format($row1Phan3['max']) }} VNĐ</td>
|
||||
|
||||
</tr>
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
@endforeach
|
||||
@endif
|
39
resources/views/HomePage/table_account_7.blade.php
Normal file
39
resources/views/HomePage/table_account_7.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
$accountMomosGroupTypesLo = $accountMomosGroupTypesAllGames;
|
||||
if (!is_null($accountMomosGroupTypes->get(CONFIG_GAME_LO)) && count($accountMomosGroupTypes->get(CONFIG_GAME_LO)) > 0){
|
||||
$accountMomosGroupTypesLo = $accountMomosGroupTypes->get(CONFIG_GAME_LO)->merge($accountMomosGroupTypesLo);
|
||||
}
|
||||
@endphp
|
||||
@if(count($accountMomosGroupTypesLo) > 0)
|
||||
@foreach($accountMomosGroupTypesLo->take(5) as $rowLo)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27"
|
||||
style="position: relative;">{{ $rowLo['sdt'] }} <span
|
||||
class="label label-success text-uppercase"
|
||||
onclick="coppy('{{ $rowLo['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span>
|
||||
<b style="position: absolute;
|
||||
top: 15px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 7.5px;">
|
||||
<font color="{{ $rowLo['color_tiencuoc'] }}">{{ number_format($rowLo['sumTienCuoc']) }}</font>/
|
||||
<font color="6861b1">30M</font>|
|
||||
<font color="{{ $rowLo['color_countbank'] }}">{{ $rowLo['countbank'] }}</font>/
|
||||
<font color="6861b1">{{ CONFIG_LIMIT_LAN_BANK }}</font>
|
||||
</b>
|
||||
</b>
|
||||
</td>
|
||||
<td>{{ number_format($rowLo['min']) }} VNĐ</td>
|
||||
<td> {{ number_format($rowLo['max']) }} VNĐ</td>
|
||||
|
||||
</tr>
|
||||
@php
|
||||
$dem ++;
|
||||
@endphp
|
||||
@endforeach
|
||||
@endif
|
42
resources/views/HomePage/table_lich_su_thang.blade.php
Normal file
42
resources/views/HomePage/table_lich_su_thang.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<center class="" style="width: 76%;
|
||||
margin: auto;">
|
||||
<marquee><b>
|
||||
@foreach($ListLichSuChoiMomo as $row)
|
||||
Chúc mừng <font color="blue">{{ $row->sdt_hidden }}</font> thắng lớn nhận <font
|
||||
color="green">{{ number_format($row->tiennhan) }}
|
||||
</font> VNĐ. |
|
||||
@endforeach
|
||||
.</b></marquee>
|
||||
</center>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover text-center">
|
||||
<thead>
|
||||
<tr role="row" class="bg-primary2">
|
||||
<th class="text-center text-white">Thời gian</th>
|
||||
<th class="text-center text-white">Số điện thoại</th>
|
||||
<th class="text-center text-white">Tiền cược</th>
|
||||
<th class="text-center text-white">Tiền nhận</th>
|
||||
<th class="text-center text-white">Trò chơi</th>
|
||||
<th class="text-center text-white">Nội dung</th>
|
||||
<th class="text-center text-white">trạng thái</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody role="alert" aria-live="polite" aria-relevant="all" class="">
|
||||
@foreach($ListLichSuChoiMomo as $row)
|
||||
<tr>
|
||||
<td>{{ $row->created_at }}</td>
|
||||
<td>{{ $row->sdt_hidden }}</td>
|
||||
<td>{{ number_format($row->tiencuoc) }}</td>
|
||||
<td>{{ number_format($row->tiennhan) }}</td>
|
||||
<td>{{ $row->trochoi }}</td>
|
||||
<td>{{ strtoupper ($row->noidung) }}</td>
|
||||
<td><span class="label label-success text-uppercase">
|
||||
Thắng
|
||||
</span></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
@@ -0,0 +1,8 @@
|
||||
@foreach($listSessionsPast as $sessionPast)
|
||||
<tr>
|
||||
<td><small>{{ $sessionPast->id }}</small></td>
|
||||
<td>{{ $sessionPast->getPhone() }}</td>
|
||||
<td><small>{{ $sessionPast->bill_code }}</small></td>
|
||||
<td>{{ number_format($sessionPast->amount) }} VNĐ</td>
|
||||
</tr>
|
||||
@endforeach
|
16
resources/views/HomePage/table_trang_thai_momo.blade.php
Normal file
16
resources/views/HomePage/table_trang_thai_momo.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@if(count($ListAccounts) > 0)
|
||||
@foreach($ListAccounts as $ListAccount)
|
||||
<tr>
|
||||
<td id="p_27"><b id="ducnghia_27">{{ $ListAccount['sdt'] }}</b> <span
|
||||
class="label label-{{ $ListAccount['status_class'] }} text-uppercase"
|
||||
onclick="coppy('{{ $ListAccount['sdt'] }}')"><i
|
||||
class="fa fa-clipboard" aria-hidden="true"></i></span></td>
|
||||
<td>
|
||||
<span class="label label-{{ $ListAccount['status_class'] }} text-uppercase">{{ $ListAccount['status_text'] }}</span>
|
||||
</td>
|
||||
{{-- <td>{{ \Carbon\Carbon::parse($ListAccount['created_at'])->format('d-m-Y H:o') }}</td>--}}
|
||||
<!--<td> {{ number_format($ListAccount['sumTienCuoc']) }} / {{ number_format($ListAccount['gioihan']) }} VNĐ</td>-->
|
||||
<td>{{ number_format($ListAccount['countbank']) }}/{{ CONFIG_LIMIT_LAN_BANK }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
23
resources/views/HomePage/top_tuan.blade.php
Normal file
23
resources/views/HomePage/top_tuan.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@php
|
||||
$dem = 0;
|
||||
@endphp
|
||||
@foreach($UserTopTuan as $phone => $tiencuoc)
|
||||
@php
|
||||
$dem++;
|
||||
@endphp
|
||||
<div class="row">
|
||||
<div class="col-xs-1">
|
||||
<span class="fa-stack">
|
||||
<span class="fa fa-circle fa-stack-2x text-danger"></span>
|
||||
<strong class="fa-stack-1x text-white">{{ $dem }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2">
|
||||
<span class="label label-success">{{ $phone }}</span>
|
||||
</div>
|
||||
<div class="col-xs-5 text-right">
|
||||
<span class="label label-danger">{{ number_format($tiencuoc) }} vnđ</span>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
Reference in New Issue
Block a user