Advertise here

Permalink - http://pastebin.ws/64qlyi - PHP - 94.224.xx.xx - Posted February 3, 2010, 10:35 am

Validate HTML - Validate CSS

Reply tree

  • e01rf6 - 1 year, 2 months, 2 days, 6 hours, 20 minutes ago - by 86.11.xx.xx
    • 98nmth - 1 year, 1 month, 2 weeks, 1 day, 23 hours, 12 minutes ago - by 81.133.xx.xx
    • 5dg12g - 1 year, 1 week, 3 days, 4 hours, 20 minutes ago - by 64.255.xx.xx
    • 2iv8ql - 1 year, 1 week, 3 days, 4 hours, 20 minutes ago - by 64.255.xx.xx
    • 7trh2q - 4 months, 4 weeks, 1 day, 10 hours, 46 minutes ago - by 84.126.xx.xx
    • kdutd - 3 months, 3 weeks, 2 days, 15 hours, 11 minutes ago - by 71.250.xx.xx
      • 9ezl4w - 3 months, 3 weeks, 2 days, 15 hours, 10 minutes ago - by 71.250.xx.xx
    • 5nniq - 2 weeks, 5 days, 4 hours, 59 minutes ago - by 200.32.xx.xx
    • 64qlyi - 1 month, 1 week, 2 days, 9 hours, 54 minutes ago - by 94.224.xx.xx
systems@gravityus.com noc@gravityus.com jpaek@gravityus.com ppaik@gravityus.com forumadmin@gravityus.com community@gravityus.com caprivacy@gravityus.com rosepayment@gravityus.com privacy@gravityus.com ccas@gravityus.com
  1. <?php
  2. //*****************************************************************//
  3. // Pixie: The Small, Simple, Site Maker.                           //
  4. // ----------------------------------------------------------------//
  5. // Licence: GNU General Public License v3                          //
  6. // Title: Display Google Map.                                      //
  7. //*****************************************************************//
  8. $GOOGLEAPIKEY = "GOOGLEMAPSAPIKEY";
  9. ?>
  10.                                         <div id="block_google_map" class="block">
  11.                                                 <div class="block_header">
  12.                                                         <h4>Google Map</h4>
  13.                                                 </div>
  14.                                                 <div class="block_body">
  15.                                                         <div id="map_canvas"></div>
  16.                                                 </div>
  17.                                                 <div class="block_footer">
  18.                                                         <script type="text/javascript" src="http://www.google.com/jsapi?key=<? echo $GOOGLEAPIKEY; ?>"></script>
  19.                                                         <script type="text/javascript">
  20.                                                                 google.load("maps", "2", {"callback" : mapsLoaded});
  21.                                                                
  22.                                                                 function mapsLoaded() {
  23.                                                                         if (GBrowserIsCompatible()) {
  24.                                                                                 var map = new GMap2(document.getElementById("map_canvas"));
  25.                                                                                 map.setCenter(new GLatLng(37.4419, -122.1419), 13);
  26.                                                                         }
  27.                                                                 }
  28.                                                         </script>
  29.                                                 </div>
  30.                                         </div>