<!-- 美化表格,这里是关键:style="max-width:3000px;width:2300px;" -->
<table class="table table-hover" style="max-width:3000px;width:2300px;">
<thead class="navbar-inner">
<tr>
<th class='with-checkbox' style="width:30px;">
<input type="checkbox" class="check_all" />
</th>
<th>世代编号</th>
<th>第几代</th>
<th>世系别名</th>
<th>成员编号</th>
<th>姓氏</th>
<th>名字</th>
<th>身份证号</th>
<th>联系方式</th>
<th>生日</th>
<th>性别</th>
<th>学历</th>
<!--
<th>个人介绍</th>
-->
<th>是否嫁入</th>
<th>是否已亡</th>
<th>居住地址</th>
<th>墓地</th>
<th>备注</th>
<th>父亲编号</th>
<th>父亲身份证号</th>
<th>配偶编号</th>
<th>配偶身份证号</th>
<th>状态</th>
<th>添加时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{loop $list2 $item}
<tr>
<td class="with-checkbox">
<input type="checkbox" name="check" value="{$item['id']}">
</td>
<td>{$item['generation_number']}</td>
<td>{$item['generation_no']}</td>
<td>{$item['lineage_nickname']}</td>
<td>{$item['member_ID']}</td>
<td>{$item['famiMembFana']}</td>
<td>{$item['famiMembLana']}</td>
<td>{$item['userIdent']}</td>
<td>{$item['famiMembTel']}</td>
<td>{$item['famiMembBirth']}</td>
<td>
{if $item['famiMembGender'] == '1'}男{/if}
{if $item['famiMembGender'] == '2'}女{/if}
</td>
<td>{$item['famiMembEdu']}</td>
<!--
<td>{$item['famiMembWost']}</td>
-->
<td>
{if $item['famiMembEx'] == '1'}是{/if}
{if $item['famiMembEx'] == '0'}否{/if}
</td>
<td>
{if $item['dead'] == '1'}是{/if}
{if $item['dead'] == '0'}否{/if}
</td>
<td>{$item['address']}</td>
<td>{$item['cemetery']}</td>
<td>{$item['member_note']}</td>
<td>{$item['father_ID']}</td>
<td>{$item['famiMembFauid']}</td>
<td>{$item['wife_ID']}</td>
<td>{$item['wifeIdent']}</td>
<td>
{if $item['state'] == '1'}有效{/if}
{if $item['state'] == '0'}无效{/if}
</td>
<td>
{if $item['createtime'] > 0}
{php echo date('Y-m-d H:i:s', $item['createtime']/1000)}
{/if}
</td>
<td>
<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="bottom" href="{php echo $this->createWebUrl('myGen_list',array('op'=>'edit','famiMembId'=>$item['famiMembId']))}" title="编辑"><i class="fa fa-pencil"></i></a>
<!--
<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="bottom" href="{php echo $this->createWebUrl('donate_check',array('id'=>$item['id'],'ret_url'=>$ret_url))}" title="审核"><i class="fa fa-pencil"></i></a>
-->
<!--
<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="bottom" href="{php echo $this->createWebUrl('storage_track',array('book_id'=>$item['id'],'ret_url'=>$ret_url))}" title="存放追踪"><i class="fa fa-edit"></i></a>
<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="bottom" href="#" onclick="drop_confirm('您确定要删除吗?', '{php echo $this->createWebUrl('rescue_list',array('op'=>'delete', 'uid'=>$item['uid']))}');" title="删除"><i class="fa fa-remove"></i></a>
-->
<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="bottom" href="#" onclick="drop_confirm('您确定要删除吗?', '{php echo $this->createWebUrl('myGen_list',array('op'=>'delete', 'famiMembId'=>$item['famiMembId']))}');" title="删除"><i class="fa fa-remove"></i></a>
</td>
</tr>
{/loop}
{if $uid<=2 || $uid_dist>0}
<tr>
<td colspan="10">
<input type="button" class="btn btn-primary" name="deleteall" value="删除选择的" />
</td>
</tr>
{/if}
</tbody>
<input name="token" type="hidden" value="{$_W['token']}" />
</table>
新蔷程序员特训营,带领初学者快速开发商业项目:https://paishenwx.taobao.com/