示例#1
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>
示例#2
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(){
	    
示例#3
0
echo DtHtml::checkboxListrows('individual_export_fields', $fields, 1, $this->individual_export_fields);
?>
   
     </table>
  </td>
  
          <td valign="top" class="fields">
            <table>
               <tr><td colsapn="2" class="dt_heading">
	             <strong><?php 
echo JText::_('DT_GROUP_MEMBER_DETAILS');
?>
</strong>
	           </td></tr>
               <?php 
echo DtHtml::checkboxListrows('group_export_fields', $fields, 1, $this->group_export_fields);
?>
            </table>
          </td>
  
       </tr>
 
    </table>
<input name="option" type="hidden" value="com_dtregister" />
<input name="controller" type="hidden" value="export" />
<input name="formsubmit" type="hidden" value="1" />
<input name="task" type="hidden" value="" />
<input name="filename" type="hidden" value="" />
<input type="hidden" name="Itemid" value="<?php 
echo $Itemid;
?>
示例#4
0
			</tr>
			
			<tr class="typeshow type0 type1 type2 type3 type4 type5 type7 type8">  <td align="left" valign="top"><?php 
echo JText::_('DT_LISTINGS');
?>
:</td>

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

                            <?php 
if (in_array($row->name, $row->defaultListing)) {
    $listattr = " class = 'listing' ";
} else {
    $listattr = "";
}
echo DtHtml::checkboxList('listing', $mfield->listingTypes, $row->listing, "", "", $listattr);
?>

                           </td>

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

						  </tr>

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

			  <td colspan="3" class="dt_heading"><?php 
echo JText::_('DT_DEFAULT_SETTINGS');
    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;
    }
echo JHTML::_('select.genericlist', $options, "data[event][use_discountcode]", "", "value", "text", $row->use_discountcode);
?>

      </td>

	<td colspan="2"><?php 
echo JHTML::tooltip(JText::_('DT_USE_DISCOUNT_CODE_HELP'), '', 'tooltip.png', '', '');
?>
</td>

	  </tr>

        <?php 
echo "<tr><th colspan='4' class='dt_heading'>" . JText::_('DT_DISCOUNT_CODES') . "</th></tr>";
$options = $discountcode->optionslist('publish=1');
echo DtHtml::checkboxListrows('data[discountcode]', $options, 4, $row->discountcode);
?>

     </table>

     <script type="text/javascript" >

	 DTjQuery(function(){
		  
		    DTjQuery(".addmorerate").EnableMultiField({linkText:'<?php 
echo JText::_('DT_ADD_MORE');
?>
',removeLinkText:'<?php 
echo JText::_('DT_REMOVE');
?>
'});
示例#7
0
?>
: 

               <?php 
$options = array(Jtext::_('DT_SUN'), Jtext::_('DT_MON'), Jtext::_('DT_TUE'), Jtext::_('DT_WED'), Jtext::_('DT_THU'), Jtext::_('DT_FRI'), Jtext::_('DT_SAT'));
echo DtHtml::checkboxList('data[event][monthweekdays]', $options);
?>

              <br />

               <?php 
echo JText::_('DT_WEEKS');
?>
: <?php 
$options = array(1 => Jtext::_('DT_WEEK1'), 2 => Jtext::_('DT_WEEK2'), 3 => Jtext::_('DT_WEEK3'), 4 => Jtext::_('DT_WEEK4'), 5 => Jtext::_('DT_WEEK5'));
echo DtHtml::checkboxList('data[event][monthweeks]', $options);
?>
			
			</td></tr>
			
			</table>

          </span>

           <!--span id='yearly' style="display:none">

            <?php 
//echo  JText::_('DT_YEAR_DAYS_COMMA_SEPARATED')
?>

                   <input id='yeardays' type="text" value="" name="data[event][yeardays]" />
示例#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 
                              </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
</td></tr>

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

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

							     <td>
                                  
                                   <a href="#" id="addmore">Add more</a>
                                     <br/>
                                     <span class="container">
                                     <?php 
echo DtHtml::paylatercheckboxlist('data[config][pay_later_options]', $paylater->options);
?>
                                     </span>
                                    
                                   </td>
								  <td><?php 
echo JHTML::tooltip(JText::_('DT_PAY_LATER_OPTIONS_HELP'), '', 'tooltip.png', '', '');
?>
 </td>
								  
								  <td valign="top"><?php 
echo JText::_('DT_NOTES_PAYLATER');
?>
</td>

							  </tr>
示例#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
-->
     <?php 
if ($config->getGlobal('eventListOrder', '') == 0) {
    ?>

        <th class="dt_heading" colspan="2" nowrap><?php 
    echo JText::_('DT_REORDER');
    ?>
:</th>

		    <th class="dt_heading" nowrap><?php 
    echo JText::_('DT_ORDER');
    ?>
:
  <?php 
    echo DtHtml::order($rows);
    ?>
			  

		    </th>

       <?php 
}
?>
<br />

<!--
        <th class="dt_heading">

          <?php 
// echo JText::_('DT_FEE_ORDERING');
示例#13
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 = "";
示例#14
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>
示例#15
0
</td></tr>

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

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

							    <td>
                                  
                                   <a href="#" id="addmore">Add more</a>
                                     <br/>
                                     <span class="container">
                                     <?php 
echo DtHtml::paylatercheckboxlist('data[config][pay_later_options]', $paylater->options, isset($row->config['pay_later_options']) ? $row->config['pay_later_options'] : array());
?>
                                     </span>
                                     <br />
                                     <label for="data[paylater][]" generated="true" class="error" style="display:none"></label>
                                   </td>
								  <td><?php 
echo JHTML::tooltip(JText::_('DT_PAY_LATER_OPTIONS_HELP'), '', 'tooltip.png', '', '');
?>
 </td>
								  
								  <td valign="top"><?php 
echo JText::_('DT_NOTES_PAYLATER');
?>
</td>
示例#16
0
	     </td>

        <td>

           <?php 
    echo (int) $chd->slabId;
    ?>

        </td>

       <td align="left">

         <?php 
    $task = $chd->publish ? 'unpublish' : 'publish';
    $chd->published = $chd->publish;
    echo DtHtml::published($chd, $i);
    ?>

       </td>

        <td align="left"><?php 
    echo $chd->categoryName;
    ?>
</td>

        <td align="left"><?php 
    echo $chd->displaytimecolumn();
    ?>
</td>
<!--
        <td align="left"><?php 
示例#17
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 
示例#18
0
?>
: 

               <?php 
$options = array(Jtext::_('DT_SUN'), Jtext::_('DT_MON'), Jtext::_('DT_TUE'), Jtext::_('DT_WED'), Jtext::_('DT_THU'), Jtext::_('DT_FRI'), Jtext::_('DT_SAT'));
echo DtHtml::checkboxList('data[event][monthweekdays]', $options, isset($repetition->monthweekdays) ? $repetition->monthweekdays : array());
?>

              <br />

               <?php 
echo JText::_('DT_WEEKS');
?>
: <?php 
$options = array(1 => Jtext::_('DT_WEEK1'), 2 => Jtext::_('DT_WEEK2'), 3 => Jtext::_('DT_WEEK3'), 4 => Jtext::_('DT_WEEK4'), 5 => Jtext::_('DT_WEEK5'));
echo DtHtml::checkboxList('data[event][monthweeks]', $options, isset($repetition->monthweeks) ? $repetition->monthweeks : array());
?>
			
			</td></tr>
			
			</table>

          </span>

           <!--span id='yearly' style="display:none">

            

            <?php 
//echo  JText::_('DT_YEAR_DAYS_COMMA_SEPARATED')
?>
示例#19
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>
示例#20
0
    echo $published;
    ?>
</td>
       <td>

        <span><?php 
    echo DtHtml::orderUpIcon($i, true, 'orderup', 'Move Up', true, $pageNav);
    ?>
</span>

       </td>

		<td>

        <span><?php 
    echo DtHtml::orderDownIcon($i, $n, true, 'orderdown', 'Move Down', true, $pageNav);
    ?>
</span>

        </td>

        <td align="center" >

				<input type="text" name="order[]" size="5" value="<?php 
    echo $row->ordering;
    ?>
" class="text_area" style="text-align: center" />

		</td>

        <td><a href="<?php 
示例#21
0
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 align="left">&nbsp;&nbsp;<?php 
echo JHTML::tooltip(JText::_('DT_EMAILREG_STATUS_HELP'), '', 'tooltip.png', '', '');
?>
</td>
	    </tr>

	    <tr><td><?php 
echo JText::_('DT_FROM_NAME');
?>
:</td>
		    <td><input type="text" name="from_name" size="50" value="<?php 
echo $mainframe->getCfg('fromname');
?>
示例#22
0
?>
</td>

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

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

			        <?php 
$options = array('create' => JText::_('DT_CREATES_EVENT'), 'edit' => JText::_('DT_EDITS_EVENT'), 'delete' => JText::_('DT_DELETES_EVENT'));
echo DtHtml::checkboxList('config[eventModifyNotification]', $options, $config->getGlobal('eventModifyNotification', array()));
?>

			     </td>

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

				</tr>
				
				<tr>		 	 

	                <td colspan="3"><hr /></td>
示例#23
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;
示例#24
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;
    }
示例#25
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);
示例#26
0
        	<td colspan="<?php 
echo $columns;
?>
">

            	 <input type="checkbox" id="checkall" /> <?php 
echo JText::_('DT_CHECKALL');
?>
 <br />

        	</td>

        </tr>

<?php 
echo DtHtml::checkboxListrows('export_events', $eventOptions, 4, $this->expevents);
?>

</table>
<input name="option" type="hidden" value="com_dtregister" />
<input name="controller" type="hidden" value="export" />
<input name="formsubmit" type="hidden" value="1" />
<input name="task" type="hidden" value="" />
<input type="hidden" name="Itemid" value="<?php 
echo $Itemid;
?>
">
</form>

 <script type="text/javascript">
示例#27
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 
示例#28
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 
示例#29
0
      <?php 
// }
if ($config->getGlobal('upanel_pay_show', 0)) {
    echo '<th class="coltitle" align="left">' . DtHtml::sort(JText::_('DT_PAYMENTS'), 'feestatus', $dir, $order, 'index') . '</th>';
}
?>

      <?php 
if ($config->getGlobal('upanel_cancel_show', 0)) {
    echo '<th class="coltitle" align="left">' . JText::_('DT_CANCEL') . '</th>';
}
?>

      <?php 
if ($config->getGlobal('upanel_status_show', 0)) {
    echo '<th class="coltitle" align="left">' . DtHtml::sort(JText::_('DT_STATUS'), 'status', $dir, $order, 'index') . '</th>';
}
?>

     </tr>

     <?php 
echo $html;
?>

</table>

<table cellpadding="4" cellspacing="1" border="0" width="100%" class="adminform adminlist">

<?php 
echo $this->pageNav->getListFooter();
示例#30
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;