qiuwen-rnrs/reg.php

66 行
2.3 KiB
PHP

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<?php
error_reporting(0);
ini_set('display_errors', 0);
session_start();
$qwUserId = $_SESSION['qwUserId'] ?? '';
$qwUserName = $_SESSION['qwUserName'] ?? '';
require_once __DIR__ . \DIRECTORY_SEPARATOR . 'template.php';
require_once __DIR__ . \DIRECTORY_SEPARATOR . 'idd.php';
$qwIddSelect = returnIdd();
if (!isset($_SESSION['qwUserId']) || !isset($_SESSION['qwUserName'])) {
$dbconn = null;
refreshPage('/');
exit(1);
} else {
$pageContent = <<<EOF
<form id="exportForm" action="smsVerify.php" method="post">
<label for="checker"></label>
<input type="text" name="checker" id="checker" title="checker" value="1" />
<label for="stage"></label>
<input type="text" name="stage" id="stage" title="stage" value="reg" />
<p>
<em>您好,$qwUserName 。请输入实名信息。</em>
</p>
<p>
<em>接下来,您需要登记您的实名信息;您需要准备好手机号码以接收验证码。</em>
</p>
<p>
<em>我们不会在未经您允许的情况下,以违背《个人信息保护方针》的方式使用您的手机号码。</em>
</p>
<p>
<em>目前,本系统仅支持中国大陆手机号码(+86,暂不支持其他国家或地区的手机号码。</em>
</p>
<p>
<label for="input_idd">国际和地区区号</label>
$qwIddSelect
</p>
<p>
<label for="input_phonenumber">手机号</label>
<input type="text" name="input_phonenumber" id="input_phonenumber" />
<input type="button" id="button_acquirecode" value="获取验证码" />
</p>
<p>
<label for="input_code">验证码</label>
<input type="text" name="input_code" id="input_code" />
</p>
<p>
<input type="checkbox" name="check_ua" id="check_ua" />
<label for="check_ua">我同意求闻百科的<a href="https://www.qiuwenbaike.cn/wiki/QW:TOU" target="_blank">用户协议</a>和<a href="https://www.qiuwenbaike.cn/wiki/QW:PIPP" target="_blank">个人信息保护方针</a>,并确认我输入的实名信息准确无误。</label>
</p>
<p>
<input type="submit" id="button_submit" value="确认实名信息" />
</p>
</form>
<p>
<em>提示:若出现无法收到短信的情况,可能是受网络状况波动或短信发送频次上限影响,请一段时间后再试。</em>
</p>
EOF;
$pageContent .= regJS();
pageTemplate('登记实名信息', $pageContent);
}