This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
95 lines (89 loc) · 5.75 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
session_start(['read_and_close' => true]);
require_once('config.php');
$TITLE = '首頁';
$IMG = "https://$DOMAIN/assets/img/og.png";
?>
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<?php include('includes/head.php'); ?>
<script src="/assets/js/index.js"></script>
</head>
<body>
<?php include('includes/nav.php'); ?>
<header class="ts fluid vertically padded heading slate">
<div class="ts narrow container">
<h1 class="ts header"><?= SITENAME ?></h1>
<div class="description">不要問為何沒有人審文,先承認你就是沒有人。</div>
</div>
</header>
<div class="ts container" name="main">
<h2 class="ts header">社群平台</h2>
<div class="icon-row">
<a id="telegram-icon" class="ts link tiny rounded image" target="_blank" href="https://t.me/CrushNCTU" ><img src="https://image.flaticon.com/icons/svg/2111/2111646.svg" alt="Telegram" ></a>
<a id="facebook-icon" class="ts link tiny rounded image" target="_blank" href="https://www.facebook.com/CrushNCTU" ><img src="https://image.flaticon.com/icons/svg/220/220200.svg" alt="Facebook" ></a>
</div>
<h2 class="ts header">審文機制</h2>
<div id="review-content" style="height: 320px; overflow-y: hidden;">
<p>新版<?= SITENAME ?> 採自助式審文,所有交大師生皆可加入審核者的行列,以下是系統判斷標準</p>
<h4>(A) 具名投稿</h4>
<p>如在 5 分鐘內無 <button class="ts vote negative button">駁回</button>,免審核即自動發出,詳細判斷條件如下:</p>
<ul>
<li>等待審核至少 5 分鐘</li>
<li><button class="ts vote positive button">通過</button> 不少於 <button class="ts vote negative button">駁回</button></li>
</ul>
<h4>(B) 交大 IP 位址</h4>
<p>使用 113 位址投稿者,滿足以下條件即發出</p>
<ul>
<li>10 分鐘至 1 小時:<button class="ts vote positive button">通過</button> 比 <button class="ts vote negative button">駁回</button> 多 2 個</li>
<li>1 小時以後:<button class="ts vote positive button">通過</button> 不少於 <button class="ts vote negative button">駁回</button></p>
</ul>
<div class="ts negative raised compact segment">
<h5>例外狀況</h5>
<p>為避免非法文章意外通過,每天 02:00 - 08:00 門檻提升為 <button class="ts vote positive button">通過</button> 需比 <button class="ts vote negative button">駁回</button> 多 3 個</p>
</div>
<h4>(C) 使用台灣 IP 位址</h4>
<p>熱門投稿會快速登上版面,審核者們也有足夠時間找出惡意投稿,滿足以下<b>任一條件</b>即發出</p>
<ul>
<li>等待審核 10 分鐘:達到 5 個 <button class="ts vote positive button">通過</button> 且無 <button class="ts vote negative button">駁回</button></li>
<li>扣除 <button class="ts vote negative button">駁回</button> 後拿到足夠的 <button class="ts vote positive button">通過</button> 數<ul>
<li>20 分鐘至 1 小時:達到 7 個 <button class="ts vote positive button">通過</button></li>
<li>1 小時至 3 小時:達到 5 個 <button class="ts vote positive button">通過</button></li>
<li>3 小時以後:達到 3 個 <button class="ts vote positive button">通過</button></li>
</ul></li>
</ul>
<h4>(D) 境外 IP 位址</h4>
<p>尚未開放</p>
</div>
<div id="hide-box">
<big onclick="more();" style="cursor: pointer; color: black;">展開完整規則 <i class="dropdown icon"></i></big>
</div>
<div class="ts horizontal divider">現在開始</div>
<div class="ts fluid stackable buttons"><a class="ts massive positive button" href="/submit">我要投稿</a><a class="ts massive info button" href="/review">我想審核</a></div>
<?php if (!isset($USER)) { ?>
<h2 class="ts header">使用 Telegram 登入</h2>
<p>只要您曾綁定 NCTU 帳號,點擊下面按鈕即可以 Telegram 登入服務。</p>
<script async src="https://telegram.org/js/telegram-widget.js?7" data-telegram-login="CrushNCTUbot" data-size="large" data-auth-url="https://<?= DOMAIN ?>/login-tg" data-request-access="write"></script>
<?php } else if (!isset($USER['tg_id'])) { ?>
<h2 class="ts header">使用 Telegram 快速審核</h2>
<p>點擊下面按鈕即可綁定 Telegram 帳號,讓您收到最即時的投稿通知,並快速通過/駁回貼文。</p>
<script async src="https://telegram.org/js/telegram-widget.js?7" data-telegram-login="CrushNCTUbot" data-size="large" data-auth-url="https://<?= DOMAIN ?>/login-tg" data-request-access="write"></script>
<?php } else if ($USER['name'] == $USER['stuid']) { ?>
<h2 class="ts header">使用 Telegram 快速審核</h2>
<div class="ts positive message">
<div class="header">您已連結成功!</div>
<p>Tips: 使用 /name 指令即可修改您的暱稱</p>
</div>
<?php } ?>
<h2 class="ts header">排行榜</h2>
<p>排名積分會依時間遠近調整權重,正確的駁回 <a href="/deleted">已刪投稿</a> 將大幅提升排名。</p>
<p>您可以在 <a href="/ranking">這個頁面</a> 查看排行榜。</p>
<h2 class="ts header">服務聲明</h2>
<p>感謝您使用「<?= SITENAME ?>」(以下簡稱本網站),本網站之所有文章皆為不特定使用者自行投稿、不特定師生進行審核,並不代表本網站立場。</p>
<p>如有侵害您權益之貼文,麻煩寄信至服務團隊,將在最短時間協助您撤下貼文或進行澄清。</p>
<p>投稿者如散播不實訊息而遭司法單位追究,在司法機關提供調取票等充分條件下,本網站將依法提供 IP 位址配合偵辦,切勿以身試法。</p>
</div>
<?php include('includes/footer.php'); ?>
</body>
</html>