Deploy: 2026-06-24 15:26:15
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WhatsApp Gateway Webhook Receiver & QR Code Viewer (6 Slots)
|
||||
* WhatsApp Gateway Webhook Receiver & QR Code Viewer (3 Slots)
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/../includes/Redis.php';
|
||||
@@ -45,7 +45,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
// Prepare slots data for UI
|
||||
$slots = [];
|
||||
for ($i = 1; $i <= 6; $i++) {
|
||||
for ($i = 1; $i <= 3; $i++) {
|
||||
$sk = "slot-{$i}";
|
||||
$slots[$sk] = [
|
||||
'status' => $redis->get("whatsapp:{$sk}:status") ?: 'disconnected',
|
||||
@@ -59,7 +59,7 @@ for ($i = 1; $i <= 6; $i++) {
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>إدارة أرقام بوابة الواتساب (6 جلسات) — Flash Call OTP</title>
|
||||
<title>إدارة أرقام بوابة الواتساب (3 جلسات) — Flash Call OTP</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap" rel="stylesheet">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
|
||||
<style>
|
||||
@@ -140,7 +140,7 @@ for ($i = 1; $i <= 6; $i++) {
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h1>إدارة أرقام بوابة الواتساب (6 جلسات)</h1>
|
||||
<h1>إدارة أرقام بوابة الواتساب (3 جلسات)</h1>
|
||||
<p>يتم توزيع رسائل الـ OTP تلقائياً على الأرقام المتصلة بالتناوب (Round-Robin).</p>
|
||||
<button class="refresh-btn global-refresh" onclick="window.location.reload();">تحديث جميع الحالات 🔄</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user