当前位置: 首页>>代码示例>>PHP>>正文


PHP osc_draw_label函数代码示例

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


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

示例1: osc_draw_label

</li>

<?php 
if (ACCOUNT_DATE_OF_BIRTH == '1') {
    ?>

      <li><?php 
    echo osc_draw_label(OSCOM::getDef('field_customer_date_of_birth'), 'dob_days', null, true) . ' ' . osc_draw_date_pull_down_menu('dob', array('year' => $Qaccount->value('customers_dob_year'), 'month' => $Qaccount->value('customers_dob_month'), 'date' => $Qaccount->value('customers_dob_date')), false, null, null, date('Y') - 1901, -5);
    ?>
</li>

<?php 
}
?>

      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_email_address'), 'email_address', null, true) . ' ' . osc_draw_input_field('email_address', $Qaccount->value('customers_email_address'));
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</div>

</form>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:edit.php

示例2: osc_image

      <?php 
if (ACTIVATE_CAPTCHA == '1') {
    ?>
      <li class="clearfix captcha" style="height:130px !important;">
        <table width="200" border="0">
          <tr>
            <td>&nbsp;</td>
            <td><?php 
    echo osc_image(osc_href_link(FILENAME_ACCOUNT, 'create=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
    ?>
</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><?php 
    echo osc_draw_label($osC_Language->get('enter_captcha_code'), 'captcha_code', null, true);
    ?>
</td>
            <td><?php 
    echo osc_draw_input_field('captcha_code', '', 'size="30" dir="ltr"');
    ?>
</td>
            <td><?php 
    echo osc_link_object(osc_href_link('#'), osc_image('ext/securimage/images/refresh.png', $osC_Language->get('refresh_captcha_image_title')), 'id="refresh-captcha-code"');
    ?>
</td>			
          </tr>
        </table>
      </li>		
      <?php 
}
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:31,代码来源:create.php

示例3: osc_draw_label

    echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_name'), 'wishlist_customer', null, true) . ' ' . osc_draw_input_field('wishlist_customer', $osC_Customer->isLoggedOn() ? $osC_Customer->getName() : null);
    ?>
</p>
          
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_email'), 'wishlist_from_email', null, true) . ' ' . osc_draw_input_field('wishlist_from_email', $osC_Customer->isLoggedOn() ? $osC_Customer->getEmailAddress() : null);
    ?>
</p>
          
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_emails'), 'wishlist_emails', null, true) . ' ' . osc_draw_textarea_field('wishlist_emails', null, 40, 5);
    ?>
</p>
           
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_message'), 'wishlist_message', null, true) . ' ' . osc_draw_textarea_field('wishlist_message', null, 40, 5);
    ?>
</p>                  
        </div>   
        
        <div class="submitFormButtons" style="text-align: right;">
          <?php 
    echo osc_draw_image_submit_button('button_continue.gif');
    ?>
        </div>
      
      </form>
    </div>
<?php 
}
?>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:wishlist.php

示例4: osc_draw_label

<div class="moduleBox">
  <h6><?php 
echo $osC_Language->get('password_forgotten_heading');
?>
</h6>

  <div class="content">
    <p><?php 
echo $osC_Language->get('password_forgotten');
?>
</p>

    <ol>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address') . osc_draw_input_field('email_address');
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</span>

  <?php 
echo osc_link_object(osc_href_link(FILENAME_ACCOUNT, null, 'SSL'), osc_draw_image_button('button_back.gif', $osC_Language->get('button_back')));
?>
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:30,代码来源:password_forgotten.php

示例5: osc_draw_label

</li>

<?php 
if (ACCOUNT_DATE_OF_BIRTH == '1') {
    ?>

      <li><?php 
    echo osc_draw_label($osC_Language->get('field_customer_date_of_birth'), 'dob_days', null, true) . ' ' . osc_draw_date_pull_down_menu('dob', array('year' => $Qaccount->value('customers_dob_year'), 'month' => $Qaccount->value('customers_dob_month'), 'date' => $Qaccount->value('customers_dob_date')), false, null, null, date('Y') - 1901, -5);
    ?>
</li>

<?php 
}
?>

      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address', null, true) . ' ' . osc_draw_input_field('email_address', $Qaccount->value('customers_email_address'));
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</div>

</form>
开发者ID:heshuai64,项目名称:gamestore,代码行数:30,代码来源:account_edit.php

示例6: osc_draw_pull_down_menu

}
echo osc_draw_pull_down_menu('manufacturers', $manufacturers_array);
?>

      </li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_price_from'), 'pfrom') . osc_draw_input_field('pfrom');
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_price_to'), 'pto') . osc_draw_input_field('pto');
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_date_from'), 'datefrom') . osc_draw_date_pull_down_menu('datefrom', null, false, null, null, date('Y') - $osC_Search->getMinYear(), 0);
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_date_to'), 'dateto') . osc_draw_date_pull_down_menu('dateto', null, null, null, null, date('Y') - $osC_Search->getMaxYear(), 0);
?>
</li>
    </ol>
  </div>
</div>

<?php 
echo osc_draw_hidden_session_id_field();
?>

</form>
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:30,代码来源:search.php

示例7: osc_draw_label

?>
</h6>

  <div class="content">
    <p><?php 
echo $osC_Language->get('login_returning_customer_text');
?>
</p>
  
    <ul>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address') . '<br />' . osc_draw_input_field('email_address', $email_address);
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_password'), 'password') . '<br />' . osc_draw_password_field('password');
?>
</li>
    </ul>
  
    <p><?php 
echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL'));
?>
</p>

    <div class="submitFormButtons" style="text-align: right;">
      <?php 
echo osc_draw_image_submit_button('button_login.gif', null, 'id="btnLogin"');
?>
    </div>
  </div>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:checkout_method_form.php

示例8: osc_draw_label

<?php 
}
?>

      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address', null, true) . ' ' . osc_draw_input_field('email_address', $Qaccount->value('customers_email_address'));
?>
</li>
      
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_group'), null, null, false) . ' ' . $Qaccount->value('customers_groups_name');
?>
</li>
      
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_store_credit'), null, null, false) . ' ' . $osC_Currencies->format($Qaccount->value('customers_credits'));
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</div>

</form>
开发者ID:Doluci,项目名称:tomatocart,代码行数:29,代码来源:account_edit.php

示例9: osc_draw_label

echo OSCOM::getLink(null, null, 'Contact&Process');
?>
" method="post">

<div class="moduleBox">
  <div class="content">
    <ol>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_name_title'), 'name') . osc_draw_input_field('name');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_email_address_title'), 'email') . osc_draw_input_field('email');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_enquiry_title'), 'enquiry') . osc_draw_textarea_field('enquiry', null, 50, 15);
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</div>

</form>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:contact.php

示例10: osc_draw_label

<?php 
echo osc_draw_label($osC_Language->get('field_search_manufacturers'), 'manufacturers');
$manufacturers_array = array(array('id' => '', 'text' => $osC_Language->get('filter_all_manufacturers')));
$Qmanufacturers = $osC_Database->query('select manufacturers_id, manufacturers_name from :table_manufacturers order by manufacturers_name');
$Qmanufacturers->bindTable(':table_manufacturers', TABLE_MANUFACTURERS);
$Qmanufacturers->execute();
while ($Qmanufacturers->next()) {
    $manufacturers_array[] = array('id' => $Qmanufacturers->valueInt('manufacturers_id'), 'text' => $Qmanufacturers->value('manufacturers_name'));
}
echo osc_draw_pull_down_menu('manufacturers', $manufacturers_array);
?>

      </li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_price_from'), 'pfrom') . osc_draw_input_field('pfrom');
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_search_price_to'), 'pto') . osc_draw_input_field('pto');
?>
</li>
    </ol>
  </div>
</div>

<?php 
echo osc_draw_hidden_session_id_field();
?>

</form>
开发者ID:Doluci,项目名称:tomatocart,代码行数:30,代码来源:search.php

示例11: osc_draw_label

    ?>
</li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('contact_email_address_title'), 'email', null, true) . osc_draw_input_field('email', $osC_Customer->getEmailAddress(), 'size="30"');
    ?>
</li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('contact_enquiry_title'), 'enquiry') . osc_draw_textarea_field('enquiry', null, 38, 5);
    ?>
</li>

    <?php 
    if (ACTIVATE_CAPTCHA == '1') {
        ?>
      <li><?php 
        echo osc_draw_label($osC_Language->get('contact_code_title'), 'concat_code') . osc_draw_input_field('concat_code', '', 'size="30"');
        ?>
 </li>
      <li><img style = "padding-left: 170px;" src="<?php 
        echo osc_href_link(FILENAME_INFO, 'contact=showImage', 'AUTO', true, false);
        ?>
" alt="Captcha" /></li>
    <?php 
    }
    ?>
    
    </ol>
  </div>
</div>

<?php 
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:info_contact.php

示例12: countryChange

 function countryChange()
 {
     global $toC_Json, $osC_Database, $osC_Language;
     $Qzones = $osC_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', $_REQUEST['country_id']);
     $Qzones->execute();
     $zones_array = array();
     while ($Qzones->next()) {
         $zones_array[] = array('id' => $Qzones->value('zone_name'), 'text' => $Qzones->value('zone_name'));
     }
     if (sizeof($zones_array) > 0) {
         $response = array('success' => true, 'html' => osc_draw_label($osC_Language->get('field_customer_state'), null, 'state', ACCOUNT_STATE > 0) . osc_draw_pull_down_menu($_REQUEST['type'] . '_state', $zones_array));
     } else {
         $response = array('success' => true, 'html' => osc_draw_label($osC_Language->get('field_customer_state'), null, 'state', ACCOUNT_STATE > 0) . osc_draw_input_field($_REQUEST['type'] . '_state'));
     }
     echo $toC_Json->encode($response);
 }
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:18,代码来源:checkout.php

示例13: osc_draw_label

echo OSCOM::getDef('my_password_title');
?>
</h6>

  <div class="content">
    <ol>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_current'), 'password_current', null, true) . osc_draw_password_field('password_current');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_new'), 'password_new', null, true) . osc_draw_password_field('password_new');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_confirmation'), 'password_confirmation', null, true) . osc_draw_password_field('password_confirmation');
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</span>

  <?php 
echo osc_link_object(OSCOM::getLink(null, null, null, 'SSL'), osc_draw_image_button('button_back.gif', OSCOM::getDef('button_back')));
?>
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:password.php

示例14: osc_draw_checkbox_field

<div class="moduleBox">
  <h6><?php 
echo $osC_Language->get('newsletter_subscriptions_heading');
?>
</h6>

  <div class="content">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="30"><?php 
echo osc_draw_checkbox_field('newsletter_general', '1', $Qnewsletter->value('customers_newsletter'));
?>
</td>
        <td><b><?php 
echo osc_draw_label($osC_Language->get('newsletter_general'), 'newsletter_general');
?>
</b></td>
      </tr>
      <tr>
        <td width="30">&nbsp;</td>
        <td><?php 
echo $osC_Language->get('newsletter_general_description');
?>
</td>
      </tr>
    </table>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:30,代码来源:account_newsletters.php

示例15: osc_draw_label

    <?php 
if (ACCOUNT_TELEPHONE > -1) {
    ?>
      <li><?php 
    echo osc_draw_label($osC_Language->get('field_customer_telephone_number'), null, 'billing_telephone', ACCOUNT_TELEPHONE > 0) . osc_draw_input_field('billing_telephone', $telephone);
    ?>
</li>
    <?php 
}
?>

    <?php 
if (ACCOUNT_FAX > -1) {
    ?>
      <li><?php 
    echo osc_draw_label($osC_Language->get('field_customer_fax_number'), null, 'billing_fax', ACCOUNT_FAX > 0) . osc_draw_input_field('billing_fax', $fax);
    ?>
</li>
    <?php 
}
?>
    </div>
    
      <li style="height:10px;line-height:10px">&nbsp;</li>
    <?php 
if ($osC_Customer->isLoggedOn()) {
    ?>
       <li>  
      <?php 
    echo osc_draw_checkbox_field('create_billing_address', array(array('id' => '1', 'text' => $osC_Language->get('create_new_billing_address'))), $create_billing_address);
    ?>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:billing_address_details.php


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