Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("config.php");
- switch($_GET['p'])
- {
- default:
- echo <<<END
- <div class="index_hellow"> Добро пожаловать </div>
- END;
- break;
- case "index":
- echo <<<TXT
- <div class="index_hellow"> Добро пожаловать</div>
- TXT;
- break;
- case "reg":
- echo <<<TXT
- <div class="reg_form">
- <form action="action/acton.php" method="POST"><br>
- <input type="text" name="login"/><br><br>
- <input type="text" name="email"/><br>
- <input type="text" name="name"/><br><br>
- <input type="text" name="familia"/><br>
- <select name"sex">
- <option value="0" selected> Женский </option>
- <option value="1"> Мужской </option><br>
- </select> <input type="password" name="password"/></form><br>
- </div>
- TXT;
- break;
- }
- ?>
- <div class="menu">
- <a href="index"> Главная</a>
- <a href="index?php=reg"> Регистрация</a>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement