[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[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.63 KiB
MD5: 4c171ed992895cd1c0d3b442bbd5e1f0

alert_page.php - 关闭高亮
  1. <?php
  2. /**
  3.  * @package admin
  4.  * @copyright Copyright 2003-2013 Zen Cart Development Team
  5.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  6.  * @version GIT: $Id: Author: DrByte  Wed Oct 23 14:38:22 2013 -0400 Modified in v1.5.2 $
  7.  */
  8. require ('includes/application_top.php');
  9. $adminDirectoryExists = $installDirectoryExists = FALSE;
  10. if (substr(DIR_WS_ADMIN, -7) == '/admin/' || substr(DIR_WS_HTTPS_ADMIN, -7) == '/admin/')
  11. {
  12.    $adminDirectoryExists = TRUE;
  13. }
  14. $check_path = dirname($_SERVER['SCRIPT_FILENAME']) . '/../zc_install';
  15. if (is_dir($check_path))
  16. {
  17.   $installDirectoryExists = TRUE;
  18. }
  19. if (!$adminDirectoryExists && !$installDirectoryExists)
  20. {
  21.   zen_redirect(zen_href_link(FILENAME_DEFAULT));
  22. }
  23. ?>
  24. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
  26. <head>
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28. <title>Zen Cart!</title>
  29. <meta name="robots" content="noindex, nofollow" />
  30. </head>
  31. <body>
  32.     <div style="width:400px;margin:auto;margin-top:10%;border:5px red solid;padding:20px 50px 50px 50px;background-color:#FFAFAF;">
  33.     <h1 style="text-align: center;font-size:40px;color:red;margin:0;"><?php echo HEADING_TITLE; ?></h1>
  34.     <p style=""><?php echo ALERT_PART1; ?></p>
  35.     <ul style="">
  36.     <?php if ($installDirectoryExists) { ?>
  37.     <li><?php echo ALERT_REMOVE_ZCINSTALL; ?><br /><br /></li>
  38.     <?php  } ?>
  39.     <?php if ($adminDirectoryExists) { ?>
  40.     <li><?php echo ALERT_RENAME_ADMIN; ?></li>
  41.     <?php  } ?>
  42.     </ul>
  43.     <br />
  44.     <p class=""><?php echo ALERT_PART2; ?></p>
  45.     </div>
  46. </body>
  47. </html>
  48.  


cron