源码论坛公告:本站是一个交流学习建站资源的社区论坛,旨在交流学习源码脚本等资源技术,欢迎大家投稿发言! 【点击此处将锦尚放在桌面

源码论坛,商业源码下载,尽在锦尚中国商业源码论坛

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 5064|回复: 9
打印 上一主题 下一主题

[其他类别] MediPro汽车门户网站系统 UTF-8简体中文版 v5.1.0(寻求合作无限制)

[复制链接]

133

主题

585

帖子

31

金币

初级会员

蓝雨在线

Rank: 1

积分
841
跳转到指定楼层
1#
发表于 2010-4-1 12:03:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
软件名称: MediPro汽车门户网站系统 UTF-8简体中文版 v5.1.0

软件类别: PHP/其它类别/试用软件

下载地址: http://mediweb.com.cn/down/soft/mpcar_v510.zip

开发商主页: http://mediweb.com.cn/

演示地址: http://mediweb.com.cn/page/demo


系统简介:

MediPro汽车门户网站系统具有新车报价、二手车、维修保养、汽车用品、汽车租赁、汽车培训、汽车资讯、商户名录等功能频道;会员中心具有汽车品牌管理、新车报价发布、二手车出售信息发布、二手车求购信息发布、汽车出租信息发布、汽车求租信息发布、优惠信息发布、汽车用品展示、汽车资讯发布、视频发布、询价反馈留言等会员功能,可针对商户型和个人型会员配置不同的会员功能和权限。后台管理系统具有网站设置、栏目管理、插件设置、会员类型设置、文章管理、图文管理、下载管理、品牌车型管理、汽车信息管理、汽车用品管理、会员管理、广告管理、访问统计、投票调查、友情链接等丰富的网站管理功能。预设了丰富的频道首页版块,拥有丰富的商家、产品、信息、广告推荐位。系统基于PHP/MYSQL开发,具有更好的运行效率和安全性;采用可视化模版引擎,可方便地修改模版和设置插件;支持HTML静态网页生成和多项SEO优化,利于搜索引擎收录;广泛采用AJAX技术,加强了用户体验。

使用本系统可建立一个功能强大的汽车消费门户网站,面向当地汽车销售商、二手车中介、维修保养服务商、汽车租赁服务商、汽车驾校、个人用户提供汽车信息服务。主要赢利模式为商家VIP包年服务、产品推荐和信息发布收费、网站广告等。



详细介绍:

一、网站前台频道栏目

系统在安装时预设了频道栏目、分类和测试数据,以方便用户理解系统的管理操作。用户也可更具自己的需要,通过栏目设置、模版修改、插件设置等,打造自己的特色网站:

1、网站首页 - 预设了多功能搜索、新车报价、汽车资讯、二手车信息、汽车用品推荐、商户推荐、靓车展示、轮播广告、页内广告等版块
2、新车报价 - 具有新车报价频道首页、新车报价搜索检索、比较查询、新车详情参数和图片展示、询价留言、相关经销商报价等功能。
3、二 手 车 - 具有二手车频道首页、二手车出售信息搜索、二手车求购信息搜索等功能
4、维修保养 - 具有维修保养频道首页、维修保养资讯、优惠信息等功能。
5、汽车用品 - 具有频道首页、汽车用品搜索,用于汽车用品展示、报价和推荐,商品详情和订购可链接到用户的网店或网站
6、汽车租赁 - 具有频道首页、汽车出租信息、汽车求租信息查询等功能。
7、汽车培训 - 具有汽车培训资讯、优惠信息等功能
8、汽车资讯 - 具有资讯频道首页、资讯搜索检索、靓车展示、视频资讯等功能
9、商户名录 - 具有商户名录频道首页、分类商户推荐、商户搜索、商户详细资料展示等功能
10、会员社区 - 一个小型BBS,具有发布、回复评论功能,该频道默认状态为关闭(可在后台栏目管理直接开启)


二、会员功能

商户资料修改 - 针对商户型会员的功能,可设置商户资料、上传商户图片
新车报价管理 - 针对商户型会员的功能,可选择品牌车型发布新车报价、管理新车报价
二手信息管理 - 包括二手车出售、求购信息发布和管理,针对个人和商户型会员有所区别
租赁信息管理 - 包括汽车出租、求租信息发布和管理,针对个人和商户型会员有所区别
汽车用品管理 - 发布汽车用品展示和报价,可设置详情和订购链接到用户的网店或网站
优惠信息管理 - 针对商户型会员的功能,具有信息发布和管理功能
汽车资讯管理 - 有权限的用户可以发布和管理汽车资讯,具有发布文章、发布视频、发布网址转发等功能
询价反馈查询 - 查询和回复留言
会员资料修改 - 修改会员帐号和资料


三、后台管理功能

会员类型 - 可在个人型和商户型基础上建立多种会员类型,设置不同的会员权限
会员管理 - 分类查询和管理会员、设置单个会员权限、修改会员资料。
栏目管理 - 自由创建栏目频道,设置栏目名称和显示参数
资讯管理 - 具有资讯分类、发布、搜索、批量管理,支持文章发布、视频发布和网址转发
图文管理 - 具有图文分类、发布、搜索、批量管理功能
下载管理 - 具有下载分类、发布、搜索、批量管理功能
自定表单 - 可以开设自定义表单栏目,自定义表单字段,管理提交的反馈信息

品牌车型管理 - 可设置国内和国外品牌及其下属车型,可设置每种车型的详细参数,用户按此品牌车型发布报价
新车报价管理 - 管理用户发布的新车报价信息,具有搜索、批量管理功能
二手车信息管理 - 管理用户发布的二手车出售和求购信息,具有搜索、批量管理功能
汽车租赁信息管理 - 管理用户发布的汽车出租和求租信息,具有搜索、批量管理功能
优惠信息管理 - 管理用户发布的优惠信息,具有搜索、批量管理功能
汽车用品管理 - 管理用户发布的优惠信息,具有搜索、批量管理功能
汽车用品管理 - 管理用户发布的优惠信息,具有搜索、批量管理功能
商户名录管理 - 管理商户,具有分类、搜索、批量管理、商户推荐功能
互动信息管理 - 包括反馈信息管理、留言信息管理、社区评论管理
网站广告系统 - 具有分组轮播广告、页内广告、浮动广告、弹出窗口、挂角广告等多种形式
网站页面设置 - 可以设置每个页面的自定义标题、META标签、采用模版;设置每个版块采用什么插件和插件的显示参数
界面风格设置 - 可以选择模版,编辑模板
网站升级更新 - 连接远程升级服务器,获取最新升级信息,进行系统升级
访问统计系统 - 网页访问统计分析
投票调查系统 - 设置投票组,任意插入模版
友情链接系统 - 支持文本和图片链接,可以生成多个链接组,用于制作政府网站导航。
管理权限设置 - 可设多个管理员,自由分配各种管理权限


四、技术特点和优越性

[>]预设栏目内容,直观易用
预设频道栏目、频道首页和测试数据,直观易用

[>]丰富的专用功能
在对众多城市汽车门户网站进行深入分析的基础上,开发了汽车门户网站的各种专用功能

[>]多语言支持
独立语言包,支持UTF-8国际通用编码,可用于定制各种语言的网站

[>]静态HTML生成
可设置生成静态HTML网页,自定HTML缓存更新时间,提升网站访问速度

[>]可视化模版引擎
采用MediPro可视化模版引擎,模版修改直观灵活,模版插件可通过后台可视界面选择设置。可满足用户的个性化建站需求。

[>]任意创建频道
可创建频道栏目,修改栏目参数,不同栏目可设置使用不同的模版。

[>]全站内容插件灵活调用
大量可全站调用的内容插件,插入到任何页面,实现各频道之间内容穿插,并可通过专题互相关联。

[>]完备的内容管理功能
后台各频道均具有分类检索、搜索、自定排序方式、批量处理、转移栏目和类别等完备的内容管理功能

[>]自定义会员类型,灵活设置权限
可自定义创建多种会员类型,每种会员类型、每个用户均可设置不同的权限

[>]灵活的网站广告管理系统
各栏目均可设置不同的轮播广告、弹出窗口、浮动广告、对联广告、挂角广告、页内广告

[>]网站辅助功能丰富
具有访问统计系统、投票调查系统、友情链接系统、数据备份系统等网站辅助工具

[>]内置DisCuz!论坛用户接口
内置DisCuz论坛标准接口,只需简单设置,就可使用户和论坛互通。

[>]便利实用的升级更新体系
采用soap技术,远程获取升级信息,保证升级的延续性和完整性

[>]搜索引擎优化
多目录结构和HTML静态网页,每个页面都可设置网页标题、META标签,更有利于搜索引擎收录

[>]加强用户体验
广泛使用AJAX技术,各项会员注册、发布功能均进行动态校验,加强了用户体眼


下面是install文件的代码,我进行的开源,但是我对php并不是很熟悉,而且这个程序进行了连接注册服务器,所以无限制难度增加,希望找到志同道合的兄弟一起无限制!为大家谋福利
  1. <?php
  2. /*********************/
  3. /*                   */
  4. /*  Version : 5.1.0  */
  5. /*  Author  : RM     */
  6. /*  Comment : 071223 */
  7. /*                   */
  8. /*********************/

  9. function remove_remarks( $sql )
  10. {
  11.                 $i = 0;
  12.                 while ( $i < strlen( $sql ) )
  13.                 {
  14.                                 if ( $sql[$i] == "#" && ( $i == 0 || $sql[$i - 1] == "\n" ) )
  15.                                 {
  16.                                                 $j = 1;
  17.                                                 while ( $sql[$i + $j] != "\n" )
  18.                                                 {
  19.                                                                 $j++;
  20.                                                                 if ( strlen( $sql ) < $j + $i )
  21.                                                                 {
  22.                                                                                 break;
  23.                                                                 }
  24.                                                 }
  25.                                                 $sql = substr( $sql, 0, $i ).substr( $sql, $i + $j );
  26.                                 }
  27.                                 $i++;
  28.                 }
  29.                 return $sql;
  30. }

  31. function split_sql_file( $sql, $delimiter )
  32. {
  33.                 $sql = trim( $sql );
  34.                 $char = "";
  35.                 $last_char = "";
  36.                 $ret = array( );
  37.                 $string_start = "";
  38.                 $in_string = FALSE;
  39.                 $escaped_backslash = FALSE;
  40.                 $i = 0;
  41.                 for ( ;        $i < strlen( $sql );        ++$i        )
  42.                 {
  43.                                 $char = $sql[$i];
  44.                                 if ( $char == $delimiter && !$in_string )
  45.                                 {
  46.                                                 $ret[] = substr( $sql, 0, $i );
  47.                                                 $sql = substr( $sql, $i + 1 );
  48.                                                 $i = 0;
  49.                                                 $last_char = "";
  50.                                 }
  51.                                 if ( $in_string )
  52.                                 {
  53.                                                 if ( $char == "\" )
  54.                                                 {
  55.                                                                 if ( $last_char != "\" )
  56.                                                                 {
  57.                                                                                 $escaped_backslash = FALSE;
  58.                                                                 }
  59.                                                                 else
  60.                                                                 {
  61.                                                                                 $escaped_backslash = !$escaped_backslash;
  62.                                                                 }
  63.                                                 }
  64.                                                 if ( $char == $string_start && ( $char == "`" || !( $last_char == "\" && !$escaped_backslash ) ) )
  65.                                                 {
  66.                                                                 $in_string = FALSE;
  67.                                                                 $string_start = "";
  68.                                                 }
  69.                                 }
  70.                                 else if ( $char == """ || $char == "'" || $char == "`" )
  71.                                 {
  72.                                                 $in_string = TRUE;
  73.                                                 $string_start = $char;
  74.                                 }
  75.                                 $last_char = $char;
  76.                 }
  77.                 if ( !empty( $sql ) )
  78.                 {
  79.                                 $ret[] = $sql;
  80.                 }
  81.                 return $ret;
  82. }

  83. function seld( $t, $v )
  84. {
  85.                 if ( $t == $v )
  86.                 {
  87.                                 return " selected ";
  88.                 }
  89.                 else
  90.                 {
  91.                                 return " ";
  92.                 }
  93. }

  94. require_once( "nusoap/nusoap.php" );
  95. $server = "http://bbs.eb2000.cn/webservice/soapserver.php";
  96. $customer = new soapclient( $server );
  97. error_reporting( E_ERROR | E_WARNING | E_PARSE );
  98. set_magic_quotes_runtime( 0 );
  99. echo "<html>\r\n<head>\r\n<meta http-equiv="Content-Type" content="text/html; charset=gb2312">\r\n<link id="style_sheet" href="css.css" type="text/css" rel="stylesheet">\r\n<title>安装向导 - Powered by MediSoft</title>\r\n";
  100. echo "<s";
  101. echo "cript>\r\nfunction CheckForm (src, step) {\r\n\tif (src.command.value == "goprev") return true;\r\n\tif (step == "1" && src.skip.value != "allow") {\r\n\t\tvar letter = "abcdefghijklmnopqrstuvwxyz_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#\$%^&*[{]}/";\r\n\t\tif (src.username.value == "") {\r\n\t\t\talert ('请输入用户名');\r\n\t\t\tsrc.username.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (src.password.value == "") {\r\n\t\t\talert ('请";
  102. echo "输入登录密码');\r\n\t\t\tsrc.password.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif(src.username.value.length > 20)\r\n\t\t  {\r\n\t\t\talert ('请输入2-20位用户名');\r\n\t\t\tsrc.username.focus ();\r\n\t\t\treturn false;\r\n\t\t  }\r\n\t\t  if(src.username.value.length < 2)\r\n\t\t  {\r\n\t\t\talert ('请输入2-20位用户名');\r\n\t\t\tsrc.username.focus ();\r\n\t\t\treturn false;\r\n\t\t  }\r\n\t\t  if (src.usercompany.value == "") {\r\n\t\t\talert ('请输入公司名称或您的";
  103. echo "姓名');\r\n\t\t\tsrc.username.focus ();\r\n\t\t\treturn false;\r\n\t\t  }\r\n\t\tif (src.name.value == "") {\r\n\t\t\talert ('请输入联系人姓名');\r\n\t\t\tsrc.name.focus ();\r\n\t\t\treturn false;\r\n\t\t  }\r\n\r\n\r\n\t\tif (src.useremail.value == "") {\r\n\t\t\talert ('请输入电子邮箱');\r\n\t\t\tsrc.useremail.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tif (src.useremail.value.indexOf("@") == -1 || src.useremail.value.indexOf(".") == -1) {\r\n\t\t\talert ("?;
  104. echo "缱佑氏涓袷讲徽罚∪纾篴bc@abc.com!");\r\n\t\t\tsrc.useremail.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tsrc.user_email.value   = src.useremail.value;\r\n\r\n\t\treturn true;\r\n\r\n\t}  else if (step == "3") {\r\n\t\tif (src.install_path.value == "") {\r\n\t\t\talert ("请输入安装绝对路径");\r\n\t\t\tsrc.install_path.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (src.dbname.value == "") {\r\n\t\t\talert ("请输入数据库名");\r\n\t\t\tsrc.dbname.focu";
  105. echo "s ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (src.dbuser.value == "") {\r\n\t\t\talert ("请输入数据库用户名");\r\n\t\t\tsrc.dbuser.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (src.dbpwd.value == "") {\r\n\t\t\talert ("请输入数据库密码");\r\n\t\t\tsrc.dbpwd.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t} else if (step == "5") {\r\n\t\tif (src.admin_user.value == "") {\r\n\t\t\talert ("请输入系统管理员");\r\n\t\t\tsrc.admin_user.focus ();\r\n\t\t\treturn false;\r\n";
  106. echo "\t\t}\r\n\t\tif (src.admin_pass.value == "") {\r\n\t\t\talert ("请输入管理员密码");\r\n\t\t\tsrc.admin_pass.focus ();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}\r\n\treturn true;\r\n}\r\n</script>\r\n\r\n\r\n\r\n";
  107. echo "<s";
  108. echo "tyle>\r\n\r\nBODY {color:#666666;font-size:14px;line-height:150%;}  \r\nTD,A,P {color:#666666;font-size:14px;line-height:150%;}\r\ninput {font-size: 12px;}\r\nSELECT {font-size: 12px;}\r\nA:link {TEXT-DECORATION: none;}\r\nA:visited {TEXT-DECORATION: none;}\r\nA:active {TEXT-DECORATION: none;}\r\nA:hover {TEXT-DECORATION: underline;color:#ff6600}\r\ntd.font_13_w {\r\n\tfont-size: 14px; color: #ffffff; font-weight:bold;\r";
  109. echo "\n}\r\n\r\n</style>\r\n</head>\r\n";
  110. $step = 0;
  111. if ( $_POST['command'] == "gonext" )
  112. {
  113.                 if ( $_POST['nextstep'] == 0 )
  114.                 {
  115.                                 $donext = true;
  116.                 }
  117.                 if ( $_POST['nextstep'] == 1 )
  118.                 {
  119.                                 if ( !file_exists( "../license.php" ) )
  120.                                 {
  121.                                                 $c_params = array(
  122.                                                                 "username" => $_POST['username'],
  123.                                                                 "useremail" => $_POST['useremail'],
  124.                                                                 "domain" => $_SERVER['HTTP_HOST']
  125.                                                 );
  126.                                                 $ans = $customer->call( "Check_user", $c_params );
  127.                                                 if ( $ans == false )
  128.                                                 {
  129.                                                                 $error_msg = "<font style="font-size: 14px; color: red;">您的网站无法连接到注册服务器,请检查是否已连接网络,或稍侯再试!</font>";
  130.                                                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  131.                                                                 $donext = false;
  132.                                                 }
  133.                                                 else if ( 1 < strlen( $ans ) )
  134.                                                 {
  135.                                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>".$ans."</font>";
  136.                                                                 $donext = false;
  137.                                                 }
  138.                                                 else
  139.                                                 {
  140.                                                                 $regtime = time( );
  141.                                                                 $userbirthday = mktime( 12, 12, 12, $_POST['month'], $_POST['day'], $_POST['year'] );
  142.                                                                 $r_params = array(
  143.                                                                                 "username" => $_POST['username'],
  144.                                                                                 "password" => $_POST['password'],
  145.                                                                                 "usercompany" => $_POST['usercompany'],
  146.                                                                                 "name" => $_POST['name'],
  147.                                                                                 "domain" => $_SERVER['HTTP_HOST'],
  148.                                                                                 "useremail" => $_POST['useremail'],
  149.                                                                                 "usersex" => $_POST['usersex'],
  150.                                                                                 "userwebsite" => $_POST['userwebsite'],
  151.                                                                                 "userqq" => $_POST['userqq'],
  152.                                                                                 "usermsn" => "mediprocar",
  153.                                                                                 "regtime" => $regtime,
  154.                                                                                 "userbirthday" => $userbirthday,
  155.                                                                                 "ipaddress" => $_SERVER['REMOTE_ADDR']
  156.                                                                 );
  157.                                                                 $lic = $customer->call( "Register_user", $r_params );
  158.                                                                 $fk = fopen( "../license.php", "w" );
  159.                                                                 fwrite( $fk, $lic, 2000 );
  160.                                                                 fclose( $fk );
  161.                                                                 @chmod( "../license.php", 438 );
  162.                                                                 $donext = true;
  163.                                                 }
  164.                                 }
  165.                                 else
  166.                                 {
  167.                                                 $donext = true;
  168.                                 }
  169.                 }
  170.                 if ( $_POST['nextstep'] == 2 )
  171.                 {
  172.                                 $donext = true;
  173.                 }
  174.                 if ( $_POST['nextstep'] == 3 )
  175.                 {
  176.                                 $connect = @mysql_connect( $_POST['dbhost'], $_POST['dbuser'], $_POST['dbpwd'] );
  177.                                 $dbhost = $_POST['dbhost'];
  178.                                 $dbuser = $_POST['dbuser'];
  179.                                 $dbpwd = $_POST['dbpwd'];
  180.                                 $dbname = $_POST['dbname'];
  181.                                 $language = $_POST['language'];
  182.                                 $sLan = substr( $language, 0, 5 );
  183.                                 $dbcharset = substr( $language, 6 );
  184.                                 if ( $dbcharset == "utf8" )
  185.                                 {
  186.                                                 $charset = "utf-8";
  187.                                 }
  188.                                 else
  189.                                 {
  190.                                                 $charset = $dbcharset;
  191.                                 }
  192.                                 if ( !$connect )
  193.                                 {
  194.                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>数据库服务器连接失败。请检查输入信息是否正确!</font>";
  195.                                                 $donext = false;
  196.                                 }
  197.                                 else
  198.                                 {
  199.                                                 $caninstall = 1;
  200.                                                 $mysqlvision = substr( mysql_get_server_info( ), 0, 4 );
  201.                                                 if ( $mysqlvision < 3.23 )
  202.                                                 {
  203.                                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>Mysql数据库版本不可低于3.23</font>";
  204.                                                                 $donext = false;
  205.                                                                 $caninstall = 0;
  206.                                                 }
  207.                                                 if ( 4.1 <= $mysqlvision )
  208.                                                 {
  209.                                                                 mysql_query( "SET character_set_connection={$dbcharset}, character_set_results={$dbcharset}, character_set_client={$dbcharset}" );
  210.                                                 }
  211.                                                 $table_num = 0;
  212.                                                 $dbname = $_POST['dbname'];
  213.                                                 if ( $mysqlvision < 4.1 && $dbcharset == "utf8" )
  214.                                                 {
  215.                                                                 $sql_file = "./db/db_".$language.".mysql3x.sql";
  216.                                                 }
  217.                                                 else
  218.                                                 {
  219.                                                                 $sql_file = "./db/db_".$language.".sql";
  220.                                                 }
  221.                                                 $view_bookmark = 0;
  222.                                                 if ( file_exists( $sql_file ) )
  223.                                                 {
  224.                                                                 $sql_query = fread( fopen( $sql_file, "r" ), filesize( $sql_file ) );
  225.                                                                 if ( get_magic_quotes_runtime( ) == 1 )
  226.                                                                 {
  227.                                                                                 $sql_query = stripslashes( $sql_query );
  228.                                                                 }
  229.                                                 }
  230.                                                 else
  231.                                                 {
  232.                                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>数据库导入文件db_".$language.".sql不存在</font>";
  233.                                                                 $donext = false;
  234.                                                                 $caninstall = 0;
  235.                                                 }
  236.                                                 if ( $caninstall == "1" )
  237.                                                 {
  238.                                                                 $sql_query = trim( $sql_query );
  239.                                                                 if ( $sql_query != "" )
  240.                                                                 {
  241.                                                                                 $sql_query = remove_remarks( $sql_query );
  242.                                                                                 $pieces = split_sql_file( $sql_query, ";" );
  243.                                                                                 $pieces_count = count( $pieces );
  244.                                                                                 if ( mysql_select_db( $dbname, $connect ) )
  245.                                                                                 {
  246.                                                                                                 $i = 0;
  247.                                                                                                 for ( ;        $i < $pieces_count;        $i++        )
  248.                                                                                                 {
  249.                                                                                                                 $a_sql_query = trim( $pieces[$i] );
  250.                                                                                                                 if ( !empty( $a_sql_query ) && $a_sql_query[0] != "#" )
  251.                                                                                                                 {
  252.                                                                                                                                 $result = mysql_query( $a_sql_query );
  253.                                                                                                                                 if ( $result == FALSE )
  254.                                                                                                                                 {
  255.                                                                                                                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>数据库导入失败!</font>";
  256.                                                                                                                                                 $donext = false;
  257.                                                                                                                                 }
  258.                                                                                                                 }
  259.                                                                                                 }
  260.                                                                                 }
  261.                                                                                 else
  262.                                                                                 {
  263.                                                                                                 $error_msg = "<font color=red style='font-size: 14px; font-weight:normal;'>不可使用数据库,请检查数据库是否存在、用户是否有权访问该数据库!</font>";
  264.                                                                                                 $donext = false;
  265.                                                                                                 $caninstall = 0;
  266.                                                                                 }
  267.                                                                 }
  268.                                                                 if ( $caninstall == "1" )
  269.                                                                 {
  270.                                                                                 $result = mysql_list_tables( $dbname, $connect );
  271.                                                                                 $i = 0;
  272.                                                                                 while ( $i < mysql_num_rows( $result ) )
  273.                                                                                 {
  274.                                                                                                 $tb_names[$i] = mysql_tablename( $result, $i );
  275.                                                                                                 $table_name .= "导入数据表 ".$tb_names[$i]."&nbsp;&nbsp; .........OK<BR>";
  276.                                                                                                 $i++;
  277.                                                                                 }
  278.                                                                                 $table_num = $i;
  279.                                                                                 $ConFile = "../config.inc.php";
  280.                                                                                 $SysConfigFile = "./inc.php";
  281.                                                                                 $siteurl = "http://".$_SERVER['HTTP_HOST']."/";
  282.                                                                                 $filestr = fread( fopen( $SysConfigFile, "r" ), 30000 );
  283.                                                                                 $filestr = str_replace( " ", "", $filestr );
  284.                                                                                 $filestr = str_replace( "DefaultWaStarPath", "", $filestr );
  285.                                                                                 $filestr = str_replace( "DefaultDbHost", $dbhost, $filestr );
  286.                                                                                 $filestr = str_replace( "DefaultDbName", $dbname, $filestr );
  287.                                                                                 $filestr = str_replace( "DefaultDbUser", $dbuser, $filestr );
  288.                                                                                 $filestr = str_replace( "DefaultDbPass", $dbpwd, $filestr );
  289.                                                                                 $filestr = str_replace( "DefaultsLan", $sLan, $filestr );
  290.                                                                                 $filestr = str_replace( "DefaultaLan", $sLan, $filestr );
  291.                                                                                 $filestr = str_replace( "DefaulCharset", $charset, $filestr );
  292.                                                                                 $filestr = str_replace( "DefaulDbCharset", $dbcharset, $filestr );
  293.                                                                                 $filestr = str_replace( "DefaultSiteUrl", $siteurl, $filestr );
  294.                                                                                 fwrite( fopen( $ConFile, "w" ), $filestr, 30000 );
  295.                                                                                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="4"><input type="hidden" name="db_host" value="".$_POST['dbhost'].""><input type="hidden" name="db_name" value="".$_POST['dbname'].""><input name="db_user" type="hidden" value="".$_POST['dbuser'].""><input name="db_pwd" type="hidden" value="".$_POST['dbpwd']."">";
  296.                                                                                 $step_content .= "<tr><td style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>5</strong> 步:导入系统初始数据 <br><hr size="1" width="98%" align="left">".$error_msg."</td></tr>";
  297.                                                                                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">".$table_name."</td></tr>";
  298.                                                                                 $step_content .= "<tr><td style="font-size: 14px; color: #999999; line-height: 150%">".$table_num." 个数据表已导入</td></tr>";
  299.                                                                                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;"><hr size="1" width="98%" align="left"></td></tr>";
  300.                                                                                 $step_content .= "</table>";
  301.                                                                                 $donext = true;
  302.                                                                 }
  303.                                                 }
  304.                                 }
  305.                 }
  306.                 if ( $_POST['nextstep'] == 4 )
  307.                 {
  308.                                 $donext = true;
  309.                 }
  310.                 if ( $_POST['nextstep'] == 5 )
  311.                 {
  312.                                 $admin_user = $_POST['admin_user'];
  313.                                 $admin_pass = $_POST['admin_pass'];
  314.                                 $dbhost = $_POST['dbhost'];
  315.                                 $dbuser = $_POST['dbuser'];
  316.                                 $dbpwd = $_POST['dbpwd'];
  317.                                 $dbname = $_POST['dbname'];
  318.                                 $mdpass = md5( $admin_pass );
  319.                                 $connect = @mysql_connect( $dbhost, $dbuser, $dbpwd );
  320.                                 if ( $connect )
  321.                                 {
  322.                                                 $Qsql = "update ".$dbname.".car_admin set user='{$admin_user}',password='{$mdpass}'";
  323.                                                 $Asql = "update ".$dbname.".car_admin_rights set user='{$admin_user}'";
  324.                                                 mysql_query( $Qsql, $connect );
  325.                                                 mysql_query( $Asql, $connect );
  326.                                 }
  327.                                 $donext = true;
  328.                 }
  329.                 if ( $_POST['nextstep'] == 6 )
  330.                 {
  331.                                 echo "<script>window.location.href = 'adm/'</script>";
  332.                 }
  333.                 if ( $donext )
  334.                 {
  335.                                 $step = $_POST['nextstep'] + 1;
  336.                 }
  337.                 else
  338.                 {
  339.                                 $step = $_POST['nextstep'];
  340.                 }
  341. }
  342. else if ( $_POST['command'] == "goprev" )
  343. {
  344.                 $step = $_POST['nextstep'] - 1;
  345. }
  346. if ( $step != 0 )
  347. {
  348.                 $prev = "<input id="ddd" type="submit" value="<< 上一步" onClick="command.value='goprev'">";
  349.                 $next = "<input id="subm" type="submit" value=">> 下一步" onClick="command.value='gonext'">";
  350. }
  351. if ( $step == 0 )
  352. {
  353.                 $next = "<input id="subm" type="submit" value="接受协议" onClick="command.value='gonext'" style='border:1px outset'><br>";
  354.                 $unagree = "<input type="button" value="不接受协议" onClick="window.location.href='http://mp.eb2000.cn'" style='border:1px outset'>";
  355.                 $step_caption = array(
  356.                                 "0" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  357.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  358.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  359.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  360.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  361.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  362.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  363.                 );
  364.                 $protocol_con = "\r\n\r\n1、用户安装本软件,可获得15天免费试用授权\r\n2、用户在试用期间有一定的功能限制\r\n3、用户被授权使用试用软件,不得有任何侵犯软件标识或权益之行为\r\n4、用户不得使用本软件建立非法网站,若因此构成的违法行为均与名典软件无关\r\n5、利用本软件发生的商业行为均由用户自行负责,因利用本软件进行商业行为所产生的一切纠纷均与名典软件无关\r\n6、用户在试用结束后,可向名典软件购买正式授权,购买正式授权后,可以得到电话、QQ等在线支持服务。\r\n\r\n\r\n\t";
  365.                 $protocol_con = str_replace( "\n", "<br>", $protocol_con );
  366.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="5">";
  367.                 $step_content .= "<tr><td style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>1</strong> 步:软件安装协议<br><hr size="1" width="98%" align="left"></td></tr>";
  368.                 $step_content .= "<tr><td style='font-size:14px;color:#666666;line-height:20px'>".$protocol_con."</td></tr>";
  369.                 $step_content .= "</table>";
  370. }
  371. else if ( $step == 1 )
  372. {
  373.                 $step_caption = array(
  374.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  375.                                 "1" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  376.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  377.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  378.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  379.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  380.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  381.                 );
  382.                 $year = "";
  383.                 $month = "";
  384.                 $day = "";
  385.                 $y = 1970;
  386.                 for ( ;        $y <= 1999;        $y++        )
  387.                 {
  388.                                 $year .= "<option value="".$y.""".$y_selected.">".$y."</option>";
  389.                 }
  390.                 $m = 1;
  391.                 for ( ;        $m <= 12;        $m++        )
  392.                 {
  393.                                 $month .= "<option value="".$m.""".$m_selected.">".$m."</option>";
  394.                 }
  395.                 $d = 1;
  396.                 for ( ;        $d <= 31;        $d++        )
  397.                 {
  398.                                 $day .= "<option value="".$d.""".$d_selected.">".$d."</option>";
  399.                 }
  400.                 if ( $_POST['nextstep'] != 1 )
  401.                 {
  402.                                 $error_msg = "<font style="font-size: 14px; color: #666666;">注:以下信息用于获取软件试用授权,同时在软件支持论坛注册用户</font>";
  403.                 }
  404.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="3">";
  405.                 $step_content .= "<tr><input type="hidden" name="skip" value="".$skip_step.""><td colspan="2" style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>2</strong> 步:填写用户信息<br><hr size="1" width="98%" align="left"></td><tr><td colspan=2 height=36>".$error_msg."</td></tr></tr>";
  406.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">用 户 名</td><td style="font-size: 12px;"><input type="text" name="username" value='".$_POST[username]."'><select name="usersex"><option value="1">先生</option><option value="2">女士/小姐</option></select> 支持论坛登录名 [ 必填 ] </td></tr>";
  407.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">登录密码</td><td style="font-size: 12px;"><input name="password" type="password" size="32"  value='".$_POST[password]."'> 支持论坛登录密码 [ 必填 ] </td></tr>";
  408.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">公司名称</td><td style="font-size: 12px;"><input name="usercompany" type="text" size="32"  value='".$_POST[usercompany]."'> 个人请填写姓名 [ 必填 ]</td></tr>";
  409.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">联 系 人</td><td style="font-size: 12px;"><input name="name" type="text" size="32"  value='".$_POST[name]."'> 请填写真实姓名 [ 必填 ]</td></tr>";
  410.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">电子邮箱</td><td style="font-size: 12px;"><input name="useremail" type="text" size="32"  value='".$_POST[useremail]."'> 请正确填写 [ 必填 ] </td></tr>";
  411.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">联系电话</td><td style="font-size: 12px;"><input name="usertelphone" type="text"  value='".$_POST[usertelphone]."'> 建议填写方便联系 [ 可不填 ]</td></tr>";
  412.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">网站URL</td><td style="font-size: 12px;"><input name="userwebsite" type="text" size="32"  value='".$_POST[userwebsite]."' > 建议填写 [ 可不填 ]</td></tr>";
  413.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">您的生日</td><td style="font-size: 12px;"><select name="year">".$year."</select> 年 <select name="month">".$month."</select> 月 <select name="day">".$day."</select> 日 建议填写 [ 可不填 ]</td></tr>";
  414.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #666666;">QQ号码</td><td style="font-size: 12px;"><input name="userqq" type="text"  value='".$_POST[userqq]."'> 建议填写方便联系 [ 可不填 ]</td></tr>";
  415.                 $step_content .= "<tr><td colspan="2" style="font-size: 14px; color: #999999;"><hr size="1" width="98%" align="left"></td></tr>";
  416.                 $step_content .= "</table>";
  417. }
  418. else if ( $step == 2 )
  419. {
  420.                 $step_caption = array(
  421.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  422.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  423.                                 "2" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  424.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  425.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  426.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  427.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  428.                 );
  429.                 $php_version = substr( PHP_VERSION, 0, 3 ) + 0;
  430.                 if ( $php_version < 4.2 || 5.2 < $php_version )
  431.                 {
  432.                                 $phpmsg = "<font color=red style='font-size: 14px; '>× (建议使用PHP4.2.x至5.2.x版本)</font>";
  433.                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  434.                 }
  435.                 else
  436.                 {
  437.                                 $phpmsg = "<font color=#666666 style='font-size: 14px; '>√</font>";
  438.                 }
  439.                 if ( get_cfg_var( "safe_mode" ) == 1 )
  440.                 {
  441.                                 $safe_mode_caption = "ON";
  442.                                 $safemsg = "<font color=red style='font-size: 14px; '>× (本系统在PHP安全模式下不可运行)</font>";
  443.                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  444.                 }
  445.                 else
  446.                 {
  447.                                 $safe_mode_caption = "OFF";
  448.                                 $safemsg = "<font color=#666666 style='font-size: 14px; '>√</font>";
  449.                 }
  450.                 if ( !is_writable( "../advs" ) || !is_writable( "../cp" ) || !is_writable( "../down" ) || !is_writable( "../pic" ) || !is_writable( "../form" ) || !is_writable( "../includes" ) || !is_writable( "../link" ) || !is_writable( "../news" ) || !is_writable( "../page" ) || !is_writable( "../templates" ) )
  451.                 {
  452.                                 $tempdir = "不可写";
  453.                                 $tempmsg = "<font color=red style='font-size: 14px; '>× (请设置advs,cp,down,pic,form,includes,link,news,page,templates目录为可读写,如777,否则无法生成HTML和进行升级)</font>";
  454.                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  455.                 }
  456.                 else
  457.                 {
  458.                                 $tempdir = "可读写";
  459.                                 $tempmsg = "<font color=#666666 style='font-size: 14px; '>√</font>";
  460.                 }
  461.                 if ( !is_writable( "../config.inc.php" ) )
  462.                 {
  463.                                 $confdir = "不可写";
  464.                                 $confmsg = "<font color=red style='font-size: 14px; '>× (请设置config.inc.php文件为可读写,如666)</font>";
  465.                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  466.                 }
  467.                 else
  468.                 {
  469.                                 $confdir = "可读写";
  470.                                 $confmsg = "<font color=#666666 style='font-size: 14px; '>√</font>";
  471.                 }
  472.                 $upload = get_cfg_var( "file_uploads" );
  473.                 if ( $upload != "1" )
  474.                 {
  475.                                 $uploadsay = "Off";
  476.                                 $uploadmsg = "<font color=red style='font-size: 14px; '>× (请在php.ini中设置file_uploads = On)</font>";
  477.                                 $noinstall = "<script>document.all['subm'].disabled = true;</script>";
  478.                 }
  479.                 else
  480.                 {
  481.                                 $uploadsay = "On";
  482.                                 $uploadmsg = "<font color=#666666 style='font-size: 14px; '>√</font>";
  483.                 }
  484.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="3">";
  485.                 $step_content .= "<tr><td style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>3</strong> 步:检测服务器环境<br><hr size="1" width="98%" align="left">".$error_msg."</td></tr>";
  486.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">操作系统:".PHP_OS."  ...√</td></tr>";
  487.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">服务器软件:".$_ENV['SERVER_SOFTWARE']."  ...√</td></tr>";
  488.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">PHP版本:".$php_version."  ...".$phpmsg."</td></tr>";
  489.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">安全模式:".$safe_mode_caption."  ...".$safemsg."</td></tr>";
  490.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">目录权限: ".$tempdir."  ...".$tempmsg."</td></tr>";
  491.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">设置文件权限: ".$confdir."  ...".$confmsg."</td></tr>";
  492.                 $step_content .= "<tr><td style="font-size: 14px; color: #999999;">文件上传:".$uploadsay."  ...".$uploadmsg."</td></tr>";
  493.                 $step_content .= "</table>";
  494. }
  495. else if ( $step == 3 )
  496. {
  497.                 $step_caption = array(
  498.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  499.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  500.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  501.                                 "3" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  502.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  503.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  504.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  505.                 );
  506.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="3">";
  507.                 $step_content .= "<tr><td colspan="2" style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>4</strong> 步:语言和数据库参数设置<br><hr size="1" width="98%" align="left">".$error_msg."</td></tr>";
  508.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #000000;">选择语言版本</td><td>\r\n\t<select name='language'>\r\n  <option value='zh_cn_utf8' ".seld( $language, "zh_cn_utf8" ).">简体中文(UTF-8)</option>\r\n \r\n</select> *</td></tr>";
  509.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #000000;">数据库服务器</td><td><input name="dbhost" type="text" value="localhost" size="20"> *</td></tr>";
  510.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #000000;">数据库名称</td><td><input name="dbname" type="text" size="20" value='".$_POST[dbname]."'> *</td></tr>";
  511.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #000000;">数据库用户</td><td><input name="dbuser" type="text" size="20" value='".$_POST[dbuser]."'> *</td></tr>";
  512.                 $step_content .= "<tr><td align="right" style="font-size: 14px; color: #000000;">数据库密码</td><td><input name="dbpwd" type="text" size="20" value='".$_POST[dbpwd]."'> *</td></tr>";
  513.                 $step_content .= "<tr><td colspan="2" style="font-size: 14px; color: #999999;"><hr size="1" width="98%" align="left"></td></tr>";
  514.                 $step_content .= "</table>";
  515. }
  516. else if ( $step == 4 )
  517. {
  518.                 $step_caption = array(
  519.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  520.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  521.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  522.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  523.                                 "4" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  524.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  525.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  526.                 );
  527. }
  528. else if ( $step == 5 )
  529. {
  530.                 $step_caption = array(
  531.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  532.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  533.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  534.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  535.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  536.                                 "5" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" ),
  537.                                 "6" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" )
  538.                 );
  539.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="3"><input type="hidden" name="dbhost" value="".$_POST['db_host'].""><input type="hidden" name="dbname" value="".$_POST['db_name'].""><input name="dbuser" type="hidden" value="".$_POST['db_user'].""><input name="dbpwd" type="hidden" value="".$_POST['db_pwd']."">";
  540.                 $step_content .= "<tr><td colspan="2" style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>6</strong> 步:设置网站管理员密码<br><hr size="1" width="98%" align="left">".$error_msg."</td></tr>";
  541.                 $step_content .= "<tr><td align="right" width=120 style="font-size: 14px; ">网站管理员用户名</td><td><input type="text" name="admin_user" value="admin"> * </td></tr>";
  542.                 $step_content .= "<tr><td align="right" style="font-size: 14px; ;">网站管理员密码</td><td><input type="text" name="admin_pass"> *</td></tr>";
  543.                 $step_content .= "<tr><td colspan="2" style="font-size: 14px; "><hr size="1" width="98%" align="left"></td></tr>";
  544.                 $step_content .= "</table>";
  545. }
  546. else if ( $step == 6 )
  547. {
  548.                 $step_caption = array(
  549.                                 "0" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  550.                                 "1" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  551.                                 "2" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  552.                                 "3" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  553.                                 "4" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  554.                                 "5" => array( "bgcolor" => "#244A6C", "fontcolor" => "#ffffff", "tag" => "" ),
  555.                                 "6" => array( "bgcolor" => "#dddddd", "fontcolor" => "#999999", "tag" => "->" )
  556.                 );
  557.                 $prev = "";
  558.                 $next = "<input id="subm" type="button" value="查看网站" onClick="window.location='../'">&nbsp;<input id="sys" type="button" value="管理登录" onClick="window.open('../adm/','_blank')">";
  559.                 $step_content .= "<table width="100%"  border="0" cellspacing="0" cellpadding="4">";
  560.                 $step_content .= "<tr><td style="font-size: 15px; color: #003399; font-weight:bold;">第 <strong>7</strong> 步:安装完成<br><hr width="98%" size="1" align="left"></td></tr>";
  561.                 $step_content .= "<tr><td style="font-size: 14px; color: #666666; line-height: 130%">系统安装完成!<br><br>请删除 [ install ] 目录<br><br></td></tr>";
  562.                 $step_content .= "</table>";
  563. }
  564. echo "<body topmargin="0" leftmargin="0" bgcolor="#396DA5">\r\n<center>\r\n  <table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">\r\n    <tr>\r\n      <td width="229" valign="top" align="center"> \r\n        <table width="100%"  border="0" cellpadding="5" cellspacing="0">\r\n          <tr> \r\n            <td align="center"><img src="images/installlogo.gif" width="229" height="75"></td>\r\n          </tr";
  565. echo ">\r\n          <tr> \r\n            <td height="130" valign="top" style="font-size:12px;color:#ffffff">&nbsp; \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  566. echo $step_caption[0]['bgcolor'];
  567. echo "" class="font_13_w" style="border-top: 1 solid #ffffff; border-bottom: 1 solid #ffffff; border-right: 3 solid #ffcc00; color: ";
  568. echo $step_caption[0]['fontcolor'];
  569. echo "">";
  570. echo $step_caption[0]['tag'];
  571. echo "&nbsp;软件介绍和安装协议</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  572. echo $step_caption[1]['bgcolor'];
  573. echo "" class="font_13_w" style="border-right: 3 solid #ffcc00; color: ";
  574. echo $step_caption[1]['fontcolor'];
  575. echo "">";
  576. echo $step_caption[1]['tag'];
  577. echo "&nbsp;填写用户信息</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  578. echo $step_caption[2]['bgcolor'];
  579. echo "" class="font_13_w" style="border-top: 1 solid #ffffff; border-right: 3 solid #ffcc00; color: ";
  580. echo $step_caption[2]['fontcolor'];
  581. echo "">";
  582. echo $step_caption[2]['tag'];
  583. echo "&nbsp;检测服务器环境</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  584. echo $step_caption[3]['bgcolor'];
  585. echo "" class="font_13_w" style="border-top: 1 solid #ffffff; border-right: 3 solid #ffcc00; color: ";
  586. echo $step_caption[3]['fontcolor'];
  587. echo "">";
  588. echo $step_caption[3]['tag'];
  589. echo "&nbsp;设置语言和数据库参数</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  590. echo $step_caption[4]['bgcolor'];
  591. echo "" class="font_13_w" style="border-top: 1 solid #ffffff; border-bottom: 1 solid #ffffff; border-right: 3 solid #ffcc00; color: ";
  592. echo $step_caption[4]['fontcolor'];
  593. echo "">";
  594. echo $step_caption[4]['tag'];
  595. echo "&nbsp;导入系统初始数据</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  596. echo $step_caption[5]['bgcolor'];
  597. echo "" class="font_13_w" style="border-right: 3 solid #ffcc00; color: ";
  598. echo $step_caption[5]['fontcolor'];
  599. echo "">";
  600. echo $step_caption[5]['tag'];
  601. echo "&nbsp;设置网站管理员密码</td>\r\n          </tr>\r\n          <tr> \r\n            <td align="right" bgcolor="";
  602. echo $step_caption[6]['bgcolor'];
  603. echo "" class="font_13_w" style="border-top: 1 solid #ffffff; border-bottom: 1 solid #ffffff; border-right: 3 solid #ffcc00; color: ";
  604. echo $step_caption[6]['fontcolor'];
  605. echo "">";
  606. echo $step_caption[6]['tag'];
  607. echo "&nbsp;安装完成</td>\r\n          </tr>\r\n        </table>\r\n        <br>\r\n        <br>\r\n        <table width="68%" border="0" cellspacing="0" cellpadding="0" align="center">\r\n          <tr> \r\n            <td><a href="http://www.eb2000.cn" target="_blank"><img src="images/medisoft.gif" width="229" height="75" border="0"></a></td>\r\n          </tr>\r\n        </table>\r\n      </td>\r\n      <td valign="top" bgcolor="#FFFFFF"";
  608. echo "><table width="100%"  border="0" cellpadding="0" cellspacing="0">\r\n          <tr valign="top"> \r\n            <td height="90"><img src="images/top1.gif" width="764" height="73"></td>\r\n        </tr>\r\n      </table>\r\n        <table width="100%"  border="0" cellspacing="0" cellpadding="0">\r\n\t\t<form name="form" action="" method="post" onSubmit="return CheckForm (this, '";
  609. echo $step;
  610. echo "');">\r\n\t\t  <tr>\r\n            <td style="padding-left: 10px; padding-top: 5px; padding-bottom: 5px;" align="left">";
  611. echo $step_content;
  612. echo "</td>\r\n          </tr>\r\n          <tr>\r\n            <td style="padding-left: 10px;">";
  613. echo $prev;
  614. echo "              ";
  615. echo $unagree."&nbsp;".$next."&nbsp;".$download;
  616. echo "              <input type="hidden" name="nextstep" value="";
  617. echo $step;
  618. echo "">\r\n              <input type="hidden" name="command" value="gonext">\r\n              <input type="hidden" name="alertmsg" value="";
  619. echo $msg;
  620. echo "">\r\n              <input type="hidden" name="user_email" value="";
  621. echo $_POST['user_email'];
  622. echo "">\r\n              </td>\r\n          </tr>\r\n\t\t  </form>\r\n        </table></td>\r\n    </tr>\r\n  </table>\r\n</center>\r\n</body>\r\n</html>\r\n";
  623. echo $noinstall;
  624. ?>
复制代码
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享

1

主题

26

帖子

10

金币

初级会员

Rank: 1

积分
55
2#
发表于 2010-4-1 23:38:40 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
无限制什么呀

3

主题

282

帖子

24

金币

初级会员

Rank: 1

积分
423
3#
发表于 2010-4-2 01:28:40 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
有注册机了还需要无限制?

133

主题

585

帖子

31

金币

初级会员

蓝雨在线

Rank: 1

积分
841
4#
 楼主| 发表于 2010-4-2 01:37:09 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
嘿嘿!注册机是注册机,无限制当然是开源不

13

主题

142

帖子

2

金币

初级会员

Rank: 1

积分
216
5#
发表于 2010-4-2 16:40:28 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
唉,我只关心能不能整合UC。。。。。

0

主题

20

帖子

6

金币

初级会员

Rank: 1

积分
32
6#
发表于 2010-5-14 19:00:32 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
怎么还是不能行呢???我晕

0

主题

1346

帖子

0

金币

初级会员

Rank: 1

积分
1056
7#
发表于 2010-10-14 19:22:41 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
不错的东西  持续关注

6

主题

62

帖子

160

金币

初级会员

Rank: 1

积分
366
QQ
8#
发表于 2012-2-4 03:08:22 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
还是无法连接
您的网站无法连接到注册服务器,请检查是否已连接网络,或稍侯再试!

6

主题

3692

帖子

436

金币

初级会员

Rank: 1

积分
3534
9#
发表于 2013-4-11 06:44:46 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
顶起来……卓不凡网赚社区 www.zhuobufan.com……

6

主题

3692

帖子

436

金币

初级会员

Rank: 1

积分
3534
10#
发表于 2013-5-9 23:05:19 | 只看该作者
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID!
顶起来……卓不凡网赚社区 www.zhuobufan.com……
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

锦尚中国源码论坛

聚合标签|锦尚中国,为中国网站设计添动力 ( 鲁ICP备09033200号 ) |网站地图

GMT+8, 2024-9-28 07:29 , Processed in 0.207044 second(s), 26 queries .

带宽由 锦尚数据 提供 专业的数据中心

© 锦尚中国源码论坛 52jscn Inc. 非法入侵必将受到法律制裁 法律顾问:IT法律网 & 褚福省律师 锦尚爱心 版权申诉 版权与免责声明