Location: PHPKode > projects > Mailist > index.php
<?php

$filename = 'install.php';
if (file_exists($filename)) {
    echo 'You must <a href="install.php">run the install</a>, or delete install.php and postinstall.php to continue.';
    exit();
}

$filename = 'postinstall.php';
if (file_exists($filename)) {
    echo 'You must <a href="install.php">run the install</a>, or delete install.php and postinstall.php to continue.';
    exit();
}



require_once("inc/storeAddress.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
  <link href="css/style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/mailingList.js"></script>
    <title>Mailist V.3</title>
  </head>
  <body>
<center>
<img src="css/logo.gif" alt="Maillist">

<div id="container">
<center>
<h3> Add your name</h3>
</center>
<fieldset>
<legend>Mailist v3</legend>


    <form id="addressForm" action="index.php" method="get">
      
       

        <center>
          <b>&#42;Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b> <input type="text"  name="address" id="address" size="25"><br>
   
   <div id="fm-submit" class="fm-req">
      <input name="Submit" value="Submit" type="submit" />
   </div>

        <p id="response"><?php echo(storeAddress()); ?></p>
      </center>
    </form>
    
</fieldset>
</div>
    <a href="admin.php" title="Admin">Administration</a> | <a href="http://www.ninjadesigns.co.uk" title="Ninja Designs">Ninja Designs</a> <!-- You don't have to keep the linkback, but it is nice if you do :) -->
    
      <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-html401"
        alt="Valid HTML 4.01 Transitional" height="31" width="88" border="0"></a>
  </p>

</center>
  </body>
</html>
Return current item: Mailist