They say a picture is worth a thousand words, so........
I have attached a JPEG of the error to the post if you need it to see the problem better
foreach( $roster->locale->act['item_bonuses_tabs'] as $catkey => $catval )
{
// check to see if the catagory has data don't display if none
if( isset($this->bonus[$catkey]) )
{
$cat = $this->bonus[$catkey];
$out .= '<div class="tab3" id="' . $catkey . '"><div class="container">';
$tabs += array($catkey => $catval);
//$tt = '';
foreach( $cat as $key => $value )
{
$value = explode(':', $value);
$out .= '<div class="membersRowRight' . (($row%2)+1) . '" style="white-space:normal;" '
. makeOverlib($this->bonus_tooltip[$catkey][$key], str_replace(array( 'XX', 'YY' ), $value, $key), '', 2) . '>'
. str_replace(array( 'XX', 'YY' ), $value, $key) . "</div>\n";
$row++;
}
$out .= '</div> </div>';
}
}
foreach( $roster->locale->act['item_bonuses_tabs'] as $catkey => $catval )
{
// check to see if the catagory has data don't display if none
if( isset($this->bonus[$catkey]) )
{
$cat = $this->bonus[$catkey];
$out .= '<div class="tab3" id="' . $catkey . '"><div class="container">';
$tabs += array($catkey => $catval);
$out .= "<table cellspacing=\"0\" width=\"100%\">\n";
foreach( $cat as $key => $value )
{
$value = explode(':', $value);
$out .= '<tr><td class="membersRowRight' . (($row%2)+1) . '" style="white-space:normal;" '
. makeOverlib($this->bonus_tooltip[$catkey][$key], str_replace(array( 'XX', 'YY' ), $value, $key), '', 2) . '>'
. str_replace(array( 'XX', 'YY' ), $value, $key) . "</td></tr>\n";
$row++;
}
$out .= "</table>\n";
$out .= '</div> </div>';
}
}
Users browsing this forum: No registered users and 1 guest