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

PHP lc_draw_pull_down_menu函数代码示例

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

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



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

示例1: lc_cfg_set_categories_top_category

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_categories_top_category.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_categories_top_category($default = 0, $key = null)
{
    global $lC_Database, $lC_Language, $lC_Vqmod;
    include_once $lC_Vqmod->modCheck(DIR_FS_ADMIN . 'includes/classes/category_tree.php');
    include_once $lC_Vqmod->modCheck(DIR_FS_ADMIN . 'includes/applications/categories/classes/categories.php');
    $lC_Language->loadIniFile('categories.php');
    $lC_CategoryTree = new lC_CategoryTree_Admin();
    $categories = array('0' => $lC_Language->get('top_category'));
    foreach ($lC_CategoryTree->getArray() as $value) {
        // added switch for only category mode categories in selection dropdown.
        if ($value['mode'] == 'category') {
            $cid = explode('_', $value['id']);
            $count = count($cid);
            $cid = end($cid);
            $acArr = lC_Categories_Admin::getAllChildren($id);
            $categories[$cid] = str_repeat("    ", $count - 1) . ' ' . $value['title'];
        }
    }
    $css_class = 'class="input with-small-padding mid-margin-top"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $array = array();
    $array[] = array('id' => '', 'text' => $lC_Language->get('text_select_category'));
    foreach ($categories as $key => $value) {
        $array[] = array('id' => $key, 'text' => $value);
    }
    return lc_draw_pull_down_menu($name, $array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:35,代码来源:lc_cfg_set_categories_top_category.php


示例2: lc_cfg_set_zones_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_zones_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_zones_pulldown_menu($default, $key = null)
{
    global $lC_Database;
    $css_class = 'class="input with-small-padding"';
    $args = func_get_args();
    if (count($args) > 2 && strpos($args[0], 'class') !== false) {
        $css_class = $args[0];
        $default = $args[1];
        $key = $args[2];
    }
    if (isset($_GET['plugins'])) {
        $name = !empty($key) ? 'plugins[' . $key . ']' : 'plugins_value';
    } else {
        $name = !empty($key) ? 'configuration[' . $key . ']' : 'configuration_value';
    }
    $zones_array = array();
    $Qcountry = $lC_Database->query('select configuration_value from :table_configuration where configuration_key = :configuration_key');
    $Qcountry->bindTable(':table_configuration', TABLE_CONFIGURATION);
    $Qcountry->bindValue(':configuration_key', 'STORE_COUNTRY');
    $Qcountry->execute();
    foreach (lC_Address::getZones($Qcountry->value('configuration_value')) as $zone) {
        $zones_array[] = array('id' => $zone['id'], 'text' => $zone['name'], 'group' => $zone['country_name']);
    }
    return lc_draw_pull_down_menu($name, $zones_array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:33,代码来源:lc_cfg_set_zones_pulldown_menu.php


示例3: lc_cfg_set_output_compression_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_output_compression_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_output_compression_pulldown_menu($default, $key = null)
{
    global $lC_Database;
    $css_class = 'class="input with-small-padding"';
    $name = 'configuration[SERVICE_OUTPUT_COMPRESSION_GZIP_LEVEL]';
    $comp = array();
    for ($i = 0; $i <= 9; $i++) {
        $comp[] = array('id' => $i, 'text' => $i);
    }
    return lc_draw_pull_down_menu($name, $comp, $key, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:19,代码来源:lc_cfg_set_output_compression_pulldown_menu.php


示例4: lc_cfg_set_weight_classes_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_weight_classes_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_weight_classes_pulldown_menu($default, $key = null)
{
    global $lC_Database, $lC_Language;
    $css_class = 'class="input with-small-padding"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $weight_class_array = array();
    foreach (lC_Weight::getClasses() as $class) {
        $weight_class_array[] = array('id' => $class['id'], 'text' => $class['title']);
    }
    return lc_draw_pull_down_menu($name, $weight_class_array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:19,代码来源:lc_cfg_set_weight_classes_pulldown_menu.php


示例5: lc_cfg_set_num_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_num_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_num_pulldown_menu($default, $key = null)
{
    global $lC_Database;
    $css_class = 'class="input with-small-padding"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $i = 0;
    $array = array();
    for ($i = 1; $i <= 20; $i++) {
        $array[] = array('id' => $i, 'text' => $i);
    }
    return lc_draw_pull_down_menu($name, $array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:20,代码来源:lc_cfg_set_num_pulldown_menu.php


示例6: lc_cfg_set_currencies_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_currencies_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_currencies_pulldown_menu($default, $key = null)
{
    global $lC_Database;
    $css_class = 'class="input with-small-padding"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $Qcurrencies = $lC_Database->query('select * from :table_currencies');
    $Qcurrencies->bindTable(':table_currencies', TABLE_CURRENCIES);
    $Qcurrencies->execute();
    while ($Qcurrencies->next()) {
        $currencies_array[] = array('id' => $Qcurrencies->valueInt('currencies_id'), 'text' => $Qcurrencies->value('title'));
    }
    return lc_draw_pull_down_menu($name, $currencies_array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:21,代码来源:lc_cfg_set_currencies_pulldown_menu.php


示例7: getParameters

 public function getParameters()
 {
     global $lC_Language;
     $groups = array();
     $groups_ids = array();
     foreach ($this->_groups as $group) {
         if ($group['id'] != '1') {
             $groups[] = array('text' => $group['title'], 'id' => $group['id']);
             $groups_ids[] = $group['id'];
         }
     }
     return array(array('key' => $lC_Language->get('images_resize_field_groups'), 'field' => lc_draw_pull_down_menu('groups[]', $groups, $groups_ids, 'multiple="multiple" size="5" class="input full-width"')), array('key' => $lC_Language->get('images_resize_field_overwrite_images'), 'field' => lc_draw_checkbox_field('overwrite', '1', null, 'class="input"')));
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:13,代码来源:resize.php


示例8: showAudienceSelectionForm

 public function showAudienceSelectionForm()
 {
     global $lC_Database, $lC_Language, $lC_Template;
     $customers_array = array(array('id' => '***', 'text' => $lC_Language->get('newsletter_email_all_customers')));
     $Qcustomers = $lC_Database->query('select customers_id, customers_firstname, customers_lastname, customers_email_address from :table_customers order by customers_lastname');
     $Qcustomers->bindTable(':table_customers', TABLE_CUSTOMERS);
     $Qcustomers->execute();
     while ($Qcustomers->next()) {
         $customers_array[] = array('id' => $Qcustomers->valueInt('customers_id'), 'text' => $Qcustomers->value('customers_lastname') . ', ' . $Qcustomers->value('customers_firstname') . ' (' . $Qcustomers->value('customers_email_address') . ')');
     }
     $Qcustomers->freeResult();
     $audience_form = '<form name="customers" id="customers" action="#" method="post">' . '  <p>' . lc_draw_pull_down_menu('customer', $customers_array, null, 'class="input full-width with-small-padding" size="25"') . '</p>' . '</form>';
     return $audience_form;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:14,代码来源:email.php


示例9: lc_cfg_set_zone_classes_pull_down_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_zone_classes_pull_down_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_zone_classes_pull_down_menu($default, $key = null)
{
    global $lC_Database, $lC_Language;
    $css_class = 'class="input with-small-padding"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $zone_class_array = array(array('id' => '0', 'text' => $lC_Language->get('parameter_none')));
    $Qzones = $lC_Database->query('select geo_zone_id, geo_zone_name from :table_geo_zones order by geo_zone_name');
    $Qzones->bindTable(':table_geo_zones', TABLE_GEO_ZONES);
    $Qzones->execute();
    while ($Qzones->next()) {
        $zone_class_array[] = array('id' => $Qzones->valueInt('geo_zone_id'), 'text' => $Qzones->value('geo_zone_name'));
    }
    return lc_draw_pull_down_menu($name, $zone_class_array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:22,代码来源:lc_cfg_set_zone_classes_pull_down_menu.php


示例10: lc_cfg_set_order_statuses_pull_down_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_order_statuses_pull_down_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_order_statuses_pull_down_menu($default, $key = null)
{
    global $lC_Database, $lC_Language;
    $css_class = 'class="input with-small-padding"';
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $statuses_array = array(array('id' => '0', 'text' => $lC_Language->get('default_entry')));
    $Qstatuses = $lC_Database->query('select orders_status_id, orders_status_name from :table_orders_status where language_id = :language_id order by orders_status_name');
    $Qstatuses->bindTable(':table_orders_status', TABLE_ORDERS_STATUS);
    $Qstatuses->bindInt(':language_id', $lC_Language->getID());
    $Qstatuses->execute();
    while ($Qstatuses->next()) {
        $statuses_array[] = array('id' => $Qstatuses->valueInt('orders_status_id'), 'text' => $Qstatuses->value('orders_status_name'));
    }
    return lc_draw_pull_down_menu($name, $statuses_array, $default, $css_class);
}
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:23,代码来源:lc_cfg_set_order_statuses_pull_down_menu.php


示例11: setFunction

 public function setFunction($value, $value2 = null)
 {
     global $lC_Database, $lC_Language;
     $string = '';
     $Qmanufacturers = $lC_Database->query('select manufacturers_id, manufacturers_name from :table_manufacturers order by manufacturers_name');
     $Qmanufacturers->bindTable(':table_manufacturers');
     $Qmanufacturers->execute();
     $array = array(array('id' => 'NULL', 'text' => $lC_Language->get('none')));
     while ($Qmanufacturers->next()) {
         $array[] = array('id' => $Qmanufacturers->valueInt('manufacturers_id'), 'text' => $Qmanufacturers->value('manufacturers_name'));
     }
     if (!empty($array)) {
         $string = lc_draw_pull_down_menu('attributes[' . self::getID() . ']', $array, $value, 'class="select full-width"');
     }
     return $string;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:16,代码来源:manufacturers.php


示例12: lc_cfg_set_product_on_homepage

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_product_on_homepage.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_product_on_homepage($default, $key = null)
{
    global $lC_Database, $lC_Language;
    $css_class = 'class="input with-small-padding mid-margin-top"';
    $Qproducts = $lC_Database->query('select SQL_CALC_FOUND_ROWS products_id, products_name from :table_products_description where language_id = :language_id');
    $Qproducts->appendQuery('order by products_name');
    $Qproducts->bindTable(':table_products_description', TABLE_PRODUCTS_DESCRIPTION);
    $Qproducts->bindInt(':language_id', $lC_Language->getID());
    $Qproducts->execute();
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . ']';
    $array = array();
    $array[] = array('id' => '', 'text' => $lC_Language->get('text_select_product'));
    while ($Qproducts->next()) {
        $array[] = array('id' => $Qproducts->value('products_id'), 'text' => $Qproducts->value('products_name'));
    }
    return lc_draw_pull_down_menu($name, $array, $default, $css_class);
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:25,代码来源:lc_cfg_set_product_on_homepage.php


示例13: initialize

 public function initialize()
 {
     global $lC_Session, $lC_Currencies;
     $data = array();
     foreach ($lC_Currencies->currencies as $key => $value) {
         $data[] = array('id' => $key, 'text' => $value['title']);
     }
     if (sizeof($data) > 1) {
         $hidden_get_variables = '';
         foreach ($_GET as $key => $value) {
             if ($key != 'currency' && $key != $lC_Session->getName() && $key != 'x' && $key != 'y') {
                 $hidden_get_variables .= lc_draw_hidden_field($key, $value);
             }
         }
         $this->_content = '<li class="box-currencies-selection">' . lc_draw_pull_down_menu('currency', $data, $_SESSION['currency'], 'class="box-currencies-select" onchange="$(this).closest(\'form\').submit();"') . $hidden_get_variables . lc_draw_hidden_session_id_field() . '</li>' . "\n";
     }
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:17,代码来源:currencies.php


示例14: setFunction

 public function setFunction($value, $value2 = null)
 {
     global $lC_Database, $lC_Language;
     $string = '';
     $Qstatus = $lC_Database->query('select id, title from :table_shipping_availability where languages_id = :languages_id order by title');
     $Qstatus->bindTable(':table_shipping_availability');
     $Qstatus->bindInt(':languages_id', $lC_Language->getID());
     $Qstatus->execute();
     $array = array();
     while ($Qstatus->next()) {
         $array[] = array('id' => $Qstatus->valueInt('id'), 'text' => $Qstatus->value('title'));
     }
     if (!empty($array)) {
         $string = lc_draw_pull_down_menu('attributes[' . self::getID() . ']', $array, $value, 'class="select full-width"');
     }
     return $string;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:17,代码来源:shipping_availability.php


示例15: lc_cfg_set_countries_pulldown_menu

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_countries_pulldown_menu.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_countries_pulldown_menu($default, $key = null)
{
    $css_class = 'class="input with-small-padding"';
    $args = func_get_args();
    if (count($args) > 2 && strpos($args[0], 'class') !== false) {
        $css_class = $args[0];
        $default = $args[1];
        $key = $args[2];
    }
    if (isset($_GET['plugins'])) {
        $name = !empty($key) ? 'plugins[' . $key . ']' : 'plugins_value';
    } else {
        $name = !empty($key) ? 'configuration[' . $key . ']' : 'configuration_value';
    }
    $countries_array = array();
    foreach (lC_Address::getCountries() as $country) {
        $countries_array[] = array('id' => $country['id'], 'text' => $country['name']);
    }
    return lc_draw_pull_down_menu($name, $countries_array, $default, $css_class);
}
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:28,代码来源:lc_cfg_set_countries_pulldown_menu.php


示例16: initialize

 public function initialize()
 {
     global $lC_Session;
     $data = array();
     // added to allow a reset to the DEFAULT_TEMPLATE database setting
     $reset = array();
     $reset[] = array('id' => 'reset', 'text' => 'Clear Template Selection');
     foreach (lC_Template::getTemplates() as $template) {
         $data[] = array('id' => $template['code'], 'text' => $template['title']);
     }
     // merge the reset option into the templates dropdown selection array
     $data = array_merge($reset, $data);
     if (sizeof($data) > 1) {
         $hidden_get_variables = '';
         foreach ($_GET as $key => $value) {
             if ($key != 'template' && $key != $lC_Session->getName() && $key != 'x' && $key != 'y') {
                 $hidden_get_variables .= lc_draw_hidden_field($key, $value);
             }
         }
         $this->_content = '<li class="box-templates-selection">' . $hidden_get_variables . lc_draw_pull_down_menu('template', $data, $_SESSION['template']['code'], 'class="box-templates-select" onchange="$(this).closest(\'form\').submit();"') . lc_draw_hidden_session_id_field() . '</li>';
     }
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:22,代码来源:templates.php


示例17: getBatchPagesPullDownMenu

 public function getBatchPagesPullDownMenu($batch_keyword = 'page', $parameters = '')
 {
     global $lC_Language;
     $number_of_pages = ceil($this->batch_size / $this->batch_rows);
     if ($number_of_pages > 1) {
         $pages_array = array();
         for ($i = 1; $i <= $number_of_pages; $i++) {
             $pages_array[] = array('id' => $i, 'text' => $i);
         }
         $hidden_parameter = '';
         if (!empty($parameters)) {
             $parameters = explode('&', $parameters);
             foreach ($parameters as $parameter) {
                 $keys = explode('=', $parameter, 2);
                 if ($keys[0] != $batch_keyword) {
                     $hidden_parameter .= lc_draw_hidden_field($keys[0], isset($keys[1]) ? $keys[1] : '');
                 }
             }
         }
         $string = '<form action="' . lc_href_link(basename($_SERVER['SCRIPT_FILENAME'])) . '" action="get">' . $hidden_parameter . '<a href="javascript:void(0);">' . sprintf($lC_Language->get('result_set_current_page'), lc_draw_pull_down_menu($batch_keyword, $pages_array, $this->batch_number, 'onchange="this.form.submit();"'), $number_of_pages) . '</a>' . lc_draw_hidden_session_id_field() . '</form>';
     } else {
         $string = '<a href="javascript:void(0);">' . sprintf($lC_Language->get('result_set_current_page'), 1, 1) . '</a>';
     }
     return $string;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:25,代码来源:database.php


示例18: lc_draw_pull_down_menu

      }
      $.modal({
          content: '<div id="editCategory">'+
                   '  <div id="editCategoryForm">'+
                   '    <form name="cEdit" id="cEdit" action="" method="post" enctype="multipart/form-data">'+
                   '      <p><?php 
echo $lC_Language->get('introduction_edit_category');
?>
</p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="parent_id" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_parent_category');
?>
</label>'+
                   '        <?php 
echo lc_draw_pull_down_menu('parent_id', null, null, 'class="input with-small-padding" style="width:73%;" id="editParentId"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="categories_name" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_name');
?>
</label>'+
                   '        <span id="editCategoryNames"></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <span id="categoryImage"></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="categories_image" class="label" style="width:33%;"><?php 
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:edit.php


示例19: lc_draw_checkbox_field

                   '         <?php 
echo '&nbsp;' . lc_draw_checkbox_field('target', null, null, 'class="switch medium checked" checked="checked" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"');
?>
'+
                   '         <?php 
echo $lC_Language->get('text_banners_target');
?>
'+
                   '      </p>'+                   
                   '      <p class="button-height inline-label">'+
                   '        <label for="group" class="label"><?php 
echo $lC_Language->get('field_group');
?>
</label>'+
                   '        <?php 
echo lc_draw_pull_down_menu('group', null, null, 'class="input with-small-padding"') . $lC_Language->get('field_group_new') . '<br />' . lc_draw_input_field('group_new', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="image" class="label"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('image', true, 'class="file"') . ' ' . $lC_Language->get('field_image_local') . '<br />' . realpath('../images/banners/') . '/' . lc_draw_input_field('image_local', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="address_format" class="label"><?php 
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:new.php


示例20: getZones

 public static function getZones($id)
 {
     global $lC_Database;
     $Qcheck = $lC_Database->query('select zone_id from :table_zones where zone_country_id = :zone_country_id limit 1');
     $Qcheck->bindTable(':table_zones', TABLE_ZONES);
     $Qcheck->bindInt(':zone_country_id', $id);
     $Qcheck->execute();
     $entry_state_has_zones = $Qcheck->numberOfRows() > 0;
     $Qcheck->freeResult();
     $result = array();
     if (isset($entry_state_has_zones) && $entry_state_has_zones === true) {
         $Qzones = $lC_Database->query('select zone_name from :table_zones where zone_country_id = :zone_country_id order by zone_name');
         $Qzones->bindTable(':table_zones', TABLE_ZONES);
         $Qzones->bindInt(':zone_country_id', $id);
         $Qzones->execute();
         $zones_array = array();
         while ($Qzones->next()) {
             $zones_array[] = array('id' => $Qzones->value('zone_name'), 'text' => $Qzones->value('zone_name'));
         }
         $result['abZonesDropdown'] = lc_draw_pull_down_menu('ab_state', $zones_array, null, 'class="input with-small-padding" style="width:73%;"');
     } else {
         $result['abZonesDropdown'] = lc_draw_input_field('ab_state');
     }
     return $result;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:25,代码来源:customers.php



注:本文中的lc_draw_pull_down_menu函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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