aerosmith Posted February 17, 2009 Share Posted February 17, 2009 im trying to change a seting on css but for some reason the left side of a header is not showing up, http://spygeardepot.com/index.php the prize draw left section is missing anyone able to see why. Link to comment Share on other sites More sharing options...
aerosmith Posted February 17, 2009 Author Share Posted February 17, 2009 im trying to change a seting on css but for some reason the left side of a header is not showing up,http://spygeardepot.com/index.php the prize draw left section is missing anyone able to see why. here is the prize box settings if it matters // Prize Draw InfoBox mod class prizeDrawBoxHeading extends tableBox { function prizeDrawBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); } else { // $left_corner=tep_image(DIR_WS_IMAGES . 'box_title_left2.gif'); $right_corner=tep_image(DIR_WS_IMAGES . 'box_title_right2.gif'); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => '', 'text' => $left_corner), array('params' => ' class="prizeDrawBoxHeading"', 'text' => $contents[0]['text']. "<br>"), array('params' => '', 'text' => $right_corner)); $this->tableBox($info_box_contents, true); } } class prizedrawBox extends tableBox { function prizedrawBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->prizedrawBoxContents($contents)); $this->table_cellpadding = '0'; $this->table_parameters = 'class="prizeDrawInfoBoxNotice"'; $this->tableBox($info_box_contents, true); } function prizedrawBoxContents($contents) { $left_corner=tep_image(DIR_WS_IMAGES . 'box2_title_left_b.gif'); $right_corner=tep_image(DIR_WS_IMAGES . 'box2_title_right_b.gif'); $this->table_cellpadding = '0'; $this->table_parameters = ' class="prizeDrawInfoBoxNoticeContents"'; $info_box_contents = array(); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => ' class="prizedrawBoxContents"', 'text' => ' <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="prizeDrawInfoBoxNoticeContents"> '.(isset($contents[$i]['text']) ? $contents[$i]['text'] : '').' </td> </tr> </table> <table class="imgtep2" cellpadding="0" cellspacing="0" border="0"> <tr> <td> '.tep_image(DIR_WS_IMAGES . 'lbc1.gif').'<br /> </td> <td style="width:100%;">'.tep_draw_separator('spacer.gif', '1', '1').' <br /></td> <td> '.tep_image(DIR_WS_IMAGES . 'rbc1.gif').'<br /> </td> </tr> </table> ')); } return $this->tableBox($info_box_contents); } } // Prize Draw InfoBox mod - END Link to comment Share on other sites More sharing options...
aerosmith Posted February 17, 2009 Author Share Posted February 17, 2009 fixed it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.