<?php include pTemplate("header");?>
<link href="<?php echo PUBURL;?>css/editor.css" rel="stylesheet" type="text/css" />
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left">
     
     
     <div class="f_size" name="compose">
			<div class="notice_newstyle">
				<form method="post" id="frm" name="frm" action="<?php echo SITEURL;?>?mod=school&do=do" enctype="multipart/form-data">
                
                <input name="bid" type="hidden" value="<?php echo $_CO['userbid'];?>">
				<input type="hidden" name="action" value="add_work">

					<div class="new_title_box">
						<div class="left">
							<span class="folderReturn">
								<a class="btn_home btn btn_first btnNormal" href="<?php echo SITEURL;?>?mod=school&do=exam&c=work" style="*margin:0 3px -8px 0;"><span class="ico_home"></span>返回</a>
							</span>
							<span class="bold black b_size ftn_t_bl">发布新作业</span>
						</div>
					</div>
					<div name="content" class="content" style="">
						<div id="sendtimepadding" style="margin-top:15px; overflow:hidden; _zoom:1;">
							<div id="rightArea" style="float:right;width:180px;margin-top:2px;">
								<div style="padding:0;background:#fff;overflow:auto;height:384px;" class="bd">
									<div id="structContent" class=""></div>
									<div id="structList" style="display:none;"></div>
									<div class="clr"></div>
								</div>
							</div>
		
							<div style="margin-right:200px;_margin-right:50px;_float:left;">

								<div style="" id="AttList">
									<div class="input_title" style="display:none;padding-top:5px;margin-bottom:0;" id="editor_bgmusic_container"></div>
					
									<table border="0" cellpadding="0" cellspacing="0" width="100%">
										<tbody><tr>
											<td nowrap="" style="width:60px;"></td>
											<td nowrap="" class="content_title" style="font-family:Tahoma;" valign="top">
												<div id="exist_file">
																									</div>
												<div id="filecell"></div>
											</td>
										</tr>
									</tbody></table>
								</div>
                                
                                <div style="">
									<table cellpadding="0" class="i" cellspacing="0" border="0" style="width:100%;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:4px;width:60px;" valign="top">
												短信模版
											</td>
											<td class="content_title" style="padding-top:1px!important;padding-top:0;padding-right:0;" valign="top">
												<textarea name="sms_content" style="width:610px; height:50px;">各位家长您好，今天的作业是：[content]。</textarea>
												
											</td>
										</tr>
									</tbody></table>
								</div>
			
								<div style="">
									<table cellpadding="0" class="i" cellspacing="0" border="0" style="width:100%;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:4px;width:60px;" valign="top">
												作业内容
											</td>
											<td class="content_title" style="padding-top:1px!important;padding-top:0;padding-right:0;" valign="top">
												<textarea name="content" style="width:610px; height:100px;"></textarea>
												
											</td>
										</tr>
									</tbody></table>
								</div>
                                
                                <div class="duanxin">
									<table cellpadding="0" class="i" cellspacing="0" border="0" style="width:100%;">
										<tbody><tr>
											<td nowrap="" style="text-align:right;padding-top:6px;width:60px; line-height:19px;" valign="top">
												发送短信
											</td>
											<td class="content_title" style="padding-top:1px!important;padding-top:0;padding-right:0;" valign="top">
												<p><input type="checkbox" id="checkAll"><span>全选</span></p>
                                                
                                                <?php if($arrMembers[1]) { ?>
                                                <?php foreach((array)$arrMembers[1] as $key=>$item) {?>
                                                <p class="left"><input type="checkbox" name="issms_wrok[]" value="<?php echo $item['phonenum'];?>" un="mbrCheck" <?php if(!$item['phonenum']) { ?>disabled="disabled" title="手机号码不存在"<?php } ?>><span <?php if(!$item['phonenum']) { ?>style="color:#F00" title="手机号码不存在"<?php } ?>><?php echo $item['realname'];?></span></p>
                                                  <?php }?>
                                                  <?php } ?>
                                                
											</td>
										</tr>
									</tbody></table>
								</div>

																<pre id="source" style="display:none;"></pre>
							</div>	
							<div class="clr"></div>
						</div>
					</div>
					<div class="submitColumn tool_action" style="height:55px;*height:50px;padding:0;">
						<div class="left" style="margin-top:13px;">
                        
							<input id="J_ForumPostEditBtn" type="submit" style="margin-left:102px;" class="btnSubmit" value="发布">
							<input id="savebtn" type="button" class="btn btnNormal left" value="存草稿">
							<a href="<?php echo SITEURL;?>?mod=school&do=exam&c=work" class="btn btnNormal left">取消</a>
						</div>
					</div>
				</form>
			</div>
		</div>
    
</div>
<?php include pTemplate("footer");?>
<script src="<?php echo PUBURL;?>js/jquery.upload-1.0.js"></script>
 <script src="<?php echo PUBURL;?>js/tuntron-editor-min.js" type="text/javascript"></script>

 <script>
	$.tuntron.editor = $.tuntron.Editor({
		formId:"J_PostCmtArea",
		btnFontSize:{
			visible:12
		}
	});
	
	</script>

</body>
</html>