Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

someone help me with this code.


Guest

Recommended Posts

I want to make this code so that I can just have it display at the top off my site without and infobox.

 

 

this is where i'm at right now.

 

 

<?php

//Check to see if support is available

$support_query = tep_db_query("select status from " . TABLE_LS_TECHS . " where status='yes' or status='busy' ");

$support_results = tep_db_num_rows($support_query);

 

 

if($support_results > 0) {

$contents[] = array('align' => 'center',

'text' => '<a href="' . FILENAME_LIVE_SUPPORT . '"><img src="images/lson.jpg" border=0></a>');

} else {

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '"><img src="images/lsoff.jpg" border=0></a>');

}

new infoBox($contents);

?>

 

 

I can get it at the top of my site but it has a weird border around it that I cannot get rid of.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...