account_notifications.php

来自「this the oscommerce 3.0 aplha 4」· PHP 代码 · 共 102 行

PHP
102
字号
<?php/*  $Id: account_notifications.php 1498 2007-03-29 14:04:50Z hpdl $  osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright (c) 2006 osCommerce  This program is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License v2 (1991)  as published by the Free Software Foundation.*/?><?php echo osc_image(DIR_WS_IMAGES . $osC_Template->getPageImage(), $osC_Template->getPageTitle(), HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT, 'id="pageIcon"'); ?><h1><?php echo $osC_Template->getPageTitle(); ?></h1><form name="account_notifications" action="<?php echo osc_href_link(FILENAME_ACCOUNT, 'notifications=save', 'SSL'); ?>" method="post"><div class="moduleBox">  <h6><?php echo $osC_Language->get('newsletter_product_notifications'); ?></h6>  <div class="content">    <?php echo $osC_Language->get('newsletter_product_notifications_description'); ?>  </div></div><div class="moduleBox">  <h6><?php echo $osC_Language->get('newsletter_product_notifications_global'); ?></h6>  <div class="content">    <table border="0" width="100%" cellspacing="0" cellpadding="2">      <tr>        <td width="30"><?php echo osc_draw_checkbox_field('product_global', '1', $Qglobal->value('global_product_notifications')); ?></td>        <td><b><?php echo osc_draw_label($osC_Language->get('newsletter_product_notifications_global'), 'product_global'); ?></b></td>      </tr>      <tr>        <td width="30">&nbsp;</td>        <td><?php echo $osC_Language->get('newsletter_product_notifications_global_description'); ?></td>      </tr>    </table>  </div></div><?php  if ($Qglobal->valueInt('global_product_notifications') != '1') {?><div class="moduleBox">  <h6><?php echo $osC_Language->get('newsletter_product_notifications_products'); ?></h6>  <div class="content"><?php    if ($osC_Template->hasCustomerProductNotifications($osC_Customer->getID())) {?>    <table border="0" width="100%" cellspacing="0" cellpadding="2">      <tr>        <td colspan="2"><?php echo $osC_Language->get('newsletter_product_notifications_products_description'); ?></td>      </tr><?php      $Qproducts = $osC_Template->getListing();      $counter = 0;      while ($Qproducts->next()) {        $counter++;?>      <tr>        <td width="30"><?php echo osc_draw_checkbox_field('products[' . $counter . ']', $Qproducts->valueInt('products_id'), true); ?></td>        <td><b><?php echo osc_draw_label($Qproducts->value('products_name'), 'products[' . $counter . ']'); ?></b></td>      </tr><?php      }?>    </table><?php    } else {      echo $osC_Language->get('newsletter_product_notifications_products_none');    }?>  </div></div><?php  }?><div class="submitFormButtons" style="text-align: right;">  <?php echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue')); ?></div></form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?