Skip to content

Instantly share code, notes, and snippets.

@e06widu
Created July 17, 2013 06:00
Show Gist options
  • Select an option

  • Save e06widu/6018008 to your computer and use it in GitHub Desktop.

Select an option

Save e06widu/6018008 to your computer and use it in GitHub Desktop.
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.tooltip');
// get the menu parameters for use
$menuparams = $this->state->get("menuparams");
?>
<h2 >Join With US</h2>
<form class="form-validate" action="<?php echo JRoute::_('index.php'); ?>" method="post" id="joinwithus" name="joinwithus">
<fieldset>
<dl>
<dt><?php echo $this->form->getLabel('fname'); ?></dt>
<dd><?php echo $this->form->getInput('fname'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('lname'); ?></dt>
<dd><?php echo $this->form->getInput('lname'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('age'); ?></dt>
<dd><?php echo $this->form->getInput('age'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('city'); ?></dt>
<dd><?php echo $this->form->getInput('city'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('telephone'); ?></dt>
<dd><?php echo $this->form->getInput('telephone'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('email'); ?></dt>
<dd><?php echo $this->form->getInput('email'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('comments'); ?></dt>
<dd><?php echo $this->form->getInput('comments'); ?></dd>
<dt></dt><dd></dd>
<dt><?php echo $this->form->getLabel('captcha'); ?></dt>
<dd><?php echo $this->form->getInput('captcha'); ?></dd>
<dt></dt><dd></dd>
<dd><input type="hidden" name="option" value="com_myresourcelist" />
<input type="hidden" name="task" value="joinwithus.submit" />
</dd>
<dt></dt>
<dd><button type="submit" class="button"><?php echo JText::_('Submit'); ?></button>
<?php echo JHtml::_('form.token'); ?>
</dd>
</dl>
<fieldset>
</form>
<div class="clr"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment