Posted by Anonymous Wed 28th Feb 2007 15:58 - Syntax is PHP - 40 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
-
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
"http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-
-
"Content-Type" content="text/html; charset=UTF-8" />
-
SalesTrak CRM Components -
"icon" href="/favicon.ico" type="image/x-icon" />
-
"shortcut icon" href="/favicon.ico" type="image/x-icon" />
-
"stylesheet" type="text/css" href="salestrak.css" />
-
-
-
var djConfig={
-
isDebug: true,
-
debugAtAllCosts:false,
-
googleMapKey: "ABQIAAAAx4kyC7m2EBw2DnZY_NviwhRN5D1cnC1q4IlEuxGq1eAgTGPsphRskYFvx4D6HQg4TbW35CAi4WeXQg"
-
};
-
-
-
-
dojo.require("dojo.io.*");
-
dojo.require("dojo.lfx.*");
-
dojo.require("dojo.lfx.rounded");
-
dojo.require("dojo.widget.Button");
-
dojo.require("dojo.widget.DebugConsole");
-
//dojo.require("dojo.widget.validate");
-
dojo.require("dojo.widget.GoogleMap");
-
dojo.hostenv.writeIncludes();
-
-
-
-
-
/* Styles */
-
form{width:380px;}
-
form label{width:150px;display:block;float:left; font:normal normal normal 13px arial, helvetica, sans-serif;}
-
form input[type=text]{width:200px;display:block;float:left;height:16px;}
-
form div{padding:5px;height:20px;}
-
-
div#map{display:none;width:400px;height:300px;position:absolute;top:100px;left:200px;z-index:2;border:1px solid #ccc;padding:10px;background-color:#fff;}
-
div#mapTest{z-index:5;height:300px;width:400px;}
-
-
-
-
-
-
"body">
-
-
"addressForm">"addr1_bind">"text" name="addr1" id="addr1" value=""onfocus="dojo.html.setStyle(dojo.byId('addr1_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('addr1_bind'),'background-color','transparent')"/>"addr2_bind">"text" name="addr2" id="addr2" value=""onfocus="dojo.html.setStyle(dojo.byId('addr2_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('addr2_bind'),'background-color','transparent')"/>"city_bind">"text" name="city" id="city" value=""onfocus="dojo.html.setStyle(dojo.byId('city_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('city_bind'),'background-color','transparent')"/>"state_bind">"text" name="state" id="state" value=""onfocus="dojo.html.setStyle(dojo.byId('state_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('state_bind'),'background-color','transparent')"/>"postcode_bind">"text" name="postcode" id="postcode" value=""onfocus="dojo.html.setStyle(dojo.byId('postcode_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('postcode_bind'),'background-color','transparent')"/>"country_bind">onfocus="dojo.html.setStyle(dojo.byId('country_bind'),'background-color','#FFFFA8')"onblur="dojo.html.setStyle(dojo.byId('country_bind'),'background-color','transparent')"/>"submit_bind">"submit" value="submit" name="submit" />
-
-
"map">"mapTest">function displayMap() {var map = dojo.widget.createWidget("googlemap",'',dojo.byId('mapTest'));// assign the data to the map and drawmap.render();}
-
-
-
-
-
-
-
$addr = '1 St James Square, Hoyland, Barnsley, UK';
-
//http://api.local.yahoo.com/MapsService/V1/geocode?appid=me&location=1%2BSt%2BJames%2BSquare%252C%2BHoyland%252C%2BBarnsley%252C%2BUK
-
include 'geocode.class.php';
-
$objGeo = new geocode;
-
$a = $objGeo->yahoo_geo($addr);
-
-
-
-
-
?>
PermaLink to this entry https://pastebin.co.uk/11169
Posted by Anonymous Wed 28th Feb 2007 15:58 - Syntax is PHP - 40 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0