📄 install.php
字号:
</tr>
<tr bgcolor="#FFFFFF">
<td class="td1" height="30">
<?php echo $msg; ?>.</td>
</tr>
<tr bgcolor="#C6C3C6">
<td class="td1" align="center">
<table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="td1" height="75">Please wait while the Installation
Wizard creates the tables needed to install Advanced Poll
on your server. This may take a few moments.</td>
</tr>
<tr>
<td height="140" class="td1"> Please wait...
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php echo $img_loc; ?>/status.gif" width="<?php echo $stat; ?>" height="16"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#C6C3C6">
<td align="center" height="20">
<img src="<?php echo $img_loc; ?>/h_line.gif" height="18" width="490">
</td>
</tr>
<tr bgcolor="#C6C3C6">
<td align="right"><img src="<?php echo $img_loc; ?>/disabled.gif" width="75" height="22" border="0" alt="Back"><img src="<?php echo $img_loc; ?>/next.gif" width="75" height="22" border="0" usemap="#Next" alt="Next"><map name="Next"><area shape="rect" coords="1,1,73,20" href="<?php echo "$SELF?action=$stp"; ?>"></map>
<img src="<?php echo $img_loc; ?>/cancel.gif" width="75" height="22" usemap="#Cancel" border="0" alt="Cancel"><map name="Cancel"><area shape="rect" coords="1,1,73,20" href="javascript:abort()"></map>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
<br>
</body>
</html>
<?php
}
function create_account() {
global $PHP_SELF, $version, $img_loc;
$SELF = basename($PHP_SELF);
?>
<body bgcolor="#3A6EA5" onload="set_focus()">
<br>
<br>
<table border="1" cellspacing="0" cellpadding="0" align="center" width="500">
<tr bgcolor="#C6C3C6">
<td>
<table width="500" border="0" cellspacing="0" cellpadding="1" align="center">
<tr bgcolor="#400080">
<td height="20" class="td1" bgcolor="#000084"><b><font color="#FFFFFF">
Advanced Poll <?php echo $version; ?> Installation</font></b></td>
<td height="20" class="td1" align="right" bgcolor="#000084"><img src="<?php echo $img_loc; ?>/cross.gif" width="16" height="14" border="0" usemap="#close"><map name="close"><area shape="rect" coords="1,1,14,12" href="javascript:abort()"></map>
</td>
</tr>
<tr align="center">
<td colspan="2">
<form method="post" action="<?php echo $SELF; ?>" name="FormPwd" onsubmit="return check_data()">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor="#FFFFFF" valign="bottom">
<td class="td1" height="30"><b> Installation
Process</b></td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="td1" height="30">
All tables were created successfully!</td>
</tr>
<tr bgcolor="#C6C3C6">
<td class="td1" valign="top" align="center">
<table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="td1" height="75">To complete the installation enter a username
and password.</td>
</tr>
<tr>
<td height="140" class="td1">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="18%" class="td1">Username:</td>
<td width="82%">
<input type="text" name="username" size="25">
</td>
</tr>
<tr>
<td width="18%" class="td1">Password:</td>
<td width="82%">
<input type="password" name="password" size="25">
</td>
</tr>
<tr>
<td width="18%" class="td1">Confirm:</td>
<td width="82%">
<input type="password" name="confirm" size="25">
<input type="hidden" name="action" value="step_6">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#C6C3C6">
<td align="center" height="20">
<img src="<?php echo $img_loc; ?>/h_line.gif" height="18" width="490">
</td>
</tr>
<tr bgcolor="#C6C3C6">
<td align="right"><img src="<?php echo $img_loc; ?>/disabled.gif" width="75" height="22" border="0" alt="Back"><input type="image" src="install/next.gif" width="75" height="22" border="0" alt="Next">
<img src="<?php echo $img_loc; ?>/cancel.gif" width="75" height="22" usemap="#Cancel" border="0" alt="Cancel"><map name="Cancel"><area shape="rect" coords="1,1,73,20" href="javascript:abort()"></map>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
<br>
</body>
</html>
<?php
}
function abort($msg) {
global $version, $img_loc, $PHP_SELF;
$SELF = basename($PHP_SELF);
?>
<html>
<head>
<title>Advanced Poll <?php echo $version; ?></title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.td1 { font-family: "MS Sans Serif"; font-size: 9pt}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -