Пример #1
0
echo DtHtml::checkboxList('search[free]', $options, array(1));
?>
            </td>
            <td align="left">&nbsp;&nbsp;<?php 
echo JHTML::tooltip(JText::_('DT_EMAILREG_PAYSTATUS_HELP'), '', 'tooltip.png', '', '');
?>
</td>
	    </tr>
    
        <tr><td><?php 
echo JText::_('DT_ATTENDED');
?>
:</td>
	        <td>
                <?php 
echo JHTML::_('select.genericlist', DtHtml::options(array(0 => JText::_('DT_ATTENDED'), 1 => JText::_('DT_NOT_ATTENDED'), 2 => JText::_('DT_BOTH'))), 'search[attend]', '', 'value', 'text', 2);
?>
            </td>
            <td align="left">&nbsp;&nbsp;<?php 
echo JHTML::tooltip(JText::_('DT_EMAILREG_ATTENDED_HELP'), '', 'tooltip.png', '', '');
?>
</td>
	    </tr>
    
        <tr><td><?php 
echo JText::_('DT_STATUS');
?>
:</td>
	        <td>
                <?php 
echo DtHtml::checkboxList('search[status]', $TableUser->statustxt, array(0, 1));
?>

      </td>

      <td>

        <?php 
$default = $this->getModel('payoption')->table;
$defaultpayment = $default->find(' `default`=1 ');
if ($defaultpayment) {
    $defaultpayment = $defaultpayment[0];
} else {
    $defaultpayment = new stdClass();
    $defaultpayment->id = "";
}
echo JHTML::_('select.genericlist', DtHtml::options($this->row->TablePayoption->optionslist()), 'data[event][payment_id]', '', 'value', 'text', isset($row->payment_id) ? $row->payment_id : $defaultpayment->id);
?>

      </td>

	  <td colspan="2" align="left">

         <?php 
echo JHTML::tooltip(JText::_('DT_SELECT_PAYMENT_CONFIG_HELP'), '', 'tooltip.png', '', '');
?>

      </td>

   </tr>      
 
        <tr>
Пример #3
0
   <tr>

      <td><?php 
echo JText::_('DT_STATE');
?>
</td><td><input type="text" size="40" name="state" /></td>

   </tr>
   <tr>

      <td><?php 
echo JText::_('DT_COUNTRY');
?>
</td><td>
      <?php 
$options = DtHtml::options($country->getCountry());
echo JHTML::_('select.genericlist', $options, 'country', '', 'value', 'text', 'United States');
?>
      </td>

   </tr>
 
   <tr>

      <td><?php 
echo JText::_('DT_ZIPCODE');
?>
</td><td><input type="text" size="40" name="zip" /></td>

   </tr>
Пример #4
0
 :</td>

      <td nowrap><?php 
echo $pageNav->getLimitBox();
?>
 </td>

      <td><?php 
echo JText::_('DT_FILTER');
?>
:</td>

	  	<td>

	  		<?php 
$events = DtHtml::options($event->optionslist(), JText::_('DT_SELECT_EVENT'));
// echo '<pre>';
// print_r($event->optionslist());
echo JHTML::_('select.genericlist', $events, "eventId", "onchange=document.adminForm.submit()", "value", "text", JRequest::getVar('eventId', ''));
?>

	  	</td>

       <!-- <td>

         <?php 
echo JText::_('DT_SHOW');
?>

        </td>-->
Пример #5
0
?>
" /> </td>
                    <td> </td>
                 </tr>
    <tr class="billinginfo">

          <td><?php 
echo JText::_('DT_CARD_TYPE');
?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

          <td>

            <?php 
$cardtype = array('Visa' => 'Visa', 'MasterCard' => 'MasterCard', 'Discover' => 'Discover', 'American' => 'American');
$options = DtHtml::options($cardtype);
echo JHTML::_('select.genericlist', $options, 'billing[cardtype]', '', 'value', 'text', isset($tUser->card) && $tUser->card ? $tUser->card->cardtype : '');
?>

          </td><td> </td>

        </tr>
        
         <tr class="billinginfo">

		          <td><?php 
echo JText::_('DT_CARD_NUMBER');
?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

		         <td align="left" ><input type="text" name="billing[x_card_num]"  class="inputbox" value="<?php 
Пример #6
0
    function billingform()
    {
        global $cardtype;
        $form = parent::billingform();
        ob_start();
        $size = count($cardtype);
        if ($size == 1) {
            ?>

          <tr>

           <td>

           <input type="radio" style="display:none" name="billing[cardtype]" value="<?php 
            echo $cardtype[0];
            ?>
"  <?php 
            echo "checked";
            ?>
 /></td></tr>

          <?php 
        } else {
            ?>

	    <tr>

             <td width="31%"><?php 
            echo JText::_('CARD_TYPE');
            ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

          <td>

            <?php 
            $options = DtHtml::options($cardtype);
            echo JHTML::_('select.genericlist', $options, 'billing[cardtype]', '', 'value', 'text', $this->cardtype);
            ?>

          </td>

        </tr>

	   <?php 
        }
        ?>

          <tr>

		          <td width="31%"><?php 
        echo JText::_('CARD_NUMBER');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

		         <td width="69%" align="left"><input type="text" name="billing[x_card_num]" class="inputbox" value="<?php 
        echo isset($this->cb_creditcardnumber) ? $this->cb_creditcardnumber : '';
        ?>
" />

		              <br />

		            <?php 
        echo JText::_('CARD_NUMBER_EXPLANATION');
        ?>
</td>

		        </tr>

           <tr>

		          <td width="31%"><?php 
        echo JText::_('CARD_EXPIRY_DATE');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

		          <td width="69%" align="left"><input type="text" name="billing[x_exp_date]" value="<?php 
        echo isset($this->cb_expdate) ? $this->cb_expdate : '';
        ?>
" class="inputbox" />

		            &nbsp;&nbsp;(mm/yy)</td>

		        </tr>

             <tr>

		          <td width="31%"><?php 
        echo JText::_('CVV_CODE');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</span></td>

		         <td width="69%" align="left"><input type="text" name="billing[x_card_code]" size="10" class="inputbox" value="<?php 
        echo isset($this->x_card_code) ? $this->x_card_code : '';
        ?>
" />

		            <?php 
        echo JText::_('CVV_CODE_EXPLANATION');
        ?>
</td>

		        </tr>

       <?php 
        $html = ob_get_clean();
        return $form . $html;
    }
Пример #7
0
      <input type="hidden" name="eventType" id="eventType" value="new" />
    </td>
 </tr>
<?php 
} else {
    ?>
<tr>
  <td><?php 
    echo JText::_('DT_EVENT_TYPE');
    ?>
:</td>
   <?php 
    $options = array('new' => JText::_('DT_NEW_EVENT'), 'jevent' => JText::_('DT_JEVENT'));
    ?>
    <td><?php 
    echo JHTML::_('select.genericlist', DtHtml::options($options), 'eventType', ' ', 'value', 'text', 'new');
    ?>
</td>
	
	    <td colspan="2" align="left">&nbsp;&nbsp;<?php 
    echo JHTML::tooltip(JText::_('DT_EVENT_TYPE_HELP'), '', 'tooltip.png', '', '');
    ?>
</td>
</tr>
<?php 
}
?>
<script type="text/javascript">
    
	DTjQuery(function(){
	    
Пример #8
0
                                  </tr>
    
    <tr align="center" valign="middle">  <td align="left" valign="top"><strong><?php 
echo JText::_('DT_DATE_FORMAT');
?>
:</strong></td>



							   <td align="left" valign="top">



								   <?php 
$options = DtHtml::options($dateformat->getformats());
if ($config->getGlobal('date_format') == "") {
    $date_format = '%m-%d-%Y';
} else {
    $date_format = $config->getGlobal('date_format');
}
echo JHTML::_('select.genericlist', $options, "config[date_format]", '', 'value', 'text', $date_format);
?>



							   </td>



								<td align="center"><?php 
Пример #9
0
                              </tr>
              
                    <tr>



                                <td align="left"><strong><?php 
echo JText::_('DT_MODERATOR_LINK_PROFILE');
?>
:</strong></td>



                                <td>

                                <?php 
$options = array(JText::_('NO'), JText::_('YES'));
echo JHTML::_('select.genericlist', DtHtml::options($options), 'config[link_moderator_profile]', '', 'value', 'text', $config->getGlobal('link_moderator_profile', 0));
?>

                        		    <td align="center"><?php 
echo JHTML::tooltip(JText::_('DT_MODERATOR_LINK_PROFILE_HELP'), '', 'tooltip.png', '', '');
?>
 </td>

                              </tr>
							
                            </table>

                           
Пример #10
0
/**
* @version 2.7.0
* @package Joomla 1.5
* @subpackage DT Register
* @copyright Copyright (C) 2006 DTH Development
* @copyright contact dthdev@dthdevelopment.com
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
$model = $this->getModel('cbprofiler');
$options = array();
$dfields = $model->getFields();
$mfield = $this->getModel('field');
$tfield = $mfield->table;
$tfield->displayField = "name";
$options = DtHtml::options($tfield->optionslist(' `type` <> 6 and `type` <> 7 ', ' name '), JText::_('DT_SELECT_FIELD'));
$html = "";
$map_values = $config->getGlobal('map_cb_fields', array());
$map_values = array_flip($map_values);
foreach ($dfields as $field) {
    if (in_array($field->name, $model->notfields)) {
        continue;
    }
    $value = isset($map_values[$field->fieldid]) ? $map_values[$field->fieldid] : '';
    $html .= '<tr><td>' . $field->name . '</td><td>' . JHTML::_('select.genericlist', $options, "config[map_cb_fields][" . $field->fieldid . "]", "", "value", "text", $value) . '</td></tr>';
}
$JomModel = $this->getModel('jomsocial');
$dfields = $JomModel->getFields();
$map_jom_values = $config->getGlobal('map_jomsocial_fields', array());
$map_jom_values = array_flip($map_jom_values);
$jomHtml = "";
Пример #11
0
    function billingform()
    {
        ob_start();
        $paymentMethod = DT_Session::get('register.payment.method');
        ?>

		        <tr><td colspan="2" ><strong><?php 
        echo JText::_('DT_PAYMENT_INFORMATION');
        ?>
</strong></td></tr>

                <tr><td colspan="2" >&nbsp;
                	<input type="hidden" name="paymentmethod" value="<?php 
        echo $paymentMethod;
        ?>
" />
                </td></tr>

			<?php 
        if (count(DT_Session::get('register.User')) == 1) {
            ?>
             <tr>
                	<td><?php 
            echo JText::_('DT_SAME_BILLING_INFO');
            ?>
</td>
                	<td><input type="checkbox" class="inputbox" name="same" id="same" value="1" /></td>
             </tr>
            <?php 
        }
        ?>

		        <tr>

                	<td width="31%"><?php 
        echo JText::_('DT_CARD_HOLDER_FIRSTNAME');
        ?>
:<span class="dtrequired">  *  </span></td>

                    <td width="69%" align="left" > <input id="billingFirstname"  class="inputbox required" type="text" name="billing[firstname]" value="<?php 
        echo isset($this->firstname) ? $this->firstname : '';
        ?>
" /> </td>

                 </tr>

                   <tr>

                	<td width="31%"  ><?php 
        echo JText::_('DT_CARD_HOLDER_LASTNAME');
        ?>
:<span class="dtrequired">  *  </span></td>

                    <td width="69%" align="left" > <input id="billingLastname" class="inputbox required" type="text" name="billing[lastname]" value="<?php 
        echo isset($this->lastname) ? $this->lastname : '';
        ?>
" /> </td>

                 </tr>

                   <tr>

                	<td width="31%"  ><?php 
        echo JText::_('DT_BILLING_ADDRESS');
        ?>
:<span class="dtrequired">  *  </span></td>

                    <td width="69%" align="left" > <input id="billingAddress" class="inputbox required" type="text" name="billing[address]" value="<?php 
        echo isset($this->address) ? $this->address : '';
        ?>
" /> </td>

                 </tr>

                   <tr>

                	<td width="31%"  ><?php 
        echo JText::_('DT_CITY');
        ?>
:<span class="dtrequired">  *  </span></td>

                    <td width="69%" align="left" ><input id="billingCity" class="inputbox required" type="text" name="billing[city]" value="<?php 
        echo isset($this->city) ? $this->city : '';
        ?>
" />  </td>

                 </tr>

                   <tr>

                	<td width="31%"  ><?php 
        echo JText::_('DT_STATE');
        ?>
:<span class="dtrequired">  *  </span></td>

                    <td width="69%" align="left" > <input  id="billingState" class="inputbox required" type="text" name="billing[state]" value="<?php 
        echo isset($this->state) ? $this->state : '';
        ?>
" /> </td>

                 </tr>
<?php 
        $countylist = new TableField();
        $field = $countylist->fingbyName('country');
        // pr($field->id);
        $paymentmethod = DtrModel::getInstance('paymentmethod', 'DtregisterModel');
        global $paypal_pro_country;
        if (get_class($this) == 'paypal_pro') {
            $value = isset($this->country) ? $this->country : $paypal_pro_country;
            $dropDownDatas = $paymentmethod->paypal_country_codes();
            $countrydropdown = JHTML::_('select.genericlist', DtHtml::options($dropDownDatas, JText::_("DT_SELECT_COUNTRY")), 'billing[country]', $value, 'value', 'text', array($value));
            // pr($value); pr($countrydropdown); exit;
        } else {
            if ($field) {
                $dropDownDatas = explode("|", $field->values);
                $value = isset($this->country) ? $this->country : $field->selected;
                $countrydropdown = JHTML::_('select.genericlist', DtHtml::options($dropDownDatas, JText::_("DT_SELECT_COUNTRY")), 'billing[country]', ' ', 'value', 'text', $value);
            }
        }
        ?>
        <tr>
			   <td>
				 <?php 
        echo JText::_('DT_COUNTRY');
        ?>
			   </td>
			   <td>
				 <?php 
        echo $countrydropdown;
        ?>
			   </td>
		</tr>
       
                 <tr>
                	<td width="31%"><?php 
        echo JText::_('DT_ZIPCODE');
        ?>
:<span class="dtrequired">  *  </span></td>
                    <td width="69%" align="left"> <input id="billingZipcode" class="inputbox required" type="text" name="billing[zipcode]" value="<?php 
        echo isset($this->zipcode) ? $this->zipcode : '';
        ?>
" /> </td>
                 </tr>
  
                 <tr>
                	<td width="31%"><?php 
        echo JText::_('DT_PHONE');
        ?>
:<span class="dtrequired">  *  </span></td>
                    <td width="69%" align="left"> <input id="billingPhone" class="inputbox required" type="text" name="billing[phone]" value="<?php 
        echo isset($this->phone) ? $this->phone : '';
        ?>
" /> </td>
                 </tr>
  <?php 
        if (get_class($this) != 'offline_payment') {
            ?>
                 <tr>
                	<td width="31%"><?php 
            echo JText::_('DT_EMAIL');
            ?>
:<span class="dtrequired">  *  </span></td>
                    <td width="69%" align="left"> <input id="billingEmail" class="inputbox required" type="text" name="billing[email]" value="<?php 
            echo isset($this->email) ? $this->email : '';
            ?>
" /> </td>
                 </tr>
   <?php 
        }
        ?>
                 <?php 
        foreach (DT_Session::get('register.User') as $key => $user) {
            if (!intval($key)) {
                continue;
            }
            break;
        }
        ?>

				<script language="javascript" type="text/javascript">

                    //<![CDATA[
							<?php 
        $field = $countylist->fingbyName('firstname');
        ?>
							var billing_firstname = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('lastname');
        ?>
							var billing_lastname = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('address');
        ?>
							var billing_address = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('city');
        ?>
							var billing_city = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('state');
        ?>
							var billing_state = "<?php 
        echo isset($this->state) ? $this->state : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('zip');
        ?>
							var billing_zipcode = "<?php 
        echo $field && isset($user['fields'][$field->id]) ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('email');
        ?>
							var billing_email = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
							<?php 
        $field = $countylist->fingbyName('country');
        ?>
							var billing_country = "<?php 
        echo $field ? $user['fields'][$field->id] : '';
        ?>
";
		
							DTjQuery(function(){
								DTjQuery("#same").click(function(){
									
									if(this.checked) {
										DTjQuery("#billingFirstname").val(billing_firstname);
										DTjQuery("#billingLastname").val(billing_lastname);
										DTjQuery("#billingAddress").val(billing_address);
										DTjQuery("#billingCity").val(billing_city);
										DTjQuery("#billingState").val(billing_state);
										DTjQuery("#billingZipcode").val(billing_zipcode);
										DTjQuery("#billingEmail").val(billing_email);
										DTjQuery("#billingcountry").val(billing_country);
									} else {
										DTjQuery("#billingFirstname").val('');
										DTjQuery("#billingLastname").val('');
										DTjQuery("#billingAddress").val('');
										DTjQuery("#billingCity").val('');
										DTjQuery("#billingState").val('');
										DTjQuery("#billingZipcode").val('');
										DTjQuery("#billingEmail").val('');
										DTjQuery("#billingcountry").val('');
									}
		
								});
							});
                    
							//]]>

                   </script>

                <?php 
        $data = ob_get_clean();
        return $data;
    }
Пример #12
0
			<td><?php 
echo JHTML::_('select.genericlist', DtHtml::options(array(JText::_('NO'), JText::_('YES')), JText::_("DT_SHOW_FAILED")), 'search[fee_status]', ' onchange="submit()" ', 'value', 'text', $fee_status);
?>
</td>
            <td><?php 
echo JText::_('DT_ATTENDED');
?>
:</td>

			<td><?php 
echo JHTML::_('select.genericlist', DtHtml::options(array('-1' => Jtext::_('DT_NONE'), 0 => JText::_('NO'), 1 => JText::_('YES'))), 'search[attend]', ' onchange="submit()" ', 'value', 'text', $attend);
?>
</td>
            <td><?php 
echo JHTML::_('select.genericlist', DtHtml::options($TableUser->statustxt, JText::_('DT_SELECT_STATUS')), 'search[status]', ' onchange="submit()" ', 'value', 'text', $status);
?>
</td>
      <td>
      <?php 
$options = array();
$options[] = JHTML::_('select.option', "0", JText::_('DT_HIDE_ARCHIVE'));
$options[] = JHTML::_('select.option', "1", JText::_('DT_SHOW_ARCHIVE'));
$options[] = JHTML::_('select.option', "-1", JText::_('DT_ALL_EVENT'));
$archive = JRequest::getVar('archive', 0);
echo JHTML::_('select.genericlist', $options, "search[event_archive]", ' onchange="submit()" ', "value", "text", $event_archive);
?>
      </td>
      </tr>
      </table>
      </td>
Пример #13
0
	<td><?php 
echo JHTML::tooltip(JText::_('DT_BARCODE_RESOLUTION_HELP'), '', 'tooltip.png', '', '');
?>
 </td>
  </tr>
   <tr>
    <td>
     <strong> <?php 
echo JText::_('DT_BARCODE_ROTATION');
?>
:</strong>
    </td>
     <td>
  
     <?php 
echo JHTML::_('select.radiolist', DtHtml::options($barcodeRotation), 'config[barcode_rotation]', '', 'value', 'text', $config->getGlobal('barcode_rotation', 0));
?>
    </td>
    
	<td><?php 
echo JHTML::tooltip(JText::_('DT_BARCODE_ROTATION_HELP'), '', 'tooltip.png', '', '');
?>
 </td>
  </tr>
  
   <tr>
    <td>
      <strong><?php 
echo JText::_('DT_BARCODE_FONT_SIZE');
?>
:</strong>
Пример #14
0
?>

<form name="frmcart" method="post" action="index.php?option=com_dtregister&Itemid=<?php 
echo $Itemid;
?>
" enctype="multipart/form-data">

<table>

<?php 
global $Itemid, $xhtml, $paymentmethod;
$paymentmhd = $this->getModel('paymentmethod');
$paymentmhds = $paymentmhd->getMethods();
$paymentmethods = $paymentmethod;
$pay_images = $paymentmhd->images;
$paylateroptions = DtHtml::options($paymentmhd->paylater->getOptions(), JText::_('DT_SELECT_PAY_OPTIONS'));
/*
$paylateroptions = array();
foreach($paylateroptions_new as $paylateroption) {
	if($paylateroption->value != "") {
		$paylateroptions[] = $paylateroption;
	}
}
*/
$i = 1;
$paymcnt = 0;
foreach ($paymentmethods as $key => $method) {
    if ($method == "pay_later" && DT_Session::get('register.User.process')) {
        unset($method);
        $method = $last_method;
        continue;
Пример #15
0
?>
</td>

			</tr>

            <tr class="typeshow  type5 ">  

                <td align="left" valign="top"><?php 
echo JText::_('DT_DATE_FORMAT');
?>
:</td>

				<td align="left" valign="top">

					<?php 
$format_list = DtHtml::options($dateformat->getfieldformats());
echo JHTML::_('select.genericlist', $format_list, "date_format", '', 'value', 'text', isset($row->date_format) ? $row->date_format : '%m-%d-%Y');
?>

                </td>

				<td><?php 
echo JHTML::tooltip(JText::_('DT_DATE_FORMAT_HELP'), '', 'tooltip.png', '', '');
?>
</td>

			</tr>

			<tr class="typeshow type0 type1 type2 type3 type4 type5 type6 type7 type8">

				<td valign="top"><?php 
Пример #16
0
    function billingform()
    {
        global $cardtype;
        $form = parent::billingform();
        $size = count($cardtype);
        ob_start();
        ?>
	      <tr><td colspan="2" ><strong><?php 
        echo JText::_('DT_BANK_INFORMATION');
        ?>
</strong><br /></td></tr>
          <tr><td><?php 
        echo JText::_('DT_BANK_ROUTING_NUMBER');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</span></td>

					<td><input type="text" name="billing[x_bank_aba_code]" onKeyUp="chknumber(this)" class="inputbox"  size="20" maxlength="16" value="<?php 
        echo isset($rowProfile->cb_routingnumber) ? $rowProfile->cb_routingnumber : '';
        ?>
"/></td></tr>

			    <tr><td><?php 
        echo JText::_('DT_BANK_ACCOUNT_NUMBER');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</span></td>

			        <td><input type="text" name="billing[x_bank_acct_num]" onKeyUp="chknumber(this)" class="inputbox"  size="20" maxlength="16" value="<?php 
        echo isset($rowProfile->cb_acctnumber) ? $rowProfile->cb_acctnumber : '';
        ?>
"/></td></tr>

			    <tr><td><?php 
        echo JText::_('DT_BANK_ACCOUNT_TYPE');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</span></td>

			        <td>
                    <?php 
        $options = array('CHECKING' => JText::_('DT_BANK_CHECKING'), 'SAVINGS' => JText::_('DT_BANK_SAVINGS'));
        $options = DtHtml::options($options);
        echo JHTML::_('select.genericlist', $options, 'billing[x_bank_acct_type]', '', 'value', 'text', $this->x_bank_acct_type);
        ?>

			        </td></tr>
         <tr><td><?php 
        echo JText::_('DT_BANK_NAME');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</span></td>

			        <td><input type="text" name="billing[x_bank_name]" class="inputbox" size="30" value="<?php 
        echo isset($rowProfile->cb_bankname) ? $rowProfile->cb_bankname : '';
        ?>
"/></td></tr>

			  	<tr><td><?php 
        echo JText::_('DT_BANK_ACCOUNT_HOLDER');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</span></td><td><input type="text" name="billing[x_bank_acct_name]" class="inputbox" size="30" value="<?php 
        echo isset($rowProfile->cb_accountholder) ? $rowProfile->cb_accountholder : '';
        ?>
"/></td></tr>
	<tr><td colspan="2" align="center">&nbsp;</td></tr>


       <?php 
        $html = ob_get_clean();
        return $form . $html;
    }
Пример #17
0
<?php

$jusertable = $this->tAro->TableJuser;
?>

<form action="index.php" method="post" name="adminForm" id="adminForm">

  <table>

     <tr><td><?php 
echo JText::_('DT_USERID');
?>
:</td><td><?php 
echo JHTML::_('select.genericlist', DtHtml::options($jusertable->optionslist(), JText::_("DT_SELECT_USER")), 'Aro[aro_id]', ' ', 'value', 'text');
?>
</td><td>&nbsp;</td></tr>

     <tr>

       <td>

         <input type="submit" value="Add" name="formsubmit" />

       </td>

     </tr>

  </table>

  <input type="hidden" name="option" value="<?php 
echo DTR_COM_COMPONENT;
Пример #18
0
        </td>
        <td align="left">
     		&nbsp;&nbsp;<?php 
echo JHTML::tooltip(JText::_('DT_SELECT_CAT_COLOR_HELP'), '', 'tooltip.png', '', '');
?>
        </td>
   </tr>
   <tr> 
        <td>
           <?php 
echo JText::_('DT_ACCESS_LEVEL');
?>
        </td>
        <td>
           <?php 
echo JHTML::_('select.genericlist', DtHtml::options($accesOptions), 'access', '', 'value', 'text');
?>
        </td>
        <td align="left">
     		&nbsp;&nbsp;<?php 
echo JHTML::tooltip(JText::_('DT_ACCESS_LEVEL_HELP'), '', 'tooltip.png', '', '', 0);
?>
        </td>
   </tr>
</table>
<input type="hidden" name="color" id="colorpic" value="">
<input type="hidden" name="task" value="save">

<input type="hidden" name="controller" value="category">

<input type="hidden" name="option" value="<?php 
Пример #19
0
<?php

$list = $this->row->optionslist(' type = 1 or type=4 or type =3 ');
$options = DtHtml::options($list, JText::_('DT_SELECT_FIELD'));
echo JHTML::_('select.genericlist', $options, "parent_id", '', 'value', 'text', $this->row->parent_id);
Пример #20
0
									   <td align="left" valign="top">	<input type="text" name="data[config][netdeposit_clientcode]" size="30" value="<?php 
echo $row->config['netdeposit_clientcode'];
?>
" /> </td>

										 <td><?php 
echo JHTML::tooltip(JText::_('DT_NETDEPOSIT_CLIENTCODE_HELP'), '', 'tooltip.png', '', '');
?>
 </td>

								 </tr>
							<!-- ******************* Pay Later Options ****************	-->

							   <?php 
$options = DtHtml::options($paylater->options);
$selectedOptions = DtHtml::options($config->getGlobal('pay_later_options', array()));
?>

                <tr valign="middle"><td align="left" class="dt_heading" colspan="4"><?php 
echo JText::_('DT_PAYLATER_OFFLINE');
?>
</td></tr>

				 <tr align="center" valign="middle">

                  <td align="left" valign="top"><strong><?php 
echo JText::_('DT_PAY_LATER_OPTIONS');
?>
:</strong></td>

							    <td>
Пример #21
0
?>
</td>

      </tr>

      <tr>

        <td align="left"><?php 
echo JText::_('DT_ARTICLE');
?>
:</td>

        <td>

			<?php 
$options = DtHtml::options($section->optionslist(), JText::_('DT_SELECT_SECTION'));
$section_html = JHTML::_('select.genericlist', $options, "articlesection", "", "value", "text");
$options = array();
$options[] = JHTML::_('select.option', "", JText::_('DT_SELECT_CATEGORY'));
$category_html = JHTML::_('select.genericlist', $options, "articlecategory", "", "value", "text");
$options = array();
$options[] = JHTML::_('select.option', "", JText::_('DT_SELECT_ARTICLE'));
$article_html = JHTML::_('select.genericlist', $options, "data[event][article_id]", "", "value", "text", $row->article_id);
?>

	    <span id="section_id" ><?php 
echo $section_html;
?>
</span>

        <span id="category_id" ><?php 
Пример #22
0
    ?>

        <?php 
}
?>

      </td>
      
      	<td align="right">

         <?php 
if ($config->getGlobal('event_location_show', 0) == 1) {
    ?>

        <?php 
    $options = DtHtml::options($locationTable->optionslist(), JText::_('DT_LOCATION_VIEW'));
    echo JHTML::_('select.genericlist', $options, "location", 'onchange="submit()"', "value", "text", JRequest::getVar('location', ''));
    ?>

         <?php 
}
?>

      </td>      

     </tr>

   </table>

   <table class="event_message" width="100%">