?? step2.html
字號:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ViooMA進銷存2008版安裝程序 -- 檢測環境</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.twbox * td{
text-indent:20px;
}
.onetd{
border-right:1px solid #EEE;
}
.STYLE2 {color: #339900}
-->
</style>
<script src="jquery.js" language="javascript" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){
//列表第一格CSS
$(".twbox tr").each(function(){ $(this).children("td").eq(0).addClass("onetd");});
//列表行鼠標懸停
$(".twbox tr").mouseover(function(){ $(this).addClass("moncolor");}).mouseout(function(){$(this).removeClass("moncolor"); });
});
-->
</script>
</head>
<body>
<div class="top boxcenter">正在安裝: <em>WEB進銷存2008版</em></div>
<div class="topstep boxcenter">
<div class="stepbox">
<ul>
<li>許可協議</li>
<li class="this">檢測環境</li>
<li>安裝參數</li>
<li>開始安裝</li>
</ul>
</div>
</div>
<div class="main boxcenter">
<div class="boxtitle">
<span>服務器信息</span>
</div>
<table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
<tr>
<th width="300" align="center"><strong>參數</strong></th>
<th width="424"><strong>值</strong></th>
</tr>
<tr>
<td><strong>服務器域名/IP地址</strong></td>
<td><?php echo $sp_name." ".$sp_host; ?></td>
</tr>
<tr>
<td><strong>服務器操作系統</strong></td>
<td><?php echo $sp_os; ?></td>
</tr>
<tr>
<td><strong>服務器解譯引擎</strong></td>
<td><?php echo $sp_server; ?></td>
</tr>
<tr>
<td><strong>PHP版本</strong></td>
<td><?php echo $phpv; ?></td>
</tr>
<tr>
<td><strong>ViooMA路徑</strong></td>
<td><?php echo VIOOMAROOT; ?></td>
</tr>
<tr>
<td><strong>腳本超時時間</strong></td>
<td><?php echo $sp_max_execution_time; ?> 秒</td>
</tr>
</table>
<div class="boxtitle">
<span>系統環境要求</span>
</div>
<div style="width:720px; margin:10px auto; color:#666;">
系統環境要求必須滿足下列所有條件,否則系統或系統部份功能將無法使用!.
</div>
<table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
<tr>
<th width="254" align="center"><strong>需開啟的變量或函數</strong></th>
<th width="61"><strong>要求</strong></th>
<th width="409"><strong>實際狀態及建議</strong></th>
</tr>
<tr>
<td>allow_url_fopen</td>
<td>On </td>
<td><?php echo $sp_allow_url_fopen; ?>(不符合要求將導致采集、遠程資料本地化等功能無法應用)</td>
</tr>
<tr>
<td>safe_mode</td>
<td>Off</td>
<td><?php echo $sp_safe_mode; ?>(本系統不支持在<span class="STYLE2">非win主機的安全模式</span>下運行)</td>
</tr>
<tr>
<td>GD 支持 </td>
<td>On</td>
<td><?php echo $sp_gd; ?>(不支持將導致與圖片相關的大多數功能無法使用或引發警告)</td>
</tr>
<tr>
<td>MySQL 支持</td>
<td>On</td>
<td><?php echo $sp_mysql; ?>(不支持無法使用本系統)</td>
</tr>
</table>
<div class="boxtitle">
<span>目錄權限檢測</span>
</div>
<div style="width:720px; margin:10px auto; color:#666;">
系統要求必須滿足下列所有的目錄權限全部可讀寫的需求才能使用,其它應用目錄安裝后自行在管理后臺檢測。</div>
<table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
<tr>
<th width="255" align="center"><strong>目錄名</strong></th>
<th width="66"><strong>要求</strong></th>
<th width="403"><strong>實際狀態及建議</strong></th>
</tr>
<?php
foreach($sp_testdirs as $d)
{
if($d!='/') $fulld = VIOOMAROOT.$d;
else $fulld = VIOOMAROOT;
if($d!='/') $rsta = (is_readable($fulld) ? '<font color=green>[√]讀</font>' : '<font color=red>[×]讀</font>');
else $rsta = '';
//$wsta = (is_writeable($fulld) ? '<font color=green>[√]寫</font>' : '<font color=red>[×]寫</font>');
$wsta = (TestWrite($fulld) ? '<font color=green>[√]寫</font>' : '<font color=red>[×]寫</font>');
?>
<tr>
<td><?php echo $d; ?></td>
<td>讀寫</td>
<td><?php echo $rsta." ".$wsta; ?></td>
</tr>
<?php } ?>
</table>
</div>
<div class="butbox boxcenter">
<input type="button" class="backbut" value="" onclick="history.back();" style="margin-right:20px" />
<?php if(!$sp_mysql_err){ ?>
<input type="button" class="nextbut" value="" onclick="window.location.href='index.php?step=3';" />
<?php } ?>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -