Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prev Next links don't work in iE


Tom172

Recommended Posts

Hi

 

I am using 7071 Events Calendar Contribution.

 

In Firefox, Safari and Google Chrome everything works just fine. In MS Internet Explorer the links "previous month", "this month", and "next month" just lead nowhere else but to the Index page.

 

Any help with identifying the reason for this would be greatly appreciated. The following is the bodytext of my events_calendar.php.

 

 

 

<!-- body_text //-->
   <td width="100%" valign="top"><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"> </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><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>
  <td align="center">
<?php
   echo tep_draw_calendar($active_date, $calendar_events, 3, NULL, 0);
?>
  </td>
  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>
  <tr>
	<td colspan="3"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>
  </tr>
  <tr>
  <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>
         <td>
   <table border="0" width="100%" cellspacing="0" cellpadding="2">
   <tr>
    <td class="main" align="left">
	<a href="<?php echo tep_href_link(FILENAME_EVENTS_CALENDAR) . '?date=' .
                        mktime(0, 0, 0, date("m", $active_date)-1, date("d", $active_date),
                        date("Y", $active_date)) ?>"><?php echo CALENDAR_PREVIOUS_MONTH ?></a>
    </td>
    <td class="main" align="center">
<?php
	if (isset($HTTP_GET_VARS['date'])) {
       	   echo '<a href="' . tep_href_link(FILENAME_EVENTS_CALENDAR) .
		'">' . CALENDAR_CURRENT_MONTH . '</a>';
        } else {
	   echo CALENDAR_CURRENT_MONTH;
	}
?>
    </td>
    <td class="main" align="right">
	<a href="<?php echo tep_href_link(FILENAME_EVENTS_CALENDAR) . '?date=' .
                        mktime(0, 0, 0, date("m", $active_date)+1, date("d", $active_date),
                        date("Y", $active_date)) ?>"><?php echo CALENDAR_NEXT_MONTH ?></a>
    </td>
    </tr>
    <tr>
    <td class="main"> </td>
    <td class="main" align="center">
	<a href="<?php echo tep_href_link(FILENAME_EVENTS_CALENDAR) . '?print=1&date=' . $active_date; ?>
	"><?php echo CALENDAR_PRINT ?></a>
    </td>
    <td class="main"> </td>
    </tr>
    </table>
   </td>
   <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>
  </tr>
</table>
</td>
     </tr>

   </table></td>
<!-- body_text_eof //-->

 

 

 

Can anyone tell why this might happen?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...