<?php
/**
 * 词集编集
 * $Id: word_theme_edit.inc,v 1.1 2015/10/08 11:18:53 wanggb Exp $
 * @author wanggb
 * @access public
 * @package manager.templates
 **/

?>

<style>
	#selected_user_list {
		overflow-y:scroll;
		float:left;
		width:200px;
		height:360px;
		border:1px solid #000;
		display:flex;
		flex-direction:column;
		justify-content:flex-start;
		align-items:center;
	}
	
	.selected_user_item {
		margin-top:2px;
		width:180px;
		height:20px;
		line-height:20px;
		background:#EBEBEB;
		text-align:left;
		border:1px solid #EBEBEB;
	}
	
	.selected_user_item:hover {
		background:#FFF;
		border:1px solid #EBEBEB;
		cursor:pointer;
	}

	#search_user_area {
		margin-left:50px;
		float:left;
		width:200px;
		height:360px;
		border:1px solid #000;
		display:flex;
		flex-direction:column;
		justify-content:flex-start;
		align-items:center;
	}
	
	#search_user_list {
		overflow-y:scroll;
		float:left;
		margin-top:10px;
		width:100%;
		min—height:200px;
		display:flex;
		flex-direction:column;
		justify-content:flex-start;
		align-items:center;
	}
	
	.search_user_item {
		margin-top:2px;
		width:180px;
		height:22px;
		line-height:22px;
		text-align:left;
		border:1px solid #D4D4D4;
	}
	.search_user_item:hover {
		background:#EBEBEB;
		border:1px solid #EBEBEB;
		cursor:pointer;
	}
	
	.search_row {
		margin-top:5px;
	}
	
	.input_key {
		
		width:180px;
	}
</style>

<b>学员班级设定</b><br />
<br />

<form name="user_class_batch_input" action="user_class_batch_result.php" method="post">
<input type="hidden" id="user_ids" name="user_ids" value="">
<table width="80%">
	<tr>
		<td>名称</td>
	</tr>
	<tr>
		<td class="begin_blank">
			<input type="text" id="title" name="title" value="" style="width:300px;"/>
		</td>
		
	</tr>
	<tr>
		<td>上课地址</td>
	</tr>
	<tr>
		<td class="begin_blank">
			<input type="text" id="live_url" name="live_url" value="" style="width:400px;"/>
		</td>
	</tr>
	<tr>
		<td>学员选择</td>
	</tr>
</table>
<div id="result_list">
	<div id="selected_user_list">
		<!--
		<div class="selected_user_item" onClick="removeUser('1');">1.学员</div>
		-->
	</div>
	<div id="search_user_area">
		<div class="search_row">
			<input type="text" id="key_word" name="key_word" value="" class="input_key" onchange="searchUser();" placeholder="请输入手机号码">
		</div>
		<div id="search_user_list">
			<?
				$index = 0;
				foreach($user_buy_course_list as $tmp) {
					$index++;
					$user = UserMst::getById($tmp->user_id);
			?>
			<div class="search_user_item" onClick="addUser('<?=$user->id?>','<?=$user->nickname?>');"><?=$index?>.<?=$user->nickname?></div>
			<?
				}
			?>
		</div>
	</div>
</div>
<br />
<table width="100%">
	<tr>
	<td>
	<input type="button" value="提交" class="button_width_normal" onClick="doCheck();"/>
	</td>
	</tr>
</table>
</form>
