Easy.COMMON/WriteResume.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Collections;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
namespace Easy.COMMON
{
public class WriteResume
{
// Fields
private string businessPath1 = "/tab_mail/busmail_1.html";
private string businessPath2 = "/tab_mail/busmail_2.html";
private string emailPath1 = "/tab_mail/mail_1.html";
private string emailPath2 = "/tab_mail/mail_2.html";
private string resumePath = "/Controls/resume.htm";
private string returnemailPath1 = "/sendmail/returnCN.htm";
private string returnemailPath2 = "/sendmail/returnEN.htm";
private string returnemailPath3 = "/sendmail/returnCEN.htm";
// Methods
public string getEmailTemple(string type, string newsList, string url, string newsContent, string imgHead, string imgFoot, string rightcontent, string busOrderManage)
{
string emailPath = this.businessPath1;
if (type == "2")
{
emailPath = this.businessPath2;
}
Encoding code = Encoding.GetEncoding("gb2312");
string temp = HttpContext.Current.Server.MapPath(emailPath);
StreamReader sr = null;
string str = "";
try
{
sr = new StreamReader(temp, code);
str = sr.ReadToEnd();
}
catch (Exception exp)
{
HttpContext.Current.Response.Write(exp.Message);
HttpContext.Current.Response.End();
sr.Close();
}
return str.Replace("{$newsEmaillist$}", newsList).Replace("{$newsEmailContent$}", newsContent).Replace("{$EmailCss$}", url).Replace("{$imgHead$}", imgHead).Replace("{$imgFoot$}", imgFoot).Replace("{$rightcontent$}", rightcontent).Replace("{$emailOrderManage$}", busOrderManage);
}
public string getEmailTmeple(string type, string newsList, string url, string newsContent, string imgHead, string imgFoot, string rightcontent, string emailOrderManage)
{
string emailPath = this.emailPath1;
if (type == "2")
{
emailPath = this.emailPath2;
}
Encoding code = Encoding.GetEncoding("gb2312");
string temp = HttpContext.Current.Server.MapPath(emailPath);
StreamReader sr = null;
后面还有 95 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。