Views/Messages/PersonalSubject.cshtml
(完整代码) 1KB
@{
ViewBag.Title = "PersonalSubject";
}
@model IEnumerable<Message_Board.Models.Message>
<h2>@ViewBag.userName</h2>
<table class="table table-striped" width="100%">
<tr>
<th> 留言主题 </th>
<th> 留言类型 </th>
<th> 留言内容 </th>
<th> 留言时间 </th>
<th> 操作 </th>
<th> <a href="/Messages/Create">创建一个新的主题</a> </th>
</tr>
@foreach (var item in Model)
{
<tr>
<td> <label><a href="/Messages/Details?subject=@item.Subject">@item.Subject</a> </label> </td>
<td> <label>@item.MessageType </label> </td>
<td> <label>@item.Content</label> </td>
<td> <label>@item.Time</label> </td>
<td> <label><a href="/Messages/DeleteSubject?subject=@item.Subject">删除</a></label> </td>
</tr> }
</table>
<div class="container" style="text-align: center; border:none">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" style="margin: 0;">
<ul id="PagerID" class="pagination pagination-sm">
<li><a href="/Messages/PersonalSubject?currentPage=1">首页 </a></li>
<li><a href="/Messages/PersonalSubject?currentPage=@((int)ViewBag.currentPage - 1)">上页 </a></li>
<li>
<span>
页:
<Label ID="lbCurrentPage" style="margin-bottom:0">@ViewBag.currentPage</Label>/<Label ID="lbMaxPage" style="margin-bottom:0">@ViewBag.maxPage</Label>
</span>
</li>
<li><a href="/Messages/PersonalSubject?currentPage=@((int)ViewBag.currentPage + 1)">下页 </a></li>
<li><a href="/Messages/PersonalSubject?currentPage=@ViewBag.maxPage">末页 </a></li>
<li><a onclick="goto()">GoTo </a></li>
<li>
<input type="text" id="txtInputNumber" style="width: 50px;height:28px">
</li>
</ul>
</div>
</div>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。