phorum\setup.ppc :: ppC++ web compiler
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><?string bgcolor="#aaaaaa"?>
<style>
body { font-family: Arial; font-size: 12; background:<?=bgcolor?>; color: black; }
.entry { background:<?=bgcolor?>;font-family: Arial; font-size: 10; color: #114422; }
.ered { font-family: Arial; font-size: 10; color: red; font-weight:bold }
b { font-family: Arial; font-size: 12; color: #003300; font-weight:bold }
a { font-family: Arial; font-size: 12; color: #222233; font-weight:bold; }
a:hover { font-family: Arial; font-size: 12; color: #882244; font-weight:bold; text-decoration:none; }
</style>
<title>Setup Simple ppC++ Guestbook</title>
<script language=JavaScript>
function check_n_submit(){
				 if(document.pwdform.password1.value !=
				 		document.pwdform.password2.value )
						    alert("Passwords do not match!");
				else document.pwdform.submit();
}
</script>
</head>
<body>
<center><h1>
<?if(ppc.setup=="on1"){
     if(ppc.save_file("dat/pwd.cgi", ppc.password1)){?>
		    Done!</h1>Now go to <a href='index.ppc'>index.ppc</a> -
				default phorum page. <br>
				<span class=ered>
				ATTENTION! The file pair "setup.ppc/setup.ppc.cgi"(this one!) must be deleted for secure reasons.
				It is strongly recommended that you delete(or place it anywhere out of "cgi-bin"
				directory) IMMEDIATELY after you leave this page, otherwise every visitor could change your password.
				</span>
		 <?}else{?>
		    ERROR WRITING FILE!!!</h1>Check permissions and read-only attributes.
		 <?}?>
<?exit(0);}?>
Welcome to Simple ppC++ Phorum Setup!</h1>
<p>This will install simple, but very fast phorum.<br>
The only thing we need for installation is an administrator
password:
<form action='<?=ppc.SCRIPT?>?setup=on1' name=pwdform method=POST><br>
Confirm:<br>
<input type=password name=password1 class=entry><br>
<input type=password name=password2 class=entry><br>
<input type=button value='Finish' class=entry onclick='check_n_submit()'>
</form>
</p></center>
</body>
</html>
                       






General Public License
2003 ppC++ team