<?php
include 'config.php';
include 'head.php';
include 'functions.php';
$_SESSION['rand']='1';
echo '<div class="form">';
echo '<form action="postrega.php" method="post">
Ваш ник:<br/>
<input type="text" name="nick" /><br/>
Пароль:<br/>
<input type="text" name="pass"/><br/>
<input type="submit" value="Регистрировать"></form>';
echo '</div>';
echo '<div class="p">- <a href="index.php">В чат</a><br/></div>';
echo $end;
?>