📄 install_tpl.php
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>XOOPS Custom Installation</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo _INSTALL_CHARSET ?>" />
<style type="text/css" media="all"><!-- @import url(../xoops.css); --></style>
<link rel="stylesheet" type="text/css" media="all" href="style.css" />
</head>
<body>
<form action='index.php' method='post' style=''>
<table width="778" align="center" cellpadding="0" cellspacing="0" background="img/bg_table.gif">
<tr>
<td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
<td width="478" background="img/hbar_middle.gif"> </td>
<td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td>
</tr>
<tr>
<td width="150"><a href="index.php"><img src="img/logo.gif" width="150" height="80" alt="" /></a></td>
<td width="478" background="img/bg_darkblue.gif"> </td>
<td width="150"><img src="img/xoops2.gif" width="100%" height="80" /></td>
</tr>
<tr>
<td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
<td width="478" background="img/hbar_middle.gif"> </td>
<td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td>
</tr>
</table>
<table width="778" align="center" cellspacing="0" cellpadding="0" background="img/bg_table.gif">
<tr>
<td width='5%'> </td>
<td colspan="3"><?php if(!empty($title)) echo '<h4 style="margin-top: 10px; margin-bottom: 5px; padding: 10px;">'.$title.'</h4>'; echo '<div style="padding: 10px;">'.$content.'</div>'; ?></td>
<td width='5%'> </td>
</tr>
<tr>
<td width='5%'> </td>
<td width='35%' align='left'><?php echo b_back($b_back); ?></td>
<td width='20%' align='center'><?php echo b_reload($b_reload); ?></td>
<td width='35%' align='right'><?php echo b_next($b_next); ?></td>
<td width='5%'> </td>
</tr>
<tr>
<td colspan="5"> </td>
</tr>
</table>
<table width="778" cellspacing="0" cellpadding="0" align="center" background="img/bg_table.gif">
<tr>
<td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
<td width="478" background="img/hbar_middle.gif"> </td>
<td width="150"><img src="img/hbar_installer_right.gif" width="100%" height="23" alt="" /></td>
</tr>
</table>
</form>
</body>
</html>
<?php
function b_back($option = null)
{
if(!isset($option) || !is_array($option)) return '';
$content = '';
if(isset($option[0]) && $option[0] != ''){
$content .= "<input type='button' value='"
._INSTALL_L42."' onclick=\"location='index.php?op="
.htmlspecialchars($option[0])."'\" /> ";
}else{
$content .= "<input type='button' value='"
._INSTALL_L42."' onclick=\"javascript:history.back();\" /> ";
}
if(isset($option[1]) && $option[1] != ''){
$content .= "<span style='font-size:85%;'><< "
.htmlspecialchars($option[1])."</span> ";
}
return $content;
}
function b_reload($option=''){
if(empty($option)) return '';
if (!defined('_INSTALL_L200')) {
define('_INSTALL_L200', 'Reload');
}
return "<input type='button' value='"._INSTALL_L200."' onclick=\"location.reload();\" /> ";
}
function b_next($option=null){
if(!isset($option) || !is_array($option)) return '';
$content = '';
if(isset($option[1]) && $option[1] != ''){
$content .= "<span style='font-size:85%;'>"
.htmlspecialchars($option[1])." >></span>";
}
$content .= "<input type='hidden' name='op' value='"
.htmlspecialchars($option[0])."' />\n";
$content .= "<input type='submit' name='submit' value='"._INSTALL_L47."' />\n";
return $content;
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -