Often just oem windows 7 serial a minor piece of technical advice will solve most software problems and it's important that your software run right. It helps, purchase windows 7 enterprise, in effective management of escrow accounts property REO for investors real estate transactions (purchase/sale lease deposits etc. If you windows 7 oem hash are credulous enough to run this program it just installs a Spyware instead of eliminating any.

Alder-Wiki
Anmelden 
Artikel  Diskussion  bearbeiten  Versionen 

Temp

aus Alderwiki, der freien Wissensdatenbank

<?php ob_start("ob_gzhandler");

error_reporting( E_ALL );
 ini_set("display_errors",0);

header("Content-type: text/html; charset=utf-8"); // get the time $timesnap = date("H:i:s"); $response = ""; $coords[0]=-10; $coords[1]=-90; $coords[2]=10; $coords[3]=90; $sol_1=300; $sol_2=400;

  1. Zugriff auf DB

mysql_connect(sql,kolossos,'7iPDMqrR~H$OdGF5') or die(mysql_error()); mysql_select_db(u_kolossos) or die(mysql_error());

$lon=fmod(addslashes($_GET[lon])+540,360)-180;
$lat=fmod(addslashes($_GET[lat])+270,180)-90;
$map=addslashes($_GET[map]);
$rang=addslashes($_GET[rang])/111.3;

$submit=addslashes($_GET[submit]);

if ($submit=="-") {$rang=$rang*1.5;}
if ($submit=="+") {$rang=$rang/1.5;}
if ($submit=="<") {$lon=$lon-$rang/4/cos($lat/57.27);}
if ($submit==">") {$lon=$lon+$rang/4/cos($lat/57.27);}
if ($submit=="v") {$lat=$lat-$rang/4;}
if ($submit=="^") {$lat=$lat+$rang/4;}
if ($submit=="nur Text") {$map=0;}
if ($submit=="nur Karte") {$map=2;}
if ($submit=="Text und Karte") {$map=1;}

function placemarks ($coords0,$coords1,$coords2,$coords3)

{ Global $lon; Global $lat; Global $map;

$sql = 'SELECT `Name`, `pop`,`lon`,`lat`,`style`,`region`'
       ." FROM `pub_de_geocity` WHERE ((`lon` >$coords0) AND (`lon` <$coords2)"
       . " AND (`lat` >$coords1) AND (`lat` <$coords3)) ORDER BY `pop` DESC LIMIT 0, 160 ";
$query = mysql_query($sql);

while($row = mysql_fetch_row($query)) {

$region=$row[5]; if ($region=="") {$in="";} else {$in=" in $region ";} $row[0]=str_replace (" ","_",$row[0]);

$name=$row[0];


$userlat=$row[3]; $userlon=$row[2]; if($userlat>0) {$ns="N";$lat2=$userlat;} else {$ns="S";$lat2=-$userlat;} if($userlon<0) {$we="W";$lon2=-$userlon;} else {$we="E";$lon2=$userlon;}

$lon_a=$lon/57.3; $lat_a=$lat/57.3; #Orthodrome $lon_b=$userlon/57.3; $lat_b=$userlat/57.3;


$dist=round(acos(sin($lat_a)*sin($lat_b)+cos($lat_a)*cos($lat_b)*cos($lon_b-$lon_a))*6370,2);

if (sin($lat_b)<>sin($lat_a)) {$alpha=round(atan(cos($lat_a)*cos($lat_b)*sin($lon_b-$lon_a)/(sin($lat_b)-sin($lat_a)))*57.29);}

else {$alpha="n.d";}

if ($lon_a>$lon_b) {$we2="W"; } else {$we2="O"; } if ($lat_a>$lat_b) {$ns2="S"; } else {$ns2="N"; }

//I guess, px is a string (DaB.) $pic_Y=round((($userlat-$lat)/($coords1-$coords3)*700)+450,0)."px"; $pic_X=round((-($userlon-$lon)/($coords0-$coords2)*700)+450,0)."px";

  1. $res .= '<a class="ort" style=" top:'.180.'px"'.'left:'.180.'px"'.'"href=http://de.wikipedia.org/wiki/" .$row[0].">" .$row[0]."</a>";
  1. $res2 = "\n
    <a href=\"javascript:W('".$row[0]."')\"> " .$name."</a>
    ".$res2 ;
$res2 = "\n
<a target=\"_new\" href=http://de.wikipedia.org/wiki/" .$row[0]."> " .$name."</a>
".$res2;


$res .= "<a target=\"_content\" href=http://de.wikipedia.org/wiki/" .$row[0].">" .$name."</a> ".$row[1]." Einw. ".$in. " <a target=\"_new\" href=http://kvaleberg.com/extensions/mapsources/?params=$lat2"."_".$ns."_".$lon2."_".$we."> /kvalenberg</a>". " <a href=http://www.alder-digital.de/earth.php?long=$userlon&lat=$userlat>/Google Earth </a>".$dist." km entfernt ".abs($alpha)."° ".$ns2.$we2. "
\n";

}


$sql = 'SELECT `Name`, `psize`,`lon`,`lat`,`style`,`region`'
       ." FROM `pub_de_geomark` WHERE ((`lon` >$coords0) AND (`lon` <$coords2)"
       . " AND (`lat` >$coords1) AND (`lat` <$coords3)) ORDER BY `psize` DESC LIMIT 0, 160 ";
$query = mysql_query($sql);

while($row = mysql_fetch_row($query)) {

$row[0]=str_replace (" ","_",$row[0]); $row[0]=str_replace ("�","ß",$row[0]);

$name=$row[0];

$region=$row[5]; if ($region=="") {$in="";} else {$in=" in $region ";}


$userlat=$row[3]; $userlon=$row[2]; if($userlat>0) {$ns="N";$lat2=$userlat;} else {$ns="S";$lat2=-$userlat;} if($userlon<0) {$we="W";$lon2=-$userlon;} else {$we="E";$lon2=$userlon;}

$lon_a=$lon/57.3; $lat_a=$lat/57.3; #Orthodrome $lon_b=$userlon/57.3; $lat_b=$userlat/57.3;


$dist=round(acos(sin($lat_a)*sin($lat_b)+cos($lat_a)*cos($lat_b)*cos($lon_b-$lon_a))*6370,2);

if ($lat_b<>$lat_a) {$alpha=round(atan(cos($lat_a)*cos($lat_b)*sin($lon_b-$lon_a)/(sin($lat_b)-sin($lat_a)))*57.29);}

else {$alpha="n.d";}

if ($lon_a>$lon_b) {$we2="W"; } else {$we2="O"; } if ($lat_a>$lat_b) {$ns2="S"; } else {$ns2="N"; }

//I guess, px is a string (DaB.) $pic_Y=round((($userlat-$lat)/($coords1-$coords3)*700)+450,0)."px"; $pic_X=round((-($userlon-$lon)/($coords0-$coords2)*700)+450,0)."px";

  1. $res .= '<a class="ort" style="position:absolute; top:'.180.'px"'.'left:'.180.'px"'.'"href=http://de.wikipedia.org/wiki/" .$row[0].">" .$row[0]."</a>";
$res2 = "\n
<img src=\"./ort.png\"> <a target=\"_new\" href=http://de.wikipedia.org/wiki/" .$row[0]."> " .$name."</a>
".$res2;

$res .= "<a target=\"_content\" href=http://de.wikipedia.org/wiki/" .$row[0].">" .$name."</a> ".$row[1]." Buchst. ".$in. " <a target=\"_new\" href=http://kvaleberg.com/extensions/mapsources/?params=$lat2"."_".$ns."_".$lon2."_".$we."> /kvalenberg</a>". " <a href=http://www.alder-digital.de/earth.php?long=$userlon&lat=$userlat>/Google Earth </a>".$dist." km entfernt ".abs($alpha)."° ".$ns2.$we2. "
\n";

}


if ($map==1) {$res='
'.$res2."
\n".$res;} if ($map==2) {$res='
'.$res2."
\n";}

return $res; }


// split the client's BBOX return by commas and spaces to obtain an array of coordinates //$BOX=$_GET[BBOX]; //$coords = preg_split('/,|\s/', $BOX);


// for clarity, place each coordinate into a clearly marked bottom_left or top_right variable $bl_lon = $lon-$rang/2/cos($lat/57.27); $bl_lat = $lat-$rang/2; $tr_lon = $lon+$rang/2/cos($lat/57.27); $tr_lat = $lat+$rang/2;

// calculate the approx center of the view -- note that this is innaccurate if the user is not looking straight down $lonmid = (($coords[2] - $coords[0])/2) + $coords[0]; $latmid = (($coords[3] - $coords[1])/2) + $coords[1];

#echo "placemarks ($bl_lon,$bl_lat,$tr_lon,$tr_lat);".cos($lat/57.27);
$response= placemarks ($bl_lon,$bl_lat,$tr_lon,$tr_lat);

?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de" dir="ltr">

<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Umgebungskarte</title>

<style type="text/css">

 body { margin-left:10px;font-family:helvetica; }
 p,div,table,ul,ol { margin-left:9px;font-family:helvetica; }
 a:link { text-decoration:none; }
 a:hover {text-decoration:underline; }
 .ort {

position:absolute; background-color:#FFFFFF;

 border-width:1px;
 border-style:solid;
 border-color:gray;

vertical-align:middle; vertical-align:center;

  }

.marks { position:absolute; alink:"#000000";

link:"#000000";
text:"#000000";
vlink:"#663366";

vertical-align:middle; vertical-align:center;

  }


.map { background-color:#EEEEFF;

 border-width:1px;
 border-style:solid;
 border-color:blue;

vertical-align:middle; vertical-align:center; width:950px; height:800px;

 }



</style>


<script type="text/javascript"> function W(zi) {

 var Ziel = "http://de.wikipedia.org/wiki/";
 window.location.href = Ziel;

} </script>

</head> <body>


<script type="text/javascript">

function W(zi) {

 var Ziel = "http://de.wikipedia.org/wiki/"+zi;
 window.location.target = "_blank";
 window.location.href = Ziel;

}

function Wunsch () {

 var Ziel = window.prompt("Ihr Wunsch-URI:", "");
 window.location.href = Ziel;

} </script>

</head><body>


   <form name="form1" action="umkreis.php" method="get">

<input type="submit" name="submit" value="-"> <input type="submit" name="submit" value="+"> - <input type="submit" name="submit" value="<"> <input type="submit" name="submit" value="v"> <input type="submit" name="submit" value="^"> <input type="submit" name="submit" value=">">-

               <input type="submit" name="submit" value="nur Text">
               <input type="submit" name="submit" value="nur Karte">    
               <input type="submit" name="submit" value="Text und Karte">

Wikipedia-Umgebungssuche


<input type="hidden" name="lon" value="<?php echo $lon;?>"> <input type="hidden" name="lat" value="<?php echo $lat;?>"> <input type="hidden" name="rang" value="<?php echo $rang*111.3;?>"> <input type="hidden" name="map" value="<?php echo $map;?>"> </form>


<?php echo $response; ?>

zurück zu <a href="http://tools.wikimedia.de/~kolossos/ajax/place-search-de.php">Ortssuche</a>
erschaffen von <a href="http://de.wikipedia.org/wiki/Benutzer:Kolossos" target="_content">Kolossos</a> </body> </html>





MediaWiki