submit button

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

submit button

Post by trabiz »

Hello,

I would like to replace the image buttons with submit type, interactive buttons.
How may I alter this code;
$lc_text = '<a href="' . tep_href_link(FILENAME_SESSION_DETAILS, ($ecPath ? 'ecPath=' . $ecPath . '&' : '') . 'events_id=' . $listing['events_id']) . '">' . tep_template_image_button('button_select.gif', IMAGE_BUTTON_BUY_NOW) . '</a>&nbsp;';


And include this code to create the non image interactive button?
<input name="submit" type="submit" class="button_style" value="Buy Now" />

Thank you very kindly.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

Code: Select all

$lc_text = '<input type="submit" name="submit" class="button_style" value="Buy Now" '
         . 'onclick="window.location=\\''
         . tep_href_link(FILENAME_SESSION_DETAILS, ($ecPath ? 'ecPath='.$ecPath.'&' : '').'events_id='.$listing['events_id'])
         . '\\'" />';
// Change the double backslahes (\\) to single backslashes (\). I couldn't post this code with a single backslash.
OR

Code: Select all

$lc_text = '<form action="'
         . tep_href_link(FILENAME_SESSION_DETAILS, ($ecPath ? 'ecPath='.$ecPath.'&' : '').'events_id='.$listing['events_id'])
         . '">'
         . '<input type="submit" name="submit" class="button_style" value="Buy Now" />'
         . '</form>';
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:38 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

Many, many thanks!
The first option was the charm!
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

I've tried to do the same here, but to no avail.
Could I trouble you one more time?
To alter this code
$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_template_image_button('button_select.gif', IMAGE_BUTTON_BUY_NOW) . '</a>&nbsp;';

Include this code to create non image button.
<input name="submit" type="submit" class="relco__button" value="Buy Now" />

Thanks so much
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

Replace line 3 in the first solution (or line 2 in the second solution) with

Code: Select all

         . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')).'action=buy_now&products_id='.$listing['products_id'])
Find

Code: Select all

class="button_style"
and replace it with

Code: Select all

class="relco__button"
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:39 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

Thank you for your help.
However, for some reason, it's not working with the second code snip.
I've changed the class style (just deciding what to call it).
But merging the two in the last example is not working.
I'll attempt to change the other buttons using your example.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

Your submit buttons should probably have different names. Also, since you are not actually submitting a form, you should be using type="button".

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:40 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

Please find enclosed, the code for the problem page.
The button_select.gif is near the bottom.
Can you see anything that would prevent replacing the image button with the <input type="button.... from working?
Though I've tried, I can not get it to work. Not only does it not show, but it cuts out the footer as well. AND, I have to reload a fresh copy of the file as reverting back does not correct the error.

<?php



$listing_split = new splitPageResults($listing_product_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id');

$product_rows_count=$listing_split->number_of_rows;
if(!$product_rows_count) return;
$list_box_contents = array();

for ($col=0, $n=sizeof($column_list); $col$n; $col++) {
switch ($column_list[$col]) {
case 'PRODUCT_LIST_MODEL':
$lc_text = TABLE_HEADING_MODEL;
$lc_align = '';
break;
case 'PRODUCT_LIST_NAME':
$lc_text = TABLE_HEADING_PRODUCTS;
$lc_align = '';
break;
case 'PRODUCT_LIST_MANUFACTURER':
$lc_text = TABLE_HEADING_MANUFACTURER;
$lc_align = '';
break;
case 'PRODUCT_LIST_PRICE':
$lc_text = TABLE_HEADING_PRICE;
$lc_align = 'right';
break;
case 'PRODUCT_LIST_QUANTITY':
$lc_text = TABLE_HEADING_QUANTITY;
$lc_align = 'right';
break;
case 'PRODUCT_LIST_WEIGHT':
$lc_text = TABLE_HEADING_WEIGHT;
$lc_align = 'right';
break;
case 'PRODUCT_LIST_IMAGE':
$lc_text = TABLE_HEADING_IMAGE;
$lc_align = 'center';
break;
case 'PRODUCT_LIST_BUY_NOW':
$lc_text = TABLE_HEADING_BUY_NOW;
$lc_align = 'center';
break;
}
if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {
$lc_text = tep_create_sort_heading($FREQUEST->getvalue('sort'), $col+1,$lc_text);
}
$list_box_contents[0][] = array('align' => $lc_align,
'params' => 'class="productListing-heading"',
'text' => '&nbsp;' . $lc_text . '&nbsp;');
}
if ($listing_split->number_of_rows > 0) {
$rows = 0;
$listing_query = tep_db_query($listing_split->sql_query);
while ($listing = tep_db_fetch_array($listing_query)) {
$rows++;
if (($rows/2) == floor($rows/2)) {
$list_box_contents[] = array('params' => 'class="productListing-even"');
} else {
$list_box_contents[] = array('params' => 'class="productListing-odd"');
}
$cur_row = sizeof($list_box_contents) - 1;
for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {
$lc_align = '';
switch ($column_list[$col]) {
case 'PRODUCT_LIST_MODEL':
$lc_align = '';
$lc_text = '&nbsp;' . $listing['products_model'] . '&nbsp;';
break;
case 'PRODUCT_LIST_NAME':
$lc_align = '';
if ($FREQUEST->getvalue('manufacturers_id')!='') {
$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $FREQUEST->getvalue('manufacturers_id') . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>';
} else {
$lc_text = '&nbsp;<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>&nbsp;';
}
break;
case 'PRODUCT_LIST_MANUFACTURER':
$lc_align = '';
$lc_text = '&nbsp;<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a>&nbsp;';
break;
case 'PRODUCT_LIST_PRICE':
//DiscountSpecials start
$lc_align = 'right';
if ($new_price = tep_get_products_special_price($listing['products_id'])) {
$lc_text = '<s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']),1,true) . '</s>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>&nbsp;';
//DiscountSpecials end
} else {
$lc_text = '' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']),1,true) . '&nbsp;';
}
break;
case 'PRODUCT_LIST_QUANTITY':
$lc_align = 'right';
$lc_text = '&nbsp;' . $listing['products_quantity'] . '&nbsp;';
break;
case 'PRODUCT_LIST_WEIGHT':
$lc_align = 'right';
$lc_text = '&nbsp;' . $listing['products_weight'] . '&nbsp;';
break;
case 'PRODUCT_LIST_IMAGE':
$lc_align = 'center';
if ($FREQUEST->getvalue('manufacturers_id')!='') {
$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $FREQUEST->getvalue('manufacturers_id') . '&products_id=' . $listing['products_id']) . '">' . tep_product_small_image($listing['products_image_1'], $listing['products_title_1']) . '</a>';
} else {
$lc_text = '&nbsp;<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_product_small_image($listing['products_image_1'], $listing['products_title_1']) . '</a>&nbsp;';
}
break;
case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_template_image_button('button_select.gif', IMAGE_BUTTON_BUY_NOW) . '</a>&nbsp;';
break;
}
$list_box_contents[$cur_row][] = array('align' => $lc_align,
'params' => 'class="productListing-data" width="100"',
'text' => $lc_text);
}
}

new productListingBox($list_box_contents);
} elseif($FREQUEST->getvalue('page')!='' && $FREQUEST->getvalue('page','int')<=1) {
// $list_box_contents = array();
$list_box_contents[1] = array('params' => 'class="productListing-odd"');
$list_box_contents[1][] = array('align' => 'center',
'params' => ' colspan=5 class="productListing-data"',
'text' => TEXT_NO_PRODUCTS);

new productListingBox($list_box_contents);
}
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

If you count only lines with code on them, the sixth line down:

Code: Select all

for ($col=0, $n=sizeof($column_list); $col$n; $col++) {
has an error. I think it is missing a less-than sign.

Code: Select all

for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {
Did this code work before you started editing it?

You can put

Code: Select all

error_reporting(E_ALL);
at the top of the script and see if you get any errors.

Also, see what the HTML source code looks like in your browser. Maybe there are some quotes that need to be escaped.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:41 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

Yes, the code, as posted works.
Oddly, when I added the < sign, it broke the same way as when I edited the button. And, it wouldn't revert. Had to reload a fresh copy.
Adding the error code, same result.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

There's no way that code should have been working without the less-than sign.

What about that HTML source code? I would like to see what the hrefs of the hyperlinks look like.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:41 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

I couldn't post all of the html source as limit of 60000 characters has been exceeded.
Please disregard "test".
It seems that any change that I make, even if I revert, the page breaks.
The < sign absolutely kills the page. Even if I remove an uncomment and put it back, the page breaks and I have to load a fresh copy to get it to work again. Very strange.
All other pages work well after modifying.

<tr>
<td

width="100" style="font-size:10pt">Shopping Cart</a></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0"

cellpadding="1" cellspacing="0" width="100%">
<tr>
<td

width="100" nowrap="nowrap"><a href=http://test/testshopping_cart.php>View Cart</a></td>
<td

width="100" nowrap="nowrap"><a href=http://test/testcheckout_shipping.php>Checkout</a></td>
<td

align="right" nowrap="nowrap"><a href=http://test/testshopping_cart.php>0 Item(s)</a></td>


<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table CELLSPACING="0" CELLPADDING="0" BORDER="0" width="796" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0"

id="headerNavigation">
<tr height="25">
<td width="4" valign="middle"

class="cell_background_navig_left">&nbsp;</td>
<td valign="middle" class="cell_background_navig">
<table width="100%" border="0" cellspacing="0"

cellpadding="0">
<tr>
<td valign="middle">


&nbsp;<a href="http://test/test" class="headerNavigation">Home</a>&nbsp;&nbsp;<img

src="templates/images/icon_navig.gif" border="0" alt="" width="11" height="11" align=absmiddle>&nbsp;&nbsp;<a

href="http://test/testindex.php" class="headerNavigation">Shop</a>&nbsp;&nbsp;<img src="templates/images/icon_navig.gif"

border="0" alt="" width="11" height="11" align=absmiddle>&nbsp;&nbsp;<a href="http://test/testadvanced_search.php"

class="headerNavigation">Advanced Search</a>&nbsp;&nbsp;<img src="templates/images/icon_navig.gif" border="0" alt=""

width="11" height="11" align=absmiddle>&nbsp;&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search"

class="headerNavigation">Search Results</a>

</td>
</tr>
</table>
</td>
<td width="4" valign="middle"

class="cell_background_navig_right">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="cell_border_gray"

width="1"></td>
<td id="boxes" valign="top" width="175">
<table border="0" width="100%" cellspacing="0" cellpadding="0"

id="infoboxes">
<!-- left_navigation //-->
<!-- service categories //-->
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Services</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?secPath=1>Tennis</a></td>
</tr>
<tr>
<td height="5"></td>
</tr></tr></table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

<!-- service categories_eof //-->
<!-- categories //-->
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Products</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?cPath=1>CD</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?cPath=2>DVD and Video</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?cPath=3>Clothes</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?cPath=4>Merchandise</a></td>
</tr>
<tr>
<td height="5"></td>
</tr></table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- categories_eof //-->
<!-- subscription categories //-->
<tr>
<td align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Subscription</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?sucPath=1>Dance</a></td>
</tr>
<tr>
<td height="5"></td>
</tr></table></td>
</tr>
</table>
</td> </tr>
</table>


</td>
</tr>
</table>
</td>
</tr>
<!-- categories_eof //--><!-- whats_new //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Latest products</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table border="0" cellspacing="2" cellpadding="5"><tr><td class="infoBoxNavigationContent"

align="center" ><a href="http://test/testproduct_info.php?products_id=12"><img src="images/small/colours.jpg" border="0"

alt="Colours CD" title=" Colours CD " width="100" height="99"></a><br><a

href="http://test/testproduct_info.php?products_id=12">Colours CD</a><br><font

class="productSpecialPrice">$26.32</font></td></tr></table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
<!-- whats_new_eof //-->
<!-- notifications //-->
<!-- notifications_eof //-->
<!-- specials //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">featured</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table cellpadding="0" cellspacing="0"><tr><td class="infoBoxNavigationContent" align="center"><a

href="http://test/testproduct_info.php?products_id=8"><img src="images/big/ten_tenors.jpg" border="0" alt="Ten Tenors CD"

title=" Ten Tenors CD " width="100" height="88"></a><br><a href="http://test/testproduct_info.php?products_id=8">Ten Tenors

CD</a><br><font class="productSpecialPrice">$26.32</font></td></tr></table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
<!-- specials_eof //-->
<!-- specials //-->
<!-- specials_eof //-->
<!-- categories //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Information</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?stcPath=1>Shipping & Returns</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?stcPath=2>Privacy Notice</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?stcPath=3>Conditions of Use</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr>
<td width="1"></td><td class="infoBoxNavigation" style="padding-left:10"> <a

href=http://test/testindex.php?stcPath=4>About us</a></td>
</tr>
<tr>
<td height="5"></td>
</tr><tr><td width="10"></td><td class="infoBoxNavigation">&nbsp;&nbsp;&nbsp;<a

href="contact_us.php">Contact Us</a></td></tr><tr><td height="5"></td></tr></table></td>
</tr>
</table>
</td> </tr>
</table>

</td>
</tr>
<!-- categories_eof //-->
<!-- faqdesk //-->
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td>
</td>
</tr>
</table>

<!-- faqdesk_eof //-->
</td>
</tr>


<!-- affiliate_system //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Affiliate Info</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td width="1"></td><td class="infoBoxNavigation"><img

src="/images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td><td class="infoBoxNavigation"><a

href=http://test/testaffiliate_info.php> Affiliate Information</a></td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td width="1"></td><td class="infoBoxNavigation"><img

src="/images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td><td class="infoBoxNavigation"><a

href=http://test/testaffiliate_affiliate.php> Affiliate Log In</a></td>
</tr>
<tr>
<td height="5"></td>
</tr>
</table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
<!-- affiliate_system_eof //-->
<!-- reviews //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeading" valign="middle" height="25" width="100%" ><img src="/images/pixel_trans.gif" border="0"

alt="" width="10" height="5">Reviews</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table border="0" cellspacing="2" cellpadding="5"><tr><td class="infoBoxNavigation" ><div

align="center"><a href="http://test/testproduct_reviews_info.php?products_id=3&reviews_id=1"><img

src="images/small/alb_tenology.jpg" border="0" alt="Tenology CD" title=" Tenology CD " width="100" height="95"></a></div><a

href="http://test/testproduct_reviews_info.php?products_id=3&reviews_id=1">This is a very technical CD ..</a><br><div

align="center"><img src="images/stars_5.gif" border="0" alt="5 of 5 Stars!" title=" 5 of 5 Stars! " width="59"

height="11"></div></td></tr></table></td>
</tr>
</table>
</td> </tr>
</table>
</td>
</tr>
<!-- reviews_eof //-->

<!-- left_navigation_eof //-->
</table>
</td>
<td class="cell_border_gray" width="1"></td>
<script

language="javascript">
function changeMenuStyle(element,mode){
if (mode==1){
element.className="menuOver";
} else if (mode==2) {
element.className="mainB";
} else if (mode==3) {
element.className="footerMenuOver";
} else if (mode==4) {
element.className="main";
}
}
</script>
<!-- content //-->
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">


<table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentBack">
<tr>
<td id="content_text" valign="top">
<table border="0" width="100%"

cellpadding="4" cellspacing="0">
<tr>
<td valign="top">
<table border="0"

width="100%" cellspacing="0" cellpadding="0">
<!--Lango Added for Template MOD: BOF-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxHeadingPage" height=25 width="100%" ><table border=0 cellpadding=0 cellspacing="5"

valign="middle"><tr><td valign="middle" class="infoBoxHeadingPage" align="left" valign="middle"><img

src="templates/images/arrow_1.gif" border="0" alt="" width="15" height="15" align="absmiddle">&nbsp;Items meeting the search

criteria</td></tr></table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td >
<Div id="navtext"></Div>
</td>
</tr>
<tr><td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="productListing-heading">&nbsp;&nbsp;</td>
<td class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=2d" title="Sort products descendingly by Events" class="productListing-heading">Events+</a>&nbsp;</td>
<td align="right" class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>&nbsp;</td>
<td align="center" class="productListing-heading">&nbsp;Buy Now&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td class="productListing-odd"></td> </tr>
<tr>
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=2"><img src="images/top.jpg" border="0" alt="Intro to Dance" title="

Intro to Dance " width="100" height="80"></a></td>
<td align="left" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=2">Intro to Dance</a><br></td>
<td align="right" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=2">$25.00</a><br></td>
<td align="center" class="productListing-data" width="100"><input type="button" name="event_listing" class="button"

value="Buy Now" onclick="window.location='http://test/testsession_details.php?events_id=2'" /></td>
</tr>
<tr class="productListing-even">
<td class="productListing-even"></td> </tr>
<tr>
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=1"><img src="images/afl_grand_final_small.jpg" border="0" alt="Ten Tenors

at Carnegie Hall" title=" Ten Tenors at Carnegie Hall " width="100" height="80"></a></td>
<td align="left" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=1">Ten Tenors at Carnegie Hall</a><br></td>
<td align="right" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsession_details.php?events_id=1">$100.00</a><br></td>
<td align="center" class="productListing-data" width="100"><input type="button" name="event_listing" class="button"

value="Buy Now" onclick="window.location='http://test/testsession_details.php?events_id=1'" /></td>
</tr>
</table>
</td></tr>
<tr><td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="productListing-heading">&nbsp;&nbsp;</td>
<td class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=2d" title="Sort products descendingly by Subscriptions" class="productListing-heading">Subscriptions+</a>&nbsp;</td>
<td align="right" class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>&nbsp;</td>
<td align="center" class="productListing-heading">&nbsp;Buy Now&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=2"><img src="images/leotard2.jpg" border="0" alt="Casual Dance

Subscription" title=" Casual Dance Subscription " width="100" height="80"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=2">Casual Dance Subscription</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">&nbsp;$100.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><input type="button" name="subscription_listing"

class="button" value="Buy Now" onclick="window.location='http://test/testsubscription_info.php?subscription_id=2'" /></td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=3"><img src="images/hands.jpg" border="0" alt="Digital

Subscription" title=" Digital Subscription " width="100" height="80"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=3">Digital Subscription</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">&nbsp;$100.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><input type="button" name="subscription_listing"

class="button" value="Buy Now" onclick="window.location='http://test/testsubscription_info.php?subscription_id=3'" /></td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=4"><img src="images/male_unitard.jpg" border="0" alt="Seasonal

Dance Subscription" title=" Seasonal Dance Subscription " width="100" height="80"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a

href="http://test/testsubscription_info.php?subscription_id=4">Seasonal Dance Subscription</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">&nbsp;$100.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><input type="button" name="subscription_listing"

class="button" value="Buy Now" onclick="window.location='http://test/testsubscription_info.php?subscription_id=4'" /></td>
</tr>
</table>
</td></tr>
<tr><td>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="productListing-heading">&nbsp;&nbsp;</td>
<td align="left" class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=2d" title="Sort products descendingly by Services" class="productListing-heading">Services+</a>&nbsp;</td>
<td align="right" class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>&nbsp;</td>
<td align="center" class="productListing-heading">&nbsp;Buy Now&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testservices_info.php?service_id=1"><img src="images/tennis.jpg" border="0" alt="Sunnyside Tennis" title="

Sunnyside Tennis " width="100" height="75"></a>&nbsp;</td>
<td align="left" class="productListing-data" width="100">&nbsp;<a

href="http://test/testservices_info.php?service_id=1">Sunnyside Tennis</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">&nbsp;$0.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><br><input type="button" name="service_listing" class="button"

value="Buy Now" onclick="window.location='http://test/testservices_info.php?service_id=1'" /></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="productListing-heading">&nbsp;&nbsp;</td>
<td class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=2d" title="Sort products descendingly by Products" class="productListing-heading">Products+</a>&nbsp;</td>
<td align="right" class="productListing-heading">&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&pag

e=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>&nbsp;</td>
<td align="center" class="productListing-heading">&nbsp;Buy Now&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=6"><img src="images/big/navy_blue_10_cap.jpg" border="0" alt="Blue 10 Cap"

title=" Blue 10 Cap " width="100" height="98"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=6">Blue 10

Cap</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$30.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=6"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=4"><img src="images/small/colours_video.jpg" border="0" alt="Colours - The

Video" title=" Colours - The Video " width="58" height="100"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=4">Colours - The

Video</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$40.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=4"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=12"><img src="images/small/colours.jpg" border="0" alt="Colours CD"

title=" Colours CD " width="100" height="99"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=12">Colours

CD</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$26.32&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=12"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=7"><img src="images/big/larger_than_life.jpg" border="0" alt="Larger than

Life CD" title=" Larger than Life CD " width="100" height="148"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=7">Larger than

Life CD</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$23.32&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=7"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=10"><img src="images/big/larger_than_life.jpg" border="0" alt="Larger Than

Life DVD" title=" Larger Than Life DVD " width="100" height="148"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=10">Larger Than

Life DVD</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$30.40&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=10"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=14"><img src="images/small/poster.jpg" border="0" alt="Signed Poster -

Larger Than Life" title=" Signed Poster - Larger Than Life " width="70" height="100"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=14">Signed Poster

- Larger Than Life</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$30.00&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=14"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=5"><img src="images/big/t_shirt.jpg" border="0" alt="Signed T-Shirt"

title=" Signed T-Shirt " width="100" height="84"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=5">Signed

T-Shirt</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$36.36&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=5"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=9"><img src="images/small/stubby_holder.jpg" border="0" alt="Stubby

Holder" title=" Stubby Holder " width="100" height="75"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=9">Stubby

Holder</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$6.50&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=9"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-odd">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=8"><img src="images/big/ten_tenors.jpg" border="0" alt="Ten Tenors CD"

title=" Ten Tenors CD " width="100" height="88"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=8">Ten Tenors

CD</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$26.32&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=8"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
<tr class="productListing-even">
<td align="center" class="productListing-data" width="100">&nbsp;<a

href="http://test/testproduct_info.php?products_id=13"><img src="images/big/tennorissimo.jpg" border="0" alt="Tennorissimo

CD" title=" Tennorissimo CD " width="100" height="100"></a>&nbsp;</td>
<td class="productListing-data" width="100">&nbsp;<a href="http://test/testproduct_info.php?products_id=13">Tennorissimo

CD</a>&nbsp;</td>
<td align="right" class="productListing-data" width="100">$26.32&nbsp;</td>
<td align="center" class="productListing-data" width="100"><a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&action=buy_now&products_id=13"><img src="/templates/images/buttons/english/button_select.gif" border="0" alt="Buy Now"

title=" Buy Now "></a>&nbsp;</td>
</tr>
</table>
</td></tr>
<script>document.all.navtext.innerHTML='<table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td

class="smallText" width="50%">Display 1 to 18 Items ( of 2 Events,3 Subscriptions,1 Services,12 Products) </td><td

class="smallText" align="right" width="35%">Result Pages:</td><td class="pageNavigation" align="center" width="15%">

&nbsp;<b>1</b>&nbsp;&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&page=2" class="pageResults" title=" Page 2 ">2</a>&nbsp;&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&page=2" class="pageResults" title=" Next Page

"><u>[Next&nbsp;>>]</u></a>&nbsp;</td></tr></table>'</script><Tr><td><table border="0" cellspacing="0" cellpadding="2"

width="100%"><tr><td class="smallText" width="50%">Display 1 to 18 Items ( of 2 Events,3 Subscriptions,1 Services,12

Products) </td><td class="smallText" align="right" width="35%">Result Pages:</td><td class="pageNavigation" align="center"

width="15%"> &nbsp;<b>1</b>&nbsp;&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&page=2" class="pageResults" title=" Page 2 ">2</a>&nbsp;&nbsp;<a

href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sor

t=2a&page=2" class="pageResults" title=" Next Page

"><u>[Next&nbsp;>>]</u></a>&nbsp;</td></tr></table></td></tr><tr><td><img src="/images/pixel_trans.gif" border="0"

alt="" width="100%" height="10"><td></tr> </table>
</td></tr>
<!--Lango Added for Template MOD: extrahtmloutput EOF-->
<tr>
<td><img src="/images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><img src="/images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td class="main">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="advanced_search_result_tpl" class="button"

value="Go Back"

onclick="window.location='http://test/testadvanced_search.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&head

er=Search'" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

<!-- Footer Links Start !-->


<tr id="gap" style="height:10" valign="bottom" >
<td valign="bottom" class="contentBack1">
<table cellpadding="0" cellspacing="0"

border="0" width="100%" >


<tr>
<td valign="top"><img

src="/images/pixel_trans.gif" border="0" alt="" width="1" height="20"></td>
</tr>



<tr >
<td

class="cell_background_footer1" valign="bottom">
<table

cellpadding="0" cellspacing="0" border="0" width="80%" align="center" id="title_search">
<tr>
<td

height="27" valign="middle"><img src="templates/images/arrow2.gif" border="0" alt="" width="15" height="15"></td>
<td

class="title_search" height="27" valign="middle" align="left"><a href=http://test/testindex.php?stcPath=1>Shipping &

Returns</a></td>
<td

height="27" valign="middle"><img src="templates/images/arrow2.gif" border="0" alt="" width="15" height="15"></td>
<td

class="title_search" height="27" valign="middle" align="left"><a href=http://test/testindex.php?stcPath=2>Privacy

Notice</a></td>
<td

height="27" valign="middle"><img src="templates/images/arrow2.gif" border="0" alt="" width="15" height="15"></td>
<td

class="title_search" height="27" valign="middle" align="left"><a href=http://test/testindex.php?stcPath=3>Conditions of

Use</a></td>
<td

height="27" valign="middle"><img src="templates/images/arrow2.gif" border="0" alt="" width="15" height="15"></td>
<td

class="title_search" height="27" valign="middle" align="left"><a href=http://test/testcontact_us.php>Contact Us</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>


<!-- Footer Links End !-->
</table>
</td>
</tr>
</table>
</td>
<!-- content_eof //-->
<script

language="javascript">
function move_cart(){
var count = 0;
if(document.getElementById("boxes") &&

document.getElementById("content_text"))
count = document.getElementById("boxes").offsetHeight

- document.getElementById("content_text").offsetHeight;
if(count>0){


if(document.getElementById("gap"))document.getElementById("gap").style.height=count;
}
}
</script>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" width="796" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td class="cell_background_footer">
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="3" align="right"><img src="templates/images/footer_left.gif" border="0" alt=""

width="3" height="26"></td>
<td class="main" nowrap>&nbsp;&nbsp;&nbsp;Friday April 10,

2009&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&

nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Last modified: April 07 2009. </td>
<td width="3"><img src="templates/images/footer_right.gif" border="0" alt="" width="3"

height="26"></td>
</tr>
</table>
</td>
</tr>
<tr height="50">
<td valign="top" bgcolor="F8F8F8">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td height="2" colspan="4"><img src="/images/pixel_trans.gif" border="0" alt="" width="1"

height="2"></td>
</tr>
<tr>
<td width="5"></td>
<!-- <td class="footerText" valign="top" colspan="2">Copyright &copy; 2005 - 2007 <font color="#0083B3"><a

class="footerText" style="color:#0083B3" href="http://test</a></font></td> !-->

<td class="footerText" align="center" colspan="4">
Copyright &copy 1989 - 2009<br><font color="#85C879"><b></b><a class="footerText"

style="color:#21409A" href="http://www.test.com">test</a></b></font></td>
<td width="5"></td>
</tr>
</table>
</td>
</tr>
</table>

<!-- footer_eof //--> </body>
</html><!-- Prepare Initial JS VALUES and default functions //-->
<script type="text/javascript">
function pageLoaded(){
}
</script>
<!-- JS VALUES //-->
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

Holy script!

All I needed was

Code: Select all

<input class="button" type="button" onclick="window.location='http://test/testsubscription_info.php?subscription_id=2'" value="Buy Now" name="subscription_listing"/>
and

Code: Select all

<a href="http://test/testadvanced_search_result.php?inc_service=1&inc_event=1&inc_subscription=1&inc_product=1&header=Search&sort=2a&action=buy_now&products_id=6"><img border="0" title="Buy Now " alt="Buy Now" src="/templates/images/buttons/english/button_select.gif"/></a>
I don't see anything in the URLs that would cause a problem.

This is a mystery. I'm out of ideas.

Just to confirm, the script does work if you use a backup copy, and the backup copy contains $col$n which is two variables that are not separated by any special character?

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:43 pm, edited 1 time in total.
trabiz
Forum Newbie
Posts: 10
Joined: Wed Apr 08, 2009 10:41 am

Re: submit button

Post by trabiz »

"Just to confirm, the script does work if you use a backup copy, and the backup copy contains $col$n which is two variables that are not separated by any special character?"

Correct.

For what it's worth, the script is part of Openfreeway shopping cart.
I have yet to receive an answer from their forum about this.
All else works as desired. Even individual product pages with modified code.
Ah well, I still have some hair left. I'll keep plugging along.
Thanks very much for your help.
Happy Easter - If you celebrate.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: submit button

Post by McInfo »

Happy Easter to you, too. I wish I could be more helpful.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:43 pm, edited 1 time in total.
Post Reply