<? /** * 我的学员 * $Id: user_search_list.inc,v 1.1 * @author taocy * @package src.admin.templates */ ?> <b>赠送积分</b><br /><br /> <table> <tr> <td>手机号码</td> <td class="begin_blank"><?=htmlspecialchars($user_mst->mobile) ?></td> </tr> <tr> <td>昵称</td> <td class="begin_blank"><?=htmlspecialchars($user_mst->nickname) ?></td> </tr> </table> <div style="clear:both"></div> <div id="result_list" style="width:50%"> <? if (!empty($user_point_log)) { ?> <table > <tr> <th class="contents_title">ID</th> <th class="contents_title">日期</th> <th class="contents_title">名目</th> <th class="contents_title">积分变动</th> <th class="contents_title">积分余额</th> </tr> <? foreach($user_point_log as $user_point) { $plus = ""; if($user_point->point > 0) { $plus = "+"; } $action_title = PointActionType::getTitleById($user_point->action_type); ?> <tr> <td align="center"><?=$user_point->id ?></td> <td align="center"><?=substr($user_point->registration_date,0,10)?></td> <td align="center"><?=$action_title ?></td> <td align="center"><?=$plus?><?=$user_point->point?></td> <td align="center"><?=$user_point->point_left ?></td> </tr> <? } ?> </table> <? } ?> </div> <br /> <table> <tr> <td><a class="flatbutton" href="ocean_user_list.php">返回</a></td> </tr> </table>