Sách Giáo Khoa Việt Nam - sachgiaokhoa.org

CodeIgniter 4 website:
- Catalog 999 SGK (lớp 1-12) từ API, lọc theo lớp/môn/NXB, tìm kiếm
- Trang chủ grouped browse (bậc học -> lớp -> môn, ưu tiên môn quan trọng)
- Chi tiết sách: metadata đầy đủ, cover nghệ thuật /thumb/{W}x{H}/
- Đọc online qua gate captcha + countdown, PDF viewer pdf.js
- Download: captcha + token một lần + auto cache-bust version
- Tự đồng bộ catalog/cover khi API thay đổi (refresh:catalog)
- Legal: DMCA, miễn trừ trách nhiệm, điều khoản, bảo mật, liên hệ
This commit is contained in:
sachgiaokhoaorg
2026-08-23 07:05:49 +00:00
commit e6b265db99
494 changed files with 134829 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
<?= $this->extend('layouts/main') ?>
<?= $this->section('content') ?>
<div class="legal-page">
<h1>Liên hệ &amp; Báo cáo vi phạm</h1>
<?php if ($sent): ?>
<div class="alert-box">✅ Cảm ơn bạn! Tin nhắn đã được ghi nhận. Chúng tôi sẽ phản hồi trong thời gian sớm nhất (thường trong 72 giờ với các báo cáo bản quyền).</div>
<?php endif; ?>
<?php if ($error): ?>
<div class="error-box"><?= esc($error) ?></div>
<?php endif; ?>
<p>Bạn có thể liên hệ chúng tôi về:</p>
<ul>
<li><strong>Báo cáo vi phạm bản quyền (DMCA):</strong> mô tả rõ tác phẩm và URL vi phạm;</li>
<li><strong>Lỗi kỹ thuật:</strong> liên kết hỏng, không xem/tải được sách;</li>
<li><strong>Đóng góp, góp ý</strong> cho website.</li>
</ul>
<form method="post" action="/lien-he">
<div class="form-group">
<label for="name">Họ và tên *</label>
<input type="text" id="name" name="name" required value="<?= esc(old('name')) ?>">
</div>
<div class="form-group">
<label for="email">Email *</label>
<input type="email" id="email" name="email" required value="<?= esc(old('email')) ?>">
</div>
<div class="form-group">
<label for="message">Nội dung *</label>
<textarea id="message" name="message" rows="6" required><?= esc(old('message')) ?></textarea>
</div>
<div class="honeypot">
<label>Website (để trống)</label>
<input type="text" name="website" tabindex="-1" autocomplete="off">
</div>
<button class="btn btn-primary" type="submit" name="submit" value="1">Gửi tin nhắn</button>
</form>
</div>
<?= $this->endSection() ?>