Public paste
Undefined
By: partials? | Date: Nov 21 2009 01:22 | Format: PHP | Expires: never | Size: 20.26 KB | Hits: 1021

  1. <form method="post" accept-charset="ISO-8859-1">
  2. <?php
  3.  
  4. global $LANGUAGE, $CORE, $POSTPARSER;
  5.  
  6. $outercellcontroller = '
  7.  <tr>
  8.    <td width="500"></td>
  9.    <td width="10"></td>
  10.    <td width="auto"></td>
  11.  </tr>
  12. ';
  13. $innercellcontroller = '
  14.  <tr>
  15.    <td width="190"></td>
  16.    <td width="10"></td>
  17.    <td width="auto"></td>
  18.  </tr>
  19. ';
  20.  
  21. $locations = $this->config['locations'];
  22. $findus = $this->config['findus'];
  23.  
  24. $innertables =
  25.         $this->partial('tables/innertable.php',
  26.                 array('config' => array('content' => '
  27.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  28.                         .$outercellcontroller
  29.                         .'<td valign="top">
  30.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  31.                             .$innercellcontroller
  32.                             .$this->partial('forms/tr/label_null_input.php',
  33.                                         array('config' => array('id' => 'author_name',
  34.                                                                 'name' => 'author_name',
  35.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_name'],
  36.                                                                 'value' => $CORE->input['author_name'],
  37.                                                                 'required' => true,
  38.                                                                 'maxlength' => 22
  39.                              )))
  40.                           .'</table>
  41.                           </td>'
  42.                         .'
  43.                           <td></td>
  44.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_name_description'].'</td>
  45.                         </table>'
  46.         ))).
  47.         $this->partial('tables/innertable.php',
  48.                 array('config' => array('content' => '
  49.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  50.                         .$outercellcontroller
  51.                         .'<td valign="top">
  52.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  53.                             .$innercellcontroller
  54.                             .$this->partial('forms/tr/label_null_input.php',
  55.                                         array('config' => array('id' => 'author_real_first_name',
  56.                                                                 'name' => 'author_real_first_name',
  57.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_real_first_name'],
  58.                                                                 'value' => $CORE->input['author_real_first_name'],
  59.                                                                 'maxlength' => 22
  60.                             )))
  61.                             .$this->partial('forms/tr/label_null_input.php',
  62.                                         array('config' => array('id' => 'author_real_middle_name',
  63.                                                                 'name' => 'author_real_middle_name',
  64.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_real_middle_name'],
  65.                                                                 'value' => $CORE->input['author_real_middle_name'],
  66.                                                                 'maxlength' => 22
  67.                             )))
  68.                             .$this->partial('forms/tr/label_null_input.php',
  69.                                         array('config' => array('id' => 'author_real_last_name',
  70.                                                                 'name' => 'author_real_last_name',
  71.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_real_last_name'],
  72.                                                                 'value' => $CORE->input['author_real_last_name'],
  73.                                                                 'maxlength' => 22
  74.                             )))
  75.                           .'</table>
  76.                           </td>'
  77.                         .'
  78.                           <td></td>
  79.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_realname_description'].'</td>
  80.                         </table>'
  81.         ))).
  82.         $this->partial('tables/innertable.php',
  83.                 array('config' => array('content' => '
  84.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  85.                         .$outercellcontroller
  86.                         .'<td valign="top">
  87.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  88.                             .$innercellcontroller
  89.                             .$this->partial('forms/tr/label_null_null.php',
  90.                                         array('config' => array('content' => '<table width="100%" cellpadding="0" cellspacing="0" summary="">
  91.                                                                                 <tr>
  92.                                                                                   <td width="95" valign="top" align="right">
  93.                                                                                     <table width="100%" cellpadding="0" cellspacing="0" summary="">
  94.                                                                                       <tr>
  95.                                                                                         <td width="60"></td>
  96.                                                                                         <td width="0"></td>
  97.                                                                                         <td width="35"></td>
  98.                                                                                       </tr>'.
  99.                                                                                         $this->partial('forms/tr/label_null_input.php',
  100.                                                                                           array('config' => array('label' => $LANGUAGE->cache['global_text_contactform_birthday_day'],
  101.                                                                                                                   'maxlength' => 2,
  102.                                                                                                                   'name' => 'author_birthday_day',
  103.                                                                                                                   'id' => 'author_birthday_day',
  104.                                                                                                                   'value' => $CORE->input['author_birthday_day'],
  105.                                                                                                                   'style' => 'text-align: center;'
  106.                                                                                                                   )))
  107.                                                                                       .'
  108.                                                                                     </table>
  109.                                                                                   </td>
  110.                                                                                   <td width="95" valign="top" align="right">
  111.                                                                                     <table width="100%" cellpadding="0" cellspacing="0" summary="">
  112.                                                                                       <tr>
  113.                                                                                         <td width="60"></td>
  114.                                                                                         <td width="0"></td>
  115.                                                                                         <td width="35"></td>
  116.                                                                                       </tr>'.
  117.                                                                                         $this->partial('forms/tr/label_null_input.php',
  118.                                                                                           array('config' => array('label' => $LANGUAGE->cache['global_text_contactform_birthday_month'],
  119.                                                                                                                   'maxlength' => 2,
  120.                                                                                                                   'name' => 'author_birthday_month',
  121.                                                                                                                   'id' => 'author_birthday_month',
  122.                                                                                                                   'value' => $CORE->input['author_birthday_month'],
  123.                                                                                                                   'style' => 'text-align: center;'
  124.                                                                                                                   )))
  125.                                                                                       .'
  126.                                                                                     </table>
  127.                                                                                   </td>
  128.                                                                                   <td width="110" valign="top" align="right">
  129.                                                                                     <table width="100%" cellpadding="0" cellspacing="0" summary="">
  130.                                                                                       <tr>
  131.                                                                                         <td width="60"></td>
  132.                                                                                         <td width="0"></td>
  133.                                                                                         <td width="50"></td>
  134.                                                                                       </tr>'.                                                                                
  135.                                                                                         $this->partial('forms/tr/label_null_input.php',
  136.                                                                                           array('config' => array('label' => $LANGUAGE->cache['global_text_contactform_birthday_year'],
  137.                                                                                                                   'maxlength' => 4,
  138.                                                                                                                   'name' => 'author_birthday_year',
  139.                                                                                                                   'id' => 'author_birthday_year',
  140.                                                                                                                   'value' => $CORE->input['author_birthday_year'],
  141.                                                                                                                   'style' => 'text-align: center;'
  142.                                                                                                                   )))
  143.                                                                                       .'
  144.                                                                                     </table>
  145.                                                                                   </td>
  146.                                                                                 </tr>
  147.                                                                               </table>'
  148.                                                                 ,
  149.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_birthday']
  150.                              )))
  151.                           .'</table>
  152.                           </td>'
  153.                         .'
  154.                           <td></td>
  155.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_birthday_description'].'</td>
  156.                         </table>'
  157.         ))).
  158.         $this->partial('tables/innertable.php',
  159.                 array('config' => array('content' => '
  160.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  161.                         .$outercellcontroller
  162.                         .'<td valign="top">
  163.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  164.                             .$innercellcontroller
  165.                             .$this->partial('forms/tr/label_null_null.php',
  166.                                         array('config' => array('content' => '<select class="ui-selectbox" name="author_location_id" id="author_location_id" style="width: 100%">
  167.                                                                                 <option value="">&nbsp;</option>
  168.                                                                              '.$locations.'
  169.                                                                              </select>',
  170.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_location'],
  171.                                                                 'for' => 'author_location_id'
  172.                              )))
  173.                           .'</table>
  174.                           </td>'
  175.                         .'
  176.                           <td></td>
  177.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_location_description'].'</td>
  178.                         </table>'
  179.         ))).
  180.         $this->partial('tables/innertable.php',
  181.                 array('config' => array('content' => '
  182.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  183.                         .$outercellcontroller
  184.                         .'<td valign="top">
  185.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  186.                             .$innercellcontroller
  187.                             .$this->partial('forms/tr/label_null_input.php',
  188.                                         array('config' => array('id' => 'author_referral_user',
  189.                                                                 'name' => 'author_referral_user',
  190.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_referral_user'],
  191.                                                                 'value' => $CORE->input['author_referral_user'],
  192.                                                                 'maxlength' => 22
  193.                              )))
  194.                           .'</table>
  195.                           </td>'
  196.                         .'
  197.                           <td></td>
  198.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_referral_user_description'].'</td>
  199.                         </table>'
  200.         ))).
  201.         $this->partial('tables/innertable.php',
  202.                 array('config' => array('content' => '
  203.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  204.                         .$outercellcontroller
  205.                         .'<td valign="top">
  206.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  207.                             .$innercellcontroller
  208.                             .$this->partial('forms/tr/label_null_input.php',
  209.                                         array('config' => array('id' => 'author_password',
  210.                                                                 'name' => 'author_password',
  211.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_password'],
  212.                                                                 'value' => $CORE->input['author_password'],
  213.                                                                 'required' => true,
  214.                                                                 'password' => true,
  215.                                                                 'maxlength' => 32
  216.                             )))
  217.                             .$this->partial('forms/tr/label_null_input.php',
  218.                                         array('config' => array('id' => 'author_password_retype',
  219.                                                                 'name' => 'author_password_retype',
  220.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_password_retype'],
  221.                                                                 'value' => $CORE->input['author_password_retype'],
  222.                                                                 'required' => true,
  223.                                                                 'password' => true,
  224.                                                                 'maxlength' => 32
  225.                             )))
  226.                           .'</table>
  227.                           </td>'
  228.                         .'
  229.                           <td></td>
  230.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_password_description'].'</td>
  231.                         </table>'
  232.         ))).
  233.         $this->partial('tables/innertable.php',
  234.                 array('config' => array('content' => '
  235.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  236.                         .$outercellcontroller
  237.                         .'<td valign="top">
  238.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  239.                             .$innercellcontroller
  240.                             .$this->partial('forms/tr/label_null_null.php',
  241.                                         array('config' => array('content' => '<select class="ui-selectbox" name="author_find_website_options" id="author_find_website_options" style="width: 100%">
  242.                                                                                 <option value="">&nbsp;</option>
  243.                                                                              '.$findus.'
  244.                                                                              </select>',
  245.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_find_website_options'],
  246.                                                                 'required' => true,
  247.                                                                 'for' => 'author_find_website_options'
  248.                              )))
  249.                             .$this->partial('forms/tr/label_null_textarea.php',
  250.                                         array('config' => array('id' => 'author_find_website_refined',
  251.                                                                 'name' => 'author_find_website_refined',
  252.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_find_website_refined'],
  253.                                                                 'value' => $CORE->input['author_find_website_refined'],
  254.                                                                 'maxlength' => 255,
  255.                                                                 'height' => 95
  256.                             )))
  257.                           .'</table>
  258.                           </td>'
  259.                         .'
  260.                           <td></td>
  261.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_findus_description'].'</td>
  262.                         </table>'
  263.         ))).
  264.         $this->partial('tables/innertable.php',
  265.                 array('config' => array('content' => '
  266.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  267.                         .$outercellcontroller
  268.                         .'<td valign="top">
  269.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  270.                             .$innercellcontroller
  271.                             .$this->partial('forms/tr/label_null_input.php',
  272.                                         array('config' => array('id' => 'author_email',
  273.                                                                 'name' => 'author_email',
  274.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_email'],
  275.                                                                 'value' => $CORE->input['author_email'],
  276.                                                                 'required' => true,
  277.                                                                 'maxlength' => 255
  278.                             )))
  279.                             .$this->partial('forms/tr/label_null_input.php',
  280.                                         array('config' => array('id' => 'author_email_retype',
  281.                                                                 'name' => 'author_email_retype',
  282.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_email_retype'],
  283.                                                                 'value' => $CORE->input['author_email_retype'],
  284.                                                                 'required' => true,
  285.                                                                 'maxlength' => 255
  286.                             )))
  287.                           .'</table>
  288.                           </td>'
  289.                         .'
  290.                           <td></td>
  291.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_email_description'].'</td>
  292.                         </table>'
  293.         ))).
  294.         $this->partial('tables/innertable.php',
  295.                 array('config' => array('content' => '
  296.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  297.                         .$outercellcontroller
  298.                         .'<td valign="top">
  299.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  300.                             .$innercellcontroller
  301.                             .$this->partial('forms/tr/label_null_null.php',
  302.                                         array('config' => array('content' => '<table width="100%" cellpadding="0" cellspacing="0" summary="">
  303.                                                                                       <tr>
  304.                                                                                         <td width="120"></td>
  305.                                                                                         <td width="10"></td>
  306.                                                                                         <td width="auto"></td>
  307.                                                                                       </tr>'.
  308.                                                                                         $this->partial('forms/tr/label_null_null.php',
  309.                                                                                           array('config' => array('label' => $LANGUAGE->cache['global_text_contactform_agreement_conditions_of_use_link'],
  310.                                                                                                                   'content' => $this->partial('forms/clips/checkbox.php',
  311.                                                                                                                                  array('config' => array('label' => 'accept',
  312.                                                                                                                                                          'name' => 'author_agreement_conditions_of_use',
  313.                                                                                                                                                          'id' => 'author_agreement_conditions_of_use',
  314.                                                                                                                                                          'value' => 'true',
  315.                                                                                                                                                          'checked' => (($CORE->input['author_agreement_conditions_of_use'] == 'true')?true:false)
  316.                                                                                                                                                     )))
  317.                                                                                                                   ))).
  318.                                                                                         $this->partial('forms/tr/label_null_null.php',
  319.                                                                                           array('config' => array('label' => $LANGUAGE->cache['global_text_contactform_agreement_privacy_policy_link'],
  320.                                                                                                                   'content' => $this->partial('forms/clips/checkbox.php',
  321.                                                                                                                                  array('config' => array('label' => 'accept',
  322.                                                                                                                                                          'name' => 'author_agreement_privacy_policy',
  323.                                                                                                                                                          'id' => 'author_agreement_privacy_policy',
  324.                                                                                                                                                          'value' => 'true',
  325.                                                                                                                                                          'checked' => (($CORE->input['author_agreement_privacy_policy'] == 'true')?true:false)
  326.                                                                                                                                                     )))
  327.                                                                                                                   )))
  328.                                                                               .'</table>'
  329.                                                                 ,
  330.                                                                 'label' => $LANGUAGE->cache['global_text_contactform_agreements'],
  331.                                                                 'required' => true
  332.                              )))
  333.                           .'</table>
  334.                           </td>'
  335.                         .'
  336.                           <td></td>
  337.                           <td valign="top">'.$LANGUAGE->cache['global_text_contactform_agreements_description'].'</td>
  338.                         </table>'
  339.         ))).
  340.         $this->partial('tables/innertable.php',
  341.                 array('config' => array('content' => '
  342.                         <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  343.                         .$outercellcontroller
  344.                         .'<td valign="middle">
  345.                             <table width="100%" cellpadding="0" cellspacing="0" summary="">'
  346.                             .$innercellcontroller
  347.                            
  348.                            
  349.                             .'
  350.                             </table>
  351.                           </td>'
  352.                         .'
  353.                           <td></td>
  354.                           <td valign="top">'.$this->partial('forms/tr/label_null_button-right.php', array('config' => array('value' => $LANGUAGE->cache['global_text_contactform_submit_register']))).'</td>
  355.                         </table>'
  356.         )))
  357.        
  358.         ;
  359. print $this->partial('tables/table.php',
  360.                 array('config' => array('th' => '',
  361.                                         'td' => $innertables
  362.  
  363. )));
  364. ?>
  365.  
  366. </form>