old_flsystem/网站/index.aspx.cs

59 lines
2.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
public string html_kefu_text = "售前咨询QQ1077151162";
public string html_chat_text = "交流QQ群894902737";
public string html_name = "秒单客";
public string html_title = "秒单客-返利机器人fanli.miaodanke.com";
public string html_describe = "支持淘宝、拼多多、京东返利<br>自动发朋友圈、发红包、转发、点赞、批量挂机";
public string[] html_homelink = new string[]
{
"TitleHome|index.aspx|首页",
"Help|http://help.flsystem.miaodanke.com|查看使用文档",
"Auth|http://user.52cmg.cn/common/login/code/1001|机器人授权管理"
};
public string[] html_helplink = new string[]
{
"http://download.microsoft.com/download/1/4/A/14A6C422-0D3C-4811-A31F-5EF91A83C368/NDP46-KB3045560-Web.exe|.NET 4.61运行环境下载"
};
public string html_down_url = "https://www.lanzous.com/i391scd";
public string html_down_text = "下载最新系统";
/// <summary>
/// 输出超链接
/// </summary>
public void write_homelink()
{
foreach (string item in html_homelink)
{
string[] temp = item.Split('|');
Response.Write(string.Format("<li id=\"{0}\"><a href=\"{1}\" target=\"{3}\">{2}</a></li>",temp[0],temp[1],temp[2],temp[1].StartsWith("http")?"_blank":""));
}
}
public void write_helplinke()
{
int number = 0;
foreach (string item in html_helplink)
{
number++;
string[] temp = item.Split('|');
Response.Write(string.Format("<a href = \"{0}\" role = \"button\" > {1} </a> ", temp[0], temp[1]));
if (number != html_helplink.Length) Response.Write("&nbsp;&nbsp;&nbsp;&nbsp;");
}
}
}