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

PHP zen_draw_separator函数代码示例

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

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



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

示例1: confirm

 function confirm()
 {
     global $_GET, $_POST, $db;
     if ($_POST['audience_selected']) {
         $this->query_name = $_POST['audience_selected'];
         if (is_array($_POST['audience_selected'])) {
             $this->query_name = $_POST['audience_selected']['text'];
         }
     }
     $query_array = get_audience_sql_query($this->query_name, 'newsletters');
     $mail = $db->Execute($query_array['query_string']);
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, $mail->RecordCount()) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_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>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '<hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . nl2br($this->content_html) . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td><hr>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt><hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '<form name="ready_to_send" action="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . '" method="post" >' . '    <td align="right"> ' . zen_draw_hidden_field('audience_selected', $this->query_name) . zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL) . '<a href="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '</form>' . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:14,代码来源:newsletter.php


示例2: if

        <td class="dataTableHeadingContent" align="left"><?php echo $sub_num_orders . TEXT_ORDERS; ?></td>
        <td colspan="4">&nbsp;</td>
        <td class="dataTableHeadingContent" align="right"><?php echo $currencies->format($sub_order_total); ?></td>
        <td class="dataTableHeadingContent" align="right"><?php echo $currencies->format($sub_applied); ?></td>
        <td class="dataTableHeadingContent" align="right"><?php echo $currencies->format($sub_balance); ?></td>
      </tr>
<?php
      // add to grand totals
      $order_grand_total += $sub_order_total;
      $total_applied += $sub_applied;
      $total_balance += $sub_balance;
      $num_orders += $sub_num_orders;
    }  // END if ($out_check->RecordCount() > 0)
?>
      <tr>
        <td colspan="7" class="dataTableContent" align="center"><strong><?php echo zen_draw_separator() . TABLE_SUBHEADING_TOTAL_PAYMENTS . zen_draw_separator(); ?></strong></td>
      </tr>
<?php
  }  // END elseif ($report_type == 'out_payment')


  elseif ($report_type == 'out_refund') {
    $out_refund = $db->Execute("SELECT * FROM " . TABLE_ORDERS . "
                                WHERE balance_due < 0 " .
                                $date_limit . "
                                ORDER BY orders_id ASC");

    while (!$out_refund->EOF) {
      unset($so);
      $so = new super_order($out_refund->fields['orders_id']);
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:30,代码来源:super_report_await_pay.php


示例3: session_decode

        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($_SESSION['cart'])) {
            $contents[] = array('text' => $full_name . ' - ' . $ip_address . '<br />' . $info);
            $products = $_SESSION['cart']->get_products();
            for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
                $contents[] = array('text' => $products[$i]['quantity'] . ' x ' . '<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . zen_get_product_path($products[$i]['id']) . '&pID=' . $products[$i]['id']) . '">' . $products[$i]['name'] . '</a>');
                // cPath=23&pID=74
            }
            if (sizeof($products) > 0) {
                $contents[] = array('text' => zen_draw_separator('pixel_black.gif', '100%', '1'));
                $contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . ' ' . $currencies->format($_SESSION['cart']->show_total(), true, $_SESSION['currency']));
            } else {
                $contents[] = array('text' => TEXT_EMPTY_CART);
            }
        }
    }
}
if (zen_not_null($heading) && zen_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:whos_online.php


示例4: zen_draw_separator

>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo CHARSET;
?>
">
<title><?php 
echo TITLE;
?>
</title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
</head>
<body>
<p class="main"><center><h1><?php 
echo HEADING_TITLE . ' - ' . $cname;
echo zen_draw_separator();
?>
</h1></center></p>
<table width="90%" align="center">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent" align="left"><?php 
echo TABLE_HEADING_SALE_NAME;
?>
</td>
                <td colspan="2"><table border="0" width="100%" cellpadding="0"cellspacing="2">
                  <tr>
                    <td class="dataTableHeadingContent" align="center"><?php 
开发者ID:kirkbauer2,项目名称:kirkzc,代码行数:31,代码来源:salemaker_popup.php


示例5: confirm

 function confirm()
 {
     global $_GET, $_POST, $db;
     $audience = array();
     if (isset($_GET['global']) && $_GET['global'] == 'true') {
         $products = $db->Execute("select distinct customers_id\r\n                                  from " . TABLE_PRODUCTS_NOTIFICATIONS);
         while (!$products->EOF) {
             $audience[$products->fields['customers_id']] = '1';
             $products->MoveNext();
         }
         $customers = $db->Execute("select customers_info_id\r\n                                   from " . TABLE_CUSTOMERS_INFO . "\r\n                                   where global_product_notifications = '1'");
         while (!$customers->EOF) {
             $audience[$customers->fields['customers_info_id']] = '1';
             $customers->MoveNext();
         }
     } else {
         $chosen = $_POST['chosen'];
         $ids = implode(',', $chosen);
         $products = $db->Execute("select distinct customers_id\r\n                                  from " . TABLE_PRODUCTS_NOTIFICATIONS . "\r\n                                  where products_id in (" . $ids . ")");
         while (!$products->EOF) {
             $audience[$products->fields['customers_id']] = '1';
             $products->MoveNext();
         }
         $customers = $db->Execute("select customers_info_id\r\n                                   from " . TABLE_CUSTOMERS_INFO . "\r\n                                   where global_product_notifications = '1'");
         while (!$customers->EOF) {
             $audience[$customers->fields['customers_info_id']] = '1';
             $customers->MoveNext();
         }
     }
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, sizeof($audience)) . '</b></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_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>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '<hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main">' . nl2br($this->content_html) . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td><hr>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><tt>' . nl2br($this->content) . '</tt><hr /></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>' . zen_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . zen_draw_form('confirm', FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . "\n" . '    <td align="right">';
     if (sizeof($audience) > 0) {
         if (isset($_GET['global']) && $_GET['global'] == 'true') {
             $confirm_string .= zen_draw_hidden_field('global', 'true');
         } else {
             for ($i = 0, $n = sizeof($chosen); $i < $n; $i++) {
                 $confirm_string .= zen_draw_hidden_field('chosen[]', $chosen[$i]);
             }
         }
         $confirm_string .= zen_image_submit('button_send.gif', IMAGE_SEND) . ' ';
     }
     $confirm_string .= '<a href="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=send') . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a> <a href="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:43,代码来源:product_notification.php


示例6: zen_draw_separator

            <td colspan="4" class="main" align="left" valign="top"><?php 
    echo TEXT_INFO_CONFIGURATION_UPDATE;
    ?>
</td>
          </tr>
        </table></td>
      </tr>
<!-- eof: Locate all files -->

<?php 
}
// eof configure
?>
      <tr>
        <td colspan="2"><?php 
echo '<br />' . zen_draw_separator('pixel_black.gif', '100%', '2');
?>
</td>
      </tr>


    </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php 
require DIR_WS_INCLUDES . 'footer.php';
?>
开发者ID:ygeneration666,项目名称:ec,代码行数:31,代码来源:developers_tool_kit.php


示例7: echo

                </td>
              </tr>
              <tr class="dataTableRow">
                <td class="dataTableContent" colspan="4">
                  <?php 
        echo ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['transaction_result'] . '</span>' : $customers->fields['transaction_result']) . '<br />' . $customers->fields['cc_number'] . '<br />' . 'Expires: ' . $customers->fields['cc_expire'] . '<br />' . $customers->fields['lp_trans_num'] . '<br />' . $customers->fields['transaction_reference_number'] . '<br />' . ($customers->fields['avs_response'] != 'YYYM' ? '<span class="alert">' . $customers->fields['avs_response'] . '</span>' : $customers->fields['avs_response']) . ' ' . ($customers->fields['r_error'] != '' ? '<span class="alert">' . $customers->fields['r_error'] . '</span>' : '') . '<br />' . $customers->fields['transaction_time'];
        ?>
                </td>
                <td class="dataTableContent" colspan="6"><?php 
        echo str_replace(array('PREAUTH', 'SALE'), array('<span style="color:orange;"><strong>PREAUTH</strong></span>', '<span style="color:green;"><strong>SALE</strong></span>'), $customers->fields['cust_info']) . '<br /><br />';
        ?>
</td>
              </tr>
              <tr>
                <td colspan="10"><?php 
        echo zen_draw_separator('pixel_black.gif', "100%", 3);
        ?>
</td>
              </tr>
<?php 
        $customers->MoveNext();
    }
    ?>
              <tr>
                <td colspan="6"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td class="smallText" align="right" valign="top"><?php 
    echo $customers_split->display_count($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_CUSTOMERS);
    ?>
</td>
                    <td class="smallText" align="right"><?php 
开发者ID:R-Future,项目名称:zencart,代码行数:31,代码来源:linkpoint_review.php


示例8: zen_draw_separator

            if ($check_configure->RecordCount() < 1) {
            } else {
                $show_products_type_layout = 'true';
                $show_configuration_info = 'true';
                $found = 'true';
            }
        } else {
            $show_products_type_layout = 'false';
            $show_configuration_info = 'true';
            $found = 'true';
        }
        // if no matches in either databases or selected language directory give an error
        if ($found == 'false') {
            $messageStack->add(ERROR_CONFIGURATION_KEY_NOT_FOUND . ' ' . $_POST['configuration_key'], 'caution');
        } else {
            echo '<table width="90%" align="center"><tr><td>' . zen_draw_separator('pixel_black.gif', '100%', '2') . '</td></tr><tr><td>&nbsp;</td></tr></table>' . "\n";
        }
        break;
        ///////////////////////////////////////////
}
// eof: action
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php 
echo HTML_PARAMS;
?>
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo CHARSET;
?>
开发者ID:bitweaver,项目名称:commerce,代码行数:31,代码来源:store_manager.php


示例9: infoBoxHeading

 function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false, $no_corners = false)
 {
     $this->table_cellpadding = '0';
     if ($left_corner == true) {
         $left_corner = zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/corner_left.gif');
     } else {
         if ($no_corners == true) {
             $left_corner = '';
         } else {
             $left_corner = zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/corner_right_left.gif');
         }
     }
     if ($right_arrow == true) {
         $right_arrow = '<a href="' . $right_arrow . '">' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
     } else {
         $right_arrow = '';
     }
     if ($right_corner == true) {
         $right_corner = $right_arrow . zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/corner_right.gif');
     } else {
         if ($no_corners == true) {
             $right_corner = '';
         } else {
             $right_corner = $right_arrow . zen_draw_separator('pixel_trans.gif', '11', '14');
         }
     }
     $info_box_contents = array();
     $info_box_contents[] = array(array('params' => 'height="14" class="sideBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="sideBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="sideBoxHeading" ', 'text' => $right_corner));
     $this->tableBox($info_box_contents, true);
 }
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:30,代码来源:boxes.php


示例10: zen_image

   <td class="smallText" colspan="2"><strong><?php echo TEXT_ICON_LEGEND; ?></strong><br />&nbsp;</td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_status_red.gif', TEXT_BILLING_SHIPPING_MISMATCH, 10, 10); ?></td>
   <td class="smallText"><?php echo TEXT_BILLING_SHIPPING_MISMATCH; ?></td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_cust_info.gif', MINI_ICON_INFO); ?></td>
   <td class="smallText"><?php echo MINI_ICON_INFO; ?></td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_cust_orders.gif', MINI_ICON_ORDERS); ?></td>
   <td class="smallText"><?php echo MINI_ICON_ORDERS; ?></td>
 </tr>
 <tr>
   <td colspan="2"><?php echo zen_draw_separator('pixel_black.gif'); ?></td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_details.gif', ICON_ORDER_DETAILS); ?></td>
   <td class="smallText"><?php echo ICON_ORDER_DETAILS; ?></td>
 </tr>					
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_shipping_label.gif', ICON_ORDER_SHIPPING_LABEL); ?></td>
   <td class="smallText"><?php echo ICON_ORDER_SHIPPING_LABEL; ?></td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_invoice.gif', ICON_ORDER_INVOICE); ?></td>
   <td class="smallText"><?php echo ICON_ORDER_INVOICE; ?></td>
 </tr>
 <tr>
   <td align="center"><?php echo zen_image(DIR_WS_IMAGES . 'icon_packingslip.gif', ICON_ORDER_PACKINGSLIP); ?></td>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:orders.php


示例11: zen_href_link

            // get the customer ID
            $customer = $db->Execute("select customers_id from " . TABLE_CUSTOMERS . "\n                              where customers_email_address like '" . $archive->email_to_address . "'");
            if ($customer->RecordCount() == 1) {
                $mail_button = '<a href="' . zen_href_link(FILENAME_MAIL, 'origin=' . FILENAME_EMAIL_HISTORY . '&mode=NONSSL&selected_box=tools&customer=' . $archive->email_to_address . '&cID=' . $customer->fields['customers_id'], 'NONSSL') . '">' . zen_image_button('button_email.gif', IMAGE_EMAIL) . '</a>';
            } else {
                $mail_button = '<a href="mailto:' . $archive->email_to_address . '">' . zen_image_button('button_email.gif', IMAGE_EMAIL) . '</a>';
            }
            $heading[] = array('text' => '<b>' . TEXT_ARCHIVE_ID . $archive->archive_id . '&nbsp; - &nbsp;' . zen_datetime_short($archive->date_sent) . '</b>');
            $contents[] = array('align' => 'center', 'text' => $mail_button . '&nbsp;<a href="' . zen_href_link(FILENAME_EMAIL_HISTORY, 'archive_id=' . $archive->archive_id . '&action=resend_confirm') . '">' . zen_image_button('button_resend.gif', IMAGE_ICON_RESEND) . '</a>');
            // Delete button
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_EMAIL_HISTORY, 'archive_id=' . $archive->archive_id . '&action=delete_confirm') . '">' . zen_image_button('button_delete.gif', IMAGE_ICON_DELETE) . '</a>' . $html_button);
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_EMAIL_HISTORY, 'archive_id=' . $archive->archive_id . '&action=prev_text') . '" TARGET="_blank">' . zen_image_button('button_prev_text.gif', IMAGE_ICON_TEXT) . '</a>' . $html_button);
            if ($archive->email_html != '') {
                $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_EMAIL_HISTORY, 'archive_id=' . $archive->archive_id . '&action=prev_html') . '" TARGET="_blank">' . zen_image_button('button_prev_html.gif', IMAGE_ICON_HTML) . '</a>');
            }
            $contents[] = array('text' => '<br>' . zen_draw_separator());
            $contents[] = array('text' => '<br><b>' . TEXT_EMAIL_MODULE . '</b>' . $archive->module);
            $contents[] = array('text' => '<br><b>' . TEXT_EMAIL_TO . '</b>' . $archive->email_to_name . ' [' . $archive->email_to_address . ']');
            $contents[] = array('text' => '<b>' . TEXT_EMAIL_FROM . '</b>' . $archive->email_from_name . ' [' . $archive->email_from_address . ']');
            $contents[] = array('text' => '<b>' . TEXT_EMAIL_DATE_SENT . '</b>' . $archive->date_sent);
            $contents[] = array('text' => '<b>' . TEXT_EMAIL_SUBJECT . '</b>' . $archive->email_subject);
            $contents[] = array('text' => '<br><b>' . TEXT_EMAIL_EXCERPT . '</b>');
            $contents[] = array('text' => '<br>' . nl2br(substr($archive->email_text, 0, MESSAGE_SIZE_LIMIT)) . MESSAGE_LIMIT_BREAK);
        }
        // display sidebox
        if (zen_not_null($heading) && zen_not_null($contents) && $isForDisplay) {
            ?>
        <td width="25%" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%" valign="top">
          <tr>
            <td colspan="2" valign="top">
<?php 
开发者ID:R-Future,项目名称:zencart,代码行数:31,代码来源:email_archive_manager.php


示例12: shipincart_submit

         $ShipTxt .= '<tr><td colspan="3" class="main"><a href="_" onclick="return shipincart_submit(\'\');">' . zen_image_button(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT) . ' </a></td></tr>';
         $ShipTxt .= '<tr><td colspan="3">' . zen_draw_separator('pixel_trans.gif') . '</tr></td>';
     }
 }
 if ($_SESSION['cart']->get_content_type() == 'virtual') {
     // virtual product/download
     //$ShipTxt.='<tr><td colspan="3" class="main">'.zen_draw_separator().'</td></tr>';
     $ShipTxt .= '<tr><td class="main">' . CART_SHIPPING_METHOD_FREE_TEXT . ' ' . CART_SHIPPING_METHOD_ALL_DOWNLOADS . '</td></tr>';
 } elseif ($free_shipping == 1) {
     // order $total is free
     $ShipTxt .= '<tr><td colspan="3" class="main">' . zen_draw_separator() . '</td></tr>';
     $ShipTxt .= '<tr><td class="main">' . sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . '</td><td>&nbsp;</td></tr>';
 } else {
     // shipping display
     $ShipTxt .= '<tr><td></td><td class="main" align="left"><strong>' . CART_SHIPPING_METHOD_TEXT . '</strong></td><td class="main" align="center"><strong>' . CART_SHIPPING_METHOD_RATES . '</strong></td></tr>';
     $ShipTxt .= '<tr><td colspan="3" class="main">' . zen_draw_separator() . '</td></tr>';
     for ($i = 0, $n = sizeof($quotes); $i < $n; $i++) {
         if (sizeof($quotes[$i]['methods']) == 1) {
             // simple shipping method
             $thisquoteid = $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][0]['id'];
             $ShipTxt .= '<tr class="' . $extra . '">';
             $ShipTxt .= '<td class="main">' . $quotes[$i]['icon'] . '&nbsp;</td>';
             if ($quotes[$i]['error']) {
                 $ShipTxt .= '<td colspan="2" class="main">' . $quotes[$i]['module'] . '&nbsp;';
                 $ShipTxt .= '(' . $quotes[$i]['error'] . ')</td></tr>';
             } else {
                 if ($selected_shipping['id'] == $thisquoteid) {
                     $ShipTxt .= '<td class="main"><strong>' . $quotes[$i]['module'] . '&nbsp;';
                     $ShipTxt .= '(' . $quotes[$i]['methods'][0]['title'] . ')</strong></td><td align="right" class="main"><strong>' . $currencies->format(zen_add_tax($quotes[$i]['methods'][0]['cost'], $quotes[$i]['tax'])) . '<strong></td></tr>';
                 } else {
                     $ShipTxt .= '<td class="main">' . $quotes[$i]['module'] . '&nbsp;';
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:shipping_estimator.php


示例13: advanced_stock_draw_sendfor_flag

function advanced_stock_draw_sendfor_flag()
{
    if (isset($_GET['pID']) && empty($_POST)) {
        $send_for_status = advanced_stock_get_sendfor_status((int) $_GET['pID']);
    } elseif (isset($_POST['send_for_status'])) {
        $send_for_status = $_POST['send_for_status'];
    }
    // send for status
    if (MODULE_ADDON_MODULES_ADVANCED_STOCK_STATUS == 'true') {
        if (!isset($send_for_status)) {
            $send_for_status = '0';
        }
        switch ($send_for_status) {
            case '0':
                $send_on = false;
                $send_off = true;
                break;
            case '1':
            default:
                $send_on = true;
                $send_off = false;
                break;
        }
    }
    $send_for_html = '
          <tr>
            <th class="main">' . TEXT_PRODUCTS_SEND_FOR . '</th>
            <td class="main">' . zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_radio_field('send_for_status', '1', $send_on) . '&nbsp;' . TEXT_PRODUCTS_SEND_ON . '&nbsp;' . zen_draw_radio_field('send_for_status', '0', $send_off) . '&nbsp;' . TEXT_PRODUCTS_SEND_OFF . '</td>
          </tr>
';
    return $send_for_html;
}
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:32,代码来源:functions.php


示例14: zen_draw_separator

        if ($box_categories_array[$i]['has_sub_cat']) {
            $content .= CATEGORIES_SEPARATOR;
        }
        $content .= '</a>';
        if (SHOW_COUNTS == 'true') {
            if (CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0 or $box_categories_array[$i]['count'] >= 1) {
                $content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
            }
        }
        $content .= '<br />';
    }
}
if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    // display a separator between categories and links
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
        $content .= '<br />' . zen_draw_separator('pixel_silver.gif') . '<br />';
    }
    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
        $show_this = $db->Execute("select s.products_id from " . TABLE_SPECIALS . " s where s.status= '1' limit 1");
        if ($show_this->RecordCount() > 0) {
            $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_SPECIALS) . '">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a>' . '<br />';
        }
    }
    if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
        switch (true) {
            case SHOW_NEW_PRODUCTS_LIMIT == '0':
                $display_limit = '';
                break;
            case SHOW_NEW_PRODUCTS_LIMIT == '1':
                $display_limit = " and date_format(p.products_date_added, '%Y%m') >= date_format(now(), '%Y%m')";
                break;
开发者ID:severnaya99,项目名称:Sg-2010,代码行数:31,代码来源:tpl_categories.php


示例15: zen_draw_separator

          </td>
        </tr>

        <tr>
          <td>
            <hr/>
          </td>
        </tr>

        <tr>
          <td>
            <table border="0">
              <tr>
                <td class="errorText">
                <?php 
echo zen_draw_separator('pixel_trans.gif', 1, 16);
echo HEADING_SUBTITLE_SHIPPING;
?>
              </td>
              </tr>

              <tr>
                <td>
                  <?php 
echo MODULE_CALENDAR_DELIVERY_DESCRIPTION;
?>
                </td>
              </tr>

              <tr>
                <td>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:31,代码来源:admin.php


示例16: zen_draw_separator

            echo $currencies->format($sub_balance);
            ?>
</td>
      </tr>
<?php 
            // add to grand totals
            $order_grand_total += $sub_order_total;
            $total_applied += $sub_applied;
            $total_balance += $sub_balance;
            $num_orders += $sub_num_orders;
        }
        // END if ($out_check->RecordCount() > 0)
        ?>
      <tr>
        <td colspan="10" class="dataTableContent" align="center"><strong><?php 
        echo zen_draw_separator() . TABLE_SUBHEADING_TOTAL_PAYMENTS . zen_draw_separator();
        ?>
</strong></td>
      </tr>
<?php 
    } elseif ($report_type == 'out_refund') {
        $out_refund = $db->Execute("SELECT o.*, p.orders_status_name FROM " . TABLE_ORDERS . " o\n                                LEFT JOIN " . TABLE_ORDERS_STATUS . " p\n                                ON o.orders_status = p.orders_status_id\n                                WHERE balance_due < '0' " . $date_limit . "\n                                ORDER BY orders_id ASC");
        while (!$out_refund->EOF) {
            unset($so);
            $so = new super_order($out_refund->fields['orders_id']);
            $order_grand_total += $so->order_total;
            $total_applied += $so->amount_applied;
            $total_balance += $so->balance_due;
            $num_orders++;
            ?>
      <tr class="dataTableRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" onClick="document.location.href='<?php 
开发者ID:retched,项目名称:zen_SuperOrders,代码行数:31,代码来源:super_report_await_pay.php


示例17: zen_draw_separator

          </tr>
<?php
    }
?>
           
          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_PRODUCTS_WEIGHT; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_weight', $pInfo->products_weight); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_PRODUCTS_SORT_ORDER; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_sort_order', $pInfo->products_sort_order); ?></td>
          </tr>
        </table></td>
      </tr>
       
       
      <tr>
        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td class="main" align="right"><?php echo zen_draw_hidden_field('products_date_added', (zen_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . ( (isset($_GET['search']) && !empty($_GET['search'])) ? zen_draw_hidden_field('search', $_GET['search']) : '') . ( (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search'])) ? zen_draw_hidden_field('search', $_POST['search']) : '') . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) . '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . ( (isset($_GET['search']) && !empty($_GET['search'])) ? '&search=' . $_GET['search'] : '') . ( (isset($_POST['search']) && !empty($_POST['search']) && empty($_GET['search'])) ? '&search=' . $_POST['search'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td>
      </tr>
    </table></form>
开发者ID:quangn92,项目名称:visualyou,代码行数:30,代码来源:collect_info.php


示例18: require

<body onLoad="init()">
<div id="spiffycalendar" class="text"></div>
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->

<?php

// bof search form
?>
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr><?php echo zen_draw_form('search', FILENAME_NOTES, '', 'get'); ?>
            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
            <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td>
            <td class="smallText" align="right">
<?php

  if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
    $keywords = zen_db_input(zen_db_prepare_input($_GET['search']));
    echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER . '<strong>' . $keywords . '</strong>';
    // show reset search    
    echo '<br/ >' .'<a href="' . zen_href_link(FILENAME_NOTES) . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>&nbsp;&nbsp;';

  }else{
    echo HEADING_TITLE_SEARCH_DETAIL . ' ' . zen_draw_input_field('search') . zen_hide_session_id();    
  }
?>
            </td>
          </form>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:notes.php


示例19: zen_draw_file_field

                ?>

<!-- bof Attribute Images -->
<tr class="attributeBoxContent">
  <td class="pageHeading">
    <table border='0' width="100%">
      <tr><td class="attributeBoxContent"><table border="0" cellpadding="4" cellspacing="2" width="100%">

        <tr><td class="attributeBoxContent"><table border="0" cellpadding="4" cellspacing="2">
          <tr class="attributeBoxContent">
            <td>&nbsp;</td>
            <td class="main" valign="top">&nbsp;</td>

<!--
            <td class="main" valign="top">xxx<?php 
                echo TEXT_ATTRIBUTES_IMAGE . '<br />' . zen_draw_file_field('attributes_image') . '<br />' . zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . $attributes_values->fields['attributes_image'] . zen_draw_hidden_field('attributes_image', $attributes_values->fields['attributes_image']);
                ?>
</td>
-->

            <td class="main" valign="top"><?php 
                echo TEXT_ATTRIBUTE 

鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP zen_draw_textarea_field函数代码示例发布时间:2022-05-23
下一篇:
PHP zen_draw_radio_field函数代码示例发布时间: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