<?
/**
 * 用户管理
 * $Id: user_search_list.inc,v 1.1
 * @author taocy
 * @package src.admin.templates
 */
?>
<b>学员资料编辑</b><br /><br />

<form name="user_edit_input" action="user_edit_result2.php" method="post">
<input type="hidden" name="action" value="<?=$action ?>" />
<input type="hidden" name="id" value="<?=$id ?>" />
<table>
<tr>
	<td>手机号码</td>
	<td class="begin_blank"><input type="text" name="mobile" value="<?=htmlspecialchars($user_mst->mobile) ?>" /></td>
</tr>
<tr>
	<td>微信号</td>
	<td class="begin_blank"><input type="text" name="wechat_no" value="<?=htmlspecialchars($user_mst->wechat_no) ?>" /></td>
</tr>
<tr>
	<td>QQ</td>
	<td class="begin_blank"><input type="text" name="qq_no" value="<?=htmlspecialchars($user_mst->qq_no) ?>" /></td>
</tr>
<tr>
	<td>昵称</td>
	<td class="begin_blank"><input type="text" name="nickname" value="<?=htmlspecialchars($user_mst->nickname) ?>" /></td>
</tr>
<tr>
	<td>性别</td>
	<td class="begin_blank">
		<input name="sex" type="radio" value="MALE" <?=($user_mst->sex=="MALE") ? " checked=\"checked\"" : "" ?>/>男&nbsp;
		<input name="sex" type="radio" value="FEMALE" <?=($user_mst->sex=="FEMALE") ? " checked=\"checked\"" : "" ?>/>女&nbsp;
		<input name="sex" type="radio" value="UNKNOW" <?=($user_mst->sex=="UNKNOW") ? " checked=\"checked\"" : "" ?>/>未知
	</td>
</tr>

<tr>
	<td>状态</td>
	<td class="begin_blank">
			<?
			foreach ($user_status_list as $user_status_obj) {
			?>
				<input name="status" type="radio" value="<?=$user_status_obj->id ?>" <?=($user_mst->status==$user_status_obj->id ) ? " checked=\"checked\"" : "" ?> /><?=$user_status_obj->title ?>
			<?
			}
			?>
	</td>
</tr>
<tr>
	<td>渠道</td>
	<td class="begin_blank">
			<select name="channel_no" size="150" style="width:200px;height:60px;line-height:20px;">
				<option value="1000" <?= "1000"==$user_mst->channel_no ? " selected " : "" ?>>系统用户</option>
				<?
				foreach ($channel_list as $channel_dat) {
				?>
					<option value="<?=$channel_dat->channel_no ?>"<?=$channel_dat->channel_no == $user_mst->channel_no ? " selected " : "" ?>><?=$channel_dat->title ?></option>
				<?
				}
				?>
			</select>
	</td>
</tr>
<tr>
	<td>转移</td>
	<td class="begin_blank">
			<select name="account_id" size="150" style="width:200px;height:60px;line-height:20px;">
				<option value="0" <?= "0"==$user_mst->account_id ? " selected " : "" ?>>[不指定]</option>
				<?
				foreach ($account_list as $account_mst) {
				?>
					<option value="<?=$account_mst->id ?>"<?=$account_mst->id == $user_mst->account_id ? " selected " : "" ?>><?=$account_mst->name ?></option>
				<?
				}
				?>
			</select>
	</td>
</tr>
<tr>
	<td><input type="button" value="编集" class="button_width_normal" onClick="doCheck();" /></td>
</tr>
</table>
</form>
