<?php include pTemplate("header");?>
<div id="loadingbar"></div>
	<div id="main" class="mainPanel wd txt_left">
    	<div class="company">
        	<aside class="left_panel" un="leftNavBar">
            	<ul class="sidetd">
               		 <?php echo $left_menu_html;?>
            	</ul>
        	</aside>
        	<div class="right_panel">
        		<div class="content_block" un="addr">
        			<div style="position:relative">
        				<h1>科目设置</h1>
						<div class="tool_box" style="position:absolute; right:2px; top:1px;">
        					<a ck="addSubject" href="javascript://;" class="btn btn_add ">
        					<span class="ico_add"><b>ico+</b></span> 新增科目</a>
        				</div>
					</div>
					
					<!-- <?php foreach((array)$arrSubject as $key=>$item) {?> -->
					<section>
        				<div class="settingDiv_l f_size" style="line-height:36px; font-weight:bold;">科目名称：</div>
        				<div class="settingDiv_r"><span class="btn btnNormal" style="-webkit-border-radius: 3px;"><?php echo $item['subjectname'];?></span>&nbsp;&nbsp;
        				<!-- <?php if($item['bid'] != '0') { ?> -->
        					<span style="font-size:12px"><a href="javascript://" num="<?php echo $key;?>" ac='editsubjectitem' subjectname='<?php echo $item['subjectname'];?>' sid='<?php echo $item['sid'];?>' sort='<?php echo $item['sort'];?>'>编辑</a>&nbsp;&nbsp;<a href="javascript://" ac="delsubjectitem" sid="<?php echo $item['sid'];?>">删除</a></span>
        				<!-- <?php } else { ?> -->
        					<span style="font-size:12px; color:#999;">系统自带科目</span>
						<!-- <?php } ?> -->
        				</div>
        			</section>
        			
        			<!-- <?php }?> -->
        			
					<div id="selectedDeptFill"></div>
        
        		</div>
        	</div>
    	</div>
	</div>


		<div id="CSubject" style="display:none">
    		<div class="DG">
    			<div dlg="mask" class="detail_mask" style="z-index: 1057; height: 1171px; "></div>
    			<div dlg="panel" class="opp_obj" style="width: 650px; height: 450px; z-index: 1058; top: 20%; left: 40%; ">
        			<div un="dlg" class="o_body rounded5">
            			<strong dlg="title" class="o_title" style="">选择科目</strong>
            			<a dlg="close" href="javascript:;" class="ico_close"></a>
            			<div dlg="content" class="o_con">
                			<div style="">
                    			<div un="dlg" class="">
                        			<div validmsg="" valid="empty" class="mainColumn">
                            			<div class="dialog_labels">
                                			<span class="dialog_label_left">从下面选择要添加的科目：</span>
                                			<span class="dialog_label_right"> 已经选择的科目：</span>
                            			</div>
                            			<div class="structSelectList bd_gray" id="structList"></div>
                           				<div class="structPanel bd_gray">
                                			<div id="structContent" class="aoto_tipon">
                                    			<div class="lbb">
                                        			<div un="tree">
                                            			<ul class="treeview">
                                            				<!-- <?php foreach((array)$arrSubject as $key=>$item) {?> -->
                                            				<li>  
																<input selectid="<?php echo $item['sid'];?>" selectname="<?php echo $item['subjectname'];?>" ck="cselect" type="checkbox">
                                                				<label><?php echo $item['subjectname'];?></label>
                                                 			</li>
                                            				<!-- <?php }?> -->
                                                		</ul>
                                        			</div>
                                    			</div>
                                			</div>
                            			</div>
                            			<div class="left ico_arrow_left"></div>
                        			</div>
                        			<div class="submitColumn">
                           				<a class="btn btnNormal btnCancel right" ck="cancel">取消</a>
                            			<a class="btn btnComfirm right" ck="csubmit" ty="cb">确定</a>
                        			</div>
                    			</div>
                			</div>
            			</div>
            			<div class="t_mask"></div>
       				</div>
    			</div>
			</div>
		</div>

<?php include pTemplate("footer");?>

</body>
</html>