⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlpatch.php

📁 Zen Cart是一款免费的购物车软件,用于建立自己的网上商店.该软件采用PHP开放源码设计,界面友好,容易安装和定制,功能相当齐全,购物流程简洁直观, 您的客户即刻就能使用.内置促销、折扣、礼物券、
💻 PHP
字号:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// | Simplified Chinese version   http://www.zen-cart.cn                  |
// +----------------------------------------------------------------------+
//  $Id: sqlpatch.php 277 2004-09-10 23:03:52Z wilt $
//
  define('HEADING_TITLE','SQL工具');
  define('HEADING_WARNING','请备份数据库再执行以下脚本');
  define('HEADING_WARNING2','如果您安装其它模块, 请自行负责.<br />Zen Cart&trade; 不担保其它脚本的安全性. 测试后再用于您的数据库!');
  define('TEXT_QUERY_RESULTS','执行结果:');
  define('TEXT_ENTER_QUERY_STRING','输入要执行的语句:&nbsp;&nbsp;<br /><br />以 ; 号结尾');
  define('TEXT_QUERY_FILENAME','上传文件:');
  define('ERROR_NOTHING_TO_DO','错误: 没有执行操作 - 没有指定执行语句或者执行文件.');
  define('TEXT_CLOSE_WINDOW', '[ 关闭窗口 ]');
  define('SQLPATCH_HELP_TEXT','该SQL工具用于安装系统补丁, 直接粘贴SQL代码到文本区就可以. '.
                              '或者上传(.SQL) 脚本文件.  ' . "\n\n" . '输入和上传的命令' .
                              '必须用以下语句开头, 且为大写: ' . "\n" .
                              '<ul><li>DROP TABLE IF EXISTS</li><li>CREATE TABLE</li><li>INSERT INTO</li><li>ALTER TABLE</li>' .
                              '<li>UPDATE</li><li>DELETE FROM</li></ul>' . "\n\n" .
                              '创建该工具使用的脚本文件时, 不要包括数据表前缀, 该工具会 ' .
                              '自动加入当前数据库的前缀, 该设置位于商店的 ' .
                              'admin/includes/configure.php 文件 (DB_PREFIX 定义).' . "\n");

?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -