<commit_before>﻿@model User
@{
    ViewBag.Title = "VIP";
}

<div class="tyvj-left" style="width:755px;">
    <div class="tyvj-shadow">
        <div class="tyvj-content-header">
            <strong>@Model.Username @(Model.Sex == Sex.Male ? "♂" : "♀")</strong>
        </div>
        <div class="tyvj-content" style="padding-top:10px;">
            <div class="tyvj-boder-top tyvj-content-inner">
                @if (Model.Role != UserRole.VIP)
                {
                    <h2>申请成为VIP</h2>
                    <div class="tyvj-status-info">
                        @if (ViewBag.LastRequest != null)
                        {
                            <p><strong>上次申请状态：</strong> @(ViewBag.LastRequest.Status == VIPRequestStatus.Pending?"审核中" :"被驳回")</p>
                            if (ViewBag.LastRequest.Status == VIPRequestStatus.Rejected)
                            {
                                <p><strong>原因：</strong> @ViewBag.LastRequest.Reason</p>
                            }
                        }
                        <p><strong>资格检查：</strong></p>
                        @if (ViewBag.CheckUserGroup)
                        {
                            <p><img src="~/Images/ok.png" /> 您当前的用户组可以申请成为VIP</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 您当前的用户组不可以申请成为VIP</p>
                        }
                        @if (ViewBag.CheckName)
                        {
                            <p><img src="~/Images/ok.png" /> 您的真实姓名通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“真实姓名”一项</p>
                        }
                        @if (ViewBag.CheckQQ)
                        {
                            <p><img src="~/Images/ok.png" /> 您的QQ号码通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“QQ”一项</p>
                        }
                        @if (ViewBag.CheckSchool)
                        {
                            <p><img src="~/Images/ok.png" /> 您的学校通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“学校”一项</p>
                        }
                        @if (ViewBag.CheckAddress)
                        {
                            <p><img src="~/Images/ok.png" /> 您的详细通信地址通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“通信地址”一项</p>
                        }
                        @if (ViewBag.AllowRequest)
                        {
                            using (Html.BeginForm("VIP","User", FormMethod.Post))
                            {
                                @Html.AntiForgeryToken()
                                <p><strong>填写申请：</strong></p>
                                <p><textarea name="Content" style="width:400px" class="textbox" placeholder="请在此处填写申请信息"></textarea></p>
                                <p><input type="submit" value="提交申请" class="button button-def" /></p>
                            }
                        }
                    </div>
                }
            </div>
            <div class="tyvj-boder-top tyvj-content-inner">
                <h2>VIP特权介绍</h2>
                <div class="tyvj-status-info">
                    <ul>
                        <li>加粗昵称显示</li>
                        <li>VIP题库</li>
                        <li>免费的清北学堂网络课程</li><commit_msg>finished<commit_after>﻿@model User
@{
    ViewBag.Title = "VIP";
}

<div class="tyvj-left" style="width:755px;">
    <div class="tyvj-shadow">
        <div class="tyvj-content-header">
            <strong>@Model.Username @(Model.Sex == Sex.Male ? "♂" : "♀")</strong>
        </div>
        <div class="tyvj-content" style="padding-top:10px;">
            <div class="tyvj-boder-top tyvj-content-inner">
                @if (Model.Role != UserRole.VIP)
                {
                    <h2>申请成为VIP</h2>
                    <div class="tyvj-status-info">
                        @if (ViewBag.LastRequest != null)
                        {
                            <p><strong>上次申请状态：</strong> @(ViewBag.LastRequest.Status == VIPRequestStatus.Pending?"审核中" :"被驳回")</p>
                            if (ViewBag.LastRequest.Status == VIPRequestStatus.Rejected)
                            {
                                <p><strong>原因：</strong> @ViewBag.LastRequest.Reason</p>
                            }
                        }
                        <p><strong>资格检查：</strong></p>
                        @if (ViewBag.CheckUserGroup)
                        {
                            <p><img src="~/Images/ok.png" /> 您当前的用户组可以申请成为VIP</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 您当前的用户组不可以申请成为VIP</p>
                        }
                        @if (ViewBag.CheckName)
                        {
                            <p><img src="~/Images/ok.png" /> 您的真实姓名通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“真实姓名”一项</p>
                        }
                        @if (ViewBag.CheckQQ)
                        {
                            <p><img src="~/Images/ok.png" /> 您的QQ号码通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“QQ”一项</p>
                        }
                        @if (ViewBag.CheckSchool)
                        {
                            <p><img src="~/Images/ok.png" /> 您的学校通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“学校”一项</p>
                        }
                        @if (ViewBag.CheckAddress)
                        {
                            <p><img src="~/Images/ok.png" /> 您的详细通信地址通过了资格审查</p>
                        }
                        else
                        {
                            <p><img src="~/Images/no.png" /> 请您在个人设置中完善“通信地址”一项</p>
                        }
                        @if (ViewBag.AllowRequest)
                        {
                            using (Html.BeginForm("VIP","User", FormMethod.Post))
                            {
                                @Html.AntiForgeryToken()
                                <p><strong>填写申请：</strong></p>
                                <p><textarea name="Content" style="width:400px" class="textbox" placeholder="请在此处填写申请信息"></textarea></p>
                                <p><input type="submit" value="提交申请" class="button button-def" /></p>
                            }
                        }
                    </div>
                }
            </div>
            <div class="tyvj-boder-top tyvj-content-inner">
                <h2>VIP特权介绍</h2>
                <div class="tyvj-status-info">
                    <ul>
                        <li>VIP题库</li>
                        <li>免费的清北学堂网络课程</li>
{'fraction_non_alphanumeric': 0.12961236179565738, 'fraction_numerical': 0.0031970161182895964, 'mean_word_length': 0.7837966262770254, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2102029', 'n_tokens_mistral': 2319, 'n_tokens_neox': 2287, 'n_words': 232}