小胡 a3ed155c90
更新内容: (#284)
* 修复数据表格点击重置按钮后不按类型加载数据问题和添加刷新按钮

* 修复邮件发件人为空问题

* 修复分享文件在移动端无法打开文件夹问题

* 修复网盘应用在Linux环境下部分语言不能翻译的问题

* 重命名 dzz/explorer/language/zh-CN 为 dzz/explorer/language/zh-cn

* 修改php版本要求

* 优化在线升级页面UI,网盘新增群组空间大小修改

* 修改php版本要求

* Update core_version.php
2025-02-10 16:05:18 +08:00

227 lines
9.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--{template lyear:header_simple_start}-->
<script type="text/javascript" src="admin/scripts/admin.js?{VERHASH}"></script>
<!--日期选择器css-->
<link rel="stylesheet" type="text/css" href="static/lyear/js/bootstrap-datepicker/bootstrap-datepicker3.min.css?{VERHASH}">
<style>
.mod_validate td {
background: #dff0d8 !important;
}
.mod_refusal td {
background: #f2dede !important;
}
.table-sub tr {
height: 30px;
}
.table td img {
max-width: 50px;
max-height: 50px;
margin: 0px;
}
</style>
<!--{template lyear:header_simple_end}-->
<main class="bs-main-container">
<div class="container-fluid">
<div class="card">
<div class="card-body">
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link <!--{if $anchor=='authstr' }-->active<!--{/if}--> " href="{MOD_URL}&op=verify&anchor=authstr&vid=$vid">{lang members_verify_nav_authstr}</a>
</li>
<li class="nav-item">
<a class="nav-link <!--{if $anchor=='refusal' }-->active<!--{/if}-->" href="{MOD_URL}&op=verify&anchor=refusal&vid=$vid">{lang members_verify_nav_refusal}</a>
</li>
<!--{if $vid}-->
<li class="nav-item">
<a class="nav-link <!--{if $anchor=='pass' }-->active<!--{/if}-->" href="{MOD_URL}&op=verify&anchor=pass&vid=$vid">{lang already_passed}</a>
</li>
<!--{/if}-->
</ul>
</div>
</div>
<div class="card">
<div class="card-body">
<!--{if $list}-->
<form class="row gx-3 gy-2 align-items-center" action="{MOD_URL}" method="get">
<input type="hidden" name="mod" value="{MOD_NAME}">
<input type="hidden" name="op" value="verify">
<input type="hidden" name="vid" value="$vid">
<input type="hidden" name="anchor" value="$anchor">
<div class="col-sm-3">
<label class="visually-hidden" for="username">{lang user_name}*</label>
<input type="text" class="form-control" id="username" name="username" value="$_GET[username]" placeholder="{lang user_name}*">
</div>
<div class="col-sm-3">
<label class="visually-hidden" for="uid">UID</label>
<input type="text" class="form-control" id="uid" name="uid" value="$_GET['uid']" placeholder="UID">
</div>
<!--{if $anchor!='pass'}-->
<div class="col-sm-6">
<div class="input-group" data-provide="datepicker" data-language="zh_CN">
<span class="input-group-text"></span>
<input type="text" class="form-control" id="dateline1" name="dateline1" placeholder="{lang members_verify_dateline}" value="$_GET[dateline1]">
<span class="input-group-text"></span>
<input type="text" class="form-control" id="dateline2" name="dateline2" placeholder="{lang members_verify_dateline}" value="$_GET[dateline2]">
</div>
</div>
<!--{/if}-->
<div class="col-sm-3">
<label class="visually-hidden">{lang result_ranking}</label>
<select class="form-select" name="orderby">
<!--{if $anchor!='pass'}-->
<option value="dateline">{lang members_verify_dateline}</option>
<!--{else}-->
<option value="uid">UID</option>
<!--{/if}-->
</select>
</div>
<div class="col-sm-3">
<select name="ordersc" class="form-select">
<option value="desc" <!--{if $_GET[ordersc]=='desc' }-->selected="selected"<!--{/if}-->>{lang pass_subtract}</option>
<option value="asc" <!--{if $_GET[ordersc]=='asc' }-->selected="selected"<!--{/if}-->>{lang pass_add}</option>
</select>
</div>
<div class="col-sm-3">
<select name="perpage" class="form-select">
<option value="10" <!--{if $_GET[perpage]=='10' }-->selected="selected"<!--{/if}-->>{lang logs_lpp}10{lang individual}</option>
<option value="20" <!--{if $_GET[perpage]=='20' }-->selected="selected"<!--{/if}-->>{lang logs_lpp}20{lang individual}</option>
<option value="50" <!--{if $_GET[perpage]=='50' }-->selected="selected"<!--{/if}-->>{lang logs_lpp}50{lang individual}</option>
<option value="100" <!--{if $_GET[perpage]=='100' }-->selected="selected"<!--{/if}-->>{lang logs_lpp}100{lang individual}</option>
</select>
</div>
<dl class="mb-3 d-grid">
<button type="submit" name="searchsubmit" value="{lang search}" class="btn btn-primary btn-round bodyloading">{lang search}</button>
<span class="form-text">&nbsp;&nbsp;&nbsp;*{lang fuzzy_search}</span>
</dl>
</form>
<iframe id="frame_profile" name="frame_profile" style="display: none"></iframe>
<form id="cpform" action="{MOD_URL}&op=verify&" class="form-horizontal" method="post" name="cpform">
<input type="hidden" value="{FORMHASH}" name="formhash">
<input type="hidden" value="true" name="verifysubmit">
<input type="hidden" value="$vid" name="vid">
<input type="hidden" name="anchor" value="$anchor">
<div class="table-responsive">
<table class="table table-hover align-middle">
<!--{if $anchor!='pass'}-->
<thead>
<th width="90" style="text-align:center">{lang username}</th>
<th width="120">{lang members_verify_dateline}</th>
<th>{lang members_verify_info}</th>
</thead>
<!--{loop $list $value}-->
<tr id="mod_{$value[vid]}_row" verifyid="{$value[vid]}" class="hover">
<td width="90" align="center">$value[username]</td>
<td width="120">$value['dateline']</td>
<td>$value[fieldstr]</td>
</tr>
<!--{/loop}-->
<thead>
<td colspan="15">
<input type="submit" class="btn btn-primary bodyloading" id="submit_batchverifysubmit" name="batchverifysubmit" title="" value="{lang submit}"> &nbsp;
<a href="javascript:;" class="btn btn-outline-primary" onclick="mod_setbg_all('validate')">{lang all_validate}</a> &nbsp;
<a class="btn btn-outline-danger" href="javascript:;" onclick="mod_setbg_all('refusal')">{lang select_all_refuse}</a> &nbsp;
<a class="btn btn-outline-info" href="javascript:;" onclick="mod_cancel_all();">{lang cancel_select}</a>
$multi
</td>
</thead>
<!--{else}-->
<thead>
<th width="80"></th>
<th width="90" style="text-align:center">{lang username}</th>
<th>{lang members_verify_info}</th>
</thead>
<!--{loop $list $value}-->
<tr id="mod_{$value['uid']}_row" verifyid="{$value['uid']}" class="hover">
<td width="80">$value[opstr]</td>
<td width="90" align="center">$value[username]</td>
<td>$value[fieldstr]</td>
</tr>
<!--{/loop}-->
<thead>
<td colspan="15">
<input type="submit" class="btn btn-primary bodyloading" id="submit_batchverifysubmit" name="batchverifysubmit" title="" value="{lang submit}"> &nbsp;
<a href="javascript:;" class="btn btn-primary" onclick="mod_setbg_all('export')">{lang select_all_export}</a> &nbsp;
<a class="btn btn-primary" href="javascript:;" onclick="mod_setbg_all('refusal')">{lang select_all_refuse}</a> &nbsp;
<a class="btn btn-primary" href="{MOD_URL}&op=verify&vid=$vid&anchor=pass&verifysubmit=yes">{lang all_export}</a>
$multi
</td>
</thead>
<!--{/if}-->
</table>
</div>
</form>
<!--{else}-->
<div class="text-center">
<img src="static/image/common/no_list.png" /><br>
<span class="lead">{lang no_relevant_content}…</span>
</div>
<!--{/if}-->
</div>
</div>
</div>
</main>
<script type="text/javascript">
var url = '{MOD_URL}';
function showreason(vid, flag) {
var reasonobj = document.getElementById('reason_' + vid);
if(reasonobj) {
reasonobj.style.display = flag ? '' : 'none';
}
if(!flag && document.getElementById('verifyitem_' + vid) != null) {
var checkboxs = document.getElementById('verifyitem_' + vid).getElementsByTagName('input');
for(var i in checkboxs) {
if(checkboxs[i].type == 'checkbox') {
checkboxs[i].checked = '';
}
}
}
}
function mod_setbg(vid, value) {
document.getElementById('mod_' + vid + '_row').className = 'mod_' + value;
}
function mod_setbg_all(value) {
checkAll('option', document.getElementById('cpform'), value);
var trs = document.getElementById('cpform').getElementsByTagName('TR');
for(var i in trs) {
if(trs[i].id && trs[i].id.substr(0, 4) == 'mod_') {
trs[i].className = 'mod_' + value;
showreason(trs[i].getAttribute('verifyid'), value == 'refusal' ? 1 : 0);
}
}
}
function mod_cancel_all() {
var inputs = document.getElementById('cpform').getElementsByTagName('input');
for(var i in inputs) {
if(inputs[i].type == 'radio') {
inputs[i].checked = '';
}
}
var trs = document.getElementById('cpform').getElementsByTagName('TR');
for(var i in trs) {
if(trs[i].id && trs[i].id.match(/^mod_(\d+)_row$/)) {
trs[i].className = "mod_cancel";
showreason(trs[i].getAttribute('verifyid'), 0)
}
}
}
function singleverify(vid) {
var formobj = document.getElementById('cpform');
var oldaction = formobj.action;
formobj.action = oldaction + 'singleverify=' + vid;
formobj.target = "frame_profile";
formobj.submit();
formobj.action = oldaction;
formobj.target = "";
}
</script>
<!--日期选择器js-->
<script type="text/javascript" src="static/lyear/js/bootstrap-datepicker/bootstrap-datepicker.min.js?{VERHASH}"></script>
<!--{template lyear:footer_simple}-->