Ejemplo n.º 1
0
    trbasic(array(ilang('founder email'), input_str('email', $email, 'text', 30)), 0);
    trbasic(array(ilang('founder password'), input_str('password1', $password1, 'password', 30, 0, 15)), 0);
    trbasic(array(ilang('reinput founder password'), input_str('password2', $password2, 'password', 30, 0, 15)), 0);
    echo "</table>\n";
    ins_mider();
    hidden_str('step', 6);
    button_str('submit', ilang('continue'));
    ins_footer(1);
    $ierror && ins_message($ierror);
} elseif ($step == '7') {
    $username = htmlspecialchars($_GET['username']);
    $email = htmlspecialchars($_GET['email']);
    $password = htmlspecialchars($_GET['password']);
    $db = new cls_mysql();
    $db->connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect, true, $dbcharset);
    $db->select_db($dbname);
    $fp = fopen($sqlfile, 'rb');
    $sql = fread($fp, filesize($sqlfile));
    fclose($fp);
    ins_header();
    ?>
<script type="text/javascript">
	function showmessage(message) {
		document.getElementById('notice').value += message + "\r\n";
	}
</script>
<table width="100%" cellspacing="0" border="0" align="center">
<tr><td align="center"><br />
<textarea name="notice" style="width: 80%; height: 400px" readonly id="notice"></textarea>
</td></tr>
</table>