• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP zen_draw_radio_field函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中zen_draw_radio_field函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_draw_radio_field函数的具体用法?PHP zen_draw_radio_field怎么用?PHP zen_draw_radio_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了zen_draw_radio_field函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: _draw_stocked_attributes

 function _draw_stocked_attributes()
 {
     global $languages_id;
     $out = '';
     $attributes = $this->_build_attributes_array(true, false);
     if (sizeof($attributes) > 0) {
         $combinations = array();
         $selected_combination = 0;
         $this->_build_attributes_combinations($attributes, $this->show_out_of_stock == 'True', $this->mark_out_of_stock, $combinations, $selected_combination);
         $combname = '';
         foreach ($attributes as $attrib) {
             $combname .= ', ' . $attrib['oname'];
         }
         $combname = substr($combname, 2) . ':';
         for ($i = 0; $i < sizeof($combinations); $i++) {
             if (isset($_GET['products_id']) && $_SESSION['cart']->contents[$_GET['products_id']]) {
                 if ($combinations[$i]['comb'] == $_SESSION['cart']->contents[$_GET['products_id']]['attributes']) {
                     $selected_combination = $i;
                     break;
                 }
             }
         }
         foreach ($combinations as $combindex => $comb) {
             $out .= "<tr>\n";
             $out .= '  <td align="right" class=main><b>' . $combname . "</b></td>\n  <td class=main>";
             $out .= zen_draw_radio_field('attrcomb', $combinations[$combindex]['id'], $combindex == $selected_combination) . $comb['text'];
             $out .= "</td>\n";
             $out .= "</tr>\n";
             $combname = '';
         }
     }
     $out .= $this->_draw_out_of_stock_message_js($attributes);
     return $out;
 }
开发者ID:badarac,项目名称:stock_by_attribute_1.5.4,代码行数:34,代码来源:pad_single_radioset.php


示例2: zen_draw_radio_field

    echo HEADING_REPORT_TYPE;
    ?>
</td>
            <td width="50">&nbsp;</td>
            </td>
          </tr>
          <tr>
            <td class="main">
              <?php 
    echo zen_draw_radio_field('report_type', 'out_po') . OUT_PO . '<br />';
    ?>
              <?php 
    echo zen_draw_radio_field('report_type', 'out_payment') . OUT_PAYMENTS . '<br />';
    ?>
              <?php 
    echo zen_draw_radio_field('report_type', 'out_refund') . OUT_REFUNDS . '<br />';
    ?>
            </td>
            <td width="50">&nbsp;</td>
            <td class="smallText" valign="top"><?php 
    echo zen_draw_checkbox_field('within_limit', 1) . HEADING_WITHIN_LIMIT;
    ?>
</td>
          </tr>
          <tr>
            <td class="main" align="right" colspan="3"><input class="submit_button button" type="submit" value="<?php 
    echo BUTTON_SEARCH;
    ?>
"></td>
            <?php 
    if ($report_type) {
开发者ID:retched,项目名称:zen_SuperOrders,代码行数:31,代码来源:super_report_await_pay.php


示例3: zen_draw_separator

echo zen_draw_separator('pixel_trans.gif', '24', '15');
?>
</td>
                <td class="main" valign="top"><?php 
echo TEXT_IMAGES_DELETE . ' ' . zen_draw_radio_field('image_delete', '0', $off_image_delete) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('image_delete', '1', $on_image_delete) . '&nbsp;' . TABLE_HEADING_YES;
?>
</td>
	  	    	  </tr>

              <tr>
                <td class="main"><?php 
echo zen_draw_separator('pixel_trans.gif', '24', '15');
?>
</td>
                <td colspan="3" class="main" valign="top"><?php 
echo TEXT_IMAGES_OVERWRITE . ' ' . zen_draw_radio_field('overwrite', '0', $off_overwrite) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('overwrite', '1', $on_overwrite) . '&nbsp;' . TABLE_HEADING_YES;
?>
                  <?php 
echo '<br />' . TEXT_PRODUCTS_IMAGE_MANUAL . '&nbsp;' . zen_draw_input_field('products_image_manual');
?>
</td>
              </tr>
            </table></td>
          </tr>

          <tr>
            <td colspan="2"><?php 
echo zen_draw_separator('pixel_black.gif', '100%', '3');
?>
</td>
          </tr>
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:collect_info.php


示例4: zen_draw_input_field

echo TEXT_PRODUCTS_QUANTITY_UNITS_RETAIL;
?>
</td>
						<td class="main"><?php 
echo zen_draw_input_field('products_quantity_order_units', $pInfo->products_quantity_order_units == 0 ? 1 : $pInfo->products_quantity_order_units);
?>
</td>
					</tr>

					<tr>
						<td class="main"><?php 
echo TEXT_PRODUCTS_MIXED;
?>
</td>
						<td class="main"><?php 
echo zen_draw_radio_field('products_quantity_mixed', '1', $in_products_quantity_mixed) . '&nbsp;' . 'Yes' . '&nbsp;&nbsp;' . zen_draw_radio_field('products_quantity_mixed', '0', $out_products_quantity_mixed) . '&nbsp;' . 'No';
?>
</td>
					</tr>

					<tr>
						<td colspan="2"><?php 
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
					</tr>

<script type="text/javascript"><!--
updateGross();
//--></script>
<?php 
开发者ID:bitweaver,项目名称:commerce,代码行数:31,代码来源:collect_info.php


示例5: zen_draw_radio_field

echo TEXT_PRODUCTS_METATAGS_TITLE_STATUS . '<br />' . zen_draw_radio_field('metatags_title_status', '1', $is_metatags_title_status) . '&nbsp;' . TEXT_YES . '&nbsp;' . zen_draw_radio_field('metatags_title_status', '0', $not_metatags_title_status) . '&nbsp;' . TEXT_NO;
?>
              </td>
              <td class="main" align="center">
                <?php 
echo TEXT_PRODUCTS_METATAGS_MODEL_STATUS . '<br />' . zen_draw_radio_field('metatags_model_status', '1', $is_metatags_model_status) . '&nbsp;' . TEXT_YES . '&nbsp;' . zen_draw_radio_field('metatags_model_status', '0', $not_metatags_model_status) . '&nbsp;' . TEXT_NO;
?>
              </td>
              <td class="main" align="center">
                <?php 
echo TEXT_PRODUCTS_METATAGS_PRICE_STATUS . '<br />' . zen_draw_radio_field('metatags_price_status', '1', $is_metatags_price_status) . '&nbsp;' . TEXT_YES . '&nbsp;' . zen_draw_radio_field('metatags_price_status', '0', $not_metatags_price_status) . '&nbsp;' . TEXT_NO;
?>
              </td>
              <td class="main" align="center">
                <?php 
echo TEXT_PRODUCTS_METATAGS_TITLE_TAGLINE_STATUS . '<br />' . zen_draw_radio_field('metatags_title_tagline_status', '1', $is_metatags_title_tagline_status) . '&nbsp;' . TEXT_YES . '&nbsp;' . zen_draw_radio_field('metatags_title_tagline_status', '0', $not_metatags_title_tagline_status) . '&nbsp;' . TEXT_NO;
?>
              </td>
            </tr>
          </table>
        </td>
      </tr>
<?php 
for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
    ?>
      <tr>
        <td><table border="3" cellspacing="4" cellpadding="6">
          <tr>
            <td class="main" colspan="2">
              <?php 
    echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . '<strong>' . TEXT_PRODUCTS_NAME . '</strong>' . '&nbsp;' . zen_get_products_name($_GET['pID'], $languages[$i]['id']) . '&nbsp;&nbsp;&nbsp;<strong>' . TEXT_PRODUCTS_MODEL . '</strong>&nbsp;' . $pInfo->products_model . '&nbsp;&nbsp;&nbsp;<strong>' . TEXT_PRODUCTS_PRICE_INFO . '</strong>&nbsp;' . $currencies->format($pInfo->products_price_sorter);
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:collect_info_metatags.php


示例6: echo_shipping_address_form

    /** Echoes out a complete address form, returns nothing.
     *
     * You are required to manually put the `form-horizontal` class in the
     * surrounding `<form>` element.
     */
    public static function echo_shipping_address_form()
    {
        global $entry, $zone_name, $zone_id, $flag_show_pulldown_states, $selected_country;
        ?>
    <p class="text-danger"><strong><?php 
        echo FORM_REQUIRED_INFORMATION;
        ?>
</strong></p>
    <?php 
        if (ACCOUNT_GENDER == 'true') {
            $male = (isset($gender) ? $gender : $entry->fields['entry_gender']) == 'male';
            echo '<label class="radio-inline">' . zen_draw_radio_field('gender', 'm', $male, 'id="gender-male"') . MALE . '</label>' . '<label class="radio-inline">' . zen_draw_radio_field('gender', 'f', !$male, 'id="gender-female"') . FEMALE . '</label>' . self::required_text(ENTRY_GENDER_TEXT);
        }
        ?>

    <div class='form-group'>
    <label class="control-label col-sm-4" for="firstname"><?php 
        echo self::required_text(ENTRY_FIRST_NAME_TEXT) . ENTRY_FIRST_NAME;
        ?>
</label>
    <div class='col-sm-8'>
      <?php 
        echo zen_draw_input_field('firstname', $entry->fields['entry_firstname'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . ' class="form-control" id="firstname"');
        ?>
    </div>
    </div>

    <div class='form-group'>
    <label class="control-label col-sm-4" for="lastname"><?php 
        echo self::required_text(ENTRY_LAST_NAME_TEXT) . ENTRY_LAST_NAME;
        ?>
</label>
    <div class='col-sm-8'>
    <?php 
        echo zen_draw_input_field('lastname', $entry->fields['entry_lastname'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_lastname', '40') . ' class="form-control" id="lastname"');
        ?>
    </div>
    </div>

    <?php 
        if (ACCOUNT_COMPANY == 'true') {
            ?>
      <div class='form-group'>
      <label class="control-label col-sm-4" for="lastname"><?php 
            echo self::required_text(ENTRY_COMPANY_TEXT) . ENTRY_COMPANY;
            ?>
</label>
      <div class='col-sm-8'>
      <?php 
            echo zen_draw_input_field('company', $entry->fields['entry_company'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_company', '40') . ' class="form-control" id="company"');
            ?>
      </div>
      </div>
    <?php 
        }
        ?>

    <div class='form-group'>
    <label class="control-label col-sm-4" for="street-address"><?php 
        echo self::required_text(ENTRY_STREET_ADDRESS_TEXT) . ENTRY_STREET_ADDRESS;
        ?>
</label>
    <div class='col-sm-8'>
    <?php 
        echo zen_draw_input_field('street_address', $entry->fields['entry_street_address'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_street_address', '40') . ' class="form-control" id="street-address"');
        ?>
    </div>
    </div>

    <?php 
        if (ACCOUNT_SUBURB == 'true') {
            ?>
    <div class='form-group'>
    <label class="control-label col-sm-4" for="suburb"><?php 
            echo self::required_text(ENTRY_SUBURB_TEXT) . ENTRY_SUBURB;
            ?>
</label>
    <div class='col-sm-8'>
    <?php 
            echo zen_draw_input_field('suburb', $entry->fields['entry_suburb'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_suburb', '40') . ' class="form-control" id="suburb"');
            ?>
    </div>
    </div>
    <?php 
        }
        ?>

    <div class='form-group'>
    <label class="control-label col-sm-4" for="city"><?php 
        echo self::required_text(ENTRY_CITY_TEXT) . ENTRY_CITY;
        ?>
</label>
    <div class='col-sm-8'>
    <?php 
        echo zen_draw_input_field('city', $entry->fields['entry_city'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_city', '40') . ' class="form-control" id="city"');
//.........这里部分代码省略.........
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:101,代码来源:sese_bootstrap_forms.php


示例7: zen_draw_input_field

                <?php 
    echo TABLE_HEADING_CHAPTER_PREV_NEXT;
    ?>
</strong>
                <?php 
    echo zen_draw_input_field('toc_chapter', $ezInfo->toc_chapter, zen_set_field_length(TABLE_EZPAGES, 'toc_chapter', '6'), false);
    ?>
                </td>

                <td class="main" align="left" valign="top"><strong>
                <?php 
    echo TABLE_HEADING_STATUS_TOC;
    ?>
</strong><br />
                  <?php 
    echo zen_draw_radio_field('status_toc', '1', $is_status_toc) . '&nbsp;' . TEXT_YES . '<br />' . zen_draw_radio_field('status_toc', '0', $not_status_toc) . '&nbsp;' . TEXT_NO;
    ?>
                </td>
                <td class="main" align="center" valign="bottom">
                  <?php 
    echo TEXT_TOC_SORT_ORDER;
    ?>
<br />
                  <?php 
    echo zen_draw_input_field('toc_sort_order', $ezInfo->toc_sort_order, zen_set_field_length(TABLE_EZPAGES, 'toc_sort_order'), false);
    ?>
                </td>

              </tr>
            </table></td>
          </tr>
开发者ID:dalinhuang,项目名称:yijinhuanxiang,代码行数:31,代码来源:ezpages.php


示例8: zen_draw_separator

          <tr>
            <td class="main" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_file_field('products_image') . '&nbsp;' . ($pInfo->products_image !='' ? TEXT_IMAGE_CURRENT . $pInfo->products_image : TEXT_IMAGE_CURRENT . '&nbsp;' . NONE) . zen_draw_hidden_field('products_previous_image', $pInfo->products_image); ?></td>
                <td valign = "center" class="main"><?php echo TEXT_PRODUCTS_IMAGE_DIR; ?>&nbsp;<?php echo zen_draw_pull_down_menu('img_dir', $dir_info, $default_directory); ?></td>
						  </tr>
              <tr>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15'); ?></td>
                <td class="main" valign="top"><?php echo TEXT_IMAGES_DELETE . ' ' . zen_draw_radio_field('image_delete', '0', $off_image_delete) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('image_delete', '1', $on_image_delete) . '&nbsp;' . TABLE_HEADING_YES; ?></td>
	  	    	  </tr>

              <tr>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15'); ?></td>
                <td colspan="3" class="main" valign="top"><?php echo TEXT_IMAGES_OVERWRITE  . ' ' . zen_draw_radio_field('overwrite', '0', $off_overwrite) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('overwrite', '1', $on_overwrite) . '&nbsp;' . TABLE_HEADING_YES; ?>
                  <?php echo '<br />' . TEXT_PRODUCTS_IMAGE_MANUAL . '&nbsp;' . zen_draw_input_field('products_image_manual'); ?></td>
              </tr>
            </table></td>
          </tr>

          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_black.gif', '100%', '3'); ?></td>
          </tr>
          
          <!--BOF Products Family -->
          <tr>
            <td class="main"><?php echo TEXT_PRODUCTS_FAMILY;?></td>
            <td class="main"><?php echo zen_draw_input_field('products_family', $pInfo->products_family, 'id="products_family"');?></td>
          </tr>
           <tr>
开发者ID:quangn92,项目名称:visualyou,代码行数:30,代码来源:collect_info.php


示例9: zen_draw_radio_field

</h4>
	<div class="alert-text forward"><?php 
echo FORM_REQUIRED_INFORMATION;
?>
</div>
	<?php 
if (ACCOUNT_GENDER == 'true') {
    if (isset($gender)) {
        $male = $gender == 'm' ? true : false;
    } else {
        $male = $entry->fields['entry_gender'] == 'm' ? true : false;
    }
    $female = !$male;
    ?>
	<?php 
    echo zen_draw_radio_field('gender', 'm', $male, 'id="gender-male"') . '<label class="radioButtonLabel" for="gender-male">' . MALE . '</label>' . zen_draw_radio_field('gender', 'f', $female, 'id="gender-female"') . '<label class="radioButtonLabel" for="gender-female">' . FEMALE . '</label>' . (zen_not_null(ENTRY_GENDER_TEXT) ? '<span class="alert-text">' . ENTRY_GENDER_TEXT . '</span>' : '');
    ?>
	<br class="clearBoth" />
	<?php 
}
?>
	<label class="inputLabel" for="firstname">
		<?php 
echo ENTRY_FIRST_NAME;
?>
		<?php 
echo zen_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="alert-text">' . ENTRY_FIRST_NAME_TEXT . '</span>' : '';
?>
    </label>
	<?php 
echo zen_draw_input_field('firstname', $entry->fields['entry_firstname'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . ' id="firstname"');
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_modules_address_book_details.php


示例10: array

         $contents[] = array('text' => TEXT_INFO_BOX_NAME . ' <strong>' . $box_names[$bInfo->block] . '</strong> (' . $bInfo->block . ')');
         $contents[] = array('text' => TEXT_INFO_BOX_STATUS . ' ' . ($bInfo->status == '1' ? TEXT_ON : TEXT_OFF));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BOX_LOCATION . '<br />' . zen_draw_pull_down_menu('location', $location_options, $bInfo->location));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BOX_SORT_ORDER . '<br />' . zen_draw_pull_down_menu('sort_order', $sort_order_options, $bInfo->sort_order));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BOX_VISIBLE . '<br /><label for="visible-1">' . zen_draw_radio_field('visible', '1', $in_visible, '', 'id="visible-1"') . TEXT_VISIBLE_PAGES . '</label><br /><label for="visible-0">' . zen_draw_radio_field('visible', '0', $out_visible, '', 'id="visible-0"') . TEXT_INVISIBLE_PAGES . '</label>');
         $contents[] = array('text' => '<br />' . TEXT_INFO_BOX_PAGES . ' ' . $pages_inputs_string);
     } else {
         $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_BLOCK . '</b>');
         $contents = array('form' => zen_draw_form('block_layouts', FILENAME_BLOCKS, 'page=' . $_GET['page'] . '&bID=' . $bInfo->id . '&action=save' . '&block=' . $bInfo->block));
         $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
         $contents[] = array('text' => TEXT_INFO_MODULE_NAME . ' ' . $bInfo->module);
         $contents[] = array('text' => TEXT_INFO_BLOCK_NAME . ' <strong>' . $block_names[$bInfo->module . '#' . $bInfo->block] . '</strong> (' . $bInfo->block . ')');
         $contents[] = array('text' => TEXT_INFO_BLOCK_STATUS . ' ' . ($bInfo->status == '1' ? TEXT_ON : TEXT_OFF));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BLOCK_LOCATION . '<br />' . zen_draw_pull_down_menu('location', $location_options, $bInfo->location));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BLOCK_SORT_ORDER . '<br />' . zen_draw_pull_down_menu('sort_order', $sort_order_options, $bInfo->sort_order));
         $contents[] = array('text' => '<br />' . TEXT_INFO_BLOCK_VISIBLE . '<br /><label for="visible-1">' . zen_draw_radio_field('visible', '1', $in_visible, '', 'id="visible-1"') . TEXT_VISIBLE_PAGES . '</label><br /><label for="visible-0">' . zen_draw_radio_field('visible', '0', $out_visible, '', 'id="visible-0"') . TEXT_INVISIBLE_PAGES . '</label>');
         $contents[] = array('text' => '<br />' . TEXT_INFO_BOX_PAGES . ' ' . $pages_inputs_string);
     }
     $contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . '&nbsp;<a href="' . zen_href_link(FILENAME_BLOCKS, 'page=' . $_GET['page'] . '&bID=' . $bInfo->id . '&block=' . $bInfo->block) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'delete':
     if ($bInfo->module == 'sideboxes') {
         $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_BOX . '</b>');
         $contents = array('form' => zen_draw_form('block_layouts', FILENAME_BLOCKS, 'page=' . $_GET['page'] . '&bID=' . $bInfo->id . '&action=deleteconfirm' . '&block=' . $bInfo->block));
         $contents[] = array('text' => TEXT_INFO_DELETE_BOX_INTRO);
         $contents[] = array('text' => '<br /><b>' . $bInfo->block . '</b>');
     } else {
         $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_BLOCK . '</b>');
         $contents = array('form' => zen_draw_form('block_layouts', FILENAME_BLOCKS, 'page=' . $_GET['page'] . '&bID=' . $bInfo->id . '&action=deleteconfirm' . '&block=' . $bInfo->block));
         $contents[] = array('text' => TEXT_INFO_DELETE_BLOCK_INTRO);
         $contents[] = array('text' => '<br /><b>' . $bInfo->module . '#' . $bInfo->block . '</b>');
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:blocks.php


示例11: zen_draw_hidden_field

      <tr>
        <td class="main"><?php 
    echo ENTRY_EMAIL_PREFERENCE;
    ?>
</td>
        <td class="main">
<?php 
    if ($processed == true) {
        if ($cInfo->customers_email_format) {
            echo $customers_email_format . zen_draw_hidden_field('customers_email_format');
        }
    } else {
        $email_pref_text = $cInfo->customers_email_format == 'TEXT' ? true : false;
        $email_pref_html = !$email_pref_text;
        echo zen_draw_radio_field('customers_email_format', 'HTML', $email_pref_html) . '&nbsp;' . ENTRY_EMAIL_HTML_DISPLAY . '&nbsp;&nbsp;&nbsp;' . zen_draw_radio_field('customers_email_format', 'TEXT', $email_pref_text) . '&nbsp;' . ENTRY_EMAIL_TEXT_DISPLAY;
    }
    ?>
</td>
      </tr>
          <tr>
            <td class="main"><?php 
    echo ENTRY_NEWSLETTER;
    ?>
</td>
            <td class="main">
<?php 
    if ($processed == true) {
        if ($cInfo->customers_newsletter == '1') {
            echo ENTRY_NEWSLETTER_YES;
        } else {
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:30,代码来源:customers.php


示例12: zen_draw_radio_field

        ?>
<p class="important"><?php 
        echo TEXT_NO_PAYMENT_OPTIONS_AVAILABLE;
        ?>
</p>

<?php 
    }
    ?>

<?php 
    $radio_buttons = 0;
    for ($i = 0, $n = sizeof($selection); $i < $n; $i++) {
        if (sizeof($selection) > 1) {
            if (empty($selection[$i]['noradio'])) {
                echo zen_draw_radio_field('payment', $selection[$i]['id'], $selection[$i]['id'] == $_SESSION['payment'] ? true : false, 'id="pmt-' . $selection[$i]['id'] . '"');
            }
        } else {
            echo zen_draw_hidden_field('payment', $selection[$i]['id']);
        }
        ?>
<label for="pmt-<?php 
        echo $selection[$i]['id'];
        ?>
" class="radioButtonLabel"><?php 
        echo $selection[$i]['module'];
        ?>
</label>

<?php 
        if (defined('MODULE_ORDER_TOTAL_COD_STATUS') && MODULE_ORDER_TOTAL_COD_STATUS == 'true' and $selection[$i]['id'] == 'cod') {
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_checkout_payment_default.php


示例13: array

             }
         }
         $contents[] = array('text' => '<br /><strong>' . TEXT_INFO_BASE_DIR . '</strong><br />' . TEXT_INFO_NEW_DIR);
         $contents[] = array('text' => TEXT_INFO_IMAGE_DIR . zen_draw_pull_down_menu('imgBaseDir', $dir_info, ""));
         $contents[] = array('text' => TEXT_INFO_OR . ' ' . zen_draw_input_field('imgNewBaseDir', '', 20));
     } else {
         if ($action != 'layout_edit') {
             $contents[] = array('text' => '<strong>' . TEXT_INFO_IMAGE_SUFFIX . '</strong><br />' . TEXT_INFO_USE_AUTO_SUFFIX . '<br />');
             $contents[] = array('text' => zen_draw_input_field('imgSuffix', $selected_image_suffix, 10));
         }
     }
     // Image fields
     $contents[] = array('text' => '<br /><strong>' . TEXT_INFO_DEFAULT_IMAGE . '</strong><br />' . TEXT_INFO_DEFAULT_IMAGE_HELP . '<br />' . zen_draw_input_field('default_image', '', ' size="20" ', false, 'file') . '<br />' . $ptInfo->default_image);
     if ($action == 'layout_edit') {
         if ($selected_image_name == $products_image_match_array[0]) {
             $contents[] = array('text' => zen_draw_radio_field('imgNaming', 'new_discard', true) . IH_NEW_NAME_DISCARD_IMAGES . '<br />' . zen_draw_radio_field('imgNaming', 'keep_name', false) . IH_KEEP_NAME);
         }
     }
     $contents[] = array('text' => '<br /><strong>' . 'Medium image file (optional)' . '</strong><br />' . zen_draw_input_field('medium_image', '', ' size="20" ', false, 'file') . '<br />' . $ptInfo->medium_image);
     $contents[] = array('text' => '<br /><strong>' . 'Large image file (optional)' . '</strong><br />' . zen_draw_input_field('large_image', '', ' size="20" ', false, 'file') . '<br />' . $ptInfo->large_image);
     $contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_save.gif', IMAGE_SAVE));
     break;
 case 'layout_delete':
     $imgStr = "&imgBase=" . $products_image_base . "&imgSuffix=" . $selected_image_suffix . "&imgBaseDir=" . $products_image_directory . "&imgExtension=" . $selected_image_extension;
     // show new button
     $heading[] = array('text' => '<strong>' . TEXT_INFO_CONFIRM_DELETE . '</strong>');
     $contents[] = array('text' => '<br />' . $products_image_directory . $products_image_base . $selected_image_suffix . $selected_image_extension);
     $contents[] = array('text' => '<br />' . TEXT_INFO_CONFIRM_DELETE_SURE);
     if ($selected_image_suffix == '') {
         $contents[] = array('text' => zen_draw_checkbox_field('delete_from_database_only', 'Y', false) . IH_DELETE_FROM_DB_ONLY);
     }
开发者ID:dalinhuang,项目名称:cameras,代码行数:31,代码来源:image_handler.php


示例14: switch

            switch ($demo_status) {
                case '0':
                    $on_status = false;
                    $off_status = true;
                    break;
                case '1':
                    $on_status = true;
                    $off_status = false;
                    break;
                default:
                    $on_status = false;
                    $off_status = true;
                    break;
            }
            $contents[] = array('text' => '<br>' . TEXT_ADMIN_DEMO);
            $contents[] = array('text' => '<strong>' . TEXT_DEMO_STATUS . '</strong><br>' . zen_draw_radio_field('demo_status', '1', $on_status) . '&nbsp;' . TEXT_DEMO_ON . '&nbsp;' . zen_draw_radio_field('demo_status', '0', $off_status) . '&nbsp;' . TEXT_DEMO_OFF);
        }
        $contents[] = array('align' => 'center', 'text' => '
<br>
' . zen_image_submit('button_save.gif', IMAGE_SAVE) . '
<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>
');
        break;
        // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
        // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    case 'resetpassword':
        // ----------------------------------------------------------------------------------------------------------------------------------------------------------------
        $heading[] = array('text' => '<b>' . TEXT_HEADING_RESET_PASSWORD . '</b>');
        $contents = array('form' => zen_draw_form('reset_password', FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=reset', 'post', 'enctype="multipart/form-data"') . zen_draw_hidden_field('admin_name', $adminInfo->admin_name) . zen_draw_hidden_field('admin_email', $adminInfo->admin_email) . zen_draw_hidden_field('admin_level', $adminInfo->admin_level));
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:admin.php


示例15: zen_draw_radio_field

            // Dual Pricing end
            $discounts_qty->MoveNext();
        }
        ?>

<?php 
        if ($discounts_qty->RecordCount() > 0) {
            ?>

          <tr>
// Dual Pricing start
            <td colspan="8" class="main" valign="top"><?php 
            echo TEXT_PRODUCTS_MIXED_DISCOUNT_QUANTITY;
            ?>
&nbsp;&nbsp;<?php 
            echo zen_draw_radio_field('products_mixed_discount_quantity', '1', $in_products_mixed_discount_quantity == 1) . '&nbsp;' . TEXT_YES . '&nbsp;&nbsp;' . zen_draw_radio_field('products_mixed_discount_quantity', '0', $out_products_mixed_discount_quantity) . '&nbsp;' . TEXT_NO;
            ?>
</td>
          </tr>
          <tr>
            <td colspan="8" class="main" align="center">
// Dual Pricing end
              <?php 
            if ($action != '') {
                echo TEXT_ADD_ADDITIONAL_DISCOUNT . '<br />';
                echo '<a href="' . zen_href_link(FILENAME_PRODUCTS_PRICE_MANAGER, 'products_filter=' . $products_filter . '&current_category_id=' . $current_category_id . '&action=add_discount_qty_id') . '">' . zen_image_button('button_blank_discounts.gif', IMAGE_ADD_BLANK_DISCOUNTS) . '</a>' . '<br />';
                echo TEXT_BLANKS_INFO;
            } else {
                echo $action == '' ? '<span class="alert">' . TEXT_INFO_PREVIEW_ONLY . '</span>' : '';
            }
            ?>
开发者ID:jeking928,项目名称:Dual-Pricing-2.1.6,代码行数:31,代码来源:products_price_manager.php


示例16: zen_draw_separator

      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td class="main"><b><?php 
    echo ENTRY_RATING;
    ?>
</b>&nbsp;<?php 
    echo TEXT_BAD;
    ?>
&nbsp;<?php 
    for ($i = 1; $i <= 5; $i++) {
        echo zen_draw_radio_field('reviews_rating', $i, '', $rInfo->reviews_rating) . '&nbsp;';
    }
    echo TEXT_GOOD;
    ?>
</td>
      </tr>
      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td align="right" class="main"><?php 
    echo zen_draw_hidden_field('reviews_id', $rInfo->reviews_id) . zen_draw_hidden_field('products_id', $rInfo->products_id) . zen_draw_hidden_field('customers_name', $rInfo->customers_name) . zen_draw_hidden_field('products_name', $rInfo->products_name) . zen_draw_hidden_field('products_image', $rInfo->products_image) . zen_draw_hidden_field('date_added', $rInfo->date_added) . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . ' <a href="' . zen_href_link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $_GET['rID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
    ?>
开发者ID:dalinhuang,项目名称:kakayaga,代码行数:31,代码来源:reviews.php


示例17: zen_date_short

     if ($holiday_year > 0 && $holiday_month > 0 && $holiday_day) {
         $date = zen_date_short(sprintf("%04d-%02d-%02d 00:00:00", $holiday_year, $holiday_month, $holiday_day));
     } else {
         $date = "";
     }
     echo '<script language="javascript">' . "\n";
     echo 'var selectDate = new ctlSpiffyCalendarBox("selectDate", "calendar", "selectDateText", "btnDate1", "' . $date . '",scBTNMODE_CUSTOMBLUE);' . "\n";
     echo 'selectDate.writeControl();' . "\n";
     echo 'selectDate.dateFormat="' . DATE_FORMAT_SPIFFYCAL . '";' . "\n";
     echo '</script>' . "\n";
     echo '</td>' . "\n";
     echo '</tr>' . "\n";
     // 休日、営業日
     echo '<tr>' . "\n";
     echo '<td colspan="2"  class="infoBoxContent">' . "\n";
     echo sprintf(TEXT_RADIO_DESCRIPTION, zen_draw_radio_field("holiday_open", 0, $holiday_open == 0) . TEXT_RADIO_HOLIDAY . zen_draw_radio_field("holiday_open", 1, $holiday_open == 1) . TEXT_RADIO_OPENDAY);
     echo '</td>' . "\n";
     echo '</tr>' . "\n";
     // 更新
     echo '<tr>' . "\n";
     echo '<td colspan="2"  class="infoBoxContent" align="center">' . "\n";
     if ($action == "add") {
         echo '<input type="submit" value="' . TEXT_ACTION_ADD . '">' . "\n";
     } else {
         echo '<input type="submit" value="' . TEXT_ACTION_UPDATE . '">' . "\n";
     }
     echo '</td>' . "\n";
     echo '</tr>' . "\n";
     echo '</form>' . "\n";
     echo '<tr>' . "\n";
 }
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:admin.php


示例18: zen_draw_pull_down_menu

       <td class="current_status"><strong><?php 
    echo ENTRY_STATUS;
    ?>
</strong> <?php 
    echo zen_draw_pull_down_menu('status', $orders_statuses, $orders_history_query->fields['orders_status_id']);
    ?>
</td>
       </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><strong><?php 
    echo ENTRY_NOTIFY_CUSTOMER;
    ?>
</strong> [<?php 
    echo zen_draw_radio_field('notify', '1', true) . '-' . TEXT_EMAIL . ' ' . zen_draw_radio_field('notify', '0', FALSE) . '-' . TEXT_NOEMAIL . ' ' . zen_draw_radio_field('notify', '-1', FALSE) . '-' . TEXT_HIDE;
    ?>
]&nbsp;&nbsp;&nbsp;</td>
                <td class="main"><strong><?php 
    echo ENTRY_NOTIFY_COMMENTS;
    ?>
</strong> <?php 
    echo zen_draw_checkbox_field('notify_comments', '', true);
    ?>
</td>
              </tr>
          <?php 
    /* } */
    ?>
        </table></td>
      </tr>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:edit_orders.php


示例19: zen_draw_radio_field

}
?>

<fieldset>
  <legend><?php 
echo HEADING_TITLE;
?>
</legend>
  <div class="text-danger"><strong><?php 
echo FORM_REQUIRED_INFORMATION;
?>
</strong></div><?php 
if (ACCOUNT_GENDER == 'true') {
    ?>
    <div class='form-group'><?php 
    echo BootstrapForms::required_text(ENTRY_GENDER_TEXT) . zen_draw_radio_field('gender', 'm', $male, 'id="gender-male" class="form-control"') . '<label class="radioButtonLabel" for="gender-male">' . MALE . '</label>' . zen_draw_radio_field('gender', 'f', $female, 'id="gender-female" class="form-control"') . '<label class="radioButtonLabel" for="gender-female">' . FEMALE . '</label>';
    ?>
    </div><?php 
}
?>

<div class='form-group'>
  <label class="control-label col-sm-4" for="firstname">
    <?php 
echo BootstrapForms::required_text(ENTRY_FIRST_NAME_TEXT) . ENTRY_FIRST_NAME;
?>
</label>
  <div class='col-sm-8'>
    <?php 
echo zen_draw_input_field('firstname', $account->fields['customers_firstname'], 'id="firstname" class="form-control"');
?>
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:31,代码来源:tpl_account_edit_default.php


示例20: zen_draw_radio_field

该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP zen_draw_separator函数代码示例发布时间:2022-05-23
下一篇:
PHP zen_draw_pull_down_menu函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap