Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

tolyanze

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

Everything posted by tolyanze

  1. Подскажите пожалуйста как вывести форму из страницы "связаться с нами" на главную. Переношу код из contact.tpl в home.tpl выдает ошибку. Я так понимаю надо в controller/common/home.php подключить форму? Кто знает дайте наводку что надо делать. <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" class="form-horizontal"> <fieldset> <legend><?php echo $text_contact; ?></legend> <div class="form-group required"> <label class="col-sm-2 control-label" for="input-name"><?php echo $entry_name; ?></label> <div class="col-sm-10"> <input type="text" name="name" value="<?php echo $name; ?>" id="input-name" class="form-control" /> <?php if ($error_name) { ?> <div class="text-danger"><?php echo $error_name; ?></div> <?php } ?> </div> </div> <div class="form-group required"> <label class="col-sm-2 control-label" for="input-email"><?php echo $entry_email; ?></label> <div class="col-sm-10"> <input type="text" name="email" value="<?php echo $email; ?>" id="input-email" class="form-control" /> <?php if ($error_email) { ?> <div class="text-danger"><?php echo $error_email; ?></div> <?php } ?> </div> </div> <div class="form-group required"> <label class="col-sm-2 control-label" for="input-enquiry"><?php echo $entry_enquiry; ?></label> <div class="col-sm-10"> <textarea name="enquiry" rows="10" id="input-enquiry" class="form-control"><?php echo $enquiry; ?></textarea> <?php if ($error_enquiry) { ?> <div class="text-danger"><?php echo $error_enquiry; ?></div> <?php } ?> </div> </div> <?php echo $captcha; ?> </fieldset> <div class="buttons"> <div class="pull-right"> <input class="btn btn-primary" type="submit" value="<?php echo $button_submit; ?>" /> </div> </div> </form>
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.