YKT_EShop/Admin/Plus/Picture/ViewCode.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using YKT_EShop._Class;
namespace YKT_EShop.Admin.Plus.Picture
{
public partial class ViewCode : System.Web.UI.Page
{
protected string highLighterJs;
protected TextBox txtHighLighter;
protected void Page_Load(object sender, EventArgs e)
{
string filePath = Request.QueryString["objfile"];
if (File.Exists(filePath))
{
string fileExt;
string fileContent;
string getEncode;
string highLighterType = "";
switch (Path.GetExtension(filePath).ToLower())
{
case ".c":
case ".cpp":
highLighterType = "cpp";
highLighterJs = "shBrushCpp.js";
break;
case ".cs":
highLighterType = "csharp";
highLighterJs = "shBrushCSharp.js";
break;
case ".css":
highLighterType = "css";
highLighterJs = "shBrushCss.js";
break;
case ".java":
case ".jsp":
highLighterType = "java";
highLighterJs = "shBrushJava.js";
break;
case ".js":
highLighterType = "javascript";
highLighterJs = "shBrushJScript.js";
break;
case ".php":
highLighterType = "php";
highLighterJs = "shBrushPhp.js";
break;
case ".sql":
highLighterType = "sql";
highLighterJs = "shBrushSql.js";
break;
case ".vb":
highLighterType = "vb";
后面还有 27 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。