• 大小: 15.91M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-08
  • 语言: 其他
  • 标签: 其他  

资源简介

党建网站源码1.rar

资源截图

代码片段和文件信息

using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.IO;

namespace PageAdmin
 {
   public class PaInstall:Page
    {
      protected TextBox Tb_sqlTbMasterDirLogin_PassLogin_Pass1;
      protected PlaceHolder Panel1Panel2Panel3Panel4Panel5;
      protected RadioButton Radio_1Radio_2;
      protected Label Lbl_error;
      protected Button Setup_1;
      protected string Net_VersionManageDirectorymasterurlSERVER_PORT;
      protected string[] r_pw_pd_p;
      int Mtype_Id;

     protected void Page_Load(object srcEventArgs e)
        {
          if(check_Installlock())
           {
            if(!Page.IsPostBack)
            {
            Net_Version=Environment.Version.ToString(); 
            SERVER_PORT=Request.ServerVariables[“SERVER_PORT“]==“80“?““:“:“+Request.ServerVariables[“SERVER_PORT“];
            switch(Request.QueryString[“Setup“])
            {

              case “2“:
                 Panel1.Visible=false;
                 Panel2.Visible=true;
                 Panel3.Visible=false;
                 Panel4.Visible=false;
                 Panel5.Visible=false;
                 check_permission();
             break;

              case “3“:
                 Panel1.Visible=false;
                 Panel2.Visible=false;
                 Panel3.Visible=true;
                 Panel4.Visible=false;
                 Panel5.Visible=false;
                 string Str_DbType=ConfigurationManager.AppSettings[“DbType“].ToString();
                if(Str_DbType==“1“)
                 {
                  Radio_1.Checked=false;
                  Radio_2.Checked=true;
                 }
                else
                 {
                  Radio_1.Checked=true;
                  Radio_2.Checked=false;
                 }
                 TbMasterDir.Text=ConfigurationManager.AppSettings[“ManageDirectory“].ToString().Replace(“/e/“““).Replace(“/“““);
             break;

            case “4“:
                 Panel1.Visible=false;
                 Panel2.Visible=false;
                 Panel3.Visible=false;
                 Panel4.Visible=true;
                 Panel5.Visible=false;
             break;

            default:
                 Panel1.Visible=true;
                 Panel2.Visible=false;
                 Panel3.Visible=false;
                 Panel4.Visible=false;
                 Panel5.Visible=false;
             break;

          }
        }

       }

    }

     protected void Next_1(object srcEventArgs e)
      {
        if(check_Installlock())
        {
         string ThePath=Server.MapPath(“/web.config“);
         if(!File.Exists(ThePath))
            {
              Lbl_error.Visible=true;
              Lbl_error.Text=“错误:请将网站放在根目录下再运行。“; 
              Setup_1.Enabl

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      11776  2015-02-10 17:29  bin\PageAdmin.CommMethod.dll

     文件       5120  2015-02-09 12:06  bin\PageAdmin.Conn.dll

     文件      96256  2015-05-07 16:28  bin\PageAdmin.Editor.dll

     文件      11776  2015-05-22 18:04  bin\PageAdmin.Global.dll

     文件       9728  2014-11-04 18:05  bin\PageAdmin.Html.dll

     文件      24576  2014-03-09 13:12  bin\PageAdmin.Install.dll

     文件       6656  2015-04-24 16:42  bin\PageAdmin.Log.dll

     文件       5120  2014-03-09 13:12  bin\PageAdmin.Md5.dll

     文件      32768  2015-02-11 10:30  bin\PageAdmin.Pay.dll

     文件      12800  2015-02-10 17:53  bin\PageAdmin.SendMessage.dll

     文件       7168  2014-10-05 15:44  bin\PageAdmin.Thumbnai.dll

     文件      11264  2014-03-09 13:12  bin\PageAdmin.Watermark.dll

     文件    1757696  2015-07-09 09:30  bin\PageAdmin.Web.dll

     文件       3793  2015-02-09 22:24  e\aspx\add_favo.aspx

     文件       6546  2015-05-08 12:00  e\aspx\adv.aspx

     文件       1882  2015-02-09 22:25  e\aspx\adv_new.aspx

     文件       2807  2015-03-30 21:53  e\aspx\ajax_list.aspx

     文件       2378  2015-03-30 21:54  e\aspx\ajax_zdymodel.aspx

     文件      10627  2015-03-27 19:03  e\aspx\attachment.aspx

     文件       6314  2011-05-18 22:53  e\aspx\attachment_download.aspx

     文件         55  2012-11-16 18:09  e\aspx\count.aspx

     文件       2470  2014-12-21 14:52  e\aspx\custom_zdymodel.aspx

     文件      22175  2015-05-23 16:43  e\aspx\data_select.aspx

     文件       3518  2015-02-09 22:27  e\aspx\delete_file.aspx

     文件       1876  2015-02-09 22:27  e\aspx\detail.aspx

     文件      13220  2015-05-23 22:39  e\aspx\file_list.aspx

     文件      10132  2015-05-23 16:43  e\aspx\file_select.aspx

     文件      14480  2015-02-09 22:29  e\aspx\get_comments.aspx

     文件       2012  2015-02-09 22:29  e\aspx\get_info.aspx

     文件         58  2013-03-27 17:49  e\aspx\get_sort.aspx

............此处省略1924个文件信息

评论

共有 条评论