<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
    <?php
    foreach($items as $index => $item) {
        ?>
        <tr>
            <td align="right" class="bg_tr">姓名：</td>
            <td class="td_bg">
                <div align="left">
                    <?=$item->name?>
                </div>
            </td>
            <td align="right" class="bg_tr">联系电话：</td>
            <td class="td_bg">
                <div align="left">
                    <?=$item->phone?>
<!--                    <button onclick="tpy_call_in('--<?//=$item->phone?>//')">拨号</button>
<!--//                    <button onclick="tpy_call_out()">挂机</button>-->
                </div>
            </td>
            <td align="right" class="bg_tr">关系：</td>
            <td class="td_bg">
                <?=$item->type?>
            </td>
            <td align="right" class="bg_tr">证件号码：</td>
            <td class="td_bg">
                <div align="left">
                    <?=$item->id_number?>
                </div>
            </td>
        </tr>
        <?php
    }
    ?>
</table>
