|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/54f3ceba/6be944cd/ |
?#pragma checksum "D:\wwwroot\klbttc\wwwroot\RecruitTalented.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F87728D0323C75366E483AF46C4B9525F19998E4"
#line 1 "D:\wwwroot\klbttc\wwwroot\RecruitTalented.aspx.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class RecruitTalented : System.Web.UI.Page
{
C c = new C();
DataSet ds = new DataSet();
public int mid = 0;
public string webSite, webTitle, banner_url, rcjstdHtml = string.Empty;
public string[] abouts = new string[18];
protected void Page_Load(object sender, EventArgs e)
{
ds = MyFunction.Query("SELECT MenuSys_1.MenuSys1 AS Expr1, MenuSys.*,MenuSys_1.MenuSys0 AS Expr3,l.link2 FROM MenuSys INNER JOIN MenuSys MenuSys_1 ON MenuSys.MenuSys3 = MenuSys_1.MenuSys0 LEFT JOIN link l ON l.link1 = MenuSys_1.MenuSys1 AND l.link5 = 67 WHERE (MenuSys.MenuSys0 =@mid)", new SqlParameter[] { new SqlParameter("@mid", 168) });
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
webSite = ds.Tables[0].Rows[0]["Expr1"].ToString();
webTitle = ds.Tables[0].Rows[0]["MenuSys1"].ToString();
banner_url = ds.Tables[0].Rows[0]["link2"].ToString();
}
}
string sql = "SELECT * FROM about WHERE about5 = @mid;";
SqlParameter[] ps = new SqlParameter[] { new SqlParameter("@mid", 168) };
ds = MyFunction.Query(sql, ps);
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
abouts[0] = ds.Tables[0].Rows[0][0].ToString();
abouts[1] = ds.Tables[0].Rows[0][1].ToString();
abouts[2] = ds.Tables[0].Rows[0][2].ToString();
abouts[3] = ds.Tables[0].Rows[0][3].ToString();
abouts[4] = ds.Tables[0].Rows[0][4].ToString();
abouts[5] = ds.Tables[0].Rows[0][5].ToString();
abouts[6] = ds.Tables[0].Rows[0][6].ToString();
abouts[7] = ds.Tables[0].Rows[0][7].ToString();
abouts[8] = ds.Tables[0].Rows[0][8].ToString();
abouts[9] = ds.Tables[0].Rows[0][9].ToString();
abouts[10] = ds.Tables[0].Rows[0][10].ToString();
abouts[11] = ds.Tables[0].Rows[0][11].ToString();
abouts[12] = ds.Tables[0].Rows[0][12].ToString();
abouts[13] = ds.Tables[0].Rows[0][13].ToString();
abouts[14] = ds.Tables[0].Rows[0][14].ToString();
abouts[15] = ds.Tables[0].Rows[0][15].ToString();
abouts[16] = ds.Tables[0].Rows[0][16].ToString();
abouts[17] = ds.Tables[0].Rows[0][17].ToString();
}
}
//人才提升通路
ds = MyFunction.Query("SELECT * FROM about WHERE about5 = @mid;", new SqlParameter[] { new SqlParameter("@mid", 181) });
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
var xzglxl = ds.Tables[0].Rows[0]["about1"].ToString();
var xzzcxl = ds.Tables[0].Rows[0]["about2"].ToString();
var jsxl = ds.Tables[0].Rows[0]["about3"].ToString();
var scxl = ds.Tables[0].Rows[0]["about4"].ToString();
System.Text.StringBuilder builder = new System.Text.StringBuilder();
//行政治理序列
if (!string.IsNullOrWhiteSpace(xzglxl))
{
var xzgl = xzglxl.Split(new char[] { '|', ':' });
builder.AppendLine("<li>");
builder.AppendLine(" <div class=\"tit\">" + xzgl[0] + "</div>");
builder.AppendLine(" <div class=\"list-box\">");
int i = 1;
if (xzgl.Length > 1)
{
var channeItems = xzgl[1].Split(new char[] { ',', ',' });
foreach (var item in channeItems)
{
if (i == channeItems.Length)
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
}
else
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
builder.AppendLine("<i class=\"icon\"></i>");
}
i++;
}
}
builder.AppendLine(" </div>");
builder.AppendLine("</li>");
}
//行政支持序列
if (!string.IsNullOrWhiteSpace(xzzcxl))
{
var xzzc = xzzcxl.Split(new char[] { '|', ':' });
builder.AppendLine("<li>");
builder.AppendLine(" <div class=\"tit\">" + xzzc[0] + "</div>");
builder.AppendLine(" <div class=\"list-box\">");
int i = 1;
if (xzzc.Length > 1)
{
var channeItems = xzzc[1].Split(new char[] { ',', ',' });
foreach (var item in channeItems)
{
if (i == channeItems.Length)
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
}
else
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
builder.AppendLine("<i class=\"icon\"></i>");
}
i++;
}
}
builder.AppendLine(" </div>");
builder.AppendLine("</li>");
}
//技术序列
if (!string.IsNullOrWhiteSpace(jsxl))
{
var js = jsxl.Split(new char[] { '|', ':' });
builder.AppendLine("<li>");
builder.AppendLine(" <div class=\"tit\">" + js[0] + "</div>");
builder.AppendLine(" <div class=\"list-box\">");
int i = 1;
if (js.Length > 1)
{
var channeItems = js[1].Split(new char[] { ',', ',' });
foreach (var item in channeItems)
{
if (i == channeItems.Length)
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
}
else
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
builder.AppendLine("<i class=\"icon\"></i>");
}
i++;
}
}
builder.AppendLine(" </div>");
builder.AppendLine("</li>");
}
//出产序列
if (!string.IsNullOrWhiteSpace(scxl))
{
var sc = scxl.Split(new char[] { '|', ':' });
builder.AppendLine("<li>");
builder.AppendLine(" <div class=\"tit\">" + sc[0] + "</div>");
builder.AppendLine(" <div class=\"list-box\">");
int i = 1;
if (sc.Length > 1)
{
var channeItems = sc[1].Split(new char[] { ',', ',' });
foreach (var item in channeItems)
{
if (i == channeItems.Length)
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
}
else
{
builder.AppendLine("<div class=\"button\">" + item + "</div>");
builder.AppendLine("<i class=\"icon\"></i>");
}
i++;
}
}
builder.AppendLine(" </div>");
builder.AppendLine("</li>");
}
rcjstdHtml = builder.ToString();
}
}
//工作环境
ds = MyFunction.Query("SELECT * FROM news WHERE news9 = @mid ORDER BY ISNULL(news10, 9999),news7 DESC", new SqlParameter[] { new SqlParameter("@mid", 189) });
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
rep_news_189.DataSource = ds.Tables[0];
rep_news_189.DataBind();
}
}
this.Title = webTitle + " - " + Application["sysset1"].ToString();
}
}
#line default
#line hidden