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


PHP smn_draw_separator函数代码示例

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


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

示例1: confirm

 function confirm()
 {
     global $_GET;
     $mail_query = smn_db_query("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'");
     $mail = smn_db_fetch_array($mail_query);
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . smn_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><b>' . $this->title . '</b></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . smn_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . smn_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td align="right"><a href="' . smn_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '">' . smn_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . smn_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . smn_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:8,代码来源:newsletter.php

示例2: smn_draw_separator

        ?>
</td>
              </tr>
              <tr>
                <td class="dataTableContent"><?php 
        echo $affiliate_clickthroughs['affiliate_clientip'];
        ?>
</td>
                <td class="dataTableContent" colspan="3"><?php 
        echo $affiliate_clickthroughs['affiliate_clientreferer'];
        ?>
</td>
              </tr>
              <tr>
                <td class="dataTableContent" colspan="4"><?php 
        echo smn_draw_separator('pixel_black.gif', '100%', '1');
        ?>
</td>
              </tr>
<?php 
    }
} else {
    ?>
              <tr class="productListing-odd">
                <td colspan="7" class="smallText"><?php 
    echo TEXT_NO_CLICKS;
    ?>
</td>
              </tr>
<?php 
}
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:affiliate_clicks.php

示例3: smn_draw_separator

<?php 
require DIR_WS_INCLUDES . 'column_left.php';
?>
<!-- left_navigation_eof //-->
    </table></td>
<!-- body_text //-->
    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php 
echo HEADING_TITLE;
?>
</td>
            <td class="pageHeading" align="right"><?php 
echo smn_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT);
?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
              
<?php 
if ($HTTP_POST_VARS['task'] == '' && $task == '') {
    echo "<FORM name='add' action='{$PHP_SELF}' method='post'>";
    echo "<select name = 'what_info'>";
    while (list($key, $value) = each($additional_info_array)) {
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:additional_description.php

示例4: smn_draw_separator

                </tr>
                <tr>
                  <td colspan="4"><?php 
echo smn_draw_separator();
?>
</td>
                </tr>
                <tr>
                  <td align="center" class="dataTableContent" colspan="4"><b><?php 
echo TEXT_SUMMARY;
?>
</b></td>
                </tr>
                <tr>
                  <td colspan="4"><?php 
echo smn_draw_separator();
?>
</td>
                </tr>
                <tr>
                  <td align="right" class="dataTableContent" colspan="4"><?php 
echo '<a href="' . smn_href_link(FILENAME_AFFILIATE_BANNERS, '') . '">' . smn_image_button('button_affiliate_banners.gif', IMAGE_BANNERS) . '</a> <a href="' . smn_href_link(FILENAME_AFFILIATE_CLICKS, '') . '">' . smn_image_button('button_affiliate_clickthroughs.gif', IMAGE_CLICKTHROUGHS) . '</a> <a href="' . smn_href_link(FILENAME_AFFILIATE_SALES, '') . '">' . smn_image_button('button_affiliate_sales.gif', IMAGE_SALES) . '</a>';
?>
</td>
                </tr>
              </center>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:affiliate_summary.php

示例5: smn_draw_form

           '                <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" .
           '              </tr>' . "\n";
    }
?>
            </table></td>
          </tr>
        </table></td>
      </tr>
	<tr class="infoBoxContents"><td><?=ORDER_DELETE_DESCRIPTION?></td></tr> 
	<tr class="infoBoxContents"><?php echo smn_draw_form('order_delete', smn_href_link(FILENAME_STORE_ORDER_EDIT,  smn_get_all_get_params(array('action')) . 'action=deleteconfirm&ID='.$store_id,'NONSSL'),'POST'); ?>
        <td><?php echo smn_draw_checkbox_field('restock') . ' ' . TEXT_INFO_RESTOCK_PRODUCT_QUANTITY; ?></td>
      </tr> 
	  
	<tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo smn_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td><?php echo '<a href="' . smn_href_link(FILENAME_STORE_ORDER_TOOL, 'ID='.$store_id, 'NONSSL') . '">' . smn_image_button('small_back.gif', IMAGE_small_back) . '</a>'; ?></td>
                <td valign="top"><?php echo smn_image_submit('button_delete.gif', IMAGE_DELETE); ?></td>
                <td width="10"><?php echo smn_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
<?
  }
?>
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:30,代码来源:store_order_edit.php

示例6: Copyright

<?php

/*
  Copyright (c) 2002 - 2006 SystemsManager.Net
  SystemsManager Technologies
  oscMall System Version 4
  http://www.systemsmanager.net
  Portions Copyright (c) 2002 osCommerce

  This source file is subject to version 2.0 of the GPL license,   
  that is bundled with this package in the file LICENSE. If you
  did not receive a copy of the oscMall System license and are unable 
  to obtain it through the world-wide-web, please send a note to    
  license@systemsmanager.net so we can mail you a copy immediately.
*/
?>
 <table border="0" cellspacing="0" cellpadding="5" width="96%">
  <tr>
   <td class="main"><?php 
echo TEXT_PRODUCTS_IMAGE;
?>
</td>
   <td class="main"><?php 
echo smn_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . smn_draw_file_field('products_image') . '<br>' . smn_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . smn_image(DIR_WS_CATALOG_IMAGES . $pInfo->products_image) . smn_draw_hidden_field('products_previous_image', $pInfo->products_image);
?>
</td>
  </tr>
 </table>
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:28,代码来源:tab_image.php

示例7: smn_db_query

if (smn_session_is_registered('customer_id')) {
    $gv_query = smn_db_query("select amount from " . TABLE_COUPON_GV_CUSTOMER . " where customer_id = '" . $customer_id . "'");
    $gv_result = smn_db_fetch_array($gv_query);
    if ($gv_result['amount'] > 0) {
        $boxContent .= smn_draw_separator();
        $boxContent .= '<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext">' . VOUCHER_BALANCE . '</td><td class="smalltext" align="right" valign="bottom">' . $currencies->format($gv_result['amount']) . '</td></tr></table>';
        $boxContent .= '<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext"><a href="' . smn_href_link(FILENAME_GV_SEND, 'ID=' . $store_id) . '">' . BOX_SEND_TO_FRIEND . '</a></td></tr></table>';
    }
}
if (smn_session_is_registered('gv_id')) {
    $gv_query = smn_db_query("select coupon_amount from " . TABLE_COUPONS . " where coupon_id = '" . $gv_id . "'");
    $coupon = smn_db_fetch_array($gv_query);
    $boxContent .= smn_draw_separator();
    $boxContent .= '<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext">' . VOUCHER_REDEEMED . '</td><td class="smalltext" align="right" valign="bottom">' . $currencies->format($coupon['coupon_amount']) . '</td></tr></table>';
}
if (smn_session_is_registered('cc_id') && $cc_id) {
    $coupon_query = smn_db_query("select c.*, cd.* from " . TABLE_COUPONS . "c,  " . TABLE_COUPONS_DESCRIPTION . " cd where cd.coupon_id = '" . $cc_id . "' and c.coupon_id = '" . $cc_id . "' and cd.language_id = '" . $languages_id . "'");
    $coupon = smn_db_fetch_array($coupon_query);
    $coupon_desc_query = smn_db_query("select * from " . TABLE_COUPONS_DESCRIPTION . " where coupon_id = '" . $cc_id . "' and language_id = '" . $languages_id . "'");
    $coupon_desc = smn_db_fetch_array($coupon_desc_query);
    $text_coupon_help = sprintf("%s", $coupon_desc['coupon_name']);
    $boxContent .= smn_draw_separator();
    $boxContent .= '<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="infoBoxContents">' . CART_COUPON . $text_coupon_help . '<br>' . '</td></tr></table>';
}
if (file_exists(DIR_WS_BOX_TEMPLATES . $box_base_name . '.php')) {
    require DIR_WS_BOX_TEMPLATES . $box_base_name . '.php';
} else {
    require DEFAULT_TEMPLATENAME_BOX;
}
$boxContent_attributes = '';
$boxLink = '';
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:shopping_cart.php

示例8: smn_draw_separator

            <td width="25%"><?php 
echo smn_draw_separator('pixel_silver.gif', '100%', '1');
?>
</td>
            <td width="25%"><?php 
echo smn_draw_separator('pixel_silver.gif', '100%', '1');
?>
</td>
            <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="50%"><?php 
echo smn_draw_separator('pixel_silver.gif', '100%', '1');
?>
</td>
                <td width="50%"><?php 
echo smn_draw_separator('pixel_silver.gif', '1', '5');
?>
</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center" width="25%" class="checkoutBarCurrent"><?php 
echo CHECKOUT_BAR_DELIVERY;
?>
</td>
            <td align="center" width="25%" class="checkoutBarTo"><?php 
echo CHECKOUT_BAR_PAYMENT;
?>
</td>
            <td align="center" width="25%" class="checkoutBarTo"><?php 
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:checkout_shipping_address.php

示例9: sub_credit_selection

 function sub_credit_selection()
 {
     $selection_string = '';
     $close_string = '';
     $credit_class_string = '';
     if (MODULE_ORDER_TOTAL_INSTALLED) {
         $this->modules = explode(';', MODULE_ORDER_TOTAL_INSTALLED);
         reset($this->modules);
         $output_string = '';
         while (list(, $value) = each($this->modules)) {
             $class = substr($value, 0, strrpos($value, '.'));
             if ($GLOBALS[$class]->enabled && $GLOBALS[$class]->credit_class) {
                 $use_credit_string = $GLOBALS[$class]->use_credit_amount();
                 if ($selection_string == '') {
                     $selection_string = $GLOBALS[$class]->credit_selection();
                 }
                 if ($use_credit_string != '' || $selection_string != '') {
                     $output_string = $use_credit_string;
                     $output_string .= '<td width="10">' . smn_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
                     $output_string .= '  </tr></table></td><td width="10">' . smn_draw_separator('pixel_trans.gif', '10', '1') . '</td></tr>' . "\n";
                     //$output_string.=$GLOBALS[$class]->use_credit_amount();
                     //$output_string .= $selection_string;
                 }
             }
         }
         if ($output_string != '') {
         }
     }
     return $output_string;
 }
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:30,代码来源:order_total.php

示例10: session_decode

        session_decode($session_data_currency);
        session_decode($session_data_country);
        session_decode($session_data_zone);
        session_decode($session_data_cart);
        if (PHP_VERSION < 4) {
            $broken_cart = $cart;
            $cart = new shoppingCart();
            $cart->unserialize($broken_cart);
        }
        if (is_object($cart)) {
            $products = $cart->get_products();
            for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
                $contents[] = array('text' => $products[$i]['quantity'] . ' x ' . $products[$i]['name']);
            }
            if (sizeof($products) > 0) {
                $contents[] = array('text' => smn_draw_separator('pixel_black.gif', '100%', '1'));
                $contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . ' ' . $currencies->format($cart->show_total(), true, $currency));
            } else {
                $contents[] = array('text' => '&nbsp;');
            }
        }
    }
}
if (smn_not_null($heading) && smn_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:whos_online.php

示例11: smn_db_query

    $product_query = smn_db_query("select products_name, products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $new_products['products_id'] . "' and language_id = '" . $languages_id . "'");
    $product_details = smn_db_fetch_array($product_query);
    $new_products['products_name'] = $product_details['products_name'];
    $new_products['products_description'] = substr($product_details['products_description'], 0, 96);
    //**
    /* Added 'ID=' . $new_products['store_id'] . '& in L92 to add the store id in the url by Cimi on June 08,2007*/
    $info_box_contents[$row][$col] = array('align' => 'left', 'params' => 'width="50%" valign="top"', 'text' => smn_draw_form('cart_quantity', smn_href_link(FILENAME_PRODUCT_INFO, smn_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $new_products['products_id'])) . '
										 
			<TABLE border="0" width="100%" cellspacing="0" cellpadding="0">
				<TR>
       				<TD style="padding-left: 8px;">
					
					
					<TABLE border="0" width="100%" cellspacing="0" cellpadding="0">
						<TR>
       						<TD style="' . $style1 . '">' . smn_draw_separator('pixel_trans.gif', '100%', '7') . '</TD>
						</TR>
					</TABLE>
					
					
					
					</TD>					
				</TR>
				<TR>
       				<TD style="' . $style2 . 'padding-left: 7px;">
				<SPAN CLASS="priceNew">' . $currencies->display_price($new_products['products_price'], smn_get_tax_rate($new_products['products_tax_class_id'])) . '</SPAN><br>
				' . smn_draw_hidden_field('products_id', $new_products['products_id']) . smn_image_submit('add_to_cart.gif', IMAGE_BUTTON_IN_CART) . '<br>
				<a href="' . smn_href_link(FILENAME_PRODUCT_INFO, 'ID=' . $new_products['store_id'] . '&products_id=' . $new_products['products_id']) . '">' . smn_image(DIR_WS_CATALOG_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a class="prodNameNew" href="' . smn_href_link(FILENAME_PRODUCT_INFO, 'ID=' . $new_products['store_id'] . '&products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $new_products['products_description'] . '
			    	</TD>
				</TR>
			</TABLE>										   						   
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:new_products.php

示例12: smn_href_link

        }
      }
      echo '&nbsp;&nbsp;<a href="' . smn_href_link(FILENAME_STORE_PRODUCT_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '').'&ID='.$store_id) . '">' . smn_image_button('small_cancel.gif', IMAGE_CANCEL) . '</a>';
?></td>
      </tr>
    </table></form>
<?php
    }
  } else {
?>
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
            <td class="pageHeading" align="right"><?php echo smn_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td>
            <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td class="smallText" align="right">
<?php
    echo smn_draw_form('search', FILENAME_STORE_PRODUCT_CATEGORIES.'?ID='.$store_id, 'post');
    echo HEADING_TITLE_SEARCH . ' ' . smn_draw_input_field('search');
    echo smn_hide_session_id() . '</form>';
?>
                </td>
              </tr>
              <tr>
                <td class="smallText" align="right">
<?php
    echo smn_draw_form('goto', FILENAME_STORE_PRODUCT_CATEGORIES,'get');
    echo smn_draw_hidden_field('ID', $store_id);
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:store_product_categories.php

示例13: credit_selection

 function credit_selection()
 {
     global $customer_id, $currencies, $language;
     $selection_string = '';
     $gv_query = smn_db_query("select coupon_id from " . TABLE_COUPONS . " where coupon_type = 'G' and coupon_active='Y'");
     if (smn_db_num_rows($gv_query)) {
         $selection_string .= '<tr>' . "\n";
         $selection_string .= '  <td width="10">' . smn_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
         $selection_string .= '  <td class="main">' . "\n";
         $image_submit = '<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" border="0" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">';
         $selection_string .= TEXT_ENTER_GV_CODE . smn_draw_input_field('gv_redeem_code') . '</td>';
         $selection_string .= ' <td align="right">' . $image_submit . '</td>';
         $selection_string .= '  <td width="10">' . smn_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
         $selection_string .= '</tr>' . "\n";
     }
     return $selection_string;
 }
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:17,代码来源:ot_gv.php

示例14: smn_draw_separator

  <tr bgcolor="#ebebff">
   <td class="main"><?php 
echo TEXT_PRODUCTS_TAX_CLASS;
?>
</td>
   <td><?php 
echo smn_draw_separator('pixel_trans.gif', '150', '15') . '' . smn_draw_pull_down_menu('products_tax_class_id', $tax_class_array, $pInfo->products_tax_class_id, 'id="products_tax_class_id"');
?>
</td>
  </tr>
  <tr bgcolor="#ebebff">
   <td class="main"><?php 
echo TEXT_PRODUCTS_PRICE_NET;
?>
</td>
   <td><?php 
echo smn_draw_separator('pixel_trans.gif', '150', '15') . '' . smn_draw_input_field('products_price', $pInfo->products_price, 'id="products_price"');
?>
</td>
  </tr>
  <tr bgcolor="#ebebff">
   <td class="main"><?php 
echo TEXT_PRODUCTS_PRICE_GROSS;
?>
</td>
   <td><?php 
echo smn_draw_separator('pixel_trans.gif', '150', '15') . '' . smn_draw_input_field('products_price_gross', $pInfo->products_price, 'id="products_price_gross"');
?>
</td>
  </tr>
 </table>
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:tab_price.php

示例15: smn_draw_separator

$colspan = 3;
if (strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
    $colspan++;
    echo '    <td align="center" class="smallText"><b>' . TABLE_HEADING_REMOVE . '</b></td>' . "\n";
}
echo '    <td align="center" class="tableHeading">' . TABLE_HEADING_QUANTITY . '</td>' . "\n";
if (PRODUCT_LIST_MODEL > 0 && strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
    $colspan++;
    echo '    <td class="tableHeading">' . TABLE_HEADING_MODEL . '</td>' . "\n";
}
echo '    <td class="tableHeading">' . TABLE_HEADING_PRODUCTS . '</td>' . "\n";
if (!strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
    $colspan++;
    echo '    <td align="center" class="tableHeading">' . TABLE_HEADING_TAX . '</td>' . "\n";
}
echo '    <td align="right" class="tableHeading">' . TABLE_HEADING_TOTAL . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td colspan="' . $colspan . '">' . smn_draw_separator() . '</td>' . "\n" . '  </tr>' . "\n";
for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
    echo '  <tr>' . "\n";
    // Delete box only for shopping cart
    if (strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
        echo '    <td align="center" valign="top">' . smn_draw_checkbox_field('cart_delete[]', $products[$i]['id']) . '</td>' . "\n";
    }
    // Quantity box or information as an input box or text
    if (strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
        echo '    <td align="center" valign="top">' . smn_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . smn_draw_hidden_field('products_id[]', $products[$i]['id']) . '</td>' . "\n";
    } else {
        echo '    <td align="center" valign="top" class ="main">' . $products[$i]['quantity'] . '</td>' . "\n";
    }
    // Model
    if (PRODUCT_LIST_MODEL > 0 && strstr($PHP_SELF, FILENAME_SHOPPING_CART)) {
        echo '    <td valign="top" class="main"><a href="' . smn_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . $products[$i]['model'] . '</a></td>' . "\n";
开发者ID:stanislauslive,项目名称:StanMarket,代码行数:31,代码来源:order_details.php


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