<?php include pTemplate("header");?>
<form id="frm" action="<?php echo SITEURL;?>?mod=school&do=affairs&c=addexamtype" method="post" onsubmit="return checkPrivilegeInput()">
     <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">
        <h1>
            添加考试类型
        </h1>
        <div style="overflow:hidden;_zoom:1">
            <div class="settingDiv_l">
                <label class="colum">
                    <span class="txt_red middleAlign">
                        *&nbsp;
                    </span>
                    类型名称：
                </label>
            </div>
            <div class="settingDiv_r">
                <input type="text" class="txt" name="tname" value="" style="width:250px;">

              
            </div>
        </div>
        <div style="overflow:hidden;_zoom:1">
            <div class="settingDiv_l" style="clear:;">
                <label class="colum">
                    <span class="txt_red middleAlign">
                        *&nbsp;
                    </span>
                    单科综合：
                </label>
            </div>
            <div class="settingDiv_r">
                <input type="radio" ck="isdanke" name="dztype" value="0" checked="checked">
                <label>
                    单科
                </label>
                <input type="radio" ck="isduoke" name="dztype" value="1">
                <label>
                    综合
                </label>
                
                <span un="validMsg">
                </span>
            </div>
        </div>
        <div id="isduoke">
        
        <div style="overflow:hidden;_zoom:1;">
            <div class="settingDiv_l">
                <label class="colum">
                    <span class="txt_red middleAlign">
                        *&nbsp;
                    </span>
                    考试科目：
                </label>
            </div>
            <div class="settingDiv_r">
             
              
           
            <select class="txt" name="subject0" style="width:250px; line-height:26px;">
            	<option value="0"> -- 请选择 -- </option>
            <!-- <?php foreach((array)$subject_item as $key=>$item) {?> -->
            	<option value="<?php echo $item['sid'];?>"><?php echo $item['subjectname'];?></option>
            <!-- <?php }?> -->
            </select>
             </div>
        </div>
        
        </div>
        
    </div>
    <!--end content-->
    <div class="submitColumn setting_action">
        <div class="left">
            <input type="submit" id="btnSubmit" class="btn btnSubmit" value="确定">
        </div>
        <div class="cancelLink">
            <a href="#" onclick="javascript:history.back();return false;">
                取消
            </a>
        </div>
    </div>

        
      </div>
    </div>
</div>


<div id="isdankehtml" style="display:none">
<div style="overflow:hidden;_zoom:1;">
            <div class="settingDiv_l">
                <label class="colum">
                    <span class="txt_red middleAlign">
                        *&nbsp;
                    </span>
                    考试科目：
                </label>
            </div>
            <div class="settingDiv_r">
             
              
           
            <select class="txt" name="subject" style="width:250px; line-height:26px;">
            <!-- <?php foreach((array)$subject_item as $key=>$item) {?> -->
            	<option value="<?php echo $item['sid'];?>"><?php echo $item['subjectname'];?></option>
            <!-- <?php }?> -->
            </select>
             </div>
        </div>
</div>



<div id="isduokehtml" style="display:none">
<div style="overflow:hidden;_zoom:1;">
            <div class="settingDiv_l">
                <label class="colum">
                    <span class="txt_red middleAlign">
                        *&nbsp;
                    </span>
                    考试科目：
                </label>
            </div>
            <div class="settingDiv_r" style="width:590px;">
                <div un="structManage" class="left" style="width:250px;">
                    <div style="position:relative;padding:5px 10px;width:232px;max-height:180px;_height:180px;overflow:auto;" class="bd_gray">
                        <div class="structManage" style="border:0 none;">
                            <div id="structContent" class="content" style="width:180px;margin:0;">
                                <ul class="treeview">
                                    <!-- <?php foreach((array)$subject_item as $key=>$item) {?> -->
                                    <li>
                                        <div un="line" class="line">
                                            <ins class="">
                                            </ins>
                                            <span un="content">
                                                <ins class="folder">
                                                    <input value="<?php echo $item['sid'];?>" name="subject1[]" type="checkbox">
                                                    <label><?php echo $item['subjectname'];?></label>
                                                </ins>
                                            </span>
                                        </div>
                                    </li>
                                    <!-- <?php }?> -->
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="clr">
                </div>
            </div>
        </div>
</div>
</form>
<?php include pTemplate("footer");?>

</body>
</html>