Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't add and find...


jjanguda

Recommended Posts

I can't add a product since I added search box in header.php..

Here's the code.. catalog/includes/header.php

 

Can anyone find what the problem is..

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
  <td width="22%" class="headerNavigation"><?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onSubmit="return check_form(this);"') . tep_hide_session_id(); ?>
    <?php

echo '<table><tr><td>' . tep_draw_input_field('keywords', '', 'size="15" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '</td><td>' . tep_hide_session_id() . tep_image_submit('search.gif', BOX_HEADING_SEARCH) . '</td></tr></table>';



?>
  </td>
  <td width="78%"  valign="bottom" class="headerNavigation"><?php echo $breadcrumb->trail(' » '); ?> </td>
 </tr>


</table>
<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerError">
   <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td>
 </tr>
</table>
<?php
 }

 if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerInfo">
   <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>
 </tr>
</table>
<?php
 }
?>

 

 

thanks in advnace!!!

 

 

 

jjanguda

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...