Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- include 'inc/core.php';
- include 'inc/head.php';
- if (isset($_POST['order']) && isset($_POST['contacts']) && isset($_POST['url'])) {
- $cont = htmlspecialchars($_POST['contacts']);
- $order = htmlspecialchars($_POST['order']);
- $url = htmlspecialchars($_POST['url']);
- if(empty($cont)) {
- ?>
- <div class="content">Ошибка! Введите ваши контакты!</div>
- <?php
- }
- if(empty($url)) {
- ?>
- <div class="content">Ошибка! Введите адрес сайта!</div>
- <?php
- }
- if(empty($order)) {
- <div class="content">Ошибка! Введите вашe Т/З!</div>
- <?php
- }
- }
- ?>
- <div class="title">Заказ услуг</div>
- <div class="content">ВАЖНО!!!</br>
- Указывайте правильные данные и четкое Т/З.</br>
- В противном случае вам будет отказано...</div>
- <div class="content">
- <form method="POST">
- <input type="text" name="contacts" placeholder="Контакты">
- <input type="text" name="order" placeholder="Подробное т/з">
- <input type="text" name="url" placeholder="Ссылка на сайт">
- <input type="submit" value="Заказать">
- </form>
- </div>
- <?php
- include 'inc/foot.php';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement