Jump to content

gsmitty

Members
  • Content count

    17
  • Joined

  • Last visited

About gsmitty

  • Birthday 07/04/1965

Profile Information

  • Real Name
    Greg S.
  • Location
    Atlanta, Ga.
  • Interests
    Anything NEW
  • Website
  1. gsmitty

    Newsletter products, HTML email

    Just added or tried to admin - Not seeing any screen from adnin section after clicking newsletter mgr. <?php /* $Id: newsletters.php,v 1.17 2003/06/29 22:50:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) { switch ($action) { case 'lock': case 'unlock': $newsletter_id = tep_db_prepare_input($HTTP_GET_VARS['nID']); $status = (($action == 'lock') ? '1' : '0'); tep_db_query("update " . TABLE_NEWSLETTERS . " set locked = '" . $status . "' where newsletters_id = '" . (int)$newsletter_id . "'"); tep_redirect(tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'])); break; case 'insert': case 'update': if (isset($HTTP_POST_VARS['newsletter_id'])) $newsletter_id = tep_db_prepare_input($HTTP_POST_VARS['newsletter_id']); $newsletter_module = tep_db_prepare_input($HTTP_POST_VARS['module']); $title = tep_db_prepare_input($HTTP_POST_VARS['title']); $content = tep_db_prepare_input($HTTP_POST_VARS['content']); $products = $HTTP_POST_VARS['chosen']; $newsletter_error = false; if (empty($title)) { $messageStack->add(ERROR_NEWSLETTER_TITLE, 'error'); $newsletter_error = true; } if (empty($module)) { $messageStack->add(ERROR_NEWSLETTER_MODULE, 'error'); $newsletter_error = true; } if ($newsletter_error == false) { //newsletter products $products_string = ''; $once = false; if(!empty($products)){ for($i=0, $n=sizeof($products); $i<$n; $i++){ $products_string .= (!$once) ? $products[$i] : ',' . $products[$i]; $once = true; } } //copy template only if modified $template_file = new upload('template'); $template_file->set_destination(DIR_WS_TEMPLATES); if ($template_file->parse() && $template_file->save()) { $template = $template_file->filename; } else { $template = (isset($HTTP_POST_VARS['previous_template']) ? $HTTP_POST_VARS['previous_template'] : ''); } $sql_data_array = array('title' => $title, 'content' => $content, 'module' => $newsletter_module, 'products' => $products_string, 'template' => $template); if ($action == 'insert') { $sql_data_array['date_added'] = 'now()'; $sql_data_array['status'] = '0'; $sql_data_array['locked'] = '0'; tep_db_perform(TABLE_NEWSLETTERS, $sql_data_array); $newsletter_id = tep_db_insert_id(); } elseif ($action == 'update') { tep_db_perform(TABLE_NEWSLETTERS, $sql_data_array, 'update', "newsletters_id = '" . (int)$newsletter_id . "'"); } tep_redirect(tep_href_link(FILENAME_NEWSLETTERS, (isset($HTTP_GET_VARS['page']) ? 'page=' . $HTTP_GET_VARS['page'] . '&' : '') . 'nID=' . $newsletter_id)); } else { $action = 'new'; } break; case 'deleteconfirm': $newsletter_id = tep_db_prepare_input($HTTP_GET_VARS['nID']); tep_db_query("delete from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$newsletter_id . "'"); tep_redirect(tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'])); break; case 'delete': case 'new': if (!isset($HTTP_GET_VARS['nID'])) break; case 'send': case 'confirm_send': $newsletter_id = tep_db_prepare_input($HTTP_GET_VARS['nID']); $check_query = tep_db_query("select locked from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$newsletter_id . "'"); $check = tep_db_fetch_array($check_query); if ($check['locked'] < 1) { switch ($action) { case 'delete': $error = ERROR_REMOVE_UNLOCKED_NEWSLETTER; break; case 'new': $error = ERROR_EDIT_UNLOCKED_NEWSLETTER; break; case 'send': $error = ERROR_SEND_UNLOCKED_NEWSLETTER; break; case 'confirm_send': $error = ERROR_SEND_UNLOCKED_NEWSLETTER; break; } $messageStack->add_session($error, 'error'); tep_redirect(tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'])); } break; } } ?> <!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; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <div id="spiffycalendar" class="text"></div> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- left_navigation //--> <?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><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 tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <?php f ($action == 'new') { $form_action = 'insert'; //newsletter products include(DIR_WS_MODULES . 'newsletters/newsletter_products.php'); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/newsletter_products.php'); $products = new newsletter_products('','', '', ''); $parameters = array('title' => '', 'content' => '', 'module' => '', 'products' => '', 'template' => ''); $nInfo = new objectInfo($parameters); if (isset($HTTP_GET_VARS['nID'])) { $form_action = 'update'; $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select title, content, module, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter = tep_db_fetch_array($newsletter_query); $nInfo->objectInfo($newsletter); } elseif ($HTTP_POST_VARS) { $nInfo->objectInfo($HTTP_POST_VARS); } $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $directory_array = array(); if ($dir = dir(DIR_WS_MODULES . 'newsletters/')) { while ($file = $dir->read()) { if (!is_dir(DIR_WS_MODULES . 'newsletters/' . $file)) { if (substr($file, strrpos($file, '.')) == $file_extension) { $directory_array[] = $file; } } } sort($directory_array); $dir->close(); } for ($i=0, $n=sizeof($directory_array); $i<$n; $i++) { $modules_array[] = array('id' => substr($directory_array[$i], 0, strrpos($directory_array[$i], '.')), 'text' => substr($directory_array[$i], 0, strrpos($directory_array[$i], '.'))); } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr><?php echo tep_draw_form('newsletter', FILENAME_NEWSLETTERS, (isset($HTTP_GET_VARS['page']) ? 'page=' . $HTTP_GET_VARS['page'] . '&' : '') . 'action=' . $form_action, 'post', ' enctype="multipart/form-data" onSubmit="return selectAll(\'newsletter\', \'chosen[]\')"'); if ($form_action == 'update') echo tep_draw_hidden_field('newsletter_id', $nID); ?> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo TEXT_NEWSLETTER_MODULE; ?></td> <td class="main"><?php echo tep_draw_pull_down_menu('module', $modules_array, $nInfo->module); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_NEWSLETTER_TITLE; ?></td> <td class="main"><?php echo tep_draw_input_field('title', $nInfo->title, '', true); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_NEWSLETTER_CONTENT; ?></td> <td class="main"><?php echo tep_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content); ?></td> </tr> <?php //newsletter products ?> <tr> <td colspan="2"><?php tep_draw_separator('pixel_trans.gif' , '1', '10'); ?></td> </tr> <tr> <td colspan="2" class="main" align="center"><?php echo TEXT_NEWSLETTER_NOTE; ?></td> </tr> <tr> <td></td> <td class="main"><?php echo $products->choose_products(); ?></td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_NEWSLETTER_TEMPLATE; ?></td> <td class="main" valign="top"><?php echo tep_draw_file_field('template') . '<br>' . $nInfo->template . tep_draw_hidden_field('previous_template', $nInfo->template);?></td> </tr> <?php </table></td> </tr> <tr> <td><?php echo tep_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"><?php echo (($form_action == 'insert') ? tep_image_submit('button_save.gif', IMAGE_SAVE) : tep_image_submit('button_update.gif', IMAGE_UPDATE)). ' <a href="' . tep_href_link(FILENAME_NEWSLETTERS, (isset($HTTP_GET_VARS['page']) ? 'page=' . $HTTP_GET_VARS['page'] . '&' : '') . (isset($HTTP_GET_VARS['nID']) ? 'nID=' . $HTTP_GET_VARS['nID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr> </table></td> </form></tr> <?php } elseif ($action == 'preview') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); //newsletter products $newsletter_query = tep_db_query("select title, content, module, products, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter = tep_db_fetch_array($newsletter_query); $nInfo = new objectInfo($newsletter); ?> <tr> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID']) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> <?php if($nInfo->module == 'newsletter_products'){ include(DIR_WS_MODULES . 'newsletters/newsletter_products.php'); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/newsletter_products.php'); $module = new newsletter_products($nInfo->title, $nInfo->content, $nInfo->products, $nInfo->template); ?> <tr> <td><?php echo $module->html_content(); ?></td> </tr> <?php }else{ ?> <tr> <td><tt><?php echo nl2br($nInfo->content); ?></tt></td> </tr> <?php } <tr> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID']) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> <?php } elseif ($action == 'send') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select title, content, module, products, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); //end newsletter products $newsletter = tep_db_fetch_array($newsletter_query); $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; //newsletter products if($nInfo->module == 'newsletter_products'){ $module = new $module_name($nInfo->title, $nInfo->content, $nInfo->products, $nInfo->template); }else{ $module = new $module_name($nInfo->title, $nInfo->content); } ?> <tr> <td><?php if ($module->show_choose_audience) { echo $module->choose_audience(); } else { echo $module->confirm(); } ?></td> </tr> <?php } elseif ($action == 'confirm') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select newsletters_id, title, content, module, products, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); //end newsletter products $newsletter = tep_db_fetch_array($newsletter_query); $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; //newsletter products if($nInfo->module == 'newsletter_products'){ $module = new $module_name($nInfo->title, $nInfo->content, $nInfo->products, $nInfo->template); }else{ $module = new $module_name($nInfo->title, $nInfo->content); } ?> <tr> <td><?php echo $module->confirm(); ?></td> </tr> <?php } elseif ($action == 'confirm_send') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select newsletters_id, title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter = tep_db_fetch_array($newsletter_query); $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; $module = new $module_name($nInfo->title, $nInfo->content); ?> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'ani_send_email.gif', IMAGE_ANI_SEND_EMAIL); ?></td> <td class="main" valign="middle"><b><?php echo TEXT_PLEASE_WAIT; ?></b></td> </tr> </table></td> </tr> <?php tep_set_time_limit(0); flush(); $module->send($nInfo->newsletters_id); ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><font color="#ff0000"><b><?php echo TEXT_FINISHED_SENDING_EMAILS; ?></b></font></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><?php echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID']) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> <?php } else { ?> <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_NEWSLETTERS; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_SIZE; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_MODULE; ?></td> <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_SENT; ?></td> <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_STATUS; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td> </tr> <?php $newsletters_query_raw = "select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from " . TABLE_NEWSLETTERS . " order by date_added desc"; $newsletters_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $newsletters_query_raw, $newsletters_query_numrows); $newsletters_query = tep_db_query($newsletters_query_raw); while ($newsletters = tep_db_fetch_array($newsletters_query)) { if ((!isset($HTTP_GET_VARS['nID']) || (isset($HTTP_GET_VARS['nID']) && ($HTTP_GET_VARS['nID'] == $newsletters['newsletters_id']))) && !isset($nInfo) && (substr($action, 0, 3) != 'new')) { $nInfo = new objectInfo($newsletters); } if (isset($nInfo) && is_object($nInfo) && ($newsletters['newsletters_id'] == $nInfo->newsletters_id) ) { echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '\'">' . "\n"; } else { echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $newsletters['newsletters_id']) . '\'">' . "\n"; } ?> <td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $newsletters['newsletters_id'] . '&action=preview') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $newsletters['title']; ?></td> <td class="dataTableContent" align="right"><?php echo number_format($newsletters['content_length']) . ' bytes'; ?></td> <td class="dataTableContent" align="right"><?php echo $newsletters['module']; ?></td> <td class="dataTableContent" align="center"><?php if ($newsletters['status'] == '1') { echo tep_image(DIR_WS_ICONS . 'tick.gif', ICON_TICK); } else { echo tep_image(DIR_WS_ICONS . 'cross.gif', ICON_CROSS); } ?></td> <td class="dataTableContent" align="center"><?php if ($newsletters['locked'] > 0) { echo tep_image(DIR_WS_ICONS . 'locked.gif', ICON_LOCKED); } else { echo tep_image(DIR_WS_ICONS . 'unlocked.gif', ICON_UNLOCKED); } ?></td> <td class="dataTableContent" align="right"><?php if (isset($nInfo) && is_object($nInfo) && ($newsletters['newsletters_id'] == $nInfo->newsletters_id) ) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $newsletters['newsletters_id']) . '">' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td> </tr> <?php } ?> <tr> <td colspan="6"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText" valign="top"><?php echo $newsletters_split->display_count($newsletters_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS); ?></td> <td class="smallText" align="right"><?php echo $newsletters_split->display_links($newsletters_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page']); ?></td> </tr> <tr> <td align="right" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'action=new') . '">' . tep_image_button('button_new_newsletter.gif', IMAGE_NEW_NEWSLETTER) . '</a>'; ?></td> </tr> </table></td> </tr> </table></td> <?php $heading = array(); $contents = array(); switch ($action) { case 'delete': $heading[] = array('text' => '<b>' . $nInfo->title . '</b>'); $contents = array('form' => tep_draw_form('newsletters', FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br><b>' . $nInfo->title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: if (is_object($nInfo)) { $heading[] = array('text' => '<b>' . $nInfo->title . '</b>'); if ($nInfo->locked > 0) { $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=new') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . tep_image_button('button_preview.gif', IMAGE_PREVIEW) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=send') . '">' . tep_image_button('button_send.gif', IMAGE_SEND) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=unlock') . '">' . tep_image_button('button_unlock.gif', IMAGE_UNLOCK) . '</a>'); } else { $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=preview') . '">' . tep_image_button('button_preview.gif', IMAGE_PREVIEW) . '</a> <a href="' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $nInfo->newsletters_id . '&action=lock') . '">' . tep_image_button('button_lock.gif', IMAGE_LOCK) . '</a>'); } $contents[] = array('text' => '<br>' . TEXT_NEWSLETTER_DATE_ADDED . ' ' . tep_date_short($nInfo->date_added)); if ($nInfo->status == '1') $contents[] = array('text' => TEXT_NEWSLETTER_DATE_SENT . ' ' . tep_date_short($nInfo->date_sent)); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr> </table></td> </tr> <?php } ?> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  2. gsmitty

    [CONTRIBUTION] CCGV (trad)

    Thnx again, Any better webhosting companies you can recommend. I have read the posting and never found answer that works for ssl and or Yahoo. Seem to keep me going around and around. My best option is to use a gateway with it's own ssl and drop the CCGV. nobody seems to be able to hit the issue on the head... thnx for your time
  3. gsmitty

    [CONTRIBUTION] CCGV (trad)

    Hi, Thanks for the heads-up - I don't recall i mad any changes to the tables and if I remove the CCGV(TRAD) i Can complete the sale. Also not sure if this does effect the issue, but I am having an issue getting ssl set-up and working thru Yahoo webhosting any ideas?
  4. gsmitty

    [CONTRIBUTION] CCGV (trad)

    Hi, I just installed the lastest CCGV(Trad) veri - No apparent install issue, but during testing I see only the TOP header, the leftside on the checkout_shipping.php page. Missing the center shipping content and the bottom footer. Greg Thnx for any help
  5. gsmitty

    CCGV 5.15a

    Whom would you recommend for hosting? Yahoo SSL is causing issues
  6. gsmitty

    Missing payment edit

    I installed CCGV 5.15a w/ CCE and Paypal IPN and now I cannot edit ANY of the payment options. Has anyone ever heard of this? Clue missing the portion in the configuration section below payment choices i.e. Module Directory: /shop/includes/modules/payment/
  7. gsmitty

    CCGV 5.15a

    Thnx for your help, another question I installed the mod's for Paypal IPN and CCE, when I did this, you no longer can edit any of the payment options. also it is missing Module Directory: /shop/includes/modules/shipping/ from the bottom. The SSl is going thru Yahoo , heard of any issues with them?
  8. gsmitty

    CCGV 5.15a

    Yes the shipping files are installed <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?>
  9. gsmitty

    CCGV 5.15a

    I do get the left side, but the middle is blank - I will re-install payment files, also what does the paypal IPN do for me or my customer?
  10. gsmitty

    CCGV 5.15a

    On the issue you see, what would you suggest? Also I had an issue with the payment section in ADMIN - Only could see the modules, but unable to edit? Any ideas?
  11. gsmitty

    CCGV 5.15a

    This is the whole code: <?php /* $Id: checkout_shipping.php,v 1.16 2003/07/24 23:03:53 Strider Exp $ $Id: checkout_shipping.php,v 1.16 2003/06/09 23:03:53 hpdl Exp $ $Id: checkout_shipping.php,v 1.9.2.2 2003/05/13 22:27:48 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require('includes/classes/http_client.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // if no shipping destination address was selected, use the customers own address as default if (!tep_session_is_registered('sendto')) { tep_session_register('sendto'); $sendto = $customer_default_address_id; } else { // verify the selected shipping address $check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$sendto . "'"); $check_address = tep_db_fetch_array($check_address_query); if ($check_address['total'] != '1') { $sendto = $customer_default_address_id; if (tep_session_is_registered('shipping')) tep_session_unregister('shipping'); } } require(DIR_WS_CLASSES . 'order.php'); $order = new order; // register a random ID in the session to check throughout the checkout procedure // against alterations in the shopping cart contents if (!tep_session_is_registered('cartID')) tep_session_register('cartID'); $cartID = $cart->cartID; // if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed // ###### Added CCGV Contribution ######### // if ($order->content_type == 'virtual') { if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') ) { // ###### End Added CCGV Contribution ######### if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); // load all enabled shipping modules require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) { $pass = false; switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) { $pass = true; } break; case 'international': if ($order->delivery['country_id'] != STORE_COUNTRY) { $pass = true; } break; case 'both': $pass = true; break; } $free_shipping = false; if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php'); } } else { $free_shipping = false; } // process the selected shipping method if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') ) { if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } } } else { tep_session_unregister('shipping'); } } } else { $shipping = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } } // get all available shipping quotes $quotes = $shipping_modules->quote(); // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); ?> <!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; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('checkout_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_ADDRESS; ?></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><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><?php echo '<b>' . TITLE_SHIPPING_ADDRESS . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if (tep_count_shipping_modules() > 0) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_METHOD; ?></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"> <?php if (sizeof($quotes) > 1 && sizeof($quotes[0]) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_METHOD; ?></td> <td class="main" width="50%" valign="top" align="right"><?php echo '<b>' . TITLE_PLEASE_SELECT . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif ($free_shipping == false) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_SHIPPING_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } if ($free_shipping == true) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2" width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)"> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%"><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field('shipping', 'free_free'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { $radio_buttons = 0; for ($i=0, $n=sizeof($quotes); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($quotes[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><?php echo $quotes[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="75%"><?php echo $quotes[$i]['methods'][$j]['title']; ?></td> <?php if ( ($n > 1) || ($n2 > 1) ) { ?> <td class="main"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></td> <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td> <?php } else { ?> <td class="main" align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td> <?php } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></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><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<b>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td> <td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_FINISHED; ?></td> </tr> </table></td> </tr> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  12. gsmitty

    CCGV 5.15a

    Here is the sourcecode fro that page <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Eclipse Computers</title> <base href="http://www.eclipsecomputers.org/shop/"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <!-- <table cellspacing=0 cellpadding=0 width=177 align=center> <form name="manufacturers" action="http://www.eclipsecomputers.org/shop/index.php" method="get"> <tr><td colspan=2><b>Search by manufacturers:</b></td></tr> <tr><td height=2 colspan=2></td></tr> <tr><td colspan=2> <select name="manufacturers_id" onChange="this.form.submit();" size="1" class=se1><option value="129"></option><option value="35">ABit</option><option value="33">Acer</option><option value="26">Adaptec</option><option value="21">Adobe</option><option value="32">AG Neovo</option><option value="23">Ahanix</option><option value="118">Altec Lansing</option><option value="30">AMC</option><option value="20">AMD</option><option value="31">Amigo</option><option value="34">AOC</option><option value="24">Apex</option><option value="131">Apple</option><option value="27">Arctic Silver</option><option value="28">Argosy</option><option value="29">Arrow Micro</option><option value="36">ASRock</option><option value="22">Asus</option><option value="25">Athenatech</option><option value="120">ATI</option><option value="39">Bafo</option><option value="38">Belkin</option><option value="40">BenQ</option><option value="41">BFG</option><option value="37">Biostar</option><option value="42">Casetronic</option><option value="43">Chenro</option><option value="49">Cisco</option><option value="50">Clevo</option><option value="44">CNet</option><option value="46">Codegen</option><option value="51">Compal</option><option value="47">Cooler Master</option><option value="45">Creative Labs</option><option value="48">CTX</option><option value="52">D-Link</option><option value="54">DFI</option><option value="113">DRAM Master</option><option value="53">Dynatron</option><option value="55">ECS</option><option value="60">Elixir</option><option value="56">Encore</option><option value="58">Enlight</option><option value="115">Epson</option><option value="59">Evercase</option><option value="125">EVGA</option><option value="57">Ezonics</option><option value="61">Foxconn</option><option value="62">Fujitsu</option><option value="63">Gigabyte</option><option value="64">Globalwin</option><option value="65">HighPoint</option><option value="66">Hitachi</option><option value="116">HP</option><option value="67">Hynix</option><option value="68">Hyundai</option><option value="70">I Rocks</option><option value="72">iiyama</option><option value="69">In Win</option><option value="71">Infineon</option><option value="18">Intel</option><option value="121">Jaton</option><option value="75">KDS</option><option value="73">Keytronic</option><option value="74">Kingston</option><option value="15">Kodak</option><option value="119">LEC</option><option value="81">Lenovo</option><option value="79">Lexar</option><option value="117">Lexmark</option><option value="80">LG Electronics</option><option value="76">Linksys</option><option value="82">Lite-on</option><option value="77">Logitech</option><option value="78">LSI Logic</option><option value="126">Maxnote</option><option value="86">Maxtor</option><option value="128">Mcafee</option><option value="84">Media to go</option><option value="88">Micron</option><option value="87">Microsoft</option><option value="85">Mitsumi</option><option value="83">MSI</option><option value="90">Nanya</option><option value="91">NEC</option><option value="92">Netgear</option><option value="89">nMedia PC</option><option value="94">PCChips</option><option value="93">Philips</option><option value="95">Plextor</option><option value="124">PNY</option><option value="123">Powercolor</option><option value="97">Raidcore</option><option value="96">Raidmax</option><option value="103">Samsung</option><option value="102">Sandisk</option><option value="104">Seagate</option><option value="98">Shuttle</option><option value="100">Sony</option><option value="105">Soyo</option><option value="99">Supermicro</option><option value="101">SuperTalent</option><option value="130">Symantec</option><option value="109">Teac</option><option value="108">Thermaltake</option><option value="127">Toshiba</option><option value="107">Trendnet</option><option value="106">Tyan</option><option value="112">US Robotics</option><option value="111">Vantec</option><option value="114">Viewsonic</option><option value="110">Western Digital</option><option value="122">XFX</option></select> </td> </form> </table> --><style type="text/css"> <!-- body { background-image: url(); background-color: #FFFFFF; } .style1 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; color: #FF9933; font-weight: bold; } .style2 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 16px; color: #FF9933; } .style3 {color: #FF6633} .style4 {color: #FF0000} --> </style><title>Eclipse Computers</title> <table cellspacing=0 cellpadding=0 width=100% height=100%> <tr><td valign=top background="Drag to a file to choose it." class=bg1> <table cellspacing=0 cellpading=0 width=850 align=center border=0> <tr> <td colspan=2 height=32 align=right><div align="center"><span class=ch1><span class="style1">Welcome To Eclipse Computers</span><strong> Buy Online Or Call <span class="style2"> 1-888-596-0442</span></strong></span> </div></td> </tr> <tr><td width="196" valign=top><a href=http://www.eclipsecomputers.org/shop/index.php><img src=images/m02.gif width=196 height=54 border=0 align="top"></a> <td width="650" valign=top><a href=http://www.eclipsecomputers.org/shop/index.php><img src=images/b01.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/products_new.php><img src=images/b02.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/account.php><img src=images/b03.gif width=113 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/shopping_cart.php><img src=images/b04.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/checkout_shipping.php><img src=images/b05.gif width=111 height=48 border=0></a></td></tr> <tr><td colspan=2 height=65> <table width="863" cellpadding=0 cellspacing=0 style="padding-top: 5px"> <tr><td width=26></td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=156 style="padding-left: 14px"> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=en"><img src="includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=de"><img src="includes/languages/german/images/icon.gif" border="0" alt="Deutsch" title=" Deutsch " width="24" height="15"></a> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=es"><img src="includes/languages/espanol/images/icon.gif" border="0" alt="Espa?ol" title=" Espa?ol " width="24" height="15"></a> </td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=143 style="padding-left: 14px"> <form name="currencies" action="http://www.eclipsecomputers.org/shop/checkout_shipping.php" method="get"><select name="currency" onChange="this.form.submit(); "class=se style="width:110px; font-size: 9px" ><option value="USD" SELECTED>US Dollar</option><option value="EUR">Euro</option></select></form> </td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=524 style="padding-left: 14px"> <table width="518" cellpadding=0 cellspacing=0> <tr><td width="516"><img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/specials.php class=ml1>specials</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/advanced_search.php class=ml1>search</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/contact_us.htm class=ml1>contact us</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <span class="style4"><B><Blink><a href=http://www.eclipsecomputers.org/shop/account.php class=style4>create an account</a></Blink></B></span> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/login.php class=style3>customer login</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/logoff.php class=style3>customer logout</a> </td> </tr> <tr><td height=3></td></tr> <tr><td class=ch4>now in your cart <a href=http://www.eclipsecomputers.org/shop/shopping_cart.php>2 items</a></td></tr> </table> </td></tr> </table> </td></tr> </table> <table cellspacing=0 cellpadding=0 width=100%> <tr><td width=32% bgcolor=#FFFFFF height=6 align=right valign=bottom> </td> <td width=67%></td></tr> <tr><td width=32% height=1></td> <td width=67%></td></tr> <tr><td height=13></td></tr> </table> </td></tr> <tr><td height=100% valign=top align=center> <table cellspacing=0 cellpadding=0 width=755 align=center> <tr><td width=173 valign=top background="Drag to a file to choose it." style="padding-left: 23px"> <div align="left"></div> <table cellspacing=0 cellpadding=0 width=151> <tr><td height=10></td></tr> <tr><td class=ch2> product categories</td></tr> <tr><td height=7></td></tr> <tr><td bgcolor=#747474 height=4></td></tr> <tr><td height=17></td></tr> <tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36>Computers</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_47>Barebone</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_39>Case</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_40>CPU</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_43>Hard Drives</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_120>Input Devices</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_50>Memory</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_41>Monitor / LCD</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_49>Motherboard</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_48>Multimedia</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_45>Optical Drives</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_42>Printer</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_46>Video Card</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_21>Desktops</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_23>Laptops</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37>Electronics</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37_136>Accessories</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37_34>MP3 Players</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61>Refurbished</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_138>Misc</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_62>Monitor / LCD</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_137>Printers</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38>Software</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_53>Operating System</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_55>Games</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_54>Productivity</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_56>Utilities</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_128>Anti-Virus</a></td></tr><tr><td height=1></td></tr> <tr><td height=1></td></tr> <tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/products_new.php class=ml2>More</a></td></tr> <tr><td height=32></td></tr> <tr><td class=ch2> recent top products</td></tr> <tr><td height=7></td></tr> <tr><td bgcolor=#747474 height=4></td></tr> <tr><td height=16></td></tr> <tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml4 href=http://www.eclipsecomputers.org/shop/product_info.php?products_id=176>Intel Pentium D 820 ..</a></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml4 href=http://www.eclipsecomputers.org/shop/product_info.php?products_id=95>Logitech QuickCam M</a></td></tr><tr><td height=1></td></tr> <tr><td height=7></td></tr> </table> </td> <td width=559 valign=top><p> </p> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- left_navigation //-->
  13. gsmitty

    CCGV 5.15a

    Hello I installed CCGV 5.15a to an existing site, The install went well with no problems, except the payment section wouldn't allow or give the option to edit. The Admin section had all the setting and a created a Gift Voucher and a Coupon. I went to tes thru my site and started to go thru checkout and it seems to BLANK screen on the checkout_shipping page. Thnx for helping Greg
  14. gsmitty

    CCGV 5.15a

    Hello I installed CCGV 5.15a to an existing site, The install went well with no problems, except the payment section wouldn't allow or give the option to edit. The Admin section had all the setting and a created a Gift Voucher and a Coupon. I went to tes thru my site and started to go thru checkout and it seems to BLANK screen on the checkout_shipping page. Thnx for helping Greg
  15. gsmitty

    CCGV 5.15a

    Hello I installed CCGV 5.15a and it installed with no errors, but when i test. The page is blank? Please assistance would really be helpful
×