<td class="main"><?php echo olc_draw_file_field('affiliate_banners_image') . BLANK . TEXT_BANNERS_IMAGE_LOCAL . HTML_BR . DIR_FS_CATALOG_IMAGES . olc_draw_input_field('affiliate_banners_image_local', $abInfo->affiliate_banners_image); ?> </td> </tr> <tr> <td colspan="2"><?php echo olc_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> </table></td> </tr> <tr> <td><?php echo olc_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="right" valign="top" nowrap="nowrap"><?php echo ($form_action == 'insert' ? olc_image_submit('button_insert.gif', IMAGE_INSERT) : olc_image_submit('button_update.gif', IMAGE_UPDATE)) . ' <a href="' . olc_href_link(FILENAME_AFFILIATE_BANNER_MANAGER, 'page=' . $_GET['page'] . '&abID=' . $_GET['abID']) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . HTML_A_END; ?> </td> </tr> </table></td> </form></tr> <?php } else {
$session_data_cart = substr($session_data, $start_cart, $i - $start_cart); $session_data_currency = substr($session_data, $start_currency, strpos($session_data, ';', $start_currency) - $start_currency + 1); $session_data_country = substr($session_data, $start_country, strpos($session_data, ';', $start_country) - $start_country + 1); $session_data_zone = substr($session_data, $start_zone, strpos($session_data, ';', $start_zone) - $start_zone + 1); session_decode($session_data_id); session_decode($session_data_currency); session_decode($session_data_country); session_decode($session_data_zone); session_decode($session_data_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' => olc_draw_separator('pixel_black.gif', '100%', '1')); $contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . BLANK . $currencies->format($cart->show_total(), true, $currency)); } else { $contents[] = array('text' => HTML_NBSP); } } } } if (olc_not_null($heading) && olc_not_null($contents)) { echo ' <td width="25%" valign="top">' . NEW_LINE; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . NEW_LINE; } ?> </tr>
<?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 olc_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"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_BLACKLIST; ?> </td> <td class="dataTableHeadingContent" align="right"><?php
<br/><br/> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableRow"> <td class="dataTableContent" align="right"> <?php echo TEXT_SAVE_ORDER; echo olc_draw_form('save_order', FILENAME_ORDERS_EDIT, 'action=save_order', 'post'); echo olc_draw_hidden_field('customers_status_id', $address[customers_status]); echo olc_draw_hidden_field('orders_id', $_GET['oID']); echo olc_image_submit('button_save.gif', TEXT_BUTTON_SAVE_ORDER, 'style="cursor:hand" '); ?> </form> </td> </tr> <tr><td><?php echo olc_draw_separator(); ?> </td></tr> </table> <br/><br/> <!-- Bestellung Sichern Ende //--> <!-- Ende //--> </td> </tr> <!-- body_text_eof //--> </table></td> </tr> </table></td>
function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { $left_corner = olc_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); } else { $left_corner = olc_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'); } if ($right_arrow == true) { $right_arrow = HTML_A_START . $right_arrow . '">' . olc_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . HTML_A_END; } else { $right_arrow = ''; } if ($right_corner == true) { $right_corner = $right_arrow . olc_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'); } else { $right_corner = $right_arrow . olc_draw_separator('pixel_trans.gif', '11', '14'); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap="nowrap"', 'text' => $right_corner)); $this->tableBox($info_box_contents, true); }
?> </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 olc_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 }
echo '<tr><td colspan="4"><table><tr><td align="center" class="main" width="' . (PRODUCT_IMAGE_THUMBNAIL_WIDTH + 15) . '">' . olc_image(DIR_WS_CATALOG_THUMBNAIL_IMAGES . $pInfo->products_image, 'Standard Image') . '</td>'; } $products_previous_image = 'products_previous_image_'; echo '<td class="main">' . TEXT_PRODUCTS_IMAGE . HTML_BR . olc_draw_file_field('products_image') . HTML_BR . olc_draw_separator('pixel_trans.gif', '24', '15') . HTML_NBSP . $pInfo->products_image . olc_draw_hidden_field($products_previous_image . '0', $pInfo->products_image); if ($pInfo->products_image) { echo '</td></tr></table>'; } else { echo '</td></tr>'; } // display MO PICS if (MO_PICS > 0) { $mo_images = olc_get_products_mo_images($pInfo->products_id); for ($i = 0; $i < MO_PICS; $i++) { echo '<tr><td colspan="4">' . olc_draw_separator('pixel_black.gif', '100%', '1') . '</td></tr>'; echo '<tr><td colspan="4">' . olc_draw_separator('pixel_trans.gif', '1', '10') . '</td></tr>'; $image_name = $mo_images[$i]["image_name"]; $i1 = $i + 1; if ($image_name) { echo '<tr><td colspan="4"><table><tr><td align="center" class="main" width="' . (PRODUCT_IMAGE_THUMBNAIL_WIDTH + 15) . '">' . olc_image(DIR_WS_CATALOG_THUMBNAIL_IMAGES . $image_name, 'Image ' . $i1) . '</td>'; } else { echo '<tr>'; } echo '<td class="main">' . TEXT_PRODUCTS_IMAGE . BLANK . $i1 . HTML_BR . olc_draw_file_field('mo_pics_' . $i) . HTML_BR . olc_draw_separator('pixel_trans.gif', '24', '15') . HTML_NBSP . $image_name . olc_draw_hidden_field($products_previous_image . $i1, $image_name); if ($image_name) { echo '</tr><tr><td align="center" valign="middle">' . olc_draw_selection_field('del_mo_pic[]', 'checkbox', $image_name) . BLANK . TEXT_DELETE . '</td></tr></table>'; } else { echo '</td></tr>'; } } } }
function confirm() { $audience = array(); if ($_GET['global'] == TRUE_STRING_S) { $products_query = olc_db_query("select distinct customers_id from " . TABLE_PRODUCTS_NOTIFICATIONS); while ($products = olc_db_fetch_array($products_query)) { $audience[$products['customers_id']] = '1'; } $customers_query = olc_db_query("select customers_info_id from " . TABLE_CUSTOMERS_INFO . " where global_product_notifications = '1'"); while ($customers = olc_db_fetch_array($customers_query)) { $audience[$customers['customers_info_id']] = '1'; } } else { $chosen = $_POST['chosen']; $ids = implode(',', $chosen); $products_query = olc_db_query("select distinct customers_id from " . TABLE_PRODUCTS_NOTIFICATIONS . " where products_id in (" . $ids . RPAREN); while ($products = olc_db_fetch_array($products_query)) { $audience[$products['customers_id']] = '1'; } $customers_query = olc_db_query("select customers_info_id from " . TABLE_CUSTOMERS_INFO . " where global_product_notifications = '1'"); while ($customers = olc_db_fetch_array($customers_query)) { $audience[$customers['customers_info_id']] = '1'; } } $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td class="main"><font color="#ff0000"><b>' . sprintf(TEXT_COUNT_CUSTOMERS, sizeof($audience)) . '</b></font></td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td>' . olc_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td class="main"><b>' . $this->title . '</b></td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td>' . olc_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td class="main"><tt>' . nl2br($this->content) . '</tt></td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . NEW_LINE . ' <td>' . olc_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . NEW_LINE . ' </tr>' . NEW_LINE . ' <tr>' . olc_draw_form('confirm', FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send') . NEW_LINE . ' <td align="right">'; if (sizeof($audience) > 0) { if ($_GET['global'] == TRUE_STRING_S) { $confirm_string .= olc_draw_hidden_field('global', TRUE_STRING_S); } else { for ($i = 0, $n = sizeof($chosen); $i < $n; $i++) { $confirm_string .= olc_draw_hidden_field('chosen[]', $chosen[$i]); } } $confirm_string .= olc_image_submit('button_send.gif', IMAGE_SEND) . BLANK; } $confirm_string .= HTML_A_START . olc_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=send') . '">' . olc_image_button('button_back.gif', IMAGE_BACK) . '</a> <a href="' . olc_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . olc_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a></td>' . NEW_LINE . ' </tr>' . NEW_LINE . '</table>'; return $confirm_string; }
} } echo ' <td class="tableHeading">' . TABLE_HEADING_PRODUCTS . '</td>' . NEW_LINE; if ($not_is_shopping_cart) { $colspan++; echo ' <td align="center" class="tableHeading">' . TABLE_HEADING_TAX . '</td>' . NEW_LINE; } // echo $customer_id . $customer_status_name . $customer_status_value['customers_status_discount'] . $customer_status_value['customers_status_ot_discount']; if ($customer_status_value['customers_status_discount'] != 0) { $colspan++; echo '<td align="right" class="tableHeading">' . TABLE_HEADING_DISCOUNT . '</td>'; } echo '<td align="right" class="tableHeading">' . TABLE_HEADING_TOTAL . '</td>'; echo '</tr>'; echo '<tr>'; echo '<td colspan="' . $colspan . '">' . olc_draw_separator() . '</td>'; echo '</tr>'; for ($i = 0, $n = sizeof($products); $i < $n; $i++) { echo ' <tr>' . NEW_LINE; // Delete box only for shopping cart if ($is_shopping_cart) { echo ' <td align="center" valign="top">' . olc_draw_checkbox_field('cart_delete[]', $products[$i]['id']) . '</td>' . NEW_LINE; } // Quantity box or information as an input box or text if ($is_shopping_cart) { echo ' <td align="center" valign="top">' . olc_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . olc_draw_hidden_field('products_id[]', $products[$i]['id']) . '</td>' . NEW_LINE; } else { echo ' <td align="center" valign="top" class ="main">' . $products[$i]['quantity'] . '</td>' . NEW_LINE; } // Model $link = ' <td valign="top" class="main"><a href="' . olc_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">';
function credit_selection() { $selection_string = EMPTY_STRING; $close_string = EMPTY_STRING; $credit_class_string = EMPTY_STRING; if (MODULE_ORDER_TOTAL_INSTALLED) { $header_string = ' <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>' . TABLE_HEADING_CREDIT . '</b></td> </tr> </table> </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">' . olc_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td colspan="2"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> '; $close_string = ' </table> </td> <td width="10">' . olc_draw_separator('pixel_trans.gif', '10', '1') . '</td> </tr> </table> </td> </tr> </table> </td> <tr> <td width="100%">' . olc_draw_separator('pixel_trans.gif', '100%', '10') . ' </td> </tr>'; reset($this->modules); $output_string = EMPTY_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 == EMPTY_STRING) { $selection_string = $GLOBALS[$class]->credit_selection(); } if ($use_credit_string != EMPTY_STRING || $selection_string != EMPTY_STRING) { $output_string .= ' <tr colspan="4"> <td colspan="4" width="100%">' . olc_draw_separator('pixel_trans.gif', '100%', '10') . '</td> </tr> <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" > <td width="10">' . olc_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td class="main"><b>' . $GLOBALS[$class]->header . '</b></td>' . $use_credit_string . ' <td width="10">' . olc_draw_separator('pixel_trans.gif', '10', '1') . '</td> </tr> '; $output_string .= $selection_string; } } } if ($output_string != EMPTY_STRING) { $output_string = $header_string . $output_string . $close_string; } } return $output_string; }
<td class="fieldKey">' . ENTRY_MANUFACTURERS . '</td> <td class="fieldValue">' . olc_draw_pull_down_menu('manufacturers_id', $manufacturers_pulldown) . '</td> </tr> '; } $options_box .= ' <tr> <td class="fieldKey">' . ENTRY_PRICE_FROM . '</td> <td class="fieldValue">' . olc_draw_input_field('pfrom') . '</td> </tr> <tr> <td class="fieldKey">' . ENTRY_PRICE_TO . '</td> <td class="fieldValue">' . olc_draw_input_field('pto') . '</td> </tr> <tr> <td colspan="2">' . olc_draw_separator('pixel_trans.gif', '100%', '10') . '</td> </tr> <tr> <td class="fieldKey">' . ENTRY_DATE_FROM . '</td> <td class="fieldValue"> ' . olc_draw_input_field('dfrom', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this,\'' . DOB_FORMAT_STRING . '\')"') . ' </td> </tr> <tr> <td class="fieldKey">' . ENTRY_DATE_TO . '</td> <td class="fieldValue"> ' . olc_draw_input_field('dto', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this,\'' . DOB_FORMAT_STRING . '\')"') . ' </td> </tr> </table> ';
OL-Commerce Version 5.x/AJAX http://www.ol-commerce.com, http://www.seifenparadies.de Copyright (c) 2004 OL-Commerce , 2006 Dipl.-Ing.(TH) Winfried Kaiser (w.kaiser@fortune.de, info@seifenparadies.de) -------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce(column_left.php,v 1.15 2002/01/11); www.oscommerce.com (c) 2003 nextcommerce (column_left.php,v 1.25 2003/08/19); www.nextcommerce.org (c) 2004 XT - Commerce; www.xt-commerce.com Released under the GNU General Public License --------------------------------------------------------------*/ require DIR_WS_INCLUDES . 'column_left.php'; echo ' <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">' . $heading_title . '</td> <td class="pageHeading" align="right">' . olc_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . ' </td>' . $td3 . ' </tr> </table> </td> </tr> '; $td3 = EMPTY_STRING; ?>