• 大小: 17.86MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-15
  • 语言: 其他
  • 标签: 网站建设  

资源简介

介绍: 茶具公司网站模板,设计精美,时尚大气,适用于陶瓷,手工艺品生产制造企业的网站建设。 网站主体宽度:1170px

资源截图

代码片段和文件信息

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

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

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

     文件       6510  2015-11-14 11:26  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

     文件      11342  2015-11-25 16:50  e\aspx\attachment.aspx

     文件       6314  2011-05-18 22:52  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

     文件       2475  2015-09-19 17:57  e\aspx\data_redirect.aspx

     文件      27084  2015-12-09 15:24  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

     文件      13516  2015-11-02 09:24  e\aspx\file_list.aspx

     文件      10209  2015-10-10 16:23  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

     文件       2765  2015-02-09 22:30  e\aspx\link.aspx

     文件      15903  2015-11-28 15:52  e\aspx\load_ajaxdata.aspx

     文件       7279  2015-07-09 17:15  e\aspx\loginbox.aspx

     文件       5179  2015-11-25 12:13  e\aspx\membertype_select.aspx

     文件      11733  2015-12-18 10:19  e\aspx\member_select.aspx

     文件       2836  2015-02-09 22:30  e\aspx\mood.aspx

     文件         59  2012-11-17 11:18  e\aspx\post.aspx

     文件       9932  2015-12-12 12:00  e\aspx\quick_login.aspx

     文件         26  2011-07-03 02:56  e\aspx\restore_application.aspx

     文件      21652  2015-12-04 14:30  e\aspx\slide.aspx

     文件       1571  2015-03-30 22:23  e\aspx\smskey.aspx

     文件      11639  2015-12-09 15:24  e\aspx\sort_select.aspx

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

评论

共有 条评论