public function testRollover() { print_r(rollover(array(array('11', '21', '31', '41'), array('12', '22', '32', '42')))); }
function show_marker($showMarkFlag, $marksdata, $i, $state) { global $perlink, $strTitle, $base, $rollover; $marksdata[$i][1] = str_replace('_URL_', $perlink, $marksdata[$i][1]); $marksdata[$i][1] = str_replace('_TITLE_', $strTitle, $marksdata[$i][1]); if ($showMarkFlag[$i] == 1) { $intmarks .= "<a style='text-decoration:none;' href='" . $marksdata[$i][1] . "'>"; if ($state[2]) { $icon = $marksdata[$i][0] . ".png"; $icon_grey = $marksdata[$i][0] . "_grey.png"; $intmarks .= "<img " . rollover($base, $icon, $icon_grey, $rollover) . " style='margin:0px 5px; ' alt='" . $marksdata[$i][0] . "' title='" . $marksdata[$i][0] . "'/>"; } else { $intmarks .= $marksdata[$i][0] . " "; } $intmarks .= "</a>"; } return $intmarks; }