Auto commit: 2025-10-31T12:07:56.550Z
This commit is contained in:
parent
d2f126f856
commit
a8efae9688
182
assets/css/custom.css
Normal file
182
assets/css/custom.css
Normal file
@ -0,0 +1,182 @@
|
||||
|
||||
/*
|
||||
Custom Styles for 2-maktabxovos
|
||||
Palette:
|
||||
- Primary: #005A9C (Blue)
|
||||
- Secondary: #FDB813 (Yellow/Gold)
|
||||
- Background: #F8F9FA (Light Gray)
|
||||
- Surface: #FFFFFF (White)
|
||||
- Text: #212529 (Dark Gray)
|
||||
*/
|
||||
|
||||
/* --- Typography --- */
|
||||
body {
|
||||
font-family: 'Lato', sans-serif;
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, .navbar-brand {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.fw-medium {
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
/* --- General & Helpers --- */
|
||||
.section-padding {
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.bg-primary-gradient {
|
||||
background: linear-gradient(45deg, #005A9C, #003D6B);
|
||||
}
|
||||
|
||||
.bg-light-gray {
|
||||
background-color: #F8F9FA;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 0.5rem;
|
||||
padding: 12px 30px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #005A9C;
|
||||
border-color: #005A9C;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #004B80;
|
||||
border-color: #004B80;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: #FDB813;
|
||||
border-color: #FDB813;
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #EAA800;
|
||||
border-color: #EAA800;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
/* --- Header / Navbar --- */
|
||||
.navbar {
|
||||
padding: 1rem 0;
|
||||
transition: background-color 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 1.75rem;
|
||||
color: #005A9C !important;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link {
|
||||
color: #212529;
|
||||
font-weight: 600;
|
||||
margin: 0 10px;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link:hover,
|
||||
.navbar-nav .nav-link.active {
|
||||
color: #005A9C;
|
||||
}
|
||||
|
||||
/* --- Hero Section --- */
|
||||
.hero {
|
||||
padding: 120px 0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 300;
|
||||
max-width: 600px;
|
||||
margin: 20px auto 30px;
|
||||
}
|
||||
|
||||
/* --- News Section --- */
|
||||
.news-card .card-img-top {
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.news-card .card-title {
|
||||
color: #005A9C;
|
||||
}
|
||||
|
||||
.news-card .card-date {
|
||||
font-size: 0.85rem;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
/* --- Footer --- */
|
||||
.footer {
|
||||
background-color: #212529;
|
||||
color: #adb5bd;
|
||||
padding: 60px 0;
|
||||
}
|
||||
|
||||
.footer h5 {
|
||||
color: #FFFFFF;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #adb5bd;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.footer .social-icons a {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
background-color: #343a40;
|
||||
color: #FFFFFF;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.footer .social-icons a:hover {
|
||||
background-color: #005A9C;
|
||||
}
|
||||
|
||||
.footer .copyright {
|
||||
border-top: 1px solid #343a40;
|
||||
padding-top: 30px;
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
23
assets/js/main.js
Normal file
23
assets/js/main.js
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
// Smooth scrolling for anchor links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
||||
behavior: 'smooth'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Add a shadow to the navbar when scrolling
|
||||
window.addEventListener('scroll', function() {
|
||||
const navbar = document.querySelector('.navbar');
|
||||
if (window.scrollY > 50) {
|
||||
navbar.style.boxShadow = '0 2px 15px rgba(0,0,0,0.1)';
|
||||
navbar.style.backgroundColor = 'white';
|
||||
} else {
|
||||
navbar.style.boxShadow = 'none';
|
||||
navbar.style.backgroundColor = 'transparent';
|
||||
}
|
||||
});
|
||||
147
contact.php
Normal file
147
contact.php
Normal file
@ -0,0 +1,147 @@
|
||||
<?php
|
||||
$success_message = '';
|
||||
$error_message = '';
|
||||
$name = '';
|
||||
$email = '';
|
||||
$message = '';
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
// Ensure MailService is included. The path is relative to the current file.
|
||||
require_once __DIR__ . '/mail/MailService.php';
|
||||
|
||||
// Sanitize and retrieve form data
|
||||
$name = filter_var(trim($_POST['name']), FILTER_SANITIZE_STRING);
|
||||
$email = filter_var(trim($_POST['email']), FILTER_SANITIZE_EMAIL);
|
||||
$message = filter_var(trim($_POST['message']), FILTER_SANITIZE_STRING);
|
||||
|
||||
// Basic validation
|
||||
if (empty($name) || !filter_var($email, FILTER_VALIDATE_EMAIL) || empty($message)) {
|
||||
$error_message = 'Iltimos, barcha maydonlarni to‘g‘ri to‘ldiring.';
|
||||
} else {
|
||||
// Set the recipient email address.
|
||||
// For now, we let MailService use the default from .env
|
||||
$to = null;
|
||||
$subject = 'Maktab saytidan yangi xabar: ' . $name;
|
||||
|
||||
// Call the MailService to send the email
|
||||
$res = MailService::sendContactMessage($name, $email, $message, $to, $subject);
|
||||
|
||||
if (!empty($res['success'])) {
|
||||
$success_message = 'Xabaringiz muvaffaqiyatli yuborildi. Tez orada siz bilan bog‘lanamiz!';
|
||||
// Clear form fields on success
|
||||
$name = '';
|
||||
$email = '';
|
||||
$message = '';
|
||||
} else {
|
||||
// Log the actual error for the admin, but show a generic message to the user.
|
||||
error_log('MailService error: ' . ($res['error'] ?? 'Unknown error'));
|
||||
$error_message = 'Xabarni yuborishda xatolik yuz berdi. Iltimos, keyinroq qayta urinib ko‘ring yoki administrator bilan bog‘laning.';
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="uz">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Bog‘lanish - Maktab Nomi</title>
|
||||
<meta name="description" content="Biz bilan bog‘laning. Savol, taklif yoki fikrlaringizni yuboring.">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header class="bg-primary text-white py-3">
|
||||
<div class="container d-flex justify-content-between align-items-center">
|
||||
<a href="index.php" class="text-white text-decoration-none"><h1 class="h3 mb-0">Maktab Nomi</h1></a>
|
||||
<nav>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link text-white" href="index.php">Bosh sahifa</a></li>
|
||||
<li class="nav-item"><a class="nav-link text-white" href="index.php#about">Biz haqimizda</a></li>
|
||||
<li class="nav-item"><a class="nav-link text-white" href="index.php#teachers">O‘qituvchilar</a></li>
|
||||
<li class="nav-item"><a class="nav-link text-white" href="index.php#news">Yangiliklar</a></li>
|
||||
<li class="nav-item"><a class="nav-link text-white active" href="contact.php">Bog‘lanish</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body p-5">
|
||||
<h2 class="text-center mb-4">Biz bilan bog‘lanish</h2>
|
||||
<p class="text-center text-muted mb-5">Savol, taklif yoki hamkorlik uchun quyidagi formani to‘ldiring.</p>
|
||||
|
||||
<?php if ($success_message): ?>
|
||||
<div class="alert alert-success"><?php echo $success_message; ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if ($error_message): ?>
|
||||
<div class="alert alert-danger"><?php echo $error_message; ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="alert alert-warning">
|
||||
<strong>Diqqat:</strong> Bu test rejimida ishlamoqda. Xabarlar belgilangan manzilga yetib bormasligi mumkin. Iltimos, administrator sozlamalarni to'g'rilaguncha kutib turing.
|
||||
</div>
|
||||
|
||||
<form action="contact.php" method="POST">
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">To‘liq ismingiz</label>
|
||||
<input type="text" class="form-control" id="name" name="name" value="<?php echo htmlspecialchars($name); ?>" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">Email manzilingiz</label>
|
||||
<input type="email" class="form-control" id="email" name="email" value="<?php echo htmlspecialchars($email); ?>" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="message" class="form-label">Xabar matni</label>
|
||||
<textarea class="form-control" id="message" name="message" rows="5" required><?php echo htmlspecialchars($message); ?></textarea>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary btn-lg px-5">Yuborish</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer id="contact" class="bg-dark text-white pt-5 pb-4">
|
||||
<div class="container text-center text-md-start">
|
||||
<div class="row text-center text-md-start">
|
||||
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
|
||||
<h5 class="text-uppercase mb-4 font-weight-bold text-primary">Maktab Nomi</h5>
|
||||
<p>Bizning maktabimizda farzandingiz uchun yorqin kelajak, sifatli ta’lim va xavfsiz muhitni ta’minlaymiz.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3">
|
||||
<h5 class="text-uppercase mb-4 font-weight-bold text-primary">Tezkor havolalar</h5>
|
||||
<p><a href="index.php#about" class="text-white">Biz haqimizda</a></p>
|
||||
<p><a href="index.php#news" class="text-white">Yangiliklar</a></p>
|
||||
<p><a href="index.php#teachers" class="text-white">O‘qituvchilar</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
|
||||
<h5 class="text-uppercase mb-4 font-weight-bold text-primary">Bog‘lanish</h5>
|
||||
<p><i class="fas fa-home me-3"></i> O‘zbekiston, Toshkent, Mustaqillik k., 1</p>
|
||||
<p><i class="fas fa-envelope me-3"></i> info@maktab.uz</p>
|
||||
<p><i class="fas fa-phone me-3"></i> +998 71 234 56 78</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-4">
|
||||
<div class="text-center">
|
||||
<p>© <?php echo date("Y"); ?> Maktab Nomi. Barcha huquqlar himoyalangan.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
300
index.php
300
index.php
@ -1,150 +1,174 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
@ini_set('display_errors', '1');
|
||||
@error_reporting(E_ALL);
|
||||
@date_default_timezone_set('UTC');
|
||||
|
||||
$phpVersion = PHP_VERSION;
|
||||
$now = date('Y-m-d H:i:s');
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<!DOCTYPE html>
|
||||
<html lang="uz">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>New Style</title>
|
||||
<?php
|
||||
// Read project preview data from environment
|
||||
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
?>
|
||||
<?php if ($projectDescription): ?>
|
||||
<!-- Meta description -->
|
||||
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
||||
<!-- Open Graph meta tags -->
|
||||
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<!-- Twitter meta tags -->
|
||||
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ($projectImageUrl): ?>
|
||||
<!-- Open Graph image -->
|
||||
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<!-- Twitter image -->
|
||||
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<?php endif; ?>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- Meta Tags -->
|
||||
<title>2-maktabxovos</title>
|
||||
<meta name="description" content="Xovos tumanidagi 2-sonli umumta'lim maktabining rasmiy veb-sayti. Yangiliklar, o'qituvchilar, dars jadvallari va boshqalar.">
|
||||
<meta name="keywords" content="2-maktab, xovos, maktab sayti, ta'lim, o'qituvchilar, yangiliklar, dars jadvali, maktab hayoti, Built with Flatlogic Generator">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="2-maktabxovos">
|
||||
<meta property="og:description" content="Xovos tumanidagi 2-sonli umumta'lim maktabining rasmiy veb-sayti.">
|
||||
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:title" content="2-maktabxovos">
|
||||
<meta property="twitter:description" content="Xovos tumanidagi 2-sonli umumta'lim maktabining rasmiy veb-sayti.">
|
||||
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🏫</text></svg>">
|
||||
|
||||
<!-- Stylesheets -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
@keyframes bg-pan {
|
||||
0% { background-position: 0% 0%; }
|
||||
100% { background-position: 100% 100%; }
|
||||
}
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.loader {
|
||||
margin: 1.25rem auto 1.25rem;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
.hint {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
code {
|
||||
background: rgba(0,0,0,0.2);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
</style>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@500;700;800&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Header -->
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-lg fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="index.php">🏫 2-Maktab</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item"><a class="nav-link active" href="index.php">Bosh sahifa</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#about">Biz haqimizda</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#teachers">O'qituvchilar</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#news">Yangiliklar</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="contact.php">Bog'lanish</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your website…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
<!-- Hero Section -->
|
||||
<section id="home" class="hero text-center bg-primary-gradient">
|
||||
<div class="container">
|
||||
<h1 class="display-3">Xovos tumanidagi 2-sonli maktab</h1>
|
||||
<p class="lead fw-medium">Bilim va tarbiya maskani, yorqin kelajak poydevori.</p>
|
||||
<a href="#about" class="btn btn-secondary btn-lg">Ko'proq bilish</a>
|
||||
</div>
|
||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||
</section>
|
||||
|
||||
<!-- Latest News Section -->
|
||||
<section id="news" class="section-padding bg-light-gray">
|
||||
<div class="container">
|
||||
<div class="text-center mb-5">
|
||||
<h2 class="fw-bold">So'nggi Yangiliklar</h2>
|
||||
<p class="text-muted">Maktabimiz hayotidagi eng muhim voqealar</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- News Item 1 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card news-card h-100">
|
||||
<img src="https://picsum.photos/seed/school1/600/400" class="card-img-top" alt="Yangilik rasmi">
|
||||
<div class="card-body">
|
||||
<p class="card-date">30.10.2025</p>
|
||||
<h5 class="card-title">"Bilimlar kuni" tadbiri</h5>
|
||||
<p class="card-text">Maktabimizda yangi o'quv yili boshlanishi munosabati bilan tantanali tadbir bo'lib o'tdi.</p>
|
||||
<a href="#" class="btn btn-outline-primary btn-sm">Batafsil</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- News Item 2 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card news-card h-100">
|
||||
<img src="https://picsum.photos/seed/school2/600/400" class="card-img-top" alt="Yangilik rasmi">
|
||||
<div class="card-body">
|
||||
<p class="card-date">28.10.2025</p>
|
||||
<h5 class="card-title">Sport musobaqalari g'oliblari</h5>
|
||||
<p class="card-text">O'quvchilarimiz tuman miqyosidagi sport musobaqalarida faxrli o'rinlarni egallashdi.</p>
|
||||
<a href="#" class="btn btn-outline-primary btn-sm">Batafsil</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- News Item 3 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card news-card h-100">
|
||||
<img src="https://picsum.photos/seed/school3/600/400" class="card-img-top" alt="Yangilik rasmi">
|
||||
<div class="card-body">
|
||||
<p class="card-date">25.10.2025</p>
|
||||
<h5 class="card-title">Ochiq eshiklar kuni</h5>
|
||||
<p class="card-text">Ota-onalar uchun maktabimizda ochiq eshiklar kuni tashkil etildi va ular dars jarayonlari bilan tanishishdi.</p>
|
||||
<a href="#" class="btn btn-outline-primary btn-sm">Batafsil</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- About Us Snippet -->
|
||||
<section id="about" class="section-padding">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-6">
|
||||
<img src="https://picsum.photos/seed/school4/800/600" class="img-fluid rounded-3" alt="Maktab binosi">
|
||||
</div>
|
||||
<div class="col-lg-6 mt-4 mt-lg-0">
|
||||
<h2 class="fw-bold">Biz haqimizda</h2>
|
||||
<p class="text-muted">Maktabimiz 1985-yilda tashkil topgan bo'lib, o'zining boy tarixi va an'analariga ega. Bizning asosiy maqsadimiz - har bir o'quvchiga sifatli ta'lim berish, ularning individual qobiliyatlarini ro'yobga chiqarish va ularni mas'uliyatli fuqaro qilib tarbiyalashdir.</p>
|
||||
<p class="text-muted">Biz zamonaviy o'qitish metodologiyalaridan foydalanamiz va o'quvchilar uchun barcha sharoitlarni yaratishga intilamiz.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="contact" class="footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 mb-4 mb-lg-0">
|
||||
<h5 class="fw-bold">2-Maktab</h5>
|
||||
<p>Sifatli ta'lim va tarbiya orqali yorqin kelajak sari.</p>
|
||||
</div>
|
||||
<div class="col-lg-4 mb-4 mb-lg-0">
|
||||
<h5 class="fw-bold">Bog'lanish</h5>
|
||||
<ul class="list-unstyled">
|
||||
<li>Manzil: Xovos tumani, Mustaqillik ko'chasi, 1-uy</li>
|
||||
<li>Telefon: +998 72 123-45-67</li>
|
||||
<li>Email: info@2-maktab.uz</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h5 class="fw-bold">Ijtimoiy tarmoqlar</h5>
|
||||
<div class="social-icons">
|
||||
<a href="#" title="Telegram"><i data-feather="send"></i></a>
|
||||
<a href="#" title="Instagram"><i data-feather="instagram"></i></a>
|
||||
<a href="#" title="Facebook"><i data-feather="facebook"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
© <?php echo date("Y"); ?> 2-maktabxovos. Barcha huquqlar himoyalangan.
|
||||
<br>
|
||||
<small>Built with <a href="https://flatlogic.com" target="_blank">Flatlogic</a></small>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
<script>
|
||||
feather.replace();
|
||||
</script>
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user