sample-form
By: Partials | Date: Nov 24 2009 17:28 | Format: PHP | Expires: never | Size: 20.22 KB | Hits: 1199
- <form method="post" accept-charset="ISO-8859-1">
- <?php
- $outercellcontroller = '
- <tr>
- <td width="500"></td>
- <td width="10"></td>
- <td width="auto"></td>
- </tr>
- ';
- $innercellcontroller = '
- <tr>
- <td width="190"></td>
- <td width="10"></td>
- <td width="auto"></td>
- </tr>
- ';
- $locations = $this->config['locations'];
- $findus = $this->config['findus'];
- $innertables =
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_name',
- 'label' => $LANGUAGE->cache['global_text_contactform_name'],
- 'value' => $CORE->input['author_name'],
- 'required' => true,
- 'maxlength' => 22
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_name_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_real_first_name',
- 'label' => $LANGUAGE->cache['global_text_contactform_real_first_name'],
- 'value' => $CORE->input['author_real_first_name'],
- 'maxlength' => 22
- )))
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_real_middle_name',
- 'label' => $LANGUAGE->cache['global_text_contactform_real_middle_name'],
- 'value' => $CORE->input['author_real_middle_name'],
- 'maxlength' => 22
- )))
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_real_last_name',
- 'label' => $LANGUAGE->cache['global_text_contactform_real_last_name'],
- 'value' => $CORE->input['author_real_last_name'],
- 'maxlength' => 22
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_realname_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_null.php',
- <tr>
- <td width="95" valign="top" align="right">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">
- <tr>
- <td width="60"></td>
- <td width="0"></td>
- <td width="35"></td>
- </tr>'.
- $this->partial('forms/tr/label_null_input.php',
- 'maxlength' => 2,
- 'name' => 'author_birthday_day',
- 'id' => 'author_birthday_day',
- 'value' => $CORE->input['author_birthday_day'],
- 'style' => 'text-align: center;'
- )))
- .'
- </table>
- </td>
- <td width="95" valign="top" align="right">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">
- <tr>
- <td width="60"></td>
- <td width="0"></td>
- <td width="35"></td>
- </tr>'.
- $this->partial('forms/tr/label_null_input.php',
- 'maxlength' => 2,
- 'name' => 'author_birthday_month',
- 'id' => 'author_birthday_month',
- 'value' => $CORE->input['author_birthday_month'],
- 'style' => 'text-align: center;'
- )))
- .'
- </table>
- </td>
- <td width="110" valign="top" align="right">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">
- <tr>
- <td width="60"></td>
- <td width="0"></td>
- <td width="50"></td>
- </tr>'.
- $this->partial('forms/tr/label_null_input.php',
- 'maxlength' => 4,
- 'name' => 'author_birthday_year',
- 'id' => 'author_birthday_year',
- 'value' => $CORE->input['author_birthday_year'],
- 'style' => 'text-align: center;'
- )))
- .'
- </table>
- </td>
- </tr>
- </table>'
- ,
- 'label' => $LANGUAGE->cache['global_text_contactform_birthday']
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_birthday_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_null.php',
- <option value=""> </option>
- '.$locations.'
- </select>',
- 'label' => $LANGUAGE->cache['global_text_contactform_location'],
- 'for' => 'author_location_id'
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_location_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_referral_user',
- 'label' => $LANGUAGE->cache['global_text_contactform_referral_user'],
- 'value' => $CORE->input['author_referral_user'],
- 'maxlength' => 22
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_referral_user_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_password',
- 'label' => $LANGUAGE->cache['global_text_contactform_password'],
- 'value' => $CORE->input['author_password'],
- 'required' => true,
- 'password' => true,
- 'maxlength' => 32
- )))
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_password_retype',
- 'label' => $LANGUAGE->cache['global_text_contactform_password_retype'],
- 'value' => $CORE->input['author_password_retype'],
- 'required' => true,
- 'password' => true,
- 'maxlength' => 32
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_password_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_null.php',
- <option value=""> </option>
- '.$findus.'
- </select>',
- 'label' => $LANGUAGE->cache['global_text_contactform_find_website_options'],
- 'required' => true,
- 'for' => 'author_find_website_options'
- )))
- .$this->partial('forms/tr/label_null_textarea.php',
- 'name' => 'author_find_website_refined',
- 'label' => $LANGUAGE->cache['global_text_contactform_find_website_refined'],
- 'value' => $CORE->input['author_find_website_refined'],
- 'maxlength' => 255,
- 'height' => 95
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_findus_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_email',
- 'label' => $LANGUAGE->cache['global_text_contactform_email'],
- 'value' => $CORE->input['author_email'],
- 'required' => true,
- 'maxlength' => 255
- )))
- .$this->partial('forms/tr/label_null_input.php',
- 'name' => 'author_email_retype',
- 'label' => $LANGUAGE->cache['global_text_contactform_email_retype'],
- 'value' => $CORE->input['author_email_retype'],
- 'required' => true,
- 'maxlength' => 255
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_email_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="top">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .$this->partial('forms/tr/label_null_null.php',
- <tr>
- <td width="120"></td>
- <td width="10"></td>
- <td width="auto"></td>
- </tr>'.
- $this->partial('forms/tr/label_null_null.php',
- 'content' => $this->partial('forms/clips/checkbox.php',
- 'name' => 'author_agreement_conditions_of_use',
- 'id' => 'author_agreement_conditions_of_use',
- 'value' => 'true',
- 'checked' => (($CORE->input['author_agreement_conditions_of_use'] == 'true')?true:false)
- )))
- ))).
- $this->partial('forms/tr/label_null_null.php',
- 'content' => $this->partial('forms/clips/checkbox.php',
- 'name' => 'author_agreement_privacy_policy',
- 'id' => 'author_agreement_privacy_policy',
- 'value' => 'true',
- 'checked' => (($CORE->input['author_agreement_privacy_policy'] == 'true')?true:false)
- )))
- )))
- .'</table>'
- ,
- 'label' => $LANGUAGE->cache['global_text_contactform_agreements'],
- 'required' => true
- )))
- .'</table>
- </td>'
- .'
- <td></td>
- <td valign="top">'.$LANGUAGE->cache['global_text_contactform_agreements_description'].'</td>
- </table>'
- ))).
- $this->partial('tables/innertable.php',
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$outercellcontroller
- .'<td valign="middle">
- <table width="100%" cellpadding="0" cellspacing="0" summary="">'
- .$innercellcontroller
- .'
- </table>
- </td>'
- .'
- <td></td>
- </table>'
- )))
- ;
- print $this->partial('tables/table.php',
- 'td' => $innertables
- )));
- ?>
- </form>
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago