Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

DIR_WS_IMAGES syntax for 2 or more images


johnnykalsi

Recommended Posts

Cannot figure something out.

I want to add 2 pictures to the footer, one below another

 

Pic1

Pic2

 

This is my code:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<td valign="left">

<?php

echo tep_image(DIR_WS_IMAGES . 'image1.gif', 'my ALT text', '100', '150') . <br>

(DIR_WS_IMAGES . 'image2.gif', 'my ALT text', '100', '150');

?>

</td>

</table>

 

Is the above syntax correct ? When I use the above, the footer does not even show up on my pages.

 

Thanks

Johnny

Link to comment
Share on other sites

Can anyone please please tell me if this syntax is correct for the

catalog/includes/boxes/information.php

 

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>')

. tep_image(DIR_WS_IMAGES . 'secure-horz.gif', 'Secure Shopping');

 

new infoBox($info_box_contents);

?>

 

Can I just add the images like this...don't think so, cuz when I do, all I get inside the box is

 

AA

 

Cannot understand that...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...