Rename README.md to index.html#399
Open
Ibrahem775 wants to merge 1 commit intodrknzz:mainfrom
Open
Conversation
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>تحويل الرصيد العالمي</title>
<style>
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f0f0f0; }
.container { max-width: 500px; margin: 50px auto; padding: 20px; background-color: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
label { display: block; margin: 15px 0 5px; }
input, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
button { width: 100%; padding: 10px; background-color: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background-color: #45a049; }
</style>
</head>
<body>
<div class="container">
<h2>تحويل الرصيد العالمي</h2>
<form id="rechargeForm">
<label for="name">الاسم:</label>
<input type="text" id="name" name="name" required>
<label for="phone">رقم الهاتف:</label>
<input type="text" id="phone" name="phone" required>
<label for="country">اختر البلد:</label>
<select id="country" name="country" required>
<option value="السعودية">السعودية</option>
<option value="مصر">مصر</option>
<option value="الإمارات">الإمارات</option>
<option value="أوكرانيا">أوكرانيا</option> <!-- تمت إضافة أوكرانيا -->
<!-- إضافة المزيد من البلدان -->
</select>
<label for="lineType">نوع الخط:</label>
<select id="lineType" name="lineType" required>
<option value="GSM">GSM</option>
<option value="CDMA">CDMA</option>
<!-- إضافة المزيد إذا لزم الأمر -->
</select>
<label for="amount">الكمية المطلوبة:</label>
<input type="number" id="amount" name="amount" required>
<button type="submit">إرسال</button>
</form>
</div>
<script>
document.getElementById('rechargeForm').addEventListener('submit', function(event) {
event.preventDefault();
const name = document.getElementById('name').value;
const phone = document.getElementById('phone').value;
const country = document.getElementById('country').value;
const lineType = document.getElementById('lineType').value;
const amount = document.getElementById('amount').value;
const message = `الاسم: ${name}%0Aرقم الهاتف: ${phone}%0Aالبلد: ${country}%0Aنوع الخط: ${lineType}%0Aالكمية المطلوبة: ${amount}`;
const whatsappLink = `https://wa.me/905365919528?text=${message}`;
window.location.href = whatsappLink;
});
</script>
</body>
</html>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
تحويل الرصيد العالمي
الاسم: