syrianpoundpulse / index.html
halil339's picture
فقط الليرة السوري حساب تجريبي وحساب حقيقي
8fb8dc0 verified
Raw History Blame Contribute Delete
18.8 kB
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SyrianPoundPulse - تداول بالليرة السوري</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns/dist/chartjs-adapter-date-fns.bundle.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');
body {
font-family: 'Tajawal', sans-serif;
}
.candle-chart {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
</style>
</head>
<body class="bg-gray-900 text-white">
<!-- Header -->
<header class="gradient-bg shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4 space-x-reverse">
<div class="w-12 h-12 bg-white rounded-full flex items-center justify-center">
<span class="text-2xl">🇸🇾</span>
</div>
<div>
<h1 class="text-2xl font-bold">SyrianPoundPulse</h1>
<p class="text-blue-100">مراقبة وتداول الليرة السورية</p>
</div>
</div>
<nav class="hidden md:flex space-x-6 space-x-reverse">
<a href="#" class="hover:text-blue-200 transition-colors">الرئيسية</a>
<a href="#" class="hover:text-blue-200 transition-colors">الرسوم البيانية</a>
<a href="#" class="hover:text-blue-200 transition-colors">التداول</a>
<a href="#" class="hover:text-blue-200 transition-colors">الأسعار</a>
<a href="demo.html" class="hover:text-blue-200 transition-colors">حساب تجريبي</a>
<a href="real.html" class="hover:text-blue-200 transition-colors">حساب حقيقي</a>
</nav>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Price Overview -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="glass-effect rounded-xl p-6 text-center">
<div class="flex items-center justify-center mb-4">
<i data-feather="trending-up" class="w-8 h-8 text-green-400 mr-2"></i>
<h3 class="text-xl font-semibold">سعر الشراء</h3>
</div>
<p class="text-3xl font-bold text-green-400" id="buyPrice">4,250 ل.س</p>
<p class="text-gray-400 mt-2">للدولار الأمريكي</p>
</div>
<div class="glass-effect rounded-xl p-6 text-center">
<div class="flex items-center justify-center mb-4">
<i data-feather="trending-down" class="w-8 h-8 text-red-400 mr-2"></i>
<h3 class="text-xl font-semibold">سعر البيع</h3>
</div>
<p class="text-3xl font-bold text-red-400" id="sellPrice">4,300 ل.س</p>
<p class="text-gray-400 mt-2">للدولار الأمريكي</p>
</div>
<div class="glass-effect rounded-xl p-6 text-center">
<div class="flex items-center justify-center mb-4">
<i data-feather="activity" class="w-8 h-8 text-blue-400 mr-2"></i>
<h3 class="text-xl font-semibold">التغير</h3>
</div>
<p class="text-3xl font-bold text-blue-400" id="change">+50 ل.س</p>
<p class="text-gray-400 mt-2">(+1.18%)</p>
</div>
</div>
<!-- Chart Section -->
<div class="glass-effect rounded-xl p-6 mb-8">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">الرسم البياني الشموعي</h2>
<div class="flex space-x-2 space-x-reverse">
<button class="px-4 py-2 bg-blue-600 rounded-lg hover:bg-blue-700 transition-colors">1D</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg hover:bg-gray-600 transition-colors">1W</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg hover:bg-gray-600 transition-colors">1M</button>
<button class="px-4 py-2 bg-gray-700 rounded-lg hover:bg-gray-600 transition-colors">1Y</button>
</div>
</div>
<div class="candle-chart rounded-lg p-4">
<canvas id="candleChart" height="400"></canvas>
</div>
</div>
<!-- Trading Platform -->
<div class="glass-effect rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">منصة التداول بالشموع</h2>
<div class="flex space-x-2 space-x-reverse">
<a href="demo.html" class="px-4 py-2 bg-blue-600 rounded-lg hover:bg-blue-700 transition-colors">حساب تجريبي</a>
<a href="real.html" class="px-4 py-2 bg-green-600 rounded-lg hover:bg-green-700 transition-colors">حساب حقيقي</a>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Order Book -->
<div class="lg:col-span-1">
<h3 class="text-xl font-bold mb-4">دفتر الطلبات</h3>
<div class="space-y-2">
<div class="flex justify-between items-center p-3 bg-red-900/20 rounded-lg">
<span class="text-red-400">4,305</span>
<span class="text-gray-400">50</span>
</div>
<div class="flex justify-between items-center p-3 bg-red-900/20 rounded-lg">
<span class="text-red-400">4,300</span>
<span class="text-gray-400">100</span>
</div>
<div class="flex justify-between items-center p-3 bg-red-900/10 rounded-lg">
<span class="text-red-400">4,295</span>
<span class="text-gray-400">75</span>
</div>
</div>
<div class="my-4 border-t border-gray-600 pt-4">
<div class="text-center text-lg font-bold text-gray-300">4,275</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-center p-3 bg-green-900/10 rounded-lg">
<span class="text-gray-400">25</span>
<span class="text-green-400">4,250</span>
</div>
<div class="flex justify-between items-center p-3 bg-green-900/20 rounded-lg">
<span class="text-gray-400">150</span>
<span class="text-green-400">4,245</span>
</div>
<div class="flex justify-between items-center p-3 bg-green-900/20 rounded-lg">
<span class="text-gray-400">80</span>
<span class="text-green-400">4,240</span>
</div>
</div>
</div>
<!-- Trading Chart -->
<div class="lg:col-span-2">
<div class="candle-chart rounded-lg p-4">
<canvas id="tradingChart" height="400"></canvas>
</div>
<!-- Trading Controls -->
<div class="grid grid-cols-2 gap-4 mt-6">
<div>
<label class="block text-sm font-medium mb-2">المبلغ (دولار)</label>
<input type="number" class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="أدخل المبلغ" value="100">
</div>
<div>
<label class="block text-sm font-medium mb-2">السعر (ليرة سورية)</label>
<input type="number" class="w-full bg-gray-800 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="أدخل السعر" value="4250">
</div>
</div>
<div class="flex space-x-4 space-x-reverse mt-4">
<button class="flex-1 py-3 bg-green-600 rounded-lg font-semibold hover:bg-green-700 transition-colors">
شراء
</button>
<button class="flex-1 py-3 bg-red-600 rounded-lg font-semibold hover:bg-red-700 transition-colors">
بيع
</button>
</div>
</div>
</div>
<!-- Recent Trades -->
<div class="mt-8">
<h3 class="text-xl font-bold mb-4">الصفقات الأخيرة</h3>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-green-900/20 rounded-lg p-4 text-center">
<p class="text-green-400 font-semibold">شراء</p>
<p class="text-2xl">4,250</p>
<p class="text-gray-400">100 دولار</p>
</div>
<div class="bg-red-900/20 rounded-lg p-4 text-center">
<p class="text-red-400 font-semibold">بيع</p>
<p class="text-2xl">4,300</p>
<p class="text-gray-400">50 دولار</p>
</div>
<div class="bg-green-900/20 rounded-lg p-4 text-center">
<p class="text-green-400 font-semibold">شراء</p>
<p class="text-2xl">4,245</p>
<p class="text-gray-400">200 دولار</p>
</div>
<div class="bg-red-900/20 rounded-lg p-4 text-center">
<p class="text-red-400 font-semibold">بيع</p>
<p class="text-2xl">4,295</p>
<p class="text-gray-400">75 دولار</p>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="gradient-bg mt-12 py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-8">
<div class="text-center md:text-right">
<h3 class="text-lg font-bold mb-4">أنواع الحسابات</h3>
<ul class="space-y-2">
<li><a href="demo.html" class="text-blue-100 hover:text-white transition-colors">حساب تجريبي</a></li>
<li><a href="real.html" class="text-blue-100 hover:text-white transition-colors">حساب حقيقي</a></li>
</ul>
</div>
<div class="text-center">
<h3 class="text-lg font-bold mb-4">روابط سريعة</h3>
<ul class="space-y-2">
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">الرئيسية</a></li>
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">الرسوم البيانية</a></li>
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">التداول</a></li>
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">الأسعار</a></li>
</ul>
</div>
<div class="text-center md:text-left">
<h3 class="text-lg font-bold mb-4">الدعم الفني</h3>
<ul class="space-y-2">
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">اتصل بنا</a></li>
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">الأسئلة الشائعة</a></li>
<li><a href="#" class="text-blue-100 hover:text-white transition-colors">الشروط والأحكام</a></li>
</ul>
</div>
</div>
<div class="text-center border-t border-blue-400/30 pt-6">
<p class="text-blue-100">© 2024 SyrianPoundPulse. جميع الحقوق محفوظة</p>
<p class="text-blue-200 mt-2">منصة تداول الليرة السورية - مراقبة الأسعار في الوقت الفعلي</p>
</div>
</div>
</footer>
<script>
// Initialize Feather Icons
feather.replace();
// Generate sample candle chart data
function generateCandleData() {
const data = [];
let basePrice = 4250;
const now = new Date();
for (let i = 30; i >= 0; i--) {
const date = new Date(now);
date.setDate(date.getDate() - i);
const open = basePrice + Math.random() * 100 - 50;
const close = open + Math.random() * 200 - 100;
const high = Math.max(open, close) + Math.random() * 50;
const low = Math.min(open, close) - Math.random() * 50;
data.push({
x: date,
o: Math.round(open),
h: Math.round(high),
l: Math.round(low),
c: Math.round(close)
});
basePrice = close;
}
return data;
}
// Initialize Main Candle Chart
const ctx = document.getElementById('candleChart').getContext('2d');
const candleData = generateCandleData();
new Chart(ctx, {
type: 'candlestick',
data: {
datasets: [{
label: 'سعر الليرة السورية',
data: candleData,
color: {
up: '#10b981',
down: '#ef4444',
unchanged: '#6b7280',
}
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
x: {
type: 'time',
time: {
unit: 'day'
},
reverse: true
},
y: {
beginAtZero: false,
reverse: false
}
},
plugins: {
legend: {
display: false
}
}
}
});
// Initialize Trading Platform Chart
const tradingCtx = document.getElementById('tradingChart').getContext('2d');
const tradingData = generateCandleData();
new Chart(tradingCtx, {
type: 'candlestick',
data: {
datasets: [{
label: 'سعر التداول',
data: tradingData,
color: {
up: '#10b981',
down: '#ef4444',
unchanged: '#6b7280',
}
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
x: {
type: 'time',
time: {
unit: 'hour'
},
reverse: true
},
y: {
beginAtZero: false,
reverse: false
}
},
plugins: {
legend: {
display: false
}
}
}
});
// Simulate real-time price updates
function updatePrices() {
const buyPrice = document.getElementById('buyPrice');
const sellPrice = document.getElementById('sellPrice');
const change = document.getElementById('change');
const randomChange = Math.random() * 100 - 50;
const newBuyPrice = 4250 + randomChange;
const newSellPrice = 4300 + randomChange;
buyPrice.textContent = Math.round(newBuyPrice) + ' ل.س';
sellPrice.textContent = Math.round(newSellPrice) + ' ل.س';
const changeAmount = Math.round(randomChange);
const changePercent = ((changeAmount / 4250) * 100).toFixed(2);
change.textContent = (changeAmount > 0 ? '+' : '') + changeAmount + ' ل.س';
change.className = `text-3xl font-bold ${changeAmount > 0 ? 'text-green-400' : changeAmount < 0 ? 'text-red-400' : 'text-blue-400'}`;
}
// Update prices every 5 seconds
setInterval(updatePrices, 5000);
</script>
</body>
</html>