webForm/Manager/Soft.aspx.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Web;
using XkCms.BaseFunction;
using System.Web.UI.WebControls;

namespace XkCms.Manager
{
    public partial class Soft : Admin
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Xkzi_Load("", true, ref lblChannel);
        }

        protected override void editBox()
        {
            plEdit.Visible = true;
            plList.Visible = false;
            btnSaveContent.OnClientClick = "getDownUrls('" + lbDownUrl.ClientID + "','" + hfDownUrl.ClientID + "')";
            ltOperSystem.Text = "<font color='#808080'>平台选择:"
                + "<a href=\"javascript:ToSystem('Linux','" + txtOperatingSystem.ClientID + "')\">Linux</a>/"
                + "<a href=\"javascript:ToSystem('DOS','" + txtOperatingSystem.ClientID + "')\">DOS</a>/"
                + "<a href=\"javascript:ToSystem('9x','" + txtOperatingSystem.ClientID + "')\">9x</a>/"
                + "<a href=\"javascript:ToSystem('95','" + txtOperatingSystem.ClientID + "')\">95</a>/"
                + "<a href=\"javascript:ToSystem('98','" + txtOperatingSystem.ClientID + "')\">98</a>/"
                + "<a href=\"javascript:ToSystem('Me','" + txtOperatingSystem.ClientID + "')\">Me</a>/"
                + "<a href=\"javascript:ToSystem('NT','" + txtOperatingSystem.ClientID + "')\">NT</a>/"
                + "<a href=\"javascript:ToSystem('2000','" + txtOperatingSystem.ClientID + "')\">2000</a>/"
                + "<a href=\"javascript:ToSystem('XP','" + txtOperatingSystem.ClientID + "')\">XP</a>/"
                + "<a href=\"javascript:ToSystem('.NET','" + txtOperatingSystem.ClientID + "')\">.NET</a>/</font>";
            ltViewButton.Text = "<input type='button' value='添加外部地址' onclick='AddUrl(" + lbDownUrl.ClientID + ")'/><br>"
                            + "<input type='button' value='修改当前地址' onclick='return ModifyUrl(" + lbDownUrl.ClientID + ")'/><br>"
                            + "<input type='button' value='删除当前地址' onclick='DelUrl(" + lbDownUrl.ClientID + ")'/>";
            string id = q("id") == "" ? "0" : q("id");
            getEditDropDownList(ref ddlTcolor, ref ddlContentColumn, ref ddlSource, ref ddlDiss, ref txtImg, ref ddlContentTemplate);
            doh.Reset();
            Xkzi.Data.WebFormHandler wh = new Xkzi.Data.WebFormHandler(doh, "Xk_Soft", btnSaveContent);
            wh.AddBind(txtContentTitle, "title", true);
            wh.AddBind(ddlContentColumn, "columnId", false);
            wh.AddBind(ddlDiss, "disid", false);
            wh.AddBind(ddlSource, "sourceid", false);
            wh.AddBind(txtContentAuthor, "author", true);
            wh.AddBind(txtImg, "img", true);
            wh.AddBind(rbtnContentTop, "SelectedValue", "istop", false);
            wh.AddBind(chkIsEdit, "1", "ispass", false);
            wh.AddBind(txtViewNum, "viewnum", false);
            wh.AddBind(FCKeditor1, "Value", "summary", true);
            wh.AddBind(ref ChannelId, "ChannelId", false);
            wh.AddBind(ddlTcolor, "tcolor", true);
            wh.AddBind(ddlSoftType, "stype", true);
            wh.AddBind(ddlLanguage, "slanguage", true);
            wh.AddBind(txtVersion, "version", true);
            wh.AddBind(ddlCopyrightType, "CopyrightType", true);
            wh.AddBind(txtPassword, "UnZipPass", true);
            wh.AddBind(txtDemoUrl, "demourl", true);
            wh.AddBind(txtRegUrl, "regurl", true);
            wh.AddBind(hfDownUrl, "Value", "downurl", true);
            wh.AddBind(txtOperatingSystem, "OperatingSystem", true);
            if (id == "0")
后面还有 85 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。