<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><?string bgcolor="#ccccff"?>
<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("password.cgi", ppc.password1)){?>
		    Done!</h1>Now go to <a href='index.ppc.cgi'>index.ppc.cgi</a> -
				default guestbook page. <br>
				<span class=ered>
				ATTENTION! The file "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++ Guestbook Setup!</h1>
<form action='<?=ppc.__FILE?>?setup=on1' name=pwdform method=POST><br>
<p>This will install basic, but very fast and
easy-editable guestbook.<br>
The only thing we need for installation is an administrator
password:<br>
<input type=password name=password1 class=entry><br>
Confirm:<br>
<input type=password name=password2 class=entry><br>
<input type=button value='Finish' class=entry onclick='check_n_submit()'>
</form>
</p>
<br>
If you want to customize this guestbook
- install <a href=http://ppc.take-1.biz>
ppC++ HTML-embedding preprocessor</a>.<br>Don't
worry - ppC++ scripts are simple as HTML!
</center>
</body>
</html>
                       






General Public License
2003 © ppC++ team