织梦如何开发插件(2)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""<a href=https://www.91084.com/"http:/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http:/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>">

<head>

<title>在线报名管理</title>

<link href='img/base.css' rel='stylesheet' type='text/css' />

<style type="text/css">

th,td{

text-align:center;

border:1px #D1DDAA solid;

font-size:15px;

}

th{

background:#E6F8B7;

}

table{

margin-top:20px;

}

</style>

</head>

<body>

<table width="90%" border="0" cellpadding="0" cellspacing="0" align="center">

<tr>

<th>姓名</th>

<th>E-mail</th>

<th>状态</th>

<th>操作</th>

</tr>

<!-- 循环得到结果 -->

{dede:datalist}

<tr>

<td>{dede:field.name /}</td>

<td>{dede:field.mail /}</td>

<td>

{dede:if field.tag==0}

未录取

{else}

<font color="red">已录取</font>

{/dede:if}

</td>

<td> <a href=https://www.91084.com/"adenroll.php?action=pass&id={dede:field.id /}">[录取]</a>

|

<a href=https://www.91084.com/"adenroll.php?action=nopass&id={dede:field.id /}">[不通过]</a>

|

<a href=https://www.91084.com/"adenroll.php?action=delete&id={dede:field.id /}">[删除]</a>

</td>

</tr>

{/dede:datalist}

</table>

<!-- 分页标签 -->

<p style="text-align:center;font-size:15px;">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</p>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wsfzdx.html