if ($locations[0]->name == null && $_GET['n'] != null) { $locations[0]->name = fixSearchString($_GET['n']); } } //$affiliateDiv = new Div(null, "noselect", "font-size:7pt;color:#CCCCCC;", "(not affiliated with Google)"); //$poweredByDiv->addDataElement($affiliateDiv); echo $linksDiv->toString(); ?> <table id="header"> <tr> <?php $logoDiv = new Div(null, "logo", new Link($link, new Image("logo", "images/{$logo}", "Go To {$link}", "55", "150"))); $headerLogoTD = new Cell("header_logo", null, null, $logoDiv); $sloganDiv = new Div("slogan", null, $slogan); $headerLogoTD->addData($sloganDiv); echo $headerLogoTD->toString(); ?> <td width="100%"> <div id="printheader"></div> <table class="form" width="100%"> <tr> <td class="menu"> <?php if ($type == 's2s') { $s2s = "selected"; } else { if ($type == 'location') { $station = "selected"; } else { $dir = "selected"; }
<script type="text/javascript" src="/js/map.js"></script> <title><?php echo $head_title . $slogan; ?> </title> </head> <body onresize="mapResize()"> <?php echo $linksDiv->toString(); ?> <table id="header"><tr> <?php $logo_img = new Image("logo", null, "images/logo.png", "transitcompass", null, null); $logo_link = new Link($link, $logo_img); $logo_data = new Cell("logo", null, "color:#008000", $logo_link); echo $logo_data->toString(); ?> </tr> </table> <!-- end header table --> <!--<table id="headertitle"> <tr><td class="title"><?php #echo $title; ?> </td><td id="toggle"> </td></tr> </table>--> <table id="maptable" style="font-size: 12px;"> <tr> <td style="vertical-align: top;width: 300px"> <?php $cities_link = array(); $cities_link[] = "transitcompass.com/nyc";