<%@ page language="C#" autoeventwireup="true" inherits="admin_job, aoshuosoft" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>人才招聘</title>
    <link rel="stylesheet" href="admin.css" type="text/css" />
</head>
<script language="javascript">
function sy()
{
if(document.getElementById("ms").value=="双语模式")
{
document.getElementById("ms").value="简体中文";
tbname.style.display="";
tbkeywords.style.display="";;
tbdescription.style.display="";
tbnumber.style.display="";
tbaddress.style.display="";
tbplay.style.display="";
tbdate.style.display="";
tbcontent.style.display="";
}
else
{
document.getElementById("ms").value="双语模式";
tbname.style.display="none";
tbkeywords.style.display="none";;
tbdescription.style.display="none";
tbnumber.style.display="none";
tbaddress.style.display="none";
tbplay.style.display="none";
tbdate.style.display="none";
tbcontent.style.display="none";
}
}
function acadd()
{
one.style.display="";
two.style.display="";
ae.style.display="none";
}
</script>
<body>
    <form id="form1" runat="server">
    <div>
     <table border='0' width='100%' id='one' style="display:none;" >
      <tr height='150'>
      <td>      
      </td>
      </tr>
      </table>
      <table id='two' style="display:none;" align='center' cellspacing='1' border='0' bgcolor='#CCFF66'><tr bgcolor='#FFFF99'><td>
      <table  class='actionadd' border='0' height='30' bgcolor='#FFFF99' style="width: 365px">
         <tr style='font-size:12px;'><td style="text-align: right">
             <asp:Image ID="Image1" runat="server" ImageUrl="~/image/ac.gif" /></td><td>
             &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 请稍后，正在保存数据...</td></tr>
         </table></td></tr>
      </table>
     <asp:Panel ID="addedit" runat="server"  Width="100%" Visible="False">      
           <table class="adminmaintable" id="ae" border="0" cellpadding="3" cellspacing="1">
               <tr>
                   <td class="bt" colspan="3" style="text-align: center; height: 35px;">
                       <asp:Label ID="actionbt" runat="server" Text="" Width="185px"></asp:Label></td>
               </tr>
               <tr>
                <td style="width: 87px">
                    模式选择：</td>
                <td>
                    <input id="ms" type="button" value="双语模式" onclick="sy()" /></td>
            </tr>
               <tr>
                   <td style="width: 87px">
                       招聘属性：</td>
                   <td colspan="2">
                       <asp:CheckBox ID="hot" runat="server" Text="热门" /><asp:CheckBox ID="commend" runat="server" Text="推荐" /></td>
               </tr>
               <tr>
                   <td style="width: 87px" >
                       所属分类：</td>
                   <td colspan="2">
                       <asp:DropDownList ID="sort" CssClass="joblist" runat="server">
                       </asp:DropDownList>
                   </td>
               </tr>
               <tr>
                   <td style="width: 87px" >
                       招聘对象：</td>
                   <td colspan="2" >
                       <asp:TextBox ID="name" CssClass="textput" runat="server" Width="392px"></asp:TextBox>
                       如：总经理，售货员..</td>
               </tr>
               <tr class="en" id="tbname" style="display:none;">
                   <td style="width: 87px">
                       招聘对象：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="enname" runat="server" CssClass="entextput" Width="392px"></asp:TextBox></td>
               </tr>
               <tr>
                   <td style="width: 87px">
                       招聘关键词：</td>
                   <td colspan="2">
                       <asp:TextBox ID="keywords" runat="server" CssClass="textput" Height="40px" TextMode="MultiLine"
                           Width="521px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbkeywords" style="display:none;">
                   <td style="width: 87px">
                       招聘关键词：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="enkeywords" runat="server" CssClass="textput" Height="40px"
                           TextMode="MultiLine" Width="521px"></asp:TextBox></td>
               </tr>
               <tr>
                   <td style="width: 87px">
                       招聘描述：</td>
                   <td colspan="2">
                       <asp:TextBox ID="description" runat="server" CssClass="textput" Height="40px" TextMode="MultiLine"
                           Width="521px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbdescription" style="display:none;">
                   <td style="width: 87px">
                       招聘描述：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="endescription" runat="server" CssClass="entextput" Height="40px" TextMode="MultiLine"
                           Width="521px"></asp:TextBox></td>
               </tr>
               <tr>
                   <td style="width: 87px">
                       招聘人数：</td>
                   <td colspan="2">
                       <asp:TextBox ID="number" runat="server" CssClass="textput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbnumber" style="display: none">
                   <td style="width: 87px">
                       招聘人数：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="ennumber" runat="server" CssClass="entextput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr >
                   <td style="width: 87px">
                       工作地点：</td>
                   <td colspan="2">
                       <asp:TextBox ID="address" runat="server" CssClass="textput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbaddress" style="display: none">
                   <td style="width: 87px">
                       工作地点：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="enaddress" runat="server" CssClass="entextput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr >
                   <td style="width: 87px">
                       工资待遇：</td>
                   <td colspan="2">
                       <asp:TextBox ID="play" runat="server" CssClass="textput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbplay" style="display: none">
                   <td style="width: 87px">
                       工资待遇：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="enplay" runat="server" CssClass="entextput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr>
                   <td style="width: 87px">
                       有效期限：</td>
                   <td colspan="2">
                       <asp:TextBox ID="date" runat="server" CssClass="textput" Width="260px"></asp:TextBox></td>
               </tr>
               <tr class="en" id="tbdate" style="display: none">
                   <td style="width: 87px">
                       有效期限：<br />
                       （英文）</td>
                   <td colspan="2">
                       <asp:TextBox ID="endate" runat="server" CssClass="entextput" Width="260px"></asp:TextBox></td>
               </tr>               
               <tr>
                   <td style="width: 87px">
                       招聘要求：</td>
                    <td><fckeditorv2:fckeditor id="content" runat="server"  EnableXHTML="true" EnableSourceXHTML="true" basepath="~/FCKeditor/" height="400px">
                    </FCKeditorV2:FCKeditor>
                    </td>
               </tr>
               <tr class="en" id="tbcontent" style="display:none;">
                   <td style="width: 87px">
                       招聘要求：<br />
                       （英文）</td>
                   <td>
                       <fckeditorv2:fckeditor id="encontent" runat="server"  EnableXHTML="true" EnableSourceXHTML="true" basepath="~/FCKeditor/" height="400px">
                       </FCKeditorV2:FCKeditor>
                   </td>
               </tr>
               <tr >
                   <td style="width: 87px">
                       首页图片：</td>
                   <td>
                       <asp:FileUpload ID="filepic" runat="server" Width="356px" />（只能上传.gif,.jpg格式图片）用于在首页的图片文章处显示
                   </td>
               </tr>
                <tr>
                   <td style="width: 76px">
                       静态生成：</td>
                   <td>
                       <asp:CheckBox ID="html" Text="自动生成静态（当系统开启静态生成功能才有效）" runat="server" /></td>
               </tr>
               <tr>
                   <td style="width: 76px">
                       优先级别：</td>
                   <td>
                       <asp:TextBox ID="yxpx" runat="server" Text="0" Width="57px"></asp:TextBox>&nbsp;
                       数字越大排序越靠前（只有在<a href="list.aspx?action=job" target="adminmain">招聘参数配置</a>中启用了优先排序才有效）</td>
               </tr>
               <tr>
                   <td style="width: 76px">
                       模板选择：</td>
                   <td>
                       <asp:DropDownList ID="kzmb" runat="server">
                       </asp:DropDownList>
                       <a href="kztemplet.aspx?action=add">点击这里添加扩展模板</a></td>
               </tr>
               <tr>
                   <td colspan="3" style="text-align: center">
                      <asp:Button ID="addjob" runat="server" Text="添 加" Width="80px" OnClick="addjob_Click" OnClientClick="acadd()"/>
                      <asp:Button ID="editjob" runat="server" Text="修 改" Width="80px" OnClick="editjob_Click" OnClientClick="acadd()" />
                      </td>
               </tr>
           </table>
           <asp:Literal ID="javaaction" runat="server"></asp:Literal></asp:Panel>
           <asp:Panel ID="job" runat="server"  Width="100%" Visible="False" >
            <table class="adminhtmltable" border="0" cellpadding="1" cellspacing="1" >
                   <tr>
                      <td style="height: 24px; background-color: #0099FF;color:#FFFFFF;font-weight:bold;">
                           招聘分类</td>
                       <td  style="height: 24px;background-color: #0099FF;color:#FFFFFF;font-weight:bold;">
                           招聘列表</td>
                   </tr>
                   <tr>
                       <td style="background-color:#ffffff;" valign="top">
                           <asp:TreeView ID="sorttree" runat="server" ShowLines="True">
                           </asp:TreeView>
                       </td>
                       <td style="background-color:#ffffff;" valign="top">
                           <asp:Literal ID="jobtable" runat="server"></asp:Literal></td>
                   </tr>
                <tr>
                    <td class="bt" colspan="2" style=" height: 25px;">
                        <asp:Button ID="zk" runat="server" Text="全部展开" OnClick="zk_Click" />
                        <asp:Button ID="ss" runat="server" Text="全部收缩" OnClick="ss_Click" /></td>
                </tr>
               </table>
               </asp:Panel>
    </div>
    </form>
</body>
</html>
