Location: PHPKode > scripts > phpSecurityAdmin > phpsecurityadmin/include/page_add.php
<?php // 8/23/2002 3:08PM
	if(isset($_POST['submit'])){
		if($sec_sys->addPage($_POST['title'],$_POST['url']))
			echo $sec_sys->PHPSECURITYADMIN_PAGE_ADDED.'<br>'."\n";
		else
			echo '<span style="color: #cc0000;">'.$sec_sys->PHPSECURITYADMIN_PAGE_EXISTS.'</span><br>'."\n";
	}
?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>?language=<?php echo $sec_sys->LANGUAGE?>&a=page_add">
 <b><?php echo $sec_sys->PHPSECURITYADMIN_PAGE_NAME ?>:</b> <input type="text" name="title" size="35"><br>
 <b><?php echo $sec_sys->PHPSECURITYADMIN_LOCATION ?><sup><span style="color: #cc0000;">*</span></sup>:</b>
  <input type="text" name="url" size="30"><br>
 <input type="submit" name="submit" value="<?php echo $sec_sys->PHPSECURITYADMIN_ADD_PAGE ?>">
</form>

<sup><span style="color: #cc0000;">*</span></sup> <?php echo $sec_sys->PHPSECURITYADMIN_PAGE_DESCRIPTION ?>

Return current item: phpSecurityAdmin