[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 alert_page.php

Zen Cart 源代码 alert_page.php




下载文件

文件名: alert_page.php
文件类型: PHP文件
文件大小: 1.6 KiB
MD5: 5bcf8c904ca7f6a914ee8109b2bb902e

alert_page.php - 打开高亮
<?php
/**
 * @package admin
 * @copyright Copyright 2003-2011 Zen Cart Development Team
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: alert_page.php 19365 2011-08-28 19:53:48Z wilt $
 */
require ('includes/application_top.php');
$adminDirectoryExists = $installDirectoryExists = FALSE;
if (substr(DIR_WS_ADMIN, -7) == '/admin/' || substr(DIR_WS_HTTPS_ADMIN, -7) == '/admin/')
{
   $adminDirectoryExists = TRUE;
}
$check_path = dirname($_SERVER['SCRIPT_FILENAME']) . '/../zc_install';
if (is_dir($check_path))
{
  $installDirectoryExists = TRUE;
}
if (!$adminDirectoryExists && !$installDirectoryExists)
{
  zen_redirect(zen_href_link(FILENAME_DEFAULT));
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Zen Cart!</title>
<meta name="robot" content="noindex, nofollow" />
</head>
<body>
    <div style="width:400px;margin:auto;margin-top:10%;border:5px red solid;padding:20px 50px 50px 50px;background-color:#FFAFAF;">
    <h1 style="text-align: center;font-size:40px;color:red;margin:0;"><?php echo HEADING_TITLE; ?></h1>
    <p style=""><?php echo ALERT_PART1; ?></p>
    <ul style="">
    <?php if ($installDirectoryExists) { ?>
    <li><?php echo ALERT_REMOVE_ZCINSTALL; ?><br /><br /></li>
    <?php  } ?>
    <?php if ($adminDirectoryExists) { ?>
    <li><?php echo ALERT_RENAME_ADMIN; ?></li>
    <?php  } ?>
    </ul>
    <br />
    <p class=""><?php echo ALERT_PART2; ?></p>
    </div>
</body>
</html>


cron