Your IP : 172.28.240.42


Current Path : /var/www/html/clients/td-teplouchet.ru/
Upload File :
Current File : /var/www/html/clients/td-teplouchet.ru/form.php

<?php
function printForm($idForm, $btnText)
{
echo <<<EOT
	<form method="post" action="send.php" class="form" name="form">
		<div class="form-group">
			<input type="text" class="form-control firstname" name="firstname" placeholder="Введите ваше имя" required>
		</div>
		<div class="form-group">
			<input type="email" class="form-control h5-email" name="email" placeholder="Введите ваш e-mail">
		</div>
		<div class="form-group">
			<input type="text" class=" form-control phone" name="phone" placeholder="Введите ваш номер телефона" required>
		</div>
		<div class="form-group">
			<input type="text" class=" form-control comment" name="comment" placeholder="Введите ваш вопрос">
		</div>
		<input type="hidden" id="idform" name="idform" value="$idForm">
		<button type="submit" class="btn btn-red">$btnText</button>
	</form>
EOT;
}