028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

VisualStudio2005的那些事儿

【独家特稿】2010年4月12日是微软Visual Studio 2010正式版发布的日子。作为Visual Studio的用户,您是否还记得自己使用的第一个Visual Studio版本?是否还记得CODE出第一段代码时的兴奋?是否还记得那无数个寻找Bug的日日夜夜?开发频道带您一起走进Visual Studio历史,今天我们要介绍的是——Visual Studio 2008。

成都创新互联是一家专业提供渝北企业网站建设,专注与成都网站建设、做网站、html5、小程序制作等业务。10年已为渝北众多企业、政府机构等服务。创新互联专业的建站公司优惠进行中。

前言:4月份就要发布Visual Studio2010了,它的Beta2版我已经从网上下载下来尝鲜了,对于普通开发人员来说,VS2010与时俱进地增加了很多新的特性以适应新的开发要求,比如增加了多定向支持、并行计算和云计算等,并且在VS2010中也针对VC++做了很大的支持。

作为一个.NET开发人员,我经历了支持.NET开发的VS的各个版本。下面一个开发人员的角度来谈谈我对Visual Studio 2005的感受。

记得最早我练习ASP.NET是用Dreamweaver来练习的,C#代码和HTML都在一个ASPX页面中,很不方便管理。后来别人向我介绍了VS2002,这是第一个支持.NET开发VS开发工具,它所支持的.NET版本是.NET 1.0。它采用了网页与代码分离的模式,是开发人员可以将主要注意力放在业务逻辑处理上,大大提高了开发速度。

Visual Studio 2002推出没多久微软就推出了Visual Studio 2003,Visual Studio 2003支持的.NET版本是.NET 1.1,普通的开发人员可能都不知道Visual Studio 2002与Visual Studio 2003及.NET 1.0与.NET 1.1之间有哪些区别。

Visual Studio 2005的当年的推出让大家马上感觉到有很大的变化,有点耳目一新的感觉。

在编程语法特性上增加了泛型、可空类型等。

泛型

在Visual Studio 2005以前即使遇到特定集合类型,也只能使用通用的集合类型来存储,这样一来在集合中存取值类型数据时存在着装箱和拆箱过程,而且由于在.NET1.1中集合类型被设计成用来存储object对象,所以无法对存入的数据的类型进行保证,在Visual Studio 2005中这个得到了解决,那就是泛型集合。

例如,在Visual Studio 2003中的实现:

 
 
 
 
  1. /// 
  2. /// 使用ArrayList的例子
  3. /// summary>
  4. public void ArrayListDemo()
  5. {
  6.     //声明一个集合,只存储int类型数据
  7.     ArrayList integerList = new ArrayList();
  8.     integerList.Add(1);//没有问题
  9.     integerList.Add("one");//可以添加
  10.     for (int i = 0; i < integerList.Count; i++)
  11.     {
  12.         int value = (int)integerList[i];//对第二个数操作时会抛出异常
  13.     }
  14. }
  15. 在Visual Studio 2005中的实现:
  16. /// 
  17. /// 使用泛型集合的例子
  18. /// summary>
  19. public void ListDemo()
  20. {
  21.     //声明一个只存储int类型数据的泛型集合
  22.     List integerList = new List();
  23.     integerList.Add(1);//没有问题
  24.     //integerList.Add("one");//此句不能编译通过
  25.     for (int i = 0; i < integerList.Count; i++)
  26.     {
  27.         int value = integerList[i];//此处无需做类型转换
  28.     }
  29. }

using关键字

using关键是用引入命名空间之外,在Visual Studio 2005中还可以用来释放一些实现了IDisposable接口的类,using 语句按照正确的方式调用对象上的 Dispose 方法,并(在您按照前面所示方式使用它时)会导致在调用 Dispose 时对象自身处于范围之外。在 using 块中,对象是只读的并且无法进行修改或重新分配。using 语句确保调用 Dispose,即使在调用对象上的方法时发生异常也是如此。通过将对象放入 try 块中,并在调用 finally 块中的 Dispose,可以获得相同的结果;实际上,这就是编译器转换 using 语句的方式。

比如执行对数据库的增删改查操作,在Visual Studio 2005以前我们可能会这么写:

 
 
 
 
  1. /// 
  2. /// 执行Update/Delete/Insert类型的SQL语句,并返回受影响的行数
  3. /// summary>
  4. /// 要执行的Update/Delete/Insert类型的SQL语句param>
  5. /// 执行SQL语句的类型,如是文本型还是存储过程param>
  6. /// 执行存储过程时所需要的参数param>
  7. /// returns>
  8. public int ExecuteNonQuery(string sql, CommandType commandType, SqlParameter[] parameters)
  9. {
  10. //定义SqlConnection对象
  11. SqlConnection connection = null;
  12. //定义SqlCommand对象
  13. SqlCommand command = null;
  14. //定义执行语句之后受影响的行数
  15. int affectedRows = 0;
  16. try
  17. {
  18.     connection = new SqlConnection(connectionString);
  19.     command = new SqlCommand(sql, connection);
  20.     foreach (SqlParameter parameter in parameters)
  21.     {
  22.         command.Parameters.Add(parameter);
  23.     }
  24. command.CommandType = commandType;
  25.     connection.Open();//打开连接
  26.     //执行对数据库的操作
  27.     affectedRows = command.ExecuteNonQuery();
  28. }
  29. finally//在finally中执行关闭和释放SqlConnection及SqlCommand的操作
  30. {
  31.     if (connection != null && connection.State == ConnectionState.Open)
  32.     {
  33.         connection.Close();
  34.     }
  35.     if (command != null)
  36.     {
  37.         command.Dispose();
  38.     }
  39. }
  40. return affectedRows;
  41. }
  42. 在Visual Studio 2005中我们完全可以这么写:
  43. /// 
  44. /// 执行Update/Delete/Insert类型的SQL语句,并返回受影响的行数
  45. /// summary>
  46. /// 要执行的Update/Delete/Insert类型的SQL语句param>
  47. /// 执行SQL语句的类型,如是文本型还是存储过程param>
  48. /// 执行存储过程时所需要的参数param>
  49. /// returns>
  50. public int ExecuteNonQuery(string sql, CommandType commandType, SqlParameter[] parameters)
  51. {
  52. //定义执行语句之后受影响的行数
  53. int affectedRows = 0;
  54. using (SqlConnection connection = new SqlConnection(connectionString))
  55. {
  56.     using (SqlCommand command = new SqlCommand(sql, connection))
  57.     {
  58.         command.CommandType = commandType;
  59.         foreach (SqlParameter parameter in parameters)
  60.         {
  61.             command.Parameters.Add(parameter);
  62.         }
  63.         connection.Open();//打开连接
  64.         //执行对数据库的操作
  65.         affectedRows = command.ExecuteNonQuery();
  66.     }
  67. }
  68. return affectedRows;
  69. }

通过是用using语句大家可以明显看出代码更简洁了,并且是用using语句之后的效果和使用try{}finally{}的效果是一样的。

安全的类型转换

在开发中经常存在一些转换,比如从字符串类型转换成数值类型及从一种引用类型转换成另一种引用类型,在早期的版本中一旦出现不能转换的情况就会抛出异常,实际上系统处理异常的开销比较大,因而没有必要在所有情况下都抛出异常,在Visual Studio 2005中针对这种情况进行了改进。

如下:

 
 
 
 
  1. /// 
  2. /// VS2003中的写法
  3. /// summary>
  4. public void VS2003()
  5. {
  6.     int version1 = 0;
  7.     //下面的转换如果不成功就会抛出异常
  8.     version1 = int.Parse("zhoufoxcn");//这句会抛出异常
  9.     object str = "Hello Visual Studio 2005";
  10.     //下面转换如果失败就会抛出异常
  11.     Button btn = (Button)str;//因为string类型与Button类型之间不能转换,所以会抛出异常
  12.     
  13. }
  14. /// 
  15. /// Visual Studio 2005及更高版本的做法
  16. /// summary>
  17. public void Visual Studio 2005()
  18. {
  19.     int version2;
  20.     //如果转换成功parseSuccess为true,version2为对应字符串转换成的数值
  21.     //如果转换不成功则parseSuccess为false,version2的值不可用
  22.     bool parseSuccess = int.TryParse("zhoufoxcn", out version2);//这句永远不会抛出异常
  23.     if (parseSuccess)
  24.     {
  25.         //这里使用转换后的数值
  26.     }
  27.     object str = "Hello Visual Studio 2005";
  28.     //下面转换如果成功则btn不为null
  29.     //如果不成功则btn为null,但是不会抛出异常
  30.     Button btn = str as Button;//因为string类型与Button类型之间不能转换,所以btn为null
  31.     if (btn != null)
  32.     {
  33.         //这里处理能转换的情况
  34.     }
  35. }

局部类

在Visual Studio 2005中还引入了局部类的概念,这样对一个类的定义可以放在多个物理文件中,在编译的时候编译器会自动将属于统一个类的代码编译成一个完整的类定义。

如下面的代码:

 
 
 
 
  1. /// 
  2. /// Person类的部分定义1,物理文件名为Person1.cs
  3. /// 
  4. public partial class Person
  5. {
  6.     public int Age { get; set; }
  7. }
  8. /// 
  9. /// Person类的部分定义2,物理文件名为Person2.cs
  10. /// 
  11. public partial class Person
  12. {
  13.     public string Name { get; set; }
  14. }

编译的时候会将这两部分编译到一个完整的类定义中,最终编译的Person类总会有Age和Name两个属性。这种情况应用在WinForm开发和ASP.NET开发中都有体现,在WinForm中假如有一个窗体名为Form1,那么就有Form1.cs和Form1.designer.cs两个物理文件都是Form1类的局部类。在ASP.NET中一个ASPX页面对应的aspx.cs也是一个局部类。使用局部类的好处是可以将展示代码和逻辑代码分开,最终编译时会生成一个完整的类的定义。

在ASP.NET开发中也增加了很多亮点,比如增强了可视化编程,在VS2003中用户控件在被使用的页面处于设计视图下不是可视化的,只能在运行后才能看到用户控件最终的样子,这个在开发时多少有些不方便。除此之外还增加了如下功能:增加了ASP.NET Development Server组件、内置文件夹、母版页及主题等。

ASP.NET Development Server

图 ASP.NET Development Server

在VS2002及VS2003中开发ASP.NET应用程序只能使用IIS,每个ASP.NET应用都会作为IIS的一个网站或者虚拟目录,因为开发者的机器上必须安装IIS,而且最好按照先安装IIS再安装VS的步骤进行,否则就需要向IIS注册.NET Framework(早年我曾经为这个问题抓狂过,所以我在《ASP.NET夜话》第一章中特地说了这个注意事项)。而且使用这种开发,部署和调试都不是太方便,因为默认的ASP.NET应用会在IIS根目录下创建虚拟目录,如果没有更改的话一点系统出现问题不能启动恐怕你的代码也不好找回来了(这种情况我也遇见过)。

在Visual Studio 2005中内置了ASP.NET Development Server这个组件,这样开发者的机器上就不必再安装IIS了,而且我们可以基于文件系统开发,这样我们可以任意指定ASP.NET应用程序的存放位置,这样调试和部署起来就相当方便了,源代码管理也很方便。自从出现了ASP.NET Development Server这个组件之后很多ASP.NET开发人员甚至干脆不在开发的机器上安装IIS这个组件了,取而代之的就是ASP.NET Development Server这个组件(如果部署ASP.NET应用仍需要专业的Web服务器)。

母版页

在我们做Web应用的时候,经常会遇到一些页面之间有很多相同的显示部分和行为,如果每个页面都去重复编写这些代码,那就是一件非常麻烦的事情。因此在ASP.NET2.0中提出了母板页的概念,我们可以把多个页面之间相同的行为和显示部分放到母板页中,只需要为每个页面编写不同的部分即可,这样如果我们对公共部分需要变化仅仅更改母板页就能达到目的。母板页的文件后缀名为.master,一个网站中允许定义多个母板页。

母板页不能单独呈现,也就是我们不能在浏览器中直接输入母板页的url地址进行访问,必须依赖于内容页才能呈现。

下面是新建一个母板页的源代码:

 
 
 
 
  1. <%@ Master Language="C#" AutoEventWireup="true" CodeFile="FrontPage.master.cs" Inherits="FrontPage" %>
  2. >
  3.     无标题页title></li> <li>head></li> <li><body></li> <li>    <form id="form1" runat="server"></li> <li>    <div></li> <li>        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></li> <li>        asp:contentplaceholder></li> <li>    div></li> <li>    form></li> <li>body></li> <li>html></li> </ol></pre><p>在母板页中有一个“ ”标记,这相当于一个占位标记,将来使用了这个母板页的内容页中的内容将在这个标记中显示。因为母板页已经包含了</p><p>   标记,所以内容页中不允许再出现这些标记。</p><p>而一个内容页的代码如下:</p><pre> <ol> <li><%@ Page Language="C#" MasterPageFile="~/FrontPage.master" AutoEventWireup="true"</li> <li>CodeFile="MyPage.aspx.cs" Inherits="MyPage" Title="Untitled Page" %></li> <li><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"></li> <li>asp:Content></li> </ol></pre><p>在内容页中有一个 标记,内容页的代码只有放在这个标记之间的代码将来运行时才会可见。</p><p>通过母版页使我们在一组页面间共享结构和内容更加方便。</p><p><strong>内置文件夹</strong></p><p>如果我们使用Visual Studio 2005及更高版本,我们可能会注意到以下情况:</p></p><p>可以看到同样是文件夹,App_Data目录和js目录的图标在Visual Studio 2005中就是不一样,像App_Data这类文件夹的就是内置文件夹,在运行的时候Web服务器会对这类文件夹有特殊的措施,比如像App_Data这类文件夹是不能直接在浏览器地址栏里输入URL进行访问的。这样如果我们采用的是文件型数据库的话(如Access),我们就可以将mdb文件放到这个文件夹下,这样即使别人知道URL地址正确的URL地址也没有办法通过URL来下载,而在Visual Studio 2005及以前版本中,我们只能通过其它办法保护自己的敏感数据了。</p><p><strong>更方便的ASP.NET应用程序发布方式</strong></p><p>在VS2002和VS2003中没有提供脱离源代码发布ASP.NET应用的方式,这样一来开发的ASP.NET就需要将源代码连同项目一起提供给使用者(个人客户或者公司客户),这样一来整个项目的细节全部暴露给了使用者,而现在软件公司的开发模式基本上都是不提供源代码给使用者,所以在早期很多开发人员都在想办法让ASP.NET应用程序中的cs文件编译进dll中发布,早期笔者也曾经这么做过,配置和操作过程比较复杂,而在Visual Studio 2005中这个就不再是问题了,在Visual Studio 2005中可以一键解决这个问题。</p><p>在Visual Studio 2005中鼠标右键点击ASP.NET应用项目,在弹出的菜单中选择“发布网站”就会弹出发布网站的对话框,选择一个目录之后就可以发布了。发布网站成功之后就可以将发布成功后的文件夹(包含了整个ASP.NET应用正确运行的全部资源,如css、javascript、html和ASPX及dll)部署到Web服务器上,更改开发中的环境配置为运行时的环境配置即可正常运行和浏览了。比起以前的版本,这个过程极其方便。</p><p>除此之外,还增加了GridView、TreeView等控件使我们的开发效率大大提高了。而AccessDataSource、SqlDataSource、ObjectDataSource数据源控件的引入使得新手更加容易上手了。</p><p><strong>总结</strong></p><p>Visual Studio 2005是一款非常成功的产品,起着很重要的承上启下的作用。它是对VS2003等以前版本的质的提高,有很多功能比如类型转换、代码段管理、母版页、网站发布、using语句等语法和编译器功能是笔者从Visual Studio 2005后一直都在使用,这些特性确实方便了代码编写和调试,有些还能提高程序的健壮性和性能,从而也提高了开发人员的开发效率。</p><p><strong>Visual Studio 2005历史回放</strong></p></p><p><strong>Visual Studio 2005专业版外包装盒</strong></p><p>旧金山当地时间2005年11月7日。在Cheap Trick乐队的音乐助威声中,微软终于正式发布了Visual Studio 2005和SQL Server 2005。微软公司CEO Steve Ballmer出席了发布仪式。</p><p>SQL Server的上次升级已经是五年前的事情了,而这次二者新版本的发布加上刚刚发布的.NET Framework 2.0,都是为2006年Windows Vista而作的一种准备。Ballmer承认它们来得有些晚了,不过他重点强调了新版本的一些重大改进。</p><p>Visual Studio 2005极大地改进了性能表现和安全性,以满足微软所谓的“企业级(enterprise-grade)”应用。同时微软还发布了高端版本的Visual Studio 2005 Team System,主要针对程序员、测试员以及软件架构师,可以在一个团队之间建立有效的协作,其售价也是不菲,高达$10939。</p><p><strong>Visual Studio 2005安装光盘</strong></p><p><strong>作者简介</strong></p><p>周金桥,网名周公,微软2008年7月MVP,专家堂成员。微软山西.NET俱乐部技术负责人。超过6年的Web开发经验,擅长ASP.NET、程序性能和安全优化。</p> <br> 网页标题:VisualStudio2005的那些事儿 <br> 转载来源:<a href="http://www.tsicrk.com/article/dhgcscg.html">http://www.tsicrk.com/article/dhgcscg.html</a> </div> <div class="other"> <h3>其他资讯</h3> <ul> <li><a href="/article/cdeopsj.html">windows10翻页时钟?(windows10翻页时钟屏保)</a></li><li><a href="/article/cdeojhe.html">明天为什么不能手机支付</a></li><li><a href="/article/cdeojhg.html">提高MySQL性能的7个技巧</a></li><li><a href="/article/cdeopdd.html">分词与索引库</a></li><li><a href="/article/cdeojhi.html">怎么安装与添加dns服务器</a></li> </ul> </div> </div> <div class="oneE"> <div class="oneEa container wow fadeInUp"> <ul> <li> <dd><img src="/Public/Home/img/oe1.png" alt=""></dd> <h3>网站建设专属方案</h3> </li> <li> <dd><img src="/Public/Home/img/oe2.png" alt=""></dd> <h3>网站定制化设计</h3> </li> <li> <dd><img src="/Public/Home/img/oe3.png" alt=""></dd> <h3>7X24小时服务</h3> </li> <li> <dd><img src="/Public/Home/img/oe4.png" alt=""></dd> <h3>N对管家服务</h3> </li> </ul> </div> <div class="oneEb container wow fadeInUp"> <h2>让你的专属顾问为你服务</h2> <form action=""> <input type="text" placeholder="需求"> <input type="text" placeholder="输入你的联系方式(微信或电话号码)"> <button>立即联系</button> </form> </div> </div> <footer> <div class="foot container"> <div class="footl"> <img src="/Public/Home/img/logo.png" alt=""> <p>用前卫的视觉</p> <p>把握好每一个细节</p> </div> <div class="footc"> <dl> <dt>服务项目</dt> <dd><a href="">网站建设</a></dd> <dd><a href="">网站优化</a></dd> <dd><a href="">网站设计</a></dd> <dd><a href="">小程序开发</a></dd> <dd><a href="">电商平台</a></dd> </dl> <dl> <dt>客户案例</dt> <dd><a href="">网站案例</a></dd> <dd><a href="">优化案例</a></dd> <dd><a href="">外贸网站案例</a></dd> </dl> <dl> <dt>资讯中心</dt> <dd><a href="">建站动态</a></dd> <dd><a href="">网站知识</a></dd> <dd><a href="">网站运营</a></dd> </dl> <dl> <dt>快捷导航</dt> <dd><a href="">关于浩康</a></dd> <dd><a href="">联系方式</a></dd> </dl> </div> <div class="footr"> <h3>联系方式</h3> <p>地址:成都市太升南路288号锦天国际A幢1002号</p> <div class="tel"> <i><img src="/Public/Home/img/ftel.png" alt=""></i><a href="tel:13518219792">电话:13518219792</a> </div> </div> </div> <div class="yqlink container"> 标签: <a href="http://www.zsjierui.cn/" target="_blank">资阳</a> <a href="http://www.pengzhouwz.cn/" target="_blank">彭州</a> <a href="http://www.ndjierui.cn/" target="_blank">南部</a> <a href="http://www.ptjierui.cn/" target="_blank">郫县</a> <a href="http://www.hzjierui.cn/" target="_blank">彭州</a> <a href="http://www.xinduwz.cn/" target="_blank">新都</a> <a href="http://www.whjierui.cn/" target="_blank">乐山</a> <a href="http://www.ahjierui.cn/" target="_blank">简阳</a> <a href="http://www.csjierui.cn/" target="_blank">成都</a> <a href="http://www.qhjierui.cn/" target="_blank">德阳</a> <a href="http://www.scjierui.cn/" target="_blank">四川</a> <a href="http://www.tjjierui.cn/" target="_blank">什邡</a> <a href="http://www.tyjierui.cn/" target="_blank">绵竹</a> <a href="http://www.xzjierui.cn/" target="_blank">眉山</a> <a href="http://www.sxjierui.cn/" target="_blank">双流</a> <a href="http://www.ptruijie.cn/" target="_blank">新都</a> <a href="http://www.xjjierui.cn/" target="_blank">新津</a> <a href="http://www.jljierui.cn/" target="_blank">龙泉</a> <a href="http://www.chongzhouwz.cn/" target="_blank">崇州</a> <a href="http://www.wenjiangwz.cn/" target="_blank">温江</a> <a href="http://www.zjjierui.cn/" target="_blank">广元</a> <a href="http://www.zzjierui.cn/" target="_blank">广安</a> <a href="http://www.hnjierui.cn/" target="_blank">巴中</a> <a href="http://www.fjjierui.cn/" target="_blank">达州</a> <a href="http://www.gyjierui.cn/" target="_blank">南充</a> <a href="http://www.fzjierui.cn/" target="_blank">遂宁</a> <a href="http://www.cdjierui.cn/" target="_blank">广安</a> <a href="http://www.jxjierui.cn/" target="_blank">内江</a> <a href="http://www.jxruijie.cn/" target="_blank">自贡</a> <a href="http://www.hyruijie.cn/" target="_blank">泸州</a> <a href="http://www.pawzjs.cn/" target="_blank">蓬安</a> </div> <div class="copy container"> <div class="copyl"> © Copyright 2013-2026 成都昊豪耀航科技有限公司 <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow" style="color:#FFFFFF">蜀ICP备17025366号-9</a> 版权所有 <a href="https://www.cdcxhl.com/menu.html">网站地图</a> <a href="https://www.cdcxhl.com/articles/" rel="nofollow">其他文章分类</a> <a href="http://www.tsicrk.com">昊豪耀航建站</a> </div> <div class="copyr"> <i><img src="/Public/Home/img/foot1.png" alt=""></i> <i><img src="/Public/Home/img/foot2.png" alt=""></i> <i><img src="/Public/Home/img/foot3.png" alt=""></i> <i><img src="/Public/Home/img/foot4.png" alt=""></i> </div> </div> <div class="bq_tag container"> 热门推荐: <a href="http://www.xf-photo.com/" target="_blank">PHOTOGRAPHY</a><a href="http://www.lzhejiang.com/" target="_blank">合江网站制作公司</a><a href="http://www.dywzjz.com/" target="_blank">大英网站建设</a><a href="http://www.wgvpe.com/" target="_blank">湖北乐器选购</a><a href="http://www.laxwr.com/" target="_blank">成都企业画册公司</a><a href="http://www.qaxcpn.com/" target="_blank">绵阳柴油发电机公司</a><a href="https://www.cdxwcx.com/" target="_blank">网络营销推广</a><a href="http://www.fvoezz.com/" target="_blank">海口五金配件公司</a><a href="http://www.hksctrade.com/" target="_blank">服务器托管机房</a><a href="https://www.xwcx.net/" target="_blank">成都机柜租用</a><a href="http://www.czcyfdj.com/" target="_blank">崇州静音发电机租赁</a><a href="http://www.cxhljz.cn/wechat/" target="_blank">微信公众号开发</a> </div> </footer> <div class="footbarline"></div> <div id="footbar" class="uin0"> <ul> <li class="on" data-href="/"><a><i><svg t="1638436981291" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2991" width="48" height="48"><path d="M958.400956 451.54921c-0.058328-5.760191-2.597151-11.215436-6.965645-14.97097L524.345166 69.511143c-7.498788-6.445806-18.581194-6.445806-26.079982 0L309.582871 231.6755l0-102.017488c0-11.04966-8.901741-19.532869-19.951401-19.532869l-88.034009 0c-11.048637 0-19.928888 8.482185-19.928888 19.532869l0 211.954343L71.176063 436.57824c-4.423753 3.800559-6.967692 9.341762-6.967692 15.173584l0 105.500822c0 7.819083 4.554736 14.921851 11.660574 18.183128 2.670829 1.226944 5.51562 1.824555 8.343015 1.824555 4.699022 0 9.346879-1.654686 13.048177-4.836145l53.29788-45.825698 0 324.100516c0 60.677964 49.364291 110.042255 110.042255 110.042255L764.792447 960.741257c60.677964 0 110.042255-49.364291 110.042255-110.042255L874.834702 527.026228l51.585889 44.335764c5.955642 5.119601 14.356986 6.282077 21.481244 2.965541 7.122211-3.313465 11.645225-10.488889 11.565407-18.342764L958.400956 451.54921zM221.578538 150.034085l48.095391 0 0 115.941616-48.095391 41.336454L221.578538 150.034085zM570.718333 920.725892 436.666244 920.725892 436.666244 700.642404c0-11.031241 8.976442-20.007683 20.007683-20.007683l94.0357 0c11.031241 0 20.007683 8.976442 20.007683 20.007683L570.71731 920.725892zM834.818313 495.895207l0 354.803795c0 38.612413-31.414477 70.02689-70.02689 70.02689l-154.058748 0L610.732675 700.642404c0-33.096792-26.926256-60.023048-60.023048-60.023048l-94.0357 0c-33.096792 0-60.023048 26.926256-60.023048 60.023048l0 220.084511L260.59925 920.726915c-38.612413 0-70.02689-31.414477-70.02689-70.02689L190.57236 495.895207c0-1.172709-0.121773-2.314719-0.315178-3.432169l322.113255-276.958846 322.70268 277.348726C834.921667 493.848595 834.818313 494.858598 834.818313 495.895207zM525.411451 173.947727c-7.502881-6.445806-18.587334-6.446829-26.086122 0.00307L104.223736 513.663896l0-52.726875 407.081439-349.870436 407.176606 349.9523 0.521886 51.205219L525.411451 173.947727z" p-id="2992" fill="#2c2c2c"></path></svg><p>首页</p></i></a></li> <li><a href="tel:13518219792"><i><svg t="1638437906526" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4519" width="48" height="48"><path d="M705.74 604.873333a53.4 53.4 0 0 0-75.426667 0l-37.713333 37.713334c-21.333333 21.333333-90.413333 0.1-150.846667-60.34S360.046667 452.76 381.413333 431.4l0.046667-0.046667 37.666667-37.666666a53.4 53.4 0 0 0 0-75.426667l-165.94-165.933333a53.393333 53.393333 0 0 0-75.42 0l-37.713334 37.713333c-27.866667 27.866667-44.84 64.52-50.46 108.946667-5.213333 41.206667-0.406667 87.42 14.28 137.333333C133.333333 536.586667 199.773333 642 290.9 733.1S487.42 890.666667 587.653333 920.126667c36.926667 10.86 71.813333 16.32 104.146667 16.32a264.333333 264.333333 0 0 0 33.213333-2.04c44.426667-5.62 81.08-22.593333 108.946667-50.46l37.713333-37.713334a53.393333 53.393333 0 0 0 0-75.42z m135.76 211.193334l-37.706667 37.713333c-42.58 42.573333-115.06 51.6-204.1 25.413333-93.506667-27.5-192.453333-90.1-278.62-176.266666s-148.766667-185.113333-176.266666-278.62c-26.186667-89.033333-17.16-161.52 25.413333-204.1l37.713333-37.706667a10.666667 10.666667 0 0 1 15.086667 0l165.933333 165.933333a10.666667 10.666667 0 0 1 0 15.086667l-37.713333 37.706667C329.113333 423.333333 324.666667 458.82 338.766667 501.073333c12.426667 37.273333 38.286667 76.813333 72.813333 111.333334s74.073333 60.386667 111.333333 72.813333c16.213333 5.406667 31.42 8.08 45.26 8.08 22.233333 0 40.946667-6.913333 54.586667-20.553333l37.706667-37.713334a10.666667 10.666667 0 0 1 15.086666 0l165.933334 165.933334a10.666667 10.666667 0 0 1 0.013333 15.1zM576 234.666667a21.333333 21.333333 0 0 1 21.333333-21.333334 213.333333 213.333333 0 0 1 213.333334 213.333334 21.333333 21.333333 0 0 1-42.666667 0c0-94.106667-76.56-170.666667-170.666667-170.666667a21.333333 21.333333 0 0 1-21.333333-21.333333z m0 128a21.333333 21.333333 0 0 1 21.333333-21.333334 85.426667 85.426667 0 0 1 85.333334 85.333334 21.333333 21.333333 0 0 1-42.666667 0 42.713333 42.713333 0 0 0-42.666667-42.666667 21.333333 21.333333 0 0 1-21.333333-21.333333z m362.666667 64a21.333333 21.333333 0 0 1-42.666667 0c0-164.666667-134-298.666667-298.666667-298.666667a21.333333 21.333333 0 0 1 0-42.666667 341.073333 341.073333 0 0 1 341.333334 341.333334z" fill="#2c2c2c" p-id="4520"></path></svg><p>电话</p></i></a></li> <li><a class="opwx"><i><svg t="1638438138558" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10851" width="48" height="48"><path d="M498.816 345.056c26.336 0 43.936-17.632 43.936-43.904 0-26.56-17.568-43.744-43.936-43.744s-52.832 17.184-52.832 43.744C446.016 327.424 472.48 345.056 498.816 345.056zM253.088 257.408c-26.336 0-52.96 17.184-52.96 43.744 0 26.272 26.624 43.904 52.96 43.904 26.24 0 43.808-17.632 43.808-43.904C296.864 274.592 279.328 257.408 253.088 257.408zM1024 626.112c0-138.88-128.832-257.216-286.976-269.536 0.224-1.728 0.32-3.52-0.064-5.312-31.712-147.84-190.688-259.296-369.824-259.296C164.704 91.968 0 233.12 0 406.624c0 93.088 47.52 176.96 137.568 243.104l-31.392 94.368c-2.016 6.144-0.192 12.896 4.704 17.152 2.976 2.56 6.72 3.904 10.496 3.904 2.432 0 4.896-0.576 7.168-1.696L246.4 704.48l14.528 2.944c36.288 7.456 67.616 13.92 106.208 13.92 11.36 0 22.88-0.512 34.176-1.472 4.576-0.384 8.448-2.688 11.072-6.016 42.496 106.336 159.616 183.104 297.44 183.104 35.296 0 71.04-8.512 103.104-16.544l90.848 49.664c2.4 1.312 5.056 1.984 7.68 1.984 3.584 0 7.168-1.216 10.048-3.552 5.056-4.096 7.136-10.848 5.248-17.024l-23.2-77.152C981.344 772.864 1024 699.328 1024 626.112zM398.592 687.968c-10.4 0.896-20.96 1.344-31.424 1.344-35.328 0-65.216-6.112-99.776-13.248L247.296 672c-3.456-0.736-7.104-0.256-10.272 1.376l-88.288 44.192 22.944-68.928c2.24-6.752-0.224-14.112-6.016-18.176C76.96 568.64 32 493.312 32 406.624c0-155.84 150.336-282.656 335.136-282.656 163.36 0 308 99.392 337.856 231.584-171.296 2.24-309.888 122.656-309.888 270.56 0 21.504 3.264 42.336 8.768 62.432C402.208 688.128 400.448 687.808 398.592 687.968zM875.456 815.552c-5.344 4.032-7.616 10.976-5.696 17.376l15.136 50.336-62.112-33.984c-2.368-1.312-5.024-1.984-7.68-1.984-1.312 0-2.624 0.16-3.904 0.512-33.312 8.416-67.776 17.088-101.344 17.088-155.904 0-282.72-107.136-282.72-238.816 0-131.68 126.816-238.784 282.72-238.784 152.928 0 282.144 109.344 282.144 238.784C992 691.744 950.624 759.04 875.456 815.552zM612.992 511.968c-17.568 0-35.136 17.696-35.136 35.232 0 17.664 17.568 35.104 35.136 35.104 26.4 0 43.84-17.44 43.84-35.104C656.832 529.632 639.392 511.968 612.992 511.968zM806.016 511.968c-17.312 0-34.88 17.696-34.88 35.232 0 17.664 17.568 35.104 34.88 35.104 26.304 0 44.064-17.44 44.064-35.104C850.08 529.632 832.352 511.968 806.016 511.968z" p-id="10852" fill="#2c2c2c"></path></svg><p>微信</p></i></a></li> <li data-href="/about/"><a><i><svg t="1638438056011" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9170" width="48" height="48"><path d="M896 405.333333v128c0 34.133333-29.866667 64-64 64S768 567.466667 768 533.333333v-128c0-17.066667 8.533333-34.133333 17.066667-42.666666C733.866667 251.733333 640 170.666667 516.266667 170.666667H512c-128 0-221.866667 81.066667-273.066667 192 8.533333 8.533333 17.066667 25.6 17.066667 42.666666v128c0 34.133333-29.866667 64-64 64S128 567.466667 128 533.333333v-128C128 371.2 157.866667 341.333333 192 341.333333h4.266667c51.2-123.733333 174.933333-213.333333 315.733333-213.333333s264.533333 89.6 315.733333 213.333333h4.266667c34.133333 0 64 29.866667 64 64zM896 896H128c0-98.133333 170.666667-213.333333 384-213.333333s384 115.2 384 213.333333z m-59.733333-42.666667c-42.666667-59.733333-170.666667-128-324.266667-128s-281.6 68.266667-324.266667 128h648.533334zM512 682.666667c-119.466667 0-213.333333-93.866667-213.333333-213.333334s93.866667-213.333333 213.333333-213.333333 213.333333 93.866667 213.333333 213.333333-93.866667 213.333333-213.333333 213.333334z m170.666667-213.333334c0-93.866667-76.8-170.666667-170.666667-170.666666s-170.666667 76.8-170.666667 170.666666 76.8 170.666667 170.666667 170.666667 170.666667-76.8 170.666667-170.666667z" fill="#2c2c2c" p-id="9171"></path></svg><p>联系</p></i></a></li> </ul> <div class="fbrbg"><img src="/Public/Home/img/fbarbg.png"></div> </div> </body> </html> <script src="/Public/Home/js/jquery.min.js"></script> <script src="/Public/Home/js/wow.min.js"></script> <script src="/Public/Home/js/common.js"></script> <script> $(".ny_con img").each(function(){ var src = $(this).attr("src"); //获取图片地址 var str=new RegExp("http"); var result=str.test(src); if(result==false){ var url = "https://www.cdcxhl.com"+src; //绝对路径 $(this).attr("src",url); } }); </script><div id="think_page_trace" style="position: fixed;bottom:0;right:0;font-size:14px;width:100%;z-index: 999999;color: #000;text-align:left;font-family:'微软雅黑';"> <div id="think_page_trace_tab" style="display: none;background:white;margin:0;height: 250px;"> <div id="think_page_trace_tab_tit" style="height:30px;padding: 6px 12px 0;border-bottom:1px solid #ececec;border-top:1px solid #ececec;font-size:16px"> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">基本</span> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">文件</span> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">流程</span> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">错误</span> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">SQL</span> <span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700">调试</span> </div> <div id="think_page_trace_tab_cont" style="overflow:auto;height:212px;padding: 0; line-height: 24px"> <div style="display:none;"> <ol style="padding: 0; margin:0"> <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">请求信息 : 2026-03-28 19:56:47 HTTP/1.1 GET : /article/dhgcscg.html</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">运行时间 : 2.1796s ( Load:0.0070s Init:1.5081s Exec:0.6546s Template:0.0098s )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">吞吐率 : 0.46req/s</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">内存开销 : 2,283.88 kb</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">查询信息 : 12 queries 5 writes </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">文件加载 : 36</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">缓存信息 : 0 gets 0 writes </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">配置加载 : 130</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">会话信息 : SESSION_ID=oanh6crnaldgroja2s93qjta54</li> </ol> </div> <div style="display:none;"> <ol style="padding: 0; margin:0"> <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/index.php ( 1.09 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/ThinkPHP.php ( 4.61 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Think.class.php ( 12.26 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Storage.class.php ( 1.37 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Storage/Driver/File.class.php ( 3.52 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Mode/common.php ( 2.82 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Common/functions.php ( 53.56 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Hook.class.php ( 4.01 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/App.class.php ( 13.49 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Dispatcher.class.php ( 14.79 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Route.class.php ( 13.36 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Controller.class.php ( 11.23 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/View.class.php ( 7.59 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/BuildLiteBehavior.class.php ( 3.68 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/ParseTemplateBehavior.class.php ( 3.88 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/ContentReplaceBehavior.class.php ( 1.91 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Conf/convention.php ( 11.15 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Common/Conf/config.php ( 2.14 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Lang/zh-cn.php ( 2.55 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Conf/debug.php ( 1.49 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Home/Conf/config.php ( 0.31 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Home/Common/function.php ( 3.33 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/ReadHtmlCacheBehavior.class.php ( 5.62 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Home/Controller/ArticleController.class.php ( 6.02 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Home/Controller/CommController.class.php ( 1.60 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Model.class.php ( 60.11 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Db.class.php ( 32.43 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Db/Driver/Pdo.class.php ( 16.74 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Cache.class.php ( 3.83 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Cache/Driver/File.class.php ( 5.87 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Template.class.php ( 28.16 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Template/TagLib/Cx.class.php ( 22.40 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Template/TagLib.class.php ( 9.16 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/App/Runtime/Cache/Home/7540f392f42b28b481b30614275e4e55.php ( 17.71 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/WriteHtmlCacheBehavior.class.php ( 0.97 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">/www/wwwroot/tsicrk.com/ThinkPHP/Library/Behavior/ShowPageTraceBehavior.class.php ( 5.24 KB )</li> </ol> </div> <div style="display:none;"> <ol style="padding: 0; margin:0"> <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ app_init ] --START--</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">Run Behavior\BuildLiteBehavior [ RunTime:0.000006s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ app_init ] --END-- [ RunTime:0.000035s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ app_begin ] --START--</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.000297s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ app_begin ] --END-- [ RunTime:0.000322s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ view_parse ] --START--</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ template_filter ] --START--</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">Run Behavior\ContentReplaceBehavior [ RunTime:0.000058s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ template_filter ] --END-- [ RunTime:0.000082s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">Run Behavior\ParseTemplateBehavior [ RunTime:0.006856s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ view_parse ] --END-- [ RunTime:0.006883s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ view_filter ] --START--</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000158s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ view_filter ] --END-- [ RunTime:0.000173s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ app_end ] --START--</li> </ol> </div> <div style="display:none;"> <ol style="padding: 0; margin:0"> <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LIMIT 1' at line 1 [ SQL语句 ] : SELECT `id`,`pid`,`navname` FROM `cx_nav` WHERE ( id= ) LIMIT 1 </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LIMIT 1' at line 1 [ SQL语句 ] : SELECT `id`,`navname` FROM `cx_nav` WHERE ( id= ) LIMIT 1 </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 [ SQL语句 ] : SELECT `id`,`navname` FROM `cx_nav` WHERE ( pid= ) </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[8] Undefined index: pid /www/wwwroot/tsicrk.com/App/Home/Controller/ArticleController.class.php 第 47 行.</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[8] Undefined index: db_host /www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Db.class.php 第 120 行.</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[8] Undefined index: db_port /www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Db.class.php 第 121 行.</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[8] Undefined index: db_name /www/wwwroot/tsicrk.com/ThinkPHP/Library/Think/Db.class.php 第 122 行.</li> </ol> </div> <div style="display:none;"> <ol style="padding: 0; margin:0"> </ol> </div> <div style="display:none;"> <ol style="padding: 0; margin:0"> </ol> </div> </div> </div> <div id="think_page_trace_close" style="display:none;text-align:right;height:15px;position:absolute;top:10px;right:12px;cursor: pointer;"><img style="vertical-align:top;" src="data:image/gif;base64,R0lGODlhDwAPAJEAAAAAAAMDA////wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUQxMjc1MUJCQUJDMTFFMTk0OUVGRjc3QzU4RURFNkEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUQxMjc1MUNCQUJDMTFFMTk0OUVGRjc3QzU4RURFNkEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxRDEyNzUxOUJBQkMxMUUxOTQ5RUZGNzdDNThFREU2QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxRDEyNzUxQUJBQkMxMUUxOTQ5RUZGNzdDNThFREU2QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAAAAAAALAAAAAAPAA8AAAIdjI6JZqotoJPR1fnsgRR3C2jZl3Ai9aWZZooV+RQAOw==" /></div> </div> <div id="think_page_trace_open" style="height:30px;float:right;text-align: right;overflow:hidden;position:fixed;bottom:0;right:0;color:#000;line-height:30px;cursor:pointer;"><div style="background:#232323;color:#FFF;padding:0 6px;float:right;line-height:30px;font-size:14px">2.1796s </div><img width="30" style="" title="ShowPageTrace" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjVERDVENkZGQjkyNDExRTE5REY3RDQ5RTQ2RTRDQUJCIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjVERDVENzAwQjkyNDExRTE5REY3RDQ5RTQ2RTRDQUJCIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NURENUQ2RkRCOTI0MTFF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ascript"> (function(){ var tab_tit = document.getElementById('think_page_trace_tab_tit').getElementsByTagName('span'); var tab_cont = document.getElementById('think_page_trace_tab_cont').getElementsByTagName('div'); var open = document.getElementById('think_page_trace_open'); var close = document.getElementById('think_page_trace_close').childNodes[0]; var trace = document.getElementById('think_page_trace_tab'); var cookie = document.cookie.match(/thinkphp_show_page_trace=(\d\|\d)/); var history = (cookie && typeof cookie[1] != 'undefined' && cookie[1].split('|')) || [0,0]; open.onclick = function(){ trace.style.display = 'block'; this.style.display = 'none'; close.parentNode.style.display = 'block'; history[0] = 1; document.cookie = 'thinkphp_show_page_trace='+history.join('|') } close.onclick = function(){ trace.style.display = 'none'; this.parentNode.style.display = 'none'; open.style.display = 'block'; history[0] = 0; document.cookie = 'thinkphp_show_page_trace='+history.join('|') } for(var i = 0; i < tab_tit.length; i++){ tab_tit[i].onclick = (function(i){ return function(){ for(var j = 0; j < tab_cont.length; j++){ tab_cont[j].style.display = 'none'; tab_tit[j].style.color = '#999'; } tab_cont[i].style.display = 'block'; tab_tit[i].style.color = '#000'; history[1] = i; document.cookie = 'thinkphp_show_page_trace='+history.join('|') } })(i) } parseInt(history[0]) && open.click(); (tab_tit[history[1]] || tab_tit[0]).click(); })(); </script>