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;
 }
        <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']);
        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>
Esempio n. 4
0
>
<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 
 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;
 }
Esempio n. 6
0
            <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';
?>
Esempio n. 7
0
                </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 
Esempio n. 8
0
            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;
?>
Esempio n. 9
0
 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);
 }
Esempio n. 10
0
   <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>
Esempio n. 11
0
            // 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 
Esempio n. 12
0
         $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;';
Esempio n. 13
0
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;
}
Esempio n. 14
0
        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;
Esempio n. 15
0
          </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>
            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 
Esempio n. 17
0
          </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>
Esempio n. 18
0
<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>
Esempio n. 19
0
                ?>

<!-- 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_ATTRIBUTES_IMAGE . '<br />' . zen_draw_file_field('attributes_image');
                ?>
</td>

            <td class="main" valign="top"><?php 
                echo TEXT_ATTRIBUTES_IMAGE_DIR . '<br />' . zen_draw_pull_down_menu('img_dir', $dir_info, $default_directory);
                ?>
</td>
            <td class="main" valign="top"><?php 
                echo TEXT_IMAGES_OVERWRITE . '<br />' . zen_draw_radio_field('overwrite', '0', $off_overwrite) . '&nbsp;' . TABLE_HEADING_NO . ' ' . zen_draw_radio_field('overwrite', '1', $on_overwrite) . '&nbsp;' . TABLE_HEADING_YES;
Esempio n. 20
0
 // set Entire Catalog when set
 if (empty($sInfo->sale_categories_selected) and !empty($sInfo->sale_categories_all)) {
     $zc_check_all_cats = 1;
 } else {
     $zc_check_all_cats = 0;
 }
 echo "      <tr>\n";
 echo '        <td valign="bottom" class="main">' . zen_draw_separator('pixel_trans.gif', '4', '1') . zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif') . "</td>\n";
 echo '        <td class="main" colspan="2"><br>' . TEXT_SALEMAKER_ENTIRE_CATALOG . "</td>\n";
 echo "      </tr>\n";
 echo '      <tr onClick="RowClick(\'0\')">' . "\n";
 echo '        <td width="10" class="main">' . zen_draw_checkbox_field('categories[]', '0', $zc_check_all_cats) . "</td>\n";
 echo '        <td class="main" colspan="2">' . TEXT_SALEMAKER_TOP . "</td>\n";
 echo "      </tr>\n";
 echo "      <tr>\n";
 echo '        <td valign="bottom" class="main">' . zen_draw_separator('pixel_trans.gif', '4', '1') . zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif') . "</td>\n";
 echo '        <td class="main" colspan="2"><br>' . TEXT_SALEMAKER_CATEGORIES . "</td>\n";
 echo "      </tr>\n";
 echo "      </table></tr>\n";
 echo '      <tr valign="top"><table width="80%" border ="0" cellspacing="2" cellpadding="2">' . "\n";
 foreach ($categories_array as $category) {
     if (zen_not_null($sInfo->sale_categories_selected)) {
         $selected = in_array($category['categories_id'], $categories_selected);
     } else {
         $selected = false;
     }
     echo '        <tr valign="top"><td><table border="0" cellspacing="2" cellpadding="2">' . "\n";
     echo '      <tr onClick="RowClick(\'' . $category['path'] . '\')">' . "\n";
     echo '        <td width="10">' . zen_draw_checkbox_field('categories[]', $category['path'], $selected) . "</td>\n";
     echo '        <td width="40%">' . $category['text'] . "</td>\n";
     echo '<td width="70%">';
</strong></td>
      </tr>
<?php 
        }
    }
    // END if ($target == 'payments' || $target == 'both')
    if ($target == 'refunds' || $target == 'both') {
        $refund_query = "SELECT * FROM " . TABLE_SO_REFUNDS . "\n                       WHERE date_posted BETWEEN '" . $sd . "' AND DATE_ADD('" . $ed . "', INTERVAL 1 DAY)";
        $refund = $db->Execute($refund_query);
        if (zen_not_null($refund->fields['orders_id'])) {
            $refund_count = 0;
            $refund_total = 0;
            ?>
      <tr>
        <td colspan="7" class="dataTableContent" align="center"><strong><?php 
            echo zen_draw_separator() . TEXT_REFUNDS . zen_draw_separator();
            ?>
</strong></td>
      </tr>
<?php 
            while (!$refund->EOF) {
                ?>
      <tr class="refundRow" width="100%" cellspacing="0" cellpadding="0" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='<?php 
                echo zen_href_link(FILENAME_SUPER_ORDERS, 'oID=' . $refund->fields['orders_id'] . '&action=edit');
                ?>
'">
        <td class="dataTableContent" align="left"><?php 
                echo $refund->fields['orders_id'];
                ?>
</td>
        <td class="dataTableContent" align="center"><?php 
</td>
      <td class="main" align="left" valign="top"><?php 
    echo SELECTED_ADDRESS;
    ?>
<br /><?php 
    echo zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_ARROW_SOUTH_EAST);
    ?>
</td>
      <td class="main" width="30%"valign="top"><?php 
    echo zen_address_label($_SESSION['customer_id'], $_GET['delete'], true, ' ', '<br />');
    ?>
</td>
    </tr>
    <tr>
      <td class="main" colspan="3" ><?php 
    echo zen_draw_separator(OTHER_IMAGE_SILVER_SEPARATOR, '100%', '1');
    ?>
</td>
    </tr>
    <tr>
      <td class="main"><?php 
    echo '<a href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
    ?>
</td>
      <td align="right" colspan="2"><?php 
    echo '<a href="' . zen_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'delete=' . $_GET['delete'] . '&action=deleteconfirm', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_DELETE, BUTTON_DELETE_ALT) . '</a>';
    ?>
</td>
    </tr>
<?php 
} else {
        ?>
</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_print.gif', ICON_ORDER_PRINT);
        ?>
</td>
                    <td class="smallText"><?php 
        echo ICON_ORDER_PRINT;
        ?>
</td>
                  </tr>
                  <tr>
                    <td align="center"><?php 
&nbsp;</td>
                  </form>
                </tr>
              </table></td>
            </tr>
<!-- eof: delete all matching option name for option values -->


<!--
bof: copy Option Name and Value From to Option Name and Value to - all products
example: Copy Color Red to products with Size Small
-->

            <tr>
              <td colspan="5"><?php 
    echo zen_draw_separator('pixel_black.gif', '100%', '10');
    ?>
</td>
            </tr>
            <tr>
              <td class="main" colspan="4"><?php 
    echo TEXT_OPTION_VALUE_COPY_OPTIONS_TO;
    ?>
</td>
              <td class="main" colspan="1"> </td>
            </tr>
            <tr>
              <td class="main" colspan="4"><?php 
    echo TEXT_INFO_OPTION_VALUE_COPY_OPTIONS_TO;
    ?>
</td>
    ?>
</td>
            </tr>
<!-- eof: delete all option values to products with current Option Name -->

    	    </table>
    	  </td>
    	</tr>
   </table>
<!-- DELETE - additional features eof //-->


  <table>
    <tr>
      <td colspan="4"><?php 
    echo zen_draw_separator('pixel_trans.gif', '100%', '5');
    ?>
</td>
    </tr>
  </table>


<!-- COPY - additional features //-->
	<table border="2" width="75%" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td width="100%">
    	    <table width="100%" border="0" cellspacing="0" cellpadding="2">

<!-- bof: copy all option values to another Option Name -->
            <tr>
              <td class="main"><?php 
</td>
  </tr>
  <tr>
    <td class="main" colspan="2"><?php 
echo zen_draw_separator(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_SILVER_SEPARATOR, '100%', '1');
?>
</td>
   </tr>
  <tr>
    <td class="main" colspan="2" align="center" valign="top"><?php 
echo SUB_TITLE_RATING . '<br />' . TEXT_BAD . ' ' . zen_draw_radio_field('rating', '1') . ' ' . zen_draw_radio_field('rating', '2') . ' ' . zen_draw_radio_field('rating', '3') . ' ' . zen_draw_radio_field('rating', '4') . ' ' . zen_draw_radio_field('rating', '5') . ' ' . TEXT_GOOD;
?>
</td>
  </tr>
  <tr>
    <td class="main" colspan="2"><?php 
echo zen_draw_separator(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_SILVER_SEPARATOR, '100%', '1');
?>
</td>
  </tr>
  <tr>
    <td class="main"><?php 
echo '<a href="' . zen_href_link(FILENAME_FAQ_REVIEWS, zen_get_all_get_params(array('reviews_id', 'action'))) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</td>
    <td class="main" align="right"><?php 
echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
?>
</td>
  </tr>
</table>
Esempio n. 27
0
            <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>
Esempio n. 28
0
                    if (!empty($_SESSION['new_products_id_in_cart']) && $_SESSION['new_products_id_in_cart'] == $productId) {
                        $_SESSION['new_products_id_in_cart'] = '';
                    }
                }
                $content .= '</table>';
                if ($gvBalance = CommerceVoucher::getGiftAmount()) {
                    $content .= '<table style="margin-top:10px;" cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext">' . tra('Gift Certificate Balance') . '</td><td class="smalltext" align="right" valign="bottom">' . $gvBalance . '</td></tr></table>';
                    $content .= '<table cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext"><a href="' . zen_href_link(FILENAME_GV_SEND) . '">' . tra('Send Gift Certificate') . '</a></td></tr></table>';
                }
                if ($couponAmount = CommerceVoucher::getCouponAmount()) {
                    $content .= '<table style="margin-top:10px;" cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext">' . VOUCHER_REDEEMED . '</td><td class="smalltext" align="right" valign="bottom">' . $couponAmount . '</td></tr></table>';
                }
                if (!empty($_SESSION['cc_id'])) {
                    $content .= '<table style="margin-top:10px;" cellpadding="0" width="100%" cellspacing="0" border="0"><tr><td class="smalltext">' . CART_COUPON . '</td><td class="smalltext" align="right" valign="bottom">' . '<a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $_SESSION['cc_id']) . '\')">' . CART_COUPON_INFO . '</a>' . '</td></tr></table>';
                }
            } else {
                $content = BOX_SHOPPING_CART_EMPTY;
            }
            if ($gBitCustomer->mCart->count_contents() > 0) {
                $content .= zen_draw_separator();
                $content .= $currencies->format($gBitCustomer->mCart->show_total());
            }
        } else {
            $content = '';
        }
        $_template->tpl_vars['sideboxShoppingCartContent'] = new Smarty_variable($content);
        if (empty($moduleTitle)) {
            $_template->tpl_vars['moduleTitle'] = new Smarty_variable(tra('Shopping Cart'));
        }
    }
}
Esempio n. 29
0
            <td class="pageHeading" align="right"><?php 
echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT);
?>
</td>
          </tr>
<?php 
if (substr(HTTP_SERVER, 0, 5) != 'https') {
    // display security warning about downloads if not SSL
    ?>
          <tr>
            <td class="main"><?php 
    echo WARNING_NOT_SECURE_FOR_DOWNLOADS;
    ?>
</td>
            <td class="main" align="right"><?php 
    echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT);
    ?>
</td>
          </tr>
<?php 
}
?>
        </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">
              <tr class="dataTableHeadingRow">
                <td class="dataTableHeadingContent"><?php 
echo TABLE_HEADING_TITLE;
Esempio n. 30
0
 function notify_easy_admin_products_finish_display_edit()
 {
     global $html;
     global $easy_admin_products_product;
     global $easy_admin_products_edit_screent_html;
     global $easy_admin_products_validate;
     $add_items = '<tr>' . "\n" . $html->text("products_add1", '追加項目', $easy_admin_products_product['products_add1']) . '</tr>' . "\n" . $html->error($easy_admin_products_validate, "products_add1");
     $easy_admin_products_edit_screent_html = str_replace('%__EDIT_EXTERNAL_ITEMS__%', $add_items, $easy_admin_products_edit_screent_html);
     $ext_items = '<tr>' . "\n" . '<td>' . zen_draw_separator('pixel_trans.gif', 0, 20) . '<td>' . "\n" . '</tr>' . "\n" . '<tr>' . "\n" . '<td colspan="2">■拡張設定</td>' . "\n" . '<td>' . "\n" . '<a id="a_products_seo" href="javascript:void()" onclick="toggle_detail(' . "'products_ext1'" . ');">' . "\n" . MODULE_EASY_ADMIN_PRODUCTS_OPEN . '</a>' . "\n" . '</td>' . "\n" . '</tr>' . "\n" . '<tr id="tr_products_ext1" style="display:none;">' . "\n" . '<td colspan="3">' . "\n" . '<table border="0" width="100%" cellspacing="0" cellpadding="0">' . "\n" . '<tr>' . "\n" . $html->text("products_ext1", '拡張項目', $easy_admin_products_product['products_ext1']) . '</tr>' . "\n" . $html->error($easy_admin_products_validate, "products_ext1") . '</table>' . "\n" . '</td>' . "\n" . '</tr>' . "\n";
     $easy_admin_products_edit_screent_html = str_replace('%__EDIT_EXTERNAL_EXPAND_ITEMS__%', $ext_items, $easy_admin_products_edit_screent_html);
 }