Gonggao.aspx
资源名称:YDMusic.rar [点击查看]
上传用户:whzhongbo
上传日期:2022-07-31
资源大小:1531k
文件大小:8k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Gonggao.aspx.vb" Inherits="YDMusic.Gonggao"%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title></title>
- <link href="/Css/Css.css" rel="stylesheet" type="text/css">
- <script language="javascript" src="/Js/Script.js"></script>
- <script language="javascript">
- <!--
- function AddRecord()
- {
- var WinWidth = 600;
- var WinHeight = 450;
- var WinLoca = (screen.width - WinWidth)/2;
- var TopLoca = (screen.height - WinHeight)/2;
- window.open("AddInvite.aspx","NewWindow","height=" + WinHeight + ",width=" + WinWidth + ",top=" + TopLoca + ",left=" + WinLoca + ",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
- }
- function Search()
- {
- var WinWidth = 600;
- var WinHeight = 350;
- var WinLoca = (screen.width - WinWidth)/2;
- var TopLoca = (screen.height - WinHeight)/2;
- window.open("SearchInvite.aspx","SearchWindow","height=" + WinHeight + ",width=" + WinWidth + ",top=" + TopLoca + ",left=" + WinLoca + ",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
- }
- function Edit()
- {
- var IsCheck = false;
- var InviteID = "";
- divCount = document.all.tags("input");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.checked)
- {
- IsCheck = true;
- InviteID = obj.value;
- }
- }
- if (IsCheck && InviteID != "")
- {
- var WinWidth = 600;
- var WinHeight = 500;
- var WinLoca = (screen.width - WinWidth)/2;
- var TopLoca = (screen.height - WinHeight)/2;
- window.open("EditInvite.aspx?InviteID=" + InviteID,"EditWindow","height=" + WinHeight + ",width=" + WinWidth + ",top=" + TopLoca + ",left=" + WinLoca + ",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
- }
- else alert("请选择招聘信息")
- }
- function Edit2(v)
- {
- divCount = document.all.tags("tr");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.id.indexOf("trID") != -1)
- {
- obj.bgColor = "#FFFFFF";
- var id = obj.id.replace("trID","")
- if (id == v ) obj.bgColor = "#EEF2F7";
- }
- }
- divCount = document.all.tags("input");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.value==v) obj.checked = true;
- else obj.checked = false
- }
- var IsCheck = false;
- var InviteID = "";
- divCount = document.all.tags("input");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.checked)
- {
- IsCheck = true;
- InviteID = obj.value;
- }
- }
- if (IsCheck && InviteID != "")
- {
- var WinWidth = 600;
- var WinHeight = 500;
- var WinLoca = (screen.width - WinWidth)/2;
- var TopLoca = (screen.height - WinHeight)/2;
- window.open("EditInvite.aspx?InviteID=" + InviteID,"EditWindow","height=" + WinHeight + ",width=" + WinWidth + ",top=" + TopLoca + ",left=" + WinLoca + ",,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
- }
- else alert("请选择招聘信息")
- }
- function Del()
- {
- var IsCheck = false;
- var InviteID = "";
- divCount = document.all.tags("input");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.checked)
- {
- IsCheck = true;
- InviteID = obj.value;
- }
- }
- if (IsCheck && InviteID != "")
- {
- if (window.confirm('真的要删除吗?'))
- {
- window.open("DelInvite.aspx?InviteID=" + InviteID,"DelWindow","height=1,width=1,top=" + (screen.height-133)/2 +",left=" + (screen.width-115)/2 + ",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
- }
- }
- else alert("请选择招聘信息")
- }
- function SelectOne(v)
- {
- divCount = document.all.tags("tr");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.id.indexOf("trID") != -1)
- {
- obj.bgColor = "#FFFFFF";
- var id = obj.id.replace("trID","")
- if (id == v ) obj.bgColor = "#EEF2F7";
- }
- }
- divCount = document.all.tags("input");
- for (i=0; i<divCount.length; i++)
- {
- obj = divCount(i);
- if (obj.value==v) obj.checked = true;
- else obj.checked = false
- }
- }
- function ToPage(Page)
- {
- if (Page=="")
- {
- alert("请输入页数");
- GoPage.focus();
- return false;
- }
- var Url = QueryString("Page");
- location.href=Url + "Page=" + Page;
- }
- function Sort(Field)
- {
- var Url = QueryString("ParaName");
- if (getCookie("Sort")=="DESC")
- {
- location.href = Url + "ParaName=" + Field + " DESC";
- setCookie("Sort","ASC");
- }
- else
- {
- location.href = Url + "ParaName=" + Field + " ASC";
- setCookie("Sort","DESC");
- }
- }
- function QueryString(sName)
- {
- var Url = String(this.location);
- var iPos;
- var Para = "";
- iPos = Url.indexOf("?");
- if (iPos != -1)
- {
- var Url = Url.substr(iPos + 1, Url.length - iPos);
- var arra = Url.split("&");
- for(var i=0;i<arra.length;i++)
- {
- if (arra[i].indexOf(sName) == -1) Para = Para + arra[i] + "&";
- }
- }
- return "InviteInfor.aspx?" + Para;
- }
- //-->
- </script>
- </head>
- <body bgcolor="DFF0FA" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
- <table border="0" width="100%" id="table1" cellpadding="5" cellspacing="0">
- <tr>
- <td>
- <table border="0" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="27"><img border="0" src="/images/invite.gif" width="29" height="29"></td>
- <td>站内公告管理</td>
- </tr>
- </table>
- <table border="0" width="100%" cellspacing="0" cellpadding="0" background="/images/line1.gif">
- <tr>
- <td height="2"></td>
- </tr>
- </table>
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="16" align="right"><img border="0" src="/images/add.gif" width="16" height="16"></td>
- <td width="40" valign="bottom"><a href="javascript:AddRecord();">新增</a></td>
- <td width="16" align="right"><img border="0" src="/images/edit.gif" width="16" height="16"></td>
- <td width="40" valign="bottom"><a href="javascript:Edit();">修改</a></td>
- <td width="16" align="right"><img border="0" src="/images/del.gif" width="16" height="16"></td>
- <td width="40" valign="bottom"><a href="javascript:Del();">删除</a></td>
- <td width="16" align="right"><img border="0" src="/images/refresh.gif" width="16" height="16"></td>
- <td width="40" valign="bottom"><a href="javascript:location.reload();">刷新</a></td>
- <td width="16" align="right"><img border="0" src="/images/search.gif" width="16" height="16"></td>
- <td width="40" valign="bottom"><a href="javascript:Search();">搜索</a></td>
- <td width="16" align="right"> </td>
- <td width="40" valign="bottom"> </td>
- <td width="16" align="right"> </td>
- <td width="65" valign="bottom"> </td>
- <td width="16" align="right"> </td>
- <td width="75" valign="bottom"> </td>
- <td width="16" align="right"> </td>
- <td width="40" valign="bottom"> </td>
- <td> </td>
- </tr>
- </table>
- <table border="0" id="table2" width="800" cellspacing="1" bgcolor="#C0C0C0" cellpadding="1">
- <tr>
- <td background="/images/head_bg.gif" height="23" align="center"><b>选择</b></td>
- <td background="/images/head_bg.gif" height="23" align="center"><b><font color="#003333">编号</font></b></td>
- <td background="/images/head_bg.gif" height="23" align="center"><b><font color="#003333">职位名称</font></b></td>
- <td background="/images/head_bg.gif" height="23" align="center"><b><font color="#003333">有效期限</font></b></td>
- <td background="/images/head_bg.gif" height="23" align="center"><b><font color="#003333">招聘状态</font></b></td>
- </tr>
- <tr id="trID" bgcolor="#FFFFFF" onclick="SelectOne();" ondblclick="Edit2();">
- <td height="18" align="center">
- <input type="radio" value="" name="CheckNo"></td>
- <td height="18" align="center"></td>
- <td height="18" align="center"></td>
- <td height="18" align="center"></td>
- <td height="18" align="center"></td>
- </tr>
- </table>
- <table border="0" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <td><asp:Label ID="Pager" Runat="SERVER" Visible="True"></asp:Label></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>