| Current Path : /var/www/iplanru/data/www/i-plan.ru/components/com_poll/views/poll/tmpl/ |
| Current File : /var/www/iplanru/data/www/i-plan.ru/components/com_poll/views/poll/tmpl/page_ap_sel1.php |
<?php
// No direct access
defined( '_JEXEC' ) or die;
$list=$db->setQuery("SELECT * FROM #__pollanswers where cookie=\"{$chash}\"")->loadAssoc();
?>
<div id="system">
<article class="item">
<header>
<h1 class="title">Опрос</h1>
</header>
<div class="pool">
<div class="pool-ans">
<?php print str_replace("{code}",'<span class="pool-code">'.$list['code'].'</span>',$componentParams->get('ans_text', '')); ?>
</div>
<div class="content clearfix">
<form name="poolform" action="<?php echo JRoute::_("index.php?option=com_poll&view=poll"); ?>" method="post">
<?php
echo "<hr><label id=\"text\">Введите email (обязательно) </label><input type=\"text\" name=\"email\" value=\"\" /><br>";
echo "<br><label id=\"text\">Введите ФИО </label><input style=\"width: 185px !important;\" type=\"text\" name=\"fio\" value=\"\" size=40 />";
echo "<label id=\"text\"> Введите телефон </label><input type=\"text\" name=\"tel\" value=\"\" /><hr>";
echo "<input type=\"hidden\" name=\"selector\" value=\"2\" />";
echo "<div onclick=\"document.poolform.submit()\" id=\"submit\" ><span>Получить сертификат</span></div>";
echo "<img id=\"pool-logo\" src=\"/images/newstyle/opros/logo_intesco.png\"/>";
?>
<?php echo JHtml::_( 'form.token' ); ?>
</form>
</div>
</div>
</article>
</div>