<h3>
    <{if $cate.CateName}><a href="aboutus.php?WebID=<{$WebID}>&CateID=<{$cate.CateID}>"><{$cate.CateName}></a><{/if}>
    <{$edit_student}>
</h3>
<{if $students}>
    <div class="text-right" style="margin: 30px 0px;">
        <a href="aboutus.php?WebID=<{$WebID}>&CateID=<{$cate.CateID}>&op=edit_stu" class="btn btn-primary"><{$add_stud}></a>
    </div>
    <table class="table table-striped table-bordered table-hover table-sm">
        <tr>
            <th><{$smarty.const._MD_TCW_MEM_NUM}></th>
            <th><{$smarty.const._MD_TCW_MEM_NAME}></th>
            <th><{$smarty.const._MD_TCW_MEM_UNICODE}></th>
            <th><{$smarty.const._MD_TCW_MEM_BIRTHDAY}></th>
            <th><{$smarty.const._MD_TCW_MEM_SEX}></th>
            <th><{$smarty.const._MD_TCW_MEM_NICKNAME}></th>
            <th><{$smarty.const._MD_TCW_MEM_UNAME}></th>
            <th><{$smarty.const._MD_TCW_MEM_PASSWD}></th>
            <th><{$smarty.const._TAD_FUNCTION}></th>
        </tr>
        <{foreach from=$students item=stud}>
            <tr>
                <td style="text-align: center;"><{$stud.MemNum}></td>
                <td style="text-align: center;"><a href="aboutus.php?WebID=<{$WebID}>&CateID=<{$cate.CateID}>&MemID=<{$stud.MemID}>&op=show_stu"><{$stud.MemName}></a></td>
                <td style="text-align: center;"><{$stud.MemUnicode}></td>
                <td style="text-align: center;"><{$stud.MemBirthday}></td>
                <td style="text-align: center;"><{$stud.MemSex}></td>
                <td><{$stud.MemNickName}></td>
                <td><{$stud.MemUname}></td>
                <td><{$stud.MemPasswd}></td>
                <td style="text-align: center;"><a href="aboutus.php?WebID=<{$WebID}>&CateID=<{$CateID}>&MemID=<{$stud.MemID}>&op=edit_stu" class="btn btn-sm btn-xs btn-warning"><{$smarty.const._TAD_EDIT}></a></td>
            </tr>
        <{/foreach}>
    </table>
<{else}>
    <div class="jumbotron">
        <h2><{$no_student}></h2>

        <{if $isMyWeb}>
            <p>
                <a class="btn btn-success" href="aboutus.php?WebID=<{$WebID}>&op=import_excel_form&CateID=<{$CateID}>"><{$import_excel}></a>
                <a class="btn btn-info" href="aboutus.php?WebID=<{$WebID}>&op=edit_stu&CateID=<{$CateID}>"><{$add_stud}></a>
            </p>
        <{/if}>
    </div>
<{/if}>