Avatar billede dklap3 Nybegynder
07. maj 2009 - 19:18 Der er 14 kommentarer og
1 løsning

PHP4 > PHP5: Side virker ikke mere

Hej eksperter,

One.com har for nyligt opdateret mit webhotel fra PHP4 til PHP5 og nu er der en side der driller. Jeg har haft en ven til at hjælpe mig med php'en tidligere, da jeg absolut ikke er stærk i php, men vennen kan ikke finde frem til fejlen. Selve php delen på denne side er forholdsvis simpel så kan ikke lige forstå hvorfor netop denne side ikke virker længere når alle de andre gør.

Siden der giver fejlen: http://www.herningshuse.dk/blok.php?id=11

Fejlmeldingen siger at der er problemer i linje 74 men det eneste der er der er et "?>".

Nogen der kan gennemskue hvad der går galt?

Hele koden:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php
    include("dbconnect.php");
    $sql = sprintf( "SELECT `id` , `navn` 
        FROM `herning_omrader` WHERE `id` = '%s'", mysql_escape_string( $_GET['id'] ) );
        $test1 = mysql_query($sql) or die (mysql_error());
    if ($row = mysql_fetch_assoc($test1))
    {
        $id = $row["id"];
        //$thumbs = glob( 'billeder/thumbs/' . $id . '_*.jpg' );
if (isset($id)) {   
?>

<title><?=$row["navn"]?> - Hernings Huse</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="Om arkitektur og byudvikling i Herning - Bygninger, nyheder, fotos, historie og aktuelle temaer.">
<meta name="keywords" content="Herning, Herningshuse.dk, Hernings Huse, Herningshuse, Arkitektur, Virtuel Gåtur, Bygninger, Hedens Hovedstad, Heden, Midtjylland, City Ring, Cityring, Hernings Huse, Dalgashus, Ringkøbing Amt, Region Midtjylland">
<link href="css/css.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body,td
.linkfarver A:link {color: #000000;}
.linkfarver A:visited {color: #000000;}
.linkfarver A:active {color: #000000;}
.linkfarver A:hover {color: #000000;}
-->
</style>
<script type="text/javascript">
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
</script>

</head>
<body bgcolor="003F67" text="#999999" link="#999999" vlink="#999999" alink="#999999">
<table class="tdborder" width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FFFFFF">
<?include("top.php");?></td>
  </tr>
  <tr>
    <td bgcolor="#666666" class="menu">
      <div align="center"><?include("menu.php");?></div></td>
  </tr>
  <tr>
    <td bgcolor="#ffffff"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="td6">
        <tr>
          <td width="80%" bgcolor="#E2E2E2" class="location"><font color="#999999"><strong>
                   Du er her:</strong> <a href="http://www.herningshuse.dk" target="_self">Forsiden</a><font color="#FF0000"> > </font><a href="bykort.php" target="_self">Bykort</a><font color="#FF0000"> > </font>Område <?=$row["id"]?></font></td>
            <td width="20%" bgcolor="#E2E2E2">
              <form method="get" action="results.php" style="display: inline;">
              <div align="right">
                <input name="search" value=" Søg bygning..." align="absbottom" style="background:url(/grafik/sog-bg.gif)" onFocus="clearText(this)" size="12" class="altTextField1">
                <input name="submit" type="image" src="/grafik/sog.gif" align="absmiddle" class="altButtonFormat1">       
              </div>
            </form>
</td>
        </tr>
      </table>
      </p>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="linkfarver">
        <tr>
          <td><p align="center">
              <?=$row["navn"]?>
              (V-N-Ø-S) </p>
            <?php
if ($HTTP_GET_VARS['id'] == 1) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/1.gif" width="455" height="450" border="0" usemap="#Map">
              <map name="Map">
                <area shape="poly" coords="160,252,87,249,85,307,78,307,66,351,82,357,83,370,93,372,95,387,155,386" href="bygning.php?id=1" target="_self" alt="Midtgaard">
                <area shape="poly" coords="193,346,189,390,192,385,234,388,241,354,203,355,202,349" href="bygning.php?id=2" target="_self" alt="Bethaniagade 38">
                <area shape="poly" coords="241,354,234,388,281,391,280,358,264,356,265,258,247,257" href="bygning.php?id=3" target="_self" alt="Bethaniagade 36">
                <area shape="poly" coords="383,267,348,264,336,356,286,355,286,393,361,399,372,393" href="bygning.php?id=4" target="_self" alt="Bethaniagade 34A">
                <area shape="poly" coords="385,258,343,254,343,243,350,245,351,224,389,225" href="bygning.php?id=5" target="_self" alt="Carit Etlars Gade 3">
                <area shape="poly" coords="341,190,333,228,342,230,344,224,390,226,391,195" href="bygning.php?id=6" target="_self" alt="Carit Etlars Gade 5">
                <area shape="poly" coords="369,88,349,85,338,148,391,156,398,126,395,126,395,122,365,118" href="bygning.php?id=7" target="_self" alt="Rolighedsvej 9 ">
                <area shape="poly" coords="296,78,292,113,342,121,347,87,329,83,323,81,319,84,313,83,312,79,301,77" href="bygning.php?id=8" target="_self" alt="Rolighedsvej 11 ">
                <area shape="poly" coords="285,74,256,70,246,104,279,108" href="bygning.php?id=12" target="_self" alt="Rolighedsvej 13A">
                <area shape="poly" coords="256,73,250,72,250,67,220,63,214,91,204,91,201,118,218,120,219,100,227,103,228,112,245,116" href="bygning.php?id=10" target="_self" alt="Rolighedsvej 15">
                <area shape="poly" coords="179,81,174,81,169,72,147,77,107,71,100,113,108,114,100,171,183,181,188,126,175,124" href="bygning.php?id=11" target="_self" alt="YX Energi">
                <area shape="poly" coords="258,171,252,212,280,217,280,213,295,218,298,206,282,203,285,171,273,169,270,173" href="bygning.php?id=9" target="_self" alt="Rolighedsvej 13">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 2) {
echo
?>
            </p>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/2.gif" width="455" height="450" border="0" usemap="#Map2">
              <map name="Map2">
                <area shape="poly" coords="80,314,59,312,58,336,79,338" href="bygning.php?id=13" target="_self" alt="Bethaniagade 32">
                <area shape="poly" coords="89,284,86,338,120,341,119,286,116,287,118,264,94,264,95,283" href="bygning.php?id=14" target="_self" alt="Bethaniagade 30">
                <area shape="poly" coords="120,313,118,341,159,343,161,316" href="bygning.php?id=15" target="_self" alt="Bethaniagade 26">
                <area shape="poly" coords="163,313,160,342,199,344,200,316,175,313,177,296,168,293,169,285,160,282,156,301,167,302" href="bygning.php?id=16" target="_self" alt="Bethaniagade 26">
                <area shape="poly" coords="214,304,214,342,354,349,354,311" href="bygning.php?id=17" target="_self" alt="Nørgaards Allé 3 A-B-C">
                <area shape="poly" coords="342,277,340,294,356,294,354,306,354,343,357,355,393,357,390,342,405,342,404,312,382,308,383,279" href="bygning.php?id=18" target="_self" alt="Nørgaards Allé 1A-B, Bethaniagade 18">
                <area shape="poly" coords="270,130,262,171,405,194,409,151" href="bygning.php?id=19" target="_self" alt="Rolighedsvej 1A-B-C">
                <area shape="poly" coords="174,112,167,151,186,156,191,147,215,152,218,148,220,149,226,128,193,124,191,115" href="bygning.php?id=20" target="_self" alt="Rolighedsvej 3">
                <area shape="poly" coords="142,108,139,136,130,135,130,133,126,133,125,129,114,129,116,102" href="bygning.php?id=21" target="_self" alt="Rolighedsvej 5">
                <area shape="poly" coords="57,93,51,99,48,125,51,127,53,139,66,139,69,134,76,136,83,98" href="bygning.php?id=22" target="_self" alt="Rolighedsvej 7">
                <area shape="poly" coords="49,145,45,168,66,173,69,171,80,174,80,165,70,164,71,147" href="bygning.php?id=23" target="_self" alt="Carit Etlars Gade 8">
                <area shape="poly" coords="44,180,41,202,91,203,92,193,65,193,66,183" href="bygning.php?id=24" target="_self" alt="Carit Etlars Gade 6">
                <area shape="poly" coords="40,203,37,224,61,227,64,214,101,217,100,204" href="bygning.php?id=25" target="_self" alt="Carit Etlars Gade 4">
                <area shape="poly" coords="37,235,35,261,61,263,62,235" href="bygning.php?id=26" target="_self" alt="Carit Etlars Gade 2 B">
                <area shape="poly" coords="38,289,35,307,30,308,29,333,57,335,59,311,47,310,47,291" href="bygning.php?id=27" target="_self" alt="Carit Etlars Gade 2 A">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 3) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/3.gif" width="455" height="450" border="0" usemap="#Map3">
              <map name="Map3">
                <area shape="poly" coords="57,279,57,298,45,296,47,338,63,338,63,350,88,352,88,324,97,321,98,310,89,307,88,298,78,298,79,282" href="bygning.php?id=28" target="_self" alt="Nørgaards Allé 2">
                <area shape="poly" coords="115,320,112,357,156,359,156,319" href="bygning.php?id=29" target="_self" alt="Bethaniagade 16">
                <area shape="poly" coords="156,317,156,360,227,364,227,326" href="bygning.php?id=30" target="_self" alt="Bethaniagade 14">
                <area shape="poly" coords="227,326,228,363,256,363,255,327" href="bygning.php?id=31" target="_self" alt="Bethaniagade 12">
                <area shape="poly" coords="338,322,332,320,329,328,301,330,297,320,285,319,285,330,257,328,257,364,360,368,371,356,396,142,359,136,357,141,227,126,225,159,253,163,251,172,260,175,263,166,311,172,320,173,317,182,328,184,332,174,348,177,352,191,347,257,337,256,338,271,341,272" href="bygning.php?id=32" target="_self" alt="Skolegade 11 A-F">
                <area shape="poly" coords="74,94,70,104,63,102,60,128,95,135,96,143,108,145,113,136,163,142,164,153,175,153,177,145,203,146,208,111" href="bygning.php?id=33" target="_self" alt="Nørgaards Allé 4">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 4) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/4.gif" width="455" height="450" border="0" usemap="#Map4">
              <map name="Map4">
                <area shape="poly" coords="36,235,32,266,40,275,71,277,71,266,74,250,71,242" href="bygning.php?id=34" target="_self" alt="Skolegade 12">
                <area shape="poly" coords="143,212,142,273,168,274,169,213" href="bygning.php?id=35" target="_self" alt="Bethaniagade 6">
                <area shape="poly" coords="388,198,387,205,375,201,366,242,371,241,368,255,409,261,420,209,410,203,407,204" href="bygning.php?id=37" target="_self" alt="Bethania">
                <area shape="poly" coords="315,221,302,284,332,291,336,304,343,303,343,293,368,299,370,283,338,275,355,193,259,180,204,173,164,167,141,163,112,160,76,153,59,153,55,174,52,190,50,214,46,230,76,238,86,187,237,207,235,212" href="bygning.php?id=36" target="_self" alt="Herning Rådhus">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 5) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/5.gif" width="455" height="450" border="0" usemap="#Map5">
              <map name="Map5">
                <area shape="poly" coords="338,358,350,305,375,311,370,347,364,352,362,361" href="bygning.php?id=285" target="_self" alt="Bredgade 38">
                <area shape="poly" coords="337,358,351,305,352,298,324,291,323,295,320,295,317,323,306,325,304,355" href="bygning.php?id=286" target="_self" alt="Bredgade 40">
                <area shape="poly" coords="281,326,273,352,303,355,306,327,303,327,301,331,293,333,292,325" href="bygning.php?id=287" target="_self" alt="Bredgade 42">
                <area shape="poly" coords="273,352,282,325,287,274,275,272,274,278,256,276,248,315,249,316,247,317,246,324,240,351" href="bygning.php?id=288" target="_self" alt="Bredgade 44">
                <area shape="poly" coords="244,326,232,325,232,311,207,309,202,346,238,352" href="bygning.php?id=289" target="_self" alt="Bredgade 46">
                <area shape="poly" coords="205,312,202,310,202,299,195,296,194,301,188,300,182,328,170,327,170,346,201,346" href="bygning.php?id=290" target="_self" alt="Bredgade 48">
                <area shape="poly" coords="163,346,127,343,147,282,166,283" href="bygning.php?id=291" target="_self" alt="Bredgade 50">
                <area shape="poly" coords="108,299,101,342,127,344,147,283,146,272,131,270,131,277,120,277,114,300" href="bygning.php?id=292" target="_self" alt="Bredgade 52">
                <area shape="poly" coords="101,342,65,338,67,285,68,245,76,245,76,228,81,229,83,222,89,222,89,229,116,229,116,245,111,254,107,260,106,299,107,299" href="bygning.php?id=293" target="_self" alt="Midtgården">
                <area shape="poly" coords="66,284,46,281,45,284,29,281,21,319,33,321,33,335,64,339" href="bygning.php?id=294" target="_self" alt="Uhrskovhuset">
                <area shape="poly" coords="118,120,90,118,90,124,67,123,53,135,40,200,67,205,76,151,96,151,96,157,118,159" href="bygning.php?id=295" target="_self" alt="Bethaniagade 65">
                <area shape="poly" coords="135,117,135,139,143,141,147,145,152,142,161,142,169,143,171,121" href="bygning.php?id=296" target="_self" alt="Bethaniagade 43-45">
                <area shape="poly" coords="170,121,171,142,177,140,189,140,205,142,204,122" href="bygning.php?id=297" target="_self" alt="Bethaniagade 39-41">
                <area shape="poly" coords="210,122,207,126,208,139,214,142,227,142,230,122" href="bygning.php?id=298" target="_self" alt="Bethaniagade 37">
                <area shape="poly" coords="229,124,227,141,242,140,243,151,255,152,256,124" href="bygning.php?id=299" target="_self" alt="Bethaniagade 35">
                <area shape="poly" coords="241,151,241,159,238,160,236,179,251,180,254,153" href="bygning.php?id=300" target="_self" alt="Herninglund 4">
                <area shape="poly" coords="266,123,264,152,270,152,272,148,281,147,285,144,289,146,289,150,297,150,296,125" href="bygning.php?id=301" target="_self" alt="Bethaniagade 33">
                <area shape="poly" coords="338,127,298,126,297,149,305,151,305,146,330,146,331,153,336,152" href="bygning.php?id=302" target="_self" alt="Bethaniagade 29-31">
                <area shape="poly" coords="338,127,337,147,372,148,374,128" href="bygning.php?id=303" target="_self" alt="Bethaniagade 25-27">
                <area shape="poly" coords="429,129,375,127,373,148,411,149,418,152,428,153,434,136" href="bygning.php?id=304" target="_self" alt="Bethaniagade 19-23">
                <area shape="poly" coords="405,252,386,246,405,159,429,166,411,246" href="bygning.php?id=305" target="_self" alt="Smallegade 3-13">
                <area shape="poly" coords="373,303,359,300,357,306,351,306,352,298,324,291,328,265,308,265,311,191,361,193,360,241,404,251,407,258,400,296,379,290" href="bygning.php?id=306" target="_self" alt="Smallegade 1">
                <area shape="poly" coords="217,190,214,208,239,211,239,237,229,239,228,258,261,259,261,242,265,241,267,193" href="bygning.php?id=307" target="_self" alt="Herninglund 6">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 6) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/6.gif" width="455" height="450" border="0" usemap="#Map6">
              <map name="Map6">
                <area shape="poly" coords="403,257,369,251,358,309,349,310,342,319,321,323,323,353,384,348,391,339" href="bygning.php?id=266" target="_self" alt="Hotel Corona">
                <area shape="poly" coords="318,314,307,313,308,266,296,265,293,352,322,353" href="bygning.php?id=268" target="_self" alt="Bredgade 22">
                <area shape="poly" coords="285,351,269,351,269,335,287,334" href="bygning.php?id=269" target="_self" alt="Bredgade 24">
                <area shape="poly" coords="215,240,209,273,231,282,240,255,237,245" href="bygning.php?id=270" target="_self" alt="Bredgade 24A">
                <area shape="poly" coords="227,353,196,351,196,327,207,274,229,281,227,301,219,299,214,310,219,313,216,328,228,330" href="bygning.php?id=271" target="_self" alt="Bredgade 26">
                <area shape="poly" coords="160,348,157,323,173,263,208,274,196,326,196,351" href="bygning.php?id=272" target="_self" alt="Bredgade 28">
                <area shape="poly" coords="85,344,86,314,96,274,103,248,174,263,157,323,159,349" href="bygning.php?id=273" target="_self" alt="Bredgade 30">
                <area shape="poly" coords="42,342,41,318,54,256,56,251,79,256,77,264,69,266,82,275,85,270,96,273,86,314,85,344" href="bygning.php?id=274" target="_self" alt="Bredgade 32">
                <area shape="poly" coords="41,342,14,341,10,334,24,267,43,271,46,254,53,254,40,317" href="bygning.php?id=275" target="_self" alt="Bredgade 34">
                <area shape="poly" coords="48,144,39,189,73,197,76,186,66,185,70,158,84,159,79,183,89,190,113,198,123,164,88,156,84,153" href="bygning.php?id=276" target="_self" alt="Fermaten">
                <area shape="poly" coords="49,144,60,84,187,87,185,125,89,119,85,139,89,139,85,153" href="bygning.php?id=277" target="_self" alt="Bethaniagade 17">
                <area shape="poly" coords="210,103,202,137,214,142,215,136,231,138,235,131,240,134,242,119,235,118,239,109,223,105,220,107" href="bygning.php?id=278" target="_self" alt="Bethaniagade 13">
                <area shape="poly" coords="250,90,245,114,268,119,274,96,267,92,258,93" href="bygning.php?id=279" target="_self" alt="Bethaniagade 11">
                <area shape="poly" coords="292,91,292,119,313,122,312,94" href="bygning.php?id=280" target="_self" alt="Bethaniagade 9">
                <area shape="poly" coords="339,94,338,113,366,113,371,112,371,104,367,103,366,95" href="bygning.php?id=281" target="_self" alt="Bethaniagade 7">
                <area shape="poly" coords="412,103,388,102,382,134,331,129,328,149,414,155,422,114,411,112" href="bygning.php?id=282" target="_self" alt="Skolegade 7">
                <area shape="poly" coords="354,152,351,171,387,177,385,183,409,187,413,156" href="bygning.php?id=283" target="_self" alt="Skolegade 5">
                <area shape="poly" coords="409,188,384,182,380,193,349,188,350,182,343,179,322,175,316,199,405,216" href="bygning.php?id=284" target="_self" alt="Skolegade 3">
                <area shape="poly" coords="309,238,307,252,324,254,320,305,344,308,345,301,350,301,354,241" href="bygning.php?id=267" target="_self" alt="Bone's">
                <area shape="poly" coords="292,352,231,351,249,256,297,264,294,266" href="bygning.php?id=367" target="_self" alt="Bredgade 24">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 7) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/7.gif" width="455" height="450" border="0" usemap="#Map7">
              <map name="Map7">
                <area shape="poly" coords="378,161,377,128,400,131,403,140,410,140,412,250,377,251,377,209,373,184,379,183" href="bygning.php?id=243" target="_self" alt="Herning Rådhus">
                <area shape="poly" coords="413,250,415,309,353,315,346,262,373,261,374,254" href="bygning.php?id=244" target="_self" alt="Hedebankbygningen">
                <area shape="poly" coords="339,232,345,317,269,323,268,298,271,289,276,289,285,250,298,254,294,281,302,281,303,286,320,286,326,286,325,271,323,263,316,263,312,232" href="bygning.php?id=245" target="_self" alt="Bredgade 4">
                <area shape="poly" coords="268,322,267,296,261,296,259,276,270,277,274,260,275,241,210,223,213,233,197,231,197,288,211,288,218,324" href="bygning.php?id=246" target="_self" alt="Bredgade 6">
                <area shape="poly" coords="210,290,195,288,195,291,192,293,193,326,218,326" href="bygning.php?id=247" target="_self" alt="Bredgade 8">
                <area shape="poly" coords="190,303,177,303,176,299,169,300,169,329,193,327" href="bygning.php?id=248" target="_self" alt="Bredgade 10">
                <area shape="poly" coords="186,257,168,259,167,264,158,264,158,275,165,278,186,275,192,265" href="bygning.php?id=260" target="_self" alt="Bredgade 10 - Atelier">
                <area shape="poly" coords="169,329,166,302,159,302,160,300,151,301,146,302,147,332" href="bygning.php?id=249" target="_self" alt="Bredgade 12">
                <area shape="poly" coords="158,229,138,228,141,258,160,262" href="bygning.php?id=261" target="_self" alt="Bredgade 10 - Baggården">
                <area shape="poly" coords="146,332,146,301,158,300,155,265,142,261,129,264,132,278,128,279,132,294,136,307,141,307,138,312,127,312,126,299,113,297,105,294,113,335" href="bygning.php?id=250" target="_self" alt="Bredgade 14">
                <area shape="poly" coords="100,224,97,253,96,274,99,289,115,287,113,261,115,239,115,225" href="bygning.php?id=259" target="_self" alt="San Marco">
                <area shape="poly" coords="113,336,103,293,89,295,85,268,64,273,74,337" href="bygning.php?id=251" target="_self" alt="Bredgade 16">
                <area shape="poly" coords="75,339,37,343,32,338,42,268,43,262,63,272" href="bygning.php?id=252" target="_self" alt="Bredgade 18">
                <area shape="poly" coords="53,209,44,262,65,273,86,268,86,260,73,261,74,257,82,256,84,250,75,248,78,213" href="bygning.php?id=253" target="_self" alt="Skolegade 4">
                <area shape="poly" coords="56,175,52,205,106,213,109,199,87,195,86,190,80,190,82,180" href="bygning.php?id=254" target="_self" alt="El Toro">
                <area shape="poly" coords="56,174,67,109,90,112,86,131,83,139,90,148,87,153,82,153,81,167,84,167,83,180" href="bygning.php?id=255" target="_self" alt="Skolegade 8-10">
                <area shape="poly" coords="89,111,126,112,126,151,110,151,109,132,87,133" href="bygning.php?id=256" target="_self" alt="Bethaniagade 5">
                <area shape="poly" coords="138,113,137,166,148,164,147,171,161,173,160,166,173,166,174,114" href="bygning.php?id=257" target="_self" alt="Musikskolen">
                <area shape="poly" coords="139,178,136,221,141,227,158,226,163,220,165,179" href="bygning.php?id=262" target="_self" alt="Bethaniagade 3 (Bygning 2)">
                <area shape="poly" coords="377,128,194,114,193,150,359,162,363,158,377,161" href="bygning.php?id=258" target="_self" alt="Herning Rådhus">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 8) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/8.gif" width="455" height="450" border="0" usemap="#Map8">
              <map name="Map8">
                <area shape="poly" coords="231,286,218,346,208,344,204,361,271,379,279,356,265,353,279,302" href="bygning.php?id=38" target="_self" alt="Tinghuset">
                <area shape="poly" coords="194,392,189,403,216,411,218,399" href="bygning.php?id=39" target="_self" alt="Østergade 7B">
                <area shape="poly" coords="182,297,172,346,160,378,189,384,192,357,190,346,200,302" href="bygning.php?id=40" target="_self" alt="Østergade 7A">
                <area shape="poly" coords="172,313,182,261,181,257,162,252,143,336,130,373,161,378" href="bygning.php?id=41" target="_self" alt="Østergade 7">
                <area shape="poly" coords="128,332,129,319,137,323,143,305,137,301,153,240,125,233,123,243,115,243,101,294,93,289,92,303,100,306,96,334,105,336,102,364,131,373,136,344,127,339" href="bygning.php?id=42" target="_self" alt="Østergade 5">
                <area shape="poly" coords="87,336,73,339,71,361,101,365,105,337" href="bygning.php?id=43" target="_self" alt="Østergade 3">
                <area shape="poly" coords="41,315,69,318,75,323,72,337,69,361,38,357,34,352" href="bygning.php?id=50" target="_self" alt="Østergade 1B">
                <area shape="poly" coords="52,276,41,314,66,318,77,286" href="bygning.php?id=49" target="_self" alt="Torvet 4">
                <area shape="poly" coords="73,198,53,275,76,287,81,288,102,206" href="bygning.php?id=48" target="_self" alt="Torvet 6-10">
                <area shape="poly" coords="112,87,97,165,61,158,60,174,127,185,140,114,176,120,178,100" href="bygning.php?id=47" target="_self" alt="Torvet 12-18">
                <area shape="poly" coords="215,99,211,122,205,121,187,199,212,206,223,143,252,149,261,148,258,169,264,176,273,178,280,164,286,143,290,114" href="bygning.php?id=46" target="_self" alt="Nygade 1">
                <area shape="poly" coords="396,136,376,130,371,138,367,159,364,174,361,182,361,184,358,188,357,195,382,197" href="bygning.php?id=45" target="_self" alt="Haandværkerforeningen">
                <area shape="poly" coords="347,211,337,242,339,252,336,248,331,247,311,310,318,311,317,318,293,310,292,316,339,331,359,260,355,253,350,250,356,249,365,216" href="bygning.php?id=44" target="_self" alt="Politigården">
                <area shape="poly" coords="365,128,308,117,304,137,294,137,286,173,313,177,317,165,357,170" href="bygning.php?id=352" target="_self" alt="Nørregade 5">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 9) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/9.gif" width="455" height="450" border="0" usemap="#Map9">
              <map name="Map9">
                <area shape="poly" coords="395,151,392,156,388,167,404,174,401,181,397,190,387,190,386,198,386,208,385,234,377,233,371,245,379,257,374,279,391,286,420,188,414,184,418,174,421,165,418,158,405,153" href="bygning.php?id=72" target="_self" alt="Kastaniebo">
                <area shape="poly" coords="388,289,375,288,368,303,384,304" href="bygning.php?id=73" target="_self" alt="Kampmannsgade 22">
                <area shape="poly" coords="370,358,357,349,352,371,343,369,336,388,355,394,357,397,362,394,362,388" href="bygning.php?id=75" alt="Østergade 29">
                <area shape="poly" coords="349,344,342,344,343,332,330,328,323,355,313,350,307,381,335,388" href="bygning.php?id=76" target="_self" alt="Østergade 27 B">
                <area shape="poly" coords="312,360,287,351,279,374,307,380" href="bygning.php?id=77" target="_self" alt="Østergade 27 A">
                <area shape="poly" coords="246,348,233,343,226,357,243,360" href="bygning.php?id=79" target="_self" alt="Østergade 25">
                <area shape="poly" coords="171,325,159,319,150,336,167,345" href="bygning.php?id=81" target="_self" alt="Østergade 19">
                <area shape="poly" coords="149,338,164,302,143,295,129,332" href="bygning.php?id=82" target="_self" alt="Østergade 17">
                <area shape="poly" coords="143,296,119,288,107,329,134,333" href="bygning.php?id=83" target="_self" alt="Østergade 15">
                <area shape="poly" coords="113,304,86,294,76,319,106,327" href="bygning.php?id=84" target="_self" alt="Østergade 13">
                <area shape="poly" coords="165,257,164,263,136,256,126,260,120,279,162,294,167,284,179,286,182,280,187,281,190,271,183,270,187,261" href="bygning.php?id=85" target="_self" alt="China House">
                <area shape="poly" coords="101,265,98,292,86,294,75,319,39,310,39,309,36,304,49,261,73,268,61,292,70,293,76,296,83,288,80,284,82,269,87,264" href="bygning.php?id=86" target="_self" alt="Ankerhus">
                <area shape="poly" coords="77,270,50,262,63,219,100,230,97,240,91,246" href="bygning.php?id=87" target="_self" alt="Nørregade 4 AB">
                <area shape="poly" coords="87,131,62,219,101,230,119,171,128,178,125,185,137,186,142,165,113,155,115,138" href="bygning.php?id=88" target="_self" alt="Nørregade 6">
                <area shape="poly" coords="102,82,87,131,113,138,134,128,131,113,122,117,129,95" href="bygning.php?id=89" target="_self" alt="Nørregade 10">
                <area shape="poly" coords="115,42,102,81,127,93,130,87,145,91,151,70,139,68,142,47" href="bygning.php?id=90" target="_self" alt="Nørregade 18">
                <area shape="poly" coords="383,312,362,306,352,343,371,355" href="bygning.php?id=74" target="_self" alt="Kampmannsgade 24">
                <area shape="poly" coords="205,336,200,348,217,354,221,340" href="bygning.php?id=80" target="_self" alt="Østergade 23">
                <area shape="poly" coords="246,365,254,336,261,314,270,319,272,312,292,319,294,312,304,314,302,324,297,324,290,350,286,352,279,373" href="bygning.php?id=78" target="_self" alt="Mediehuset Herning Folkeblad">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 10) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/10.gif" width="455" height="450" border="0" usemap="#Map10">
              <map name="Map10">
                <area shape="poly" coords="423,42,388,40,379,72,378,82,387,84,407,86,422,85" href="bygning.php?id=91" target="_self" alt="Bredgade 47 (bygning 1)">
                <area shape="poly" coords="408,87,385,85,382,115,355,114,352,141,406,144" href="bygning.php?id=92" target="_self" alt="Bredgade 47 (bygning 2)">
                <area shape="poly" coords="368,142,367,151,377,170,375,185,390,188,398,191,401,198,416,200,419,151,415,150,414,143" href="bygning.php?id=93" target="_self" alt="Jyllandsgade 2-4">
                <area shape="poly" coords="317,166,311,200,369,205,374,170" href="bygning.php?id=94" target="_self" alt="Landts Gård 4">
                <area shape="poly" coords="388,213,384,251,409,256,413,217" href="bygning.php?id=95" target="_self" alt="Jyllandsgade 6">
                <area shape="poly" coords="407,256,370,247,371,231,359,229,355,248,363,256,361,276,403,284" href="bygning.php?id=96" target="_self" alt="Jyllandsgade 8">
                <area shape="poly" coords="364,278,359,323,400,332,405,285" href="bygning.php?id=97" target="_self" alt="Jyllandsgade 10">
                <area shape="poly" coords="371,334,355,332,345,413,387,421,398,338" href="bygning.php?id=98" target="_self" alt="Dalgasgade 32">
                <area shape="poly" coords="272,293,268,295,244,292,232,389,258,392,258,396,275,398,287,293" href="bygning.php?id=99" target="_self" alt="Dalgasgade 34">
                <area shape="poly" coords="147,348,144,356,138,352,133,370,171,383,178,355" href="bygning.php?id=100" target="_self" alt="Dalgasgade 48">
                <area shape="poly" coords="129,346,109,341,104,368,124,372" href="bygning.php?id=101" target="_self" alt="Dalgasgade 50">
                <area shape="poly" coords="109,341,87,336,83,362,104,369" href="bygning.php?id=102" target="_self" alt="Dalgasgade 52">
                <area shape="poly" coords="76,325,54,320,49,261,59,262,57,253,45,252,18,249,26,330,31,348,42,348,49,351,58,351,58,356,68,355" href="bygning.php?id=103" target="_self" alt="Dalgasgade 56-58">
                <area shape="poly" coords="48,225,22,220,20,247,44,251" href="bygning.php?id=104" target="_self" alt="Fredensgade 11">
                <area shape="poly" coords="17,187,41,189,39,214,14,212" href="bygning.php?id=105" target="_self" alt="Fredensgade 9">
                <area shape="poly" coords="18,165,19,188,42,190,43,168" href="bygning.php?id=106" target="_self" alt="Fredensgade 7">
                <area shape="poly" coords="23,117,47,118,45,130,54,132,52,148,42,148,43,158,19,156" href="bygning.php?id=107" target="_self" alt="Fredensgade 5">
                <area shape="poly" coords="24,91,22,118,46,119,48,91" href="bygning.php?id=108" target="_self" alt="Fredensgade 3">
                <area shape="poly" coords="27,45,54,44,47,83,26,82" href="bygning.php?id=109" target="_self" alt="Fredensgade 1">
                <area shape="poly" coords="30,17,28,44,64,42,66,19" href="bygning.php?id=110" target="_self" alt="Bredgade 67">
                <area shape="poly" coords="68,19,65,42,72,41,70,51,80,49,78,65,87,69,103,66,106,21" href="bygning.php?id=111" target="_self" alt="Bredgade 65">
                <area shape="poly" coords="106,20,105,52,123,52,137,52,137,23" href="bygning.php?id=112" target="_self" alt="Bredgade 63">
                <area shape="poly" coords="138,22,136,51,166,56,168,24" href="bygning.php?id=113" target="_self" alt="Bredgade 61">
                <area shape="poly" coords="169,27,164,57,213,72,220,27" href="bygning.php?id=114" target="_self" alt="Bredgade 59 A">
                <area shape="poly" coords="222,27,213,69,217,76,228,77,229,70,241,73,251,30" href="bygning.php?id=115" target="_self" alt="Bredgade 57">
                <area shape="poly" coords="253,29,244,74,236,155,279,162,284,130,293,132,300,78,291,54,294,32" href="bygning.php?id=116" target="_self" alt="Bredgade 55">
                <area shape="poly" coords="294,33,292,52,301,77,315,78,316,71,319,71,323,35" href="bygning.php?id=117" target="_self" alt="Bredgade 53">
                <area shape="poly" coords="323,36,317,72,323,72,320,107,336,111,340,71,347,64,351,37" href="bygning.php?id=118" target="_self" alt="Bredgade 51">
                <area shape="poly" coords="351,36,349,64,380,68,387,40" href="bygning.php?id=119" target="_self" alt="Bredgade 49">
                <area shape="poly" coords="124,106,204,110,209,113,201,159,121,148" href="bygning.php?id=120" target="_self" alt="Landts Gård 27-29">
                <area shape="poly" coords="92,117,88,164,79,164,75,203,81,203,79,253,103,255,108,198,110,198,112,178,109,176,112,118" href="bygning.php?id=121" target="_self" alt="Landts Gård 1-23">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 11) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/11.gif" width="455" height="450" border="0" usemap="#Map11">
              <map name="Map11">
                <area shape="poly" coords="193,163,172,255,264,275,286,173" href="bygning.php?id=125" target="_self" alt="Dalgashus">
                <area shape="poly" coords="110,265,104,288,105,299,118,307,131,308,138,299,145,274,131,271,132,262,126,260,121,268" href="bygning.php?id=122" target="_self" alt="Bonusbanken">
                <area shape="poly" coords="159,262,156,268,145,313,165,318,177,271,164,269,165,263" href="bygning.php?id=123" target="_self" alt="Spar Nord Bank">
                <area shape="poly" coords="191,281,179,333,207,339,219,287" href="bygning.php?id=124" target="_self" alt="Dalgas Plads 6">
                <area shape="poly" coords="319,365,324,348,267,330,264,339,246,334,241,354,266,359,286,360" href="bygning.php?id=126" target="_self" alt="Sydbank">
                <area shape="poly" coords="321,362,318,378,338,383,347,351,340,349,335,363" href="bygning.php?id=127" target="_self" alt="Dalgasgade 18">
                <area shape="poly" coords="340,382,353,387,362,383,369,347,354,345,348,370,342,370" href="bygning.php?id=128" target="_self" alt="Dalgasgade 16">
                <area shape="poly" coords="359,305,357,320,374,325,378,306" href="bygning.php?id=129" target="_self" alt="Bryggergade 18">
                <area shape="poly" coords="392,225,368,220,351,303,377,306" href="bygning.php?id=130" target="_self" alt="Bryggergade 10">
                <area shape="poly" coords="415,114,407,106,403,123,396,130,386,132,383,154,391,157,383,167,376,198,399,202" href="bygning.php?id=132" target="_self" alt="Bryggergade 4-6">
                <area shape="poly" coords="40,74,38,104,86,108,95,75" href="bygning.php?id=145" target="_self" alt="Bredgade 45">
                <area shape="poly" coords="93,74,76,144,73,142,70,151,73,156,36,155,33,215,42,214,43,223,100,229,102,219,81,217,83,200,116,202,136,143,148,146,151,115,143,115,144,77" href="bygning.php?id=144" target="_self" alt="Bredgade 43">
                <area shape="poly" coords="145,78,144,115,162,116,161,108,165,109,172,80" href="bygning.php?id=143" target="_self" alt="Bredgade 41">
                <area shape="poly" coords="203,79,187,125,167,120,165,111,174,80" href="bygning.php?id=142" target="_self" alt="Bredgade 37">
                <area shape="poly" coords="203,79,188,125,181,152,222,154,230,151,237,110,229,109,233,79" href="bygning.php?id=141" target="_self" alt="Bredgade 35">
                <area shape="poly" coords="231,80,230,109,257,108,261,78" href="bygning.php?id=140" target="_self" alt="City Huset">
                <area shape="poly" coords="261,78,249,149,255,158,261,155,278,158,281,147,285,106,286,101,292,76" href="bygning.php?id=139">
                <area shape="poly" coords="325,73,320,96,307,93,286,101,292,76,305,75" href="bygning.php?id=138" target="_self" alt="Bredgade 23">
                <area shape="poly" coords="325,73,320,95,343,96,345,68" href="bygning.php?id=137" target="_self" alt="Bredgade 21">
                <area shape="poly" coords="415,113,421,66,403,67,405,86,393,88,383,115,390,117,385,129,389,132,400,125" href="bygning.php?id=133" target="_self" alt="Bryggergården">
                <area shape="poly" coords="402,67,388,68,388,82,393,89,405,87" href="bygning.php?id=134" target="_self" alt="Bredgade 17">
                <area shape="poly" coords="387,68,362,68,357,120,369,121,370,129,375,133,387,89,385,81" href="bygning.php?id=135" target="_self" alt="Bredgade 17A">
                <area shape="poly" coords="344,69,343,94,334,121,330,140,322,140,318,147,321,151,316,159,347,164,359,120,360,69" href="bygning.php?id=136" target="_self" alt="Herning Hus">
                <area shape="poly" coords="397,202,376,198,374,217,378,222,394,225" href="bygning.php?id=131" target="_self" alt="Bryggergade 8">
                <area shape="poly" coords="375,198,336,200,333,214,318,214,314,225,323,229,325,239,333,239,336,220,348,212,374,218" href="bygning.php?id=370" target="_self" alt="Dalgas Plads 16-18">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 12) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/12.gif" width="455" height="450" border="0" usemap="#Map12">
              <map name="Map12">
                <area shape="poly" coords="206,145,195,143,193,148,185,145,183,159,231,173,233,169,239,172,241,158,231,156,232,151,216,148,213,151,205,150" href="bygning.php?id=218" target="_self" alt="Jernkilde 22-32">
                <area shape="poly" coords="124,195" href="#">
                <area shape="poly" coords="186,178,185,184,180,183,174,212,179,213,178,219,193,223,204,206,204,194,196,192,200,182" href="bygning.php?id=217" target="_self" alt="Jernkilde 14-20">
                <area shape="poly" coords="206,268,170,261,168,264,159,263,156,275,158,279,164,281,206,288,211,286,213,285,212,295,219,297,222,280,216,279,217,273" href="bygning.php?id=216" target="_self" alt="Jernkilde 2-12">
                <area shape="poly" coords="182,332,181,335,171,333,168,344,172,345,173,351,199,354,201,351,208,352,210,340,198,338,199,334" href="bygning.php?id=214" target="_self" alt="Jernkilde 1-7">
                <area shape="poly" coords="137,330,132,346,125,345,123,350,134,354,133,363,128,362,128,365,150,372,158,363,161,347,161,343,157,341,156,334" href="bygning.php?id=215" target="_self" alt="Jernkilde 9-11">
                <area shape="poly" coords="162,101,158,125,179,131,177,145,154,141,149,146,139,137,147,98" href="bygning.php?id=183" target="_self" alt="Bryggergade 1-3">
                <area shape="poly" coords="134,160,129,181,138,185,138,188,154,192,154,179,150,178,151,160" href="bygning.php?id=184" target="_self" alt="Bryggergade 5">
                <area shape="poly" coords="128,192,125,215,159,224,166,200,157,195,154,211,147,210,146,196" href="bygning.php?id=185" target="_self" alt="Bryggergade 7A">
                <area shape="poly" coords="137,221,123,219,117,248,133,253,138,235" href="bygning.php?id=186" target="_self" alt="Bryggergade 7 B-C">
                <area shape="poly" coords="115,253,113,268,127,273,131,255" href="bygning.php?id=187" target="_self" alt="Bryggergade 9">
                <area shape="poly" coords="112,270,109,287,124,290,125,274" href="bygning.php?id=188" target="_self" alt="Bryggergade 9A">
                <area shape="poly" coords="107,293,103,311,121,313,124,297" href="bygning.php?id=189" target="_self" alt="Bryggergade 11">
                <area shape="poly" coords="103,312,100,323,117,327,120,313" href="bygning.php?id=190" target="_self" alt="Bryggergade 13">
                <area shape="poly" coords="100,323,100,336,114,341,117,327" href="bygning.php?id=191" target="_self" alt="Bryggergade 15">
                <area shape="poly" coords="98,342,95,355,110,358,112,345" href="bygning.php?id=192" target="_self" alt="Bryggergade 17">
                <area shape="poly" coords="94,356,89,369,107,372,108,359" href="bygning.php?id=193" target="_self" alt="Bryggergade 19">
                <area shape="poly" coords="100,389,100,384,95,383,97,375,92,374,84,395,87,403,101,408,105,390" href="bygning.php?id=194" target="_self" alt="Dalgasgade 14">
                <area shape="poly" coords="104,391,101,407,119,412,124,394" href="bygning.php?id=195" target="_self" alt="Dalgasgade 12">
                <area shape="poly" coords="130,372,127,394,126,412,149,418,153,401,143,399,143,396,138,393,137,372" href="bygning.php?id=196" target="_self" alt="Dalgasgade 10">
                <area shape="poly" coords="158,402,155,419,181,425,186,406" href="bygning.php?id=197" target="_self" alt="Dalgasgade 8">
                <area shape="poly" coords="187,407,183,426,214,432,220,412,205,407,204,413" href="bygning.php?id=198" target="_self" alt="Dalgasgade 8A">
                <area shape="poly" coords="237,392,231,389,232,380,223,377,219,387,226,389,229,396,225,418,244,424,249,402,239,399" href="bygning.php?id=199" target="_self" alt="Mindegade 22">
                <area shape="poly" coords="236,352,234,362,231,360,228,366,233,371,233,378,240,382,244,376,252,378,257,359,250,358,248,352" href="bygning.php?id=200" target="_self" alt="Mindegade 20">
                <area shape="poly" coords="240,325,238,333,242,334,238,348,260,352,263,328" href="bygning.php?id=201" target="_self" alt="Mindegade 18">
                <area shape="poly" coords="268,300,246,298,244,306,248,307,245,315,265,319" href="bygning.php?id=202" target="_self" alt="Mindegade 16">
                <area shape="poly" coords="273,277,256,273,251,299,268,300" href="bygning.php?id=203" target="_self" alt="Mindegade 14">
                <area shape="poly" coords="287,189,263,183,246,252,245,270,271,275" href="bygning.php?id=204" target="_self" alt="Mindegade 10-12">
                <area shape="poly" coords="295,166,276,162,277,157,267,155,265,162,273,164,269,181,292,187" href="bygning.php?id=205" target="_self" alt="Mindegade 6">
                <area shape="poly" coords="281,129,276,154,296,158,301,134" href="bygning.php?id=206" target="_self" alt="Mindegade 4">
                <area shape="poly" coords="287,105,282,129,301,133,305,109" href="bygning.php?id=207" target="_self" alt="Mindegade 2">
                <area shape="poly" coords="302,34,298,51,298,65,307,71,313,67,324,15,320,10,303,12" href="bygning.php?id=208" target="_self" alt="Bredgade 1">
                <area shape="poly" coords="302,12,277,15,277,35,271,60,292,60,295,33,301,35" href="bygning.php?id=209" target="_self" alt="Bredgade 3">
                <area shape="poly" coords="235,104,243,63,250,17,274,16,275,33,272,38,267,48,255,49,249,77,254,79,252,103" href="bygning.php?id=210" target="_self" alt="Bredgade 5">
                <area shape="poly" coords="247,17,228,17,226,41,217,43,221,67,242,63,247,30" href="bygning.php?id=211" target="_self" alt="Bredgade 7">
                <area shape="poly" coords="201,17,200,41,193,43,182,106,203,106,214,43,225,41,227,20,220,16" href="bygning.php?id=212" target="_self" alt="Bredgade 9">
                <area shape="poly" coords="200,18,179,20,170,23,165,32,154,85,175,89,182,54,190,57,192,47,195,42,200,41" href="bygning.php?id=213" target="_self" alt="Bredgade 11">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 13) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/13.gif" width="455" height="450" border="0" usemap="#Map13">
              <map name="Map13">
                <area shape="poly" coords="206,15,184,148,198,151,209,102,217,104,220,99,231,100,237,91,249,94,257,76,252,74,257,42,269,44,273,29,264,25" href="bygning.php?id=219" target="_self" alt="Hotel Eyde">
                <area shape="poly" coords="181,150,175,185,189,191,196,164,227,170,229,159" href="bygning.php?id=220" target="_self" alt="Mindegade 1">
                <area shape="poly" coords="172,191,168,218,202,226,202,230,207,232,212,218,186,213,188,192" href="bygning.php?id=221" target="_self" alt="Mindegade 3">
                <area shape="poly" coords="167,223,163,240,190,245,193,228" href="bygning.php?id=222" target="_self" alt="60'eren">
                <area shape="poly" coords="163,246,157,269,179,273,178,265,180,248" href="bygning.php?id=223" target="_self" alt="Mindegade 7">
                <area shape="poly" coords="158,276,153,291,170,294,176,293,177,290,174,279" href="bygning.php?id=224" target="_self" alt="Mindegade 9">
                <area shape="poly" coords="152,306,145,334,161,339,168,310" href="bygning.php?id=225" target="_self" alt="Mindegade 13">
                <area shape="poly" coords="143,344,141,359,154,362,161,363,163,357,158,346" href="bygning.php?id=226" target="_self" alt="Mindegade 15">
                <area shape="poly" coords="157,369,140,366,133,393,136,397,173,409,180,391,155,386" href="bygning.php?id=227" target="_self" alt="Mindegaarden">
                <area shape="poly" coords="181,392,176,408,196,413,202,397" href="bygning.php?id=228" target="_self" alt="Dalgasgade 6">
                <area shape="poly" coords="204,397,197,415,227,420,232,404,236,400,232,398,229,352,221,354,218,396" href="bygning.php?id=229" target="_self" alt="Dalgasgade 4">
                <area shape="poly" coords="247,406,236,402,231,405,229,419,240,421,245,416" href="bygning.php?id=230" target="_self" alt="Dalgasgade 2">
                <area shape="poly" coords="293,402,276,403,276,413,294,413" href="bygning.php?id=231" target="_self" alt="Søndergade 30">
                <area shape="poly" coords="293,390,276,391,276,402,294,402" href="bygning.php?id=232" target="_self" alt="Søndergade 28">
                <area shape="poly" coords="293,384,276,386,274,373,292,371" href="bygning.php?id=233" target="_self" alt="Søndergade 26">
                <area shape="poly" coords="291,370,274,373,273,355,290,354" href="bygning.php?id=234" target="_self" alt="Søndergade 24">
                <area shape="poly" coords="288,305,262,310,262,322,276,320,279,334,263,337,265,350,293,348" href="bygning.php?id=235" target="_self" alt="Søndergade 22">
                <area shape="poly" coords="287,281,271,281,273,306,287,304" href="bygning.php?id=236" target="_self" alt="Søndergade 20">
                <area shape="poly" coords="285,254,268,254,272,278,287,278" href="bygning.php?id=237" target="_self" alt="Søndergade 18">
                <area shape="poly" coords="282,224,210,230,213,238,204,241,204,251,224,251,224,244,252,242,258,240,260,245,267,245,267,251,284,251" href="bygning.php?id=238" target="_self" alt="Søndergade 16">
                <area shape="poly" coords="277,153,251,154,255,167,233,171,228,183,234,198,254,196,254,207,262,205,264,212,259,214,251,215,255,222,255,227,284,226" href="bygning.php?id=239" target="_self" alt="Arkaden i Søndergade">
                <area shape="poly" coords="275,127,264,126,263,138,247,139,239,137,233,154,277,154" href="bygning.php?id=240" target="_self" alt="Søndergade 8">
                <area shape="poly" coords="272,72,257,74,262,92,256,92,258,98,273,97" href="bygning.php?id=241" target="_self" alt="Søndergade 4">
                <area shape="poly" coords="270,44,258,42,252,73,256,75,271,72" href="bygning.php?id=242" target="_self" alt="Søndergade 2">
                <area shape="poly" coords="273,99,259,98,261,126,273,126" href="bygning.php?id=369" target="_self" alt="Søndergade 6">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 14) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/14.gif" width="455" height="450" border="0" usemap="#Map14">
              <map name="Map14">
                <area shape="poly" coords="83,174,56,175,61,250,85,250,82,236,92,232,94,229,88,226" href="bygning.php?id=163" target="_self" alt="Søndergade 5">
                <area shape="poly" coords="52,114,75,113,78,173,57,174" href="bygning.php?id=162" target="_self" alt="Søndergade 3">
                <area shape="poly" coords="52,115,48,54,55,48,96,58,89,102,86,136,77,139,74,112" href="bygning.php?id=161" target="_self" alt="Hammerhus">
                <area shape="poly" coords="98,61,87,136,111,138,130,68" href="bygning.php?id=160" target="_self" alt="Østergade 4">
                <area shape="poly" coords="130,68,112,137,138,142,157,72" href="bygning.php?id=159" target="_self" alt="Østergade 6">
                <area shape="poly" coords="164,75,148,144,139,142,104,237,206,264,238,138,253,96" href="bygning.php?id=158" target="_self" alt="Østergade 8">
                <area shape="poly" coords="253,97,239,138,253,142,256,127,274,129,282,104" href="bygning.php?id=157" target="_self" alt="Volmerhus">
                <area shape="poly" coords="282,105,275,131,295,141,293,132,302,109" href="bygning.php?id=156" target="_self" alt="Østergade 14">
                <area shape="poly" coords="303,110,295,133,307,140,320,113" href="bygning.php?id=155" target="_self" alt="Østergade 16">
                <area shape="poly" coords="322,114,307,141,311,150,320,151,328,141,333,137,337,132,341,120" href="bygning.php?id=154" target="_self" alt="Østergade 18A">
                <area shape="poly" coords="341,119,339,134,330,142,325,166,332,170,337,166,344,167,359,124" href="bygning.php?id=153" target="_self" alt="Østergade 20">
                <area shape="poly" coords="360,124,344,167,342,186,350,185,355,171,364,174,368,166,376,143,381,138,384,130" href="bygning.php?id=152" target="_self" alt="Østergade 22A">
                <area shape="poly" coords="409,136,386,129,383,140,377,144,384,153,384,161,382,168,397,172" href="bygning.php?id=151" target="_self" alt="Østergade 22C">
                <area shape="poly" coords="381,170,375,179,366,205,385,211,397,172" href="bygning.php?id=150" target="_self" alt="Smedegade 2">
                <area shape="poly" coords="353,230,348,248,370,255,376,236" href="bygning.php?id=149" target="_self" alt="Østergade 6">
                <area shape="poly" coords="351,251,341,274,362,282,369,256" href="bygning.php?id=148" target="_self" alt="Smedegade 8">
                <area shape="poly" coords="342,275,336,281,331,297,355,307,360,283" href="bygning.php?id=147" target="_self" alt="Smedegade 10">
                <area shape="poly" coords="331,298,327,307,320,305,302,345,308,349,306,358,281,350,272,378,326,397,354,309" href="bygning.php?id=146" target="_self" alt="Smedegården">
                <area shape="poly" coords="246,141,234,181,245,185,247,183,256,181,256,170,250,168,256,143" href="bygning.php?id=265" target="_self" alt="Østergade 12 B">
                <area shape="poly" coords="277,134,264,175,282,183,285,172,290,171,290,161,294,143" href="bygning.php?id=264" target="_self" alt="Østergade 12 A">
                <area shape="poly" coords="304,155,303,162,308,164,301,196,323,204,332,174,318,169,319,159" href="bygning.php?id=263" target="_self" alt="Østergade 18 C">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 15) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/15.gif" width="455" height="450" border="0" usemap="#Map15">
              <map name="Map15">
                <area shape="poly" coords="117,349,110,369,126,375,133,355" href="bygning.php?id=167" target="_self" alt="Grønnegade 1">
                <area shape="poly" coords="159,360,151,382,183,394,194,373,177,351" href="bygning.php?id=166" target="_self" alt="Grønnegade 3">
                <area shape="poly" coords="194,373,184,395,218,405,226,381" href="bygning.php?id=165" target="_self" alt="Grønnegade 5">
                <area shape="poly" coords="234,376,225,406,301,432,320,351,290,346,278,384,269,387" href="bygning.php?id=164" target="_self" alt="Grønnebo">
                <area shape="poly" coords="325,333,279,320,276,333,279,343,319,352" href="bygning.php?id=168" target="_self" alt="Fonnesbechsgade 14">
                <area shape="poly" coords="330,309,315,304,311,309,267,296,264,303,249,298,245,310,279,320,324,331" href="bygning.php?id=169" target="_self" alt="Fonnesbechsgade 12">
                <area shape="poly" coords="337,283,312,277,308,297,331,304" href="bygning.php?id=170" target="_self" alt="Fonnesbechsgade 10">
                <area shape="poly" coords="341,261,307,253,307,257,316,265,314,276,335,283" href="bygning.php?id=171" target="_self" alt="Fonnesbechsgade 8">
                <area shape="poly" coords="348,239,309,228,304,241,308,252,343,261" href="bygning.php?id=172" target="_self" alt="Fonnesbechsgade 6">
                <area shape="poly" coords="345,168,338,166,325,217,353,225,365,172" href="bygning.php?id=173" target="_self" alt="Fonnesbechsgade 4">
                <area shape="poly" coords="366,172,382,110,378,99,291,77,280,104,272,108,243,206,285,219,317,117,352,122,344,168" href="bygning.php?id=174" target="_self" alt="Østergade 32">
                <area shape="poly" coords="291,77,245,64,221,130,234,136,243,104,251,105,249,112,257,114,263,97,277,107" href="bygning.php?id=176" target="_self" alt="Østergade 30">
                <area shape="poly" coords="215,56,197,113,219,120,224,103,214,99,221,84,234,89,243,64" href="bygning.php?id=177" target="_self" alt="Østergade 28">
                <area shape="poly" coords="214,56,189,48,183,80,204,87" href="bygning.php?id=178" target="_self" alt="Østergade 26">
                <area shape="poly" coords="176,104,183,81,188,48,144,36,138,57,138,63,152,71,161,72,155,96" href="bygning.php?id=179" target="_self" alt="Østergade 24">
                <area shape="poly" coords="116,347,110,370,48,352,43,343,56,308,81,315,75,334" href="bygning.php?id=182" target="_self" alt="Smedegade 13">
                <area shape="poly" coords="86,285,67,280,56,308,80,315" href="bygning.php?id=181" target="_self" alt="Smedegade 11">
                <area shape="poly" coords="137,63,77,250,66,279,84,286,88,282,98,285,97,293,170,315,176,300,123,283,120,289,103,285,102,274,73,264,84,252,101,257,104,251,112,252,122,234,127,200,194,215,199,198,193,197,197,193,178,185,174,189,154,185,149,199,127,198,152,129,135,123,139,111,144,106,149,89,149,72" href="bygning.php?id=180" target="_self" alt="Smedegade 1-9">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 16) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/16.gif" width="455" height="450" border="0" usemap="#Map16">
              <map name="Map16">
                <area shape="poly" coords="387,227,347,212,281,406,326,420" href="bygning.php?id=64" target="_self" alt="Bybusterminalen">
                <area shape="poly" coords="252,396,270,335,263,332,306,196,247,177,235,213,220,207,204,244,201,240,178,304,165,300,103,304,107,348,124,353,125,373,160,367" href="bygning.php?id=65" target="_self" alt="BioCity Herning">
                <area shape="poly" coords="125,264,101,265,103,297,169,292,176,270,163,272,127,271" href="bygning.php?id=66" target="_self" alt="Søndergade 23">
                <area shape="poly" coords="101,228,102,258,127,257,124,226" href="bygning.php?id=67" target="_self" alt="Søndergade 21">
                <area shape="poly" coords="141,201,123,199,111,200,98,200,100,222,131,217,141,211" href="bygning.php?id=68" target="_self" alt="Frelsens Hær Herning">
                <area shape="poly" coords="91,89,119,83,160,82,163,100,149,136,153,188,138,193,97,197" href="bygning.php?id=69" target="_self" alt="Søndergade 15-17">
                <area shape="poly" coords="123,84,90,89,89,66,122,63" href="bygning.php?id=70" target="_self" alt="Søndergade 11">
                <area shape="poly" coords="84,24,89,67,153,62,151,42,156,40,151,29,143,29,141,38,131,38,122,19" href="bygning.php?id=71" target="_self" alt="Søndergade 9">
              </map>
              <p align="center"><B><font color="#FF0000">Rødt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 17) {
echo
?>
            <p align="center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/17.gif" width="455" height="450" border="0" usemap="#Map17">
              <map name="Map17">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="Sølvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,27
Avatar billede showsource Seniormester
07. maj 2009 - 19:34 #1
Prøv at ændre alle $HTTP_GET_VARS['id'] til $_GET['id']
Avatar billede showsource Seniormester
07. maj 2009 - 19:35 #2
Nåh, var lige på dit link, og det var jo så en syntaks fejl.

Men det er cel helelr ikke al koden du viser her?
Avatar billede showsource Seniormester
07. maj 2009 - 19:39 #3
Linie 73 har du
echo

uden " eller '
Ved ikke lige om det er gangbart ?

På linie 74 har du
<?=$row["id"]?>
Prøv med
<?=$row["id"];?>
eller
<?php echo $row["id"]; ?>
Avatar billede dklap3 Nybegynder
07. maj 2009 - 20:24 #4
showsource:

Nej du har ret, der mangler noget kode i bunden. Det kommer lige herunder. Jeg har prøvet dine forslag, men det virker stadig ikke.
Et eller andet sted virker det også mystisk hvis det skulle være den <?=$row["id"]?> der ikke virker, for jeg har noget i samme stil på andre sider og der virker det fint.

Nå, det sidste af koden:


else if ($HTTP_GET_VARS['id'] == 17) {
echo
?>
            <p align="center">Klik p&aring; en bygning p&aring; kortet, eller se alle bygningerne i omr&aring;det ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/17.gif" width="455" height="450" border="0" usemap="#Map17">
              <map name="Map17">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="S&oslash;lvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,279,195,284,197,290,190,298,193,306,166" href="bygning.php?id=58" target="_self" alt="Gr&oslash;nnegade 10">
                <area shape="poly" coords="289,159,273,152,260,193,269,197,274,188,280,189" href="bygning.php?id=59" target="_self" alt="Gr&oslash;nnegade 8">
                <area shape="poly" coords="270,157,213,137,202,171,261,188" href="bygning.php?id=60" target="_self" alt="Gr&oslash;nnegade 6">
                <area shape="poly" coords="190,127,182,156,193,163,190,181,197,185,213,135" href="bygning.php?id=61" target="_self" alt="Gr&oslash;nnegade 4">
                <area shape="poly" coords="153,115,141,154,151,158,155,152,172,153,182,126" href="bygning.php?id=62" target="_self" alt="Gr&oslash;nnegade 2A">
                <area shape="poly" coords="73,113,62,142,107,155,119,122,108,118,99,143,94,143,99,122" href="bygning.php?id=63" target="_self" alt="Smedegade 15">
                <area shape="poly" coords="312,168,302,199,387,226,376,275,408,285,420,230,414,229,420,202" href="bygning.php?id=364" target="_self" alt="Fonnesbechsgade 16">
              </map>
              <p align="center"><B><font color="#FF0000">R&oslash;dt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udl&aring;nt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 18) {
echo
?>
            <p align="center">Klik p&aring; en bygning p&aring; kortet, eller se alle bygningerne i omr&aring;det ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/18.gif" width="455" height="450" border="0" usemap="#Map18">
              <map name="Map18">
                <area shape="poly" coords="42,133,37,148,52,152,57,134" href="bygning.php?id=308" target="_self" alt="Dalgasgade 53">
                <area shape="poly" coords="63,138,60,154,71,160,77,160,81,143,72,136" href="bygning.php?id=309" target="_self" alt="Dalgasgade 51">
                <area shape="poly" coords="78,196,62,195,58,197,61,202,60,210,69,211,69,218,79,218" href="bygning.php?id=310" target="_self" alt="Birke Alle 2">
                <area shape="poly" coords="62,222,60,230,57,231,55,239,77,242,77,224" href="bygning.php?id=311" target="_self" alt="Birke Alle 4">
                <area shape="poly" coords="73,263,61,263,57,268,58,278,76,281,76,269" href="bygning.php?id=312" target="_self" alt="Birke Alle 6">
                <area shape="poly" coords="97,280,97,296,99,300,112,299,114,281" href="bygning.php?id=313" target="_self" alt="Birke Alle 9">
                <area shape="poly" coords="99,258,99,274,108,274,108,277,118,278,117,274,114,274,114,257" href="bygning.php?id=314" target="_self" alt="Birke Alle 7">
                <area shape="poly" coords="99,232,97,245,98,251,116,251,116,234" href="bygning.php?id=315" target="_self" alt="Birke Alle 5">
                <area shape="poly" coords="100,213,100,227,115,229,117,213" href="bygning.php?id=316" target="_self" alt="Birke Alle 3">
                <area shape="poly" coords="101,143,96,158,113,167,120,164,124,156,113,149" href="bygning.php?id=317" target="_self" alt="Dalgasgade 49">
                <area shape="poly" coords="143,177,144,199,122,194,122,187,117,185,117,177,130,164,129,176" href="bygning.php?id=318" target="_self" alt="Dalgasgade 47">
                <area shape="poly" coords="147,154,148,170,156,170,154,174,159,179,161,175,169,175,173,160" href="bygning.php?id=319" target="_self" alt="Dalgasgade 45A">
                <area shape="poly" coords="149,194,147,218,168,219,168,195" href="bygning.php?id=320" target="_self" alt="Dalgasgade 45B">
                <area shape="poly" coords="174,159,169,177,194,182,197,165" href="bygning.php?id=321" target="_self" alt="Dalgasgade 43">
                <area shape="poly" coords="193,222,178,222,175,247,192,250,194,241" href="bygning.php?id=322" target="_self" alt="Linde Alle 4">
                <area shape="poly" coords="189,264,176,262,174,266,173,277,182,279,192,280" href="bygning.php?id=323" target="_self" alt="Linde Alle 6A">
                <area shape="poly" coords="180,280,165,276,162,288,170,294,183,294,182,282" href="bygning.php?id=324" target="_self" alt="Linde Alle 6B">
                <area shape="poly" coords="208,232,207,247,212,246,211,252,216,253,219,248,224,248,226,232" href="bygning.php?id=325" target="_self" alt="Linde Alle 1">
                <area shape="poly" coords="225,274,226,279,220,281,220,288,224,287,225,292,250,296,271,291,293,289,305,249,287,245,281,265,284,271,279,276,266,273,256,268,252,274" href="bygning.php?id=326" target="_self" alt="Dalgasgade 37">
                <area shape="poly" coords="214,167,213,171,211,185,232,190,237,172" href="bygning.php?id=327" target="_self" alt="Dalgasgade 41">
                <area shape="poly" coords="246,175,243,192,260,196,264,179" href="bygning.php?id=328" target="_self" alt="Dalgasgade 39">
                <area shape="poly" coords="273,180,268,199,267,207,270,217,277,211,289,212,296,187" href="bygning.php?id=329" target="_self" alt="Mors&oslash; Bank">
                <area shape="poly" coords="298,187,295,204,307,206,317,207,320,189" href="bygning.php?id=330" target="_self" alt="Dalgasgade 35A">
                <area shape="poly" coords="353,205,351,208,348,208,344,222,356,228,355,234,361,236,361,241,365,243,369,232,363,228,368,213,360,212,361,207" href="bygning.php?id=331" target="_self" alt="Dalgasgade 31">
                <area shape="poly" coords="375,237,372,237,371,238,369,251,370,250,372,251,380,254,378,254,388,252,393,241,384,239,381,236" href="bygning.php?id=332" target="_self" alt="Dalgasgade 29">
                <area shape="poly" coords="400,214,398,220,396,224,395,230,411,235,415,219" href="bygning.php?id=333" target="_self" alt="Dalgasgade 27">
                <area shape="poly" coords="421,223,419,237,439,242,443,228" href="bygning.php?id=334" target="_self" alt="Dalgasgade 25B">
                <area shape="poly" coords="377,214,362,289,373,290,373,298,393,298,394,245,390,244,394,219" href="bygning.php?id=354" target="_self" alt="Vestjysk Bank">
                <area shape="poly" coords="421,222,422,244,411,243,410,299,429,299,430,293,439,293,440,227" href="bygning.php?id=353" target="_self" alt="Finanscenter Herning">
              </map>
              <p align="center"><B><font color="#FF0000">R&oslash;dt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udl&aring;nt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 19) {
echo
?>
            <p align="center">Klik p&aring; en bygning p&aring; kortet, eller se alle bygningerne i omr&aring;det ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/19.gif" width="455" height="450" border="0" usemap="#Map19">
              <map name="Map19">
                <area shape="poly" coords="75,141,72,156,88,161,91,146" href="bygning.php?id=337" target="_self" alt="Dalgasgade 21">
                <area shape="poly" coords="98,147,93,165,100,169,102,164,107,165,102,189,110,192,114,179,109,177,112,150" href="bygning.php?id=338" target="_self" alt="Dalgasgade 19">
                <area shape="poly" coords="121,154,117,173,129,175,121,221,117,223,116,228,133,233,138,231,151,166,147,157" href="bygning.php?id=339" target="_self" alt="S&oslash;nderport">
                <area shape="poly" coords="182,167,179,174,176,178,178,183,201,189,202,182,208,183,206,193,212,196,216,174" href="bygning.php?id=340" target="_self" alt="Dalgasgade 15">
                <area shape="poly" coords="223,173,219,181,217,197,235,205,248,203,252,186,248,177" href="bygning.php?id=341" target="_self" alt="Dalgasgade 13">
                <area shape="poly" coords="258,183,254,201,277,207,270,247,285,250,300,202,298,191" href="bygning.php?id=342" target="_self" alt="Dalgasgade 11">
                <area shape="poly" coords="309,190,304,204,301,217,306,221,311,212,320,217,319,228,331,232,333,226,340,232,341,223,335,221,337,213,329,211,333,195" href="bygning.php?id=343" target="_self" alt="Dalgasgade 9">
                <area shape="poly" coords="344,203,342,218,353,223,350,247,361,251,366,223,366,207" href="bygning.php?id=344" target="_self" alt="Dalgasgade 7">
                <area shape="poly" coords="374,210,368,231,378,235,379,231,389,231,393,214" href="bygning.php?id=345" target="_self" alt="Dalgasgade 5">
                <area shape="poly" coords="398,216,394,239,409,243,414,232,414,219" href="bygning.php?id=346" target="_self" alt="Dalgasgade 3A">
                <area shape="poly" coords="417,234,411,257,431,260,437,237" href="bygning.php?id=347" target="_self" alt="Dalgasgade 3">
                <area shape="poly" coords="30,146,26,158,37,157,40,146" href="bygning.php?id=335" target="_self" alt="Dalgasgade 25">
                <area shape="poly" coords="56,139,55,150,69,152,70,140" href="bygning.php?id=336" target="_self" alt="Dalgasgade 23">
                <area shape="poly" coords="35,132,25,180,33,181,33,190,21,187,20,203,72,216,65,174,71,141" href="bygning.php?id=404" target="_self" alt="Queens Corner">
              </map>
              <p align="center"><B><font color="#FF0000">R&oslash;dt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udl&aring;nt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 20) {
echo
?>
            <p align="center">Klik p&aring; en bygning p&aring; kortet, eller se alle bygningerne i omr&aring;det ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search=<?=$row["id"]?>"target="_self">her</a><p>
            <p align="center"><img class="x3" src="grafik/20.gif" width="455" height="450" border="0" usemap="#Map20">
              <map name="Map20">
                <area shape="poly" coords="372,213,354,280,345,277,339,293,405,311,413,291,408,288,408,293,385,287,392,265,403,265,406,248,395,245,400,221" href="bygning.php?id=51" target="_self" alt="Scandic Hotel">
                <area shape="poly" coords="337,308,341,285,317,279,321,263,306,257,263,203,308,215,309,206,264,187,221,117,210,114,255,189,227,179,221,192,254,202,295,258,292,272,128,228,122,250" href="bygning.php?id=52" target="_self" alt="Baneg&aring;rdscentret">
                <area shape="poly" coords="29,133,26,149,48,156,49,178,65,177,63,142" href="bygning.php?id=53" target="_self" alt="S&oslash;lvgade 27-29">
                <area shape="poly" coords="111,244,25,223,29,215,22,213,22,191,62,190,62,210,117,224,127,229,121,252" href="bygning.php?id=368" target="_self" alt="Baneg&aring;rdspladsen 2-4">
              </map>
              <p align="center"><B><font color="#FF0000">R&oslash;dt husnummer</font></B>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udl&aring;nt af Herning Kommune.
              <?
}
else if ($HTTP_GET_VARS['id'] == 21 || $HTTP_GET_VARS['id'] == 22 || $HTTP_GET_VARS['id'] == 23) {
echo
?>
            <p align="center">V&aelig;lg et af omr&aring;derne for se en oversigt
              over bygningerne.
<p>
            <p align="center"><img src="grafik/212223.jpg" width="654" height="450" border="0" usemap="#Map21" class="x3">
              <map name="Map21">
                <area shape="rect" coords="1,1,218,450" href="http://www.herningshuse.dk/blokthumb.php?search=21" target="_self" alt="Uden for Cityringen">
                <area shape="rect" coords="217,0,436,452" href="http://www.herningshuse.dk/blokthumb.php?search=22" target="_self" alt="Fuglsang S&oslash;">
                <area shape="rect" coords="435,0,654,450" href="http://www.herningshuse.dk/blokthumb.php?search=23" target="_self" alt="Birk Centerpark">
              </map>
             
<?
}}
?>
</td>
        </tr>
      </table>
      <br></div></td>
  </tr>
  <tr>
    <td class="bund"><?include("bund.php");?></td>
  </tr>
</table>
<?
    }
    else
    {
        include("404.php");
    }
?>
</body>
<?php
/* Vi connecter til databasen. */
include("dbconnect.php");
mysql_select_db("database");
$ip = getenv(REMOTE_ADDR);
$tid = date("Y-m-d H:i:s", (time()-600));
mysql_query("DELETE FROM online WHERE tid < '$tid'");
$tjek = mysql_query("SELECT * FROM online WHERE ip='$ip'");
if(mysql_num_rows($tjek) == 0) {
    mysql_query("INSERT INTO online (tid, ip) VALUES (now(),'$ip')");
} else {
    mysql_query("UPDATE online SET tid=now() WHERE ip='$ip'");
}
/* Til sidst lukker vi forbindelsen til MySQL-databasen */
mysql_close($connection);
?>
</html>
Avatar billede showsource Seniormester
07. maj 2009 - 21:26 #5
utestet !!! og lettere omskrevet:

<?php
if(!isset($_GET["id"]) || !is_numeric($_GET["id"])) {
echo"Vælg id!";
exit;
}

include("dbconnect.php");

$sql = sprintf( "SELECT `id` , `navn` 
        FROM `herning_omrader` WHERE `id` = %d", $_GET['id'] );
        $test1 = mysql_query($sql) or die (mysql_error());

    if ($row = mysql_fetch_assoc($test1))
    {
        $id = $row["id"];
        //$thumbs = glob( 'billeder/thumbs/' . $id . '_*.jpg' );


function top_map($var) {
echo'
            <p style="text-align: center">Klik på en bygning på kortet, eller se alle bygningerne i området ved at klikke <a  href="http://www.herningshuse.dk/blokthumb.php?search='.$var.'" target="_self">her</a><p>
            <p style="text-align: center"><img class="x3" src="grafik/'.$var.'.gif" width="455" height="450" border="0" usemap="#bykort"></p>
';
}

function bottom_map() {
echo'
              <p style="text-align: center">
              <span style="font-weight: bold; color; #FF0000;">Rødt husnummer</span>
              betyder at bygningen er blevet revet ned. Original kort venligst
              udlånt af Herning Kommune.
              </p>

';
}

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title><?php echo $row["navn"]; ?> - Hernings Huse</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="Om arkitektur og byudvikling i Herning - Bygninger, nyheder, fotos, historie og aktuelle temaer.">
<meta name="keywords" content="Herning, Herningshuse.dk, Hernings Huse, Herningshuse, Arkitektur, Virtuel Gåtur, Bygninger, Hedens Hovedstad, Heden, Midtjylland, City Ring, Cityring, Hernings Huse, Dalgashus, Ringkøbing Amt, Region Midtjylland">
<link href="css/css.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body,td
.linkfarver A:link {color: #000000;}
.linkfarver A:visited {color: #000000;}
.linkfarver A:active {color: #000000;}
.linkfarver A:hover {color: #000000;}
-->
</style>
<script type="text/javascript">
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
</script>

</head>
<body bgcolor="003F67" text="#999999" link="#999999" vlink="#999999" alink="#999999">
<table class="tdborder" width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FFFFFF">
<?include("top.php");?></td>
  </tr>
  <tr>
    <td bgcolor="#666666" class="menu">
      <div align="center"><?include("menu.php");?></div></td>
  </tr>
  <tr>
    <td bgcolor="#ffffff"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="td6">
        <tr>
          <td width="80%" bgcolor="#E2E2E2" class="location"><font color="#999999"><strong>
                  Du er her:</strong> <a href="http://www.herningshuse.dk" target="_self">Forsiden</a><font color="#FF0000"> > </font><a href="bykort.php" target="_self">Bykort</a><font color="#FF0000"> > </font>Område <?=$row["id"]?></font></td>
            <td width="20%" bgcolor="#E2E2E2">
              <form method="get" action="results.php" style="display: inline;">
              <div align="right">
                <input name="search" value=" Søg bygning..." align="absbottom" style="background:url(/grafik/sog-bg.gif)" onFocus="clearText(this)" size="12" class="altTextField1">
                <input name="submit" type="image" src="/grafik/sog.gif" align="absmiddle" class="altButtonFormat1">     
              </div>
            </form>
</td>
        </tr>
      </table>
      </p>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="linkfarver">
        <tr>
          <td><p align="center">
              <?=$row["navn"]?>
              (V-N-Ø-S) </p>
            <?php

if ($id == 21 || $id == 22 || $id == 23) {
echo'
?>
            <p align="center">V&aelig;lg et af omr&aring;derne for se en oversigt
              over bygningerne.
<p>
            <p align="center"><img src="grafik/212223.jpg" width="654" height="450" border="0" usemap="#Map21" class="x3">
              <map name="Map21">
                <area shape="rect" coords="1,1,218,450" href="http://www.herningshuse.dk/blokthumb.php?search=21" target="_self" alt="Uden for Cityringen">
                <area shape="rect" coords="217,0,436,452" href="http://www.herningshuse.dk/blokthumb.php?search=22" target="_self" alt="Fuglsang S&oslash;">
                <area shape="rect" coords="435,0,654,450" href="http://www.herningshuse.dk/blokthumb.php?search=23" target="_self" alt="Birk Centerpark">
              </map>
<?php
';

} else {

top_map($id);

if ($id == 1)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="160,252,87,249,85,307,78,307,66,351,82,357,83,370,93,372,95,387,155,386" href="bygning.php?id=1" target="_self" alt="Midtgaard">
                <area shape="poly" coords="193,346,189,390,192,385,234,388,241,354,203,355,202,349" href="bygning.php?id=2" target="_self" alt="Bethaniagade 38">
                <area shape="poly" coords="241,354,234,388,281,391,280,358,264,356,265,258,247,257" href="bygning.php?id=3" target="_self" alt="Bethaniagade 36">
                <area shape="poly" coords="383,267,348,264,336,356,286,355,286,393,361,399,372,393" href="bygning.php?id=4" target="_self" alt="Bethaniagade 34A">
                <area shape="poly" coords="385,258,343,254,343,243,350,245,351,224,389,225" href="bygning.php?id=5" target="_self" alt="Carit Etlars Gade 3">
                <area shape="poly" coords="341,190,333,228,342,230,344,224,390,226,391,195" href="bygning.php?id=6" target="_self" alt="Carit Etlars Gade 5">
                <area shape="poly" coords="369,88,349,85,338,148,391,156,398,126,395,126,395,122,365,118" href="bygning.php?id=7" target="_self" alt="Rolighedsvej 9 ">
                <area shape="poly" coords="296,78,292,113,342,121,347,87,329,83,323,81,319,84,313,83,312,79,301,77" href="bygning.php?id=8" target="_self" alt="Rolighedsvej 11 ">
                <area shape="poly" coords="285,74,256,70,246,104,279,108" href="bygning.php?id=12" target="_self" alt="Rolighedsvej 13A">
                <area shape="poly" coords="256,73,250,72,250,67,220,63,214,91,204,91,201,118,218,120,219,100,227,103,228,112,245,116" href="bygning.php?id=10" target="_self" alt="Rolighedsvej 15">
                <area shape="poly" coords="179,81,174,81,169,72,147,77,107,71,100,113,108,114,100,171,183,181,188,126,175,124" href="bygning.php?id=11" target="_self" alt="YX Energi">
                <area shape="poly" coords="258,171,252,212,280,217,280,213,295,218,298,206,282,203,285,171,273,169,270,173" href="bygning.php?id=9" target="_self" alt="Rolighedsvej 13">
              </map>
              <?php
';
}
else if ($id == 2)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="80,314,59,312,58,336,79,338" href="bygning.php?id=13" target="_self" alt="Bethaniagade 32">
                <area shape="poly" coords="89,284,86,338,120,341,119,286,116,287,118,264,94,264,95,283" href="bygning.php?id=14" target="_self" alt="Bethaniagade 30">
                <area shape="poly" coords="120,313,118,341,159,343,161,316" href="bygning.php?id=15" target="_self" alt="Bethaniagade 26">
                <area shape="poly" coords="163,313,160,342,199,344,200,316,175,313,177,296,168,293,169,285,160,282,156,301,167,302" href="bygning.php?id=16" target="_self" alt="Bethaniagade 26">
                <area shape="poly" coords="214,304,214,342,354,349,354,311" href="bygning.php?id=17" target="_self" alt="Nørgaards Allé 3 A-B-C">
                <area shape="poly" coords="342,277,340,294,356,294,354,306,354,343,357,355,393,357,390,342,405,342,404,312,382,308,383,279" href="bygning.php?id=18" target="_self" alt="Nørgaards Allé 1A-B, Bethaniagade 18">
                <area shape="poly" coords="270,130,262,171,405,194,409,151" href="bygning.php?id=19" target="_self" alt="Rolighedsvej 1A-B-C">
                <area shape="poly" coords="174,112,167,151,186,156,191,147,215,152,218,148,220,149,226,128,193,124,191,115" href="bygning.php?id=20" target="_self" alt="Rolighedsvej 3">
                <area shape="poly" coords="142,108,139,136,130,135,130,133,126,133,125,129,114,129,116,102" href="bygning.php?id=21" target="_self" alt="Rolighedsvej 5">
                <area shape="poly" coords="57,93,51,99,48,125,51,127,53,139,66,139,69,134,76,136,83,98" href="bygning.php?id=22" target="_self" alt="Rolighedsvej 7">
                <area shape="poly" coords="49,145,45,168,66,173,69,171,80,174,80,165,70,164,71,147" href="bygning.php?id=23" target="_self" alt="Carit Etlars Gade 8">
                <area shape="poly" coords="44,180,41,202,91,203,92,193,65,193,66,183" href="bygning.php?id=24" target="_self" alt="Carit Etlars Gade 6">
                <area shape="poly" coords="40,203,37,224,61,227,64,214,101,217,100,204" href="bygning.php?id=25" target="_self" alt="Carit Etlars Gade 4">
                <area shape="poly" coords="37,235,35,261,61,263,62,235" href="bygning.php?id=26" target="_self" alt="Carit Etlars Gade 2 B">
                <area shape="poly" coords="38,289,35,307,30,308,29,333,57,335,59,311,47,310,47,291" href="bygning.php?id=27" target="_self" alt="Carit Etlars Gade 2 A">
              </map>
              <?php
';
}
else if ($id == 3)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="57,279,57,298,45,296,47,338,63,338,63,350,88,352,88,324,97,321,98,310,89,307,88,298,78,298,79,282" href="bygning.php?id=28" target="_self" alt="Nørgaards Allé 2">
                <area shape="poly" coords="115,320,112,357,156,359,156,319" href="bygning.php?id=29" target="_self" alt="Bethaniagade 16">
                <area shape="poly" coords="156,317,156,360,227,364,227,326" href="bygning.php?id=30" target="_self" alt="Bethaniagade 14">
                <area shape="poly" coords="227,326,228,363,256,363,255,327" href="bygning.php?id=31" target="_self" alt="Bethaniagade 12">
                <area shape="poly" coords="338,322,332,320,329,328,301,330,297,320,285,319,285,330,257,328,257,364,360,368,371,356,396,142,359,136,357,141,227,126,225,159,253,163,251,172,260,175,263,166,311,172,320,173,317,182,328,184,332,174,348,177,352,191,347,257,337,256,338,271,341,272" href="bygning.php?id=32" target="_self" alt="Skolegade 11 A-F">
                <area shape="poly" coords="74,94,70,104,63,102,60,128,95,135,96,143,108,145,113,136,163,142,164,153,175,153,177,145,203,146,208,111" href="bygning.php?id=33" target="_self" alt="Nørgaards Allé 4">
              </map>
              <?php
';
}
else if (id == 4)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="36,235,32,266,40,275,71,277,71,266,74,250,71,242" href="bygning.php?id=34" target="_self" alt="Skolegade 12">
                <area shape="poly" coords="143,212,142,273,168,274,169,213" href="bygning.php?id=35" target="_self" alt="Bethaniagade 6">
                <area shape="poly" coords="388,198,387,205,375,201,366,242,371,241,368,255,409,261,420,209,410,203,407,204" href="bygning.php?id=37" target="_self" alt="Bethania">
                <area shape="poly" coords="315,221,302,284,332,291,336,304,343,303,343,293,368,299,370,283,338,275,355,193,259,180,204,173,164,167,141,163,112,160,76,153,59,153,55,174,52,190,50,214,46,230,76,238,86,187,237,207,235,212" href="bygning.php?id=36" target="_self" alt="Herning Rådhus">
              </map>
              <?php
';
}
else if ($id == 5)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="338,358,350,305,375,311,370,347,364,352,362,361" href="bygning.php?id=285" target="_self" alt="Bredgade 38">
                <area shape="poly" coords="337,358,351,305,352,298,324,291,323,295,320,295,317,323,306,325,304,355" href="bygning.php?id=286" target="_self" alt="Bredgade 40">
                <area shape="poly" coords="281,326,273,352,303,355,306,327,303,327,301,331,293,333,292,325" href="bygning.php?id=287" target="_self" alt="Bredgade 42">
                <area shape="poly" coords="273,352,282,325,287,274,275,272,274,278,256,276,248,315,249,316,247,317,246,324,240,351" href="bygning.php?id=288" target="_self" alt="Bredgade 44">
                <area shape="poly" coords="244,326,232,325,232,311,207,309,202,346,238,352" href="bygning.php?id=289" target="_self" alt="Bredgade 46">
                <area shape="poly" coords="205,312,202,310,202,299,195,296,194,301,188,300,182,328,170,327,170,346,201,346" href="bygning.php?id=290" target="_self" alt="Bredgade 48">
                <area shape="poly" coords="163,346,127,343,147,282,166,283" href="bygning.php?id=291" target="_self" alt="Bredgade 50">
                <area shape="poly" coords="108,299,101,342,127,344,147,283,146,272,131,270,131,277,120,277,114,300" href="bygning.php?id=292" target="_self" alt="Bredgade 52">
                <area shape="poly" coords="101,342,65,338,67,285,68,245,76,245,76,228,81,229,83,222,89,222,89,229,116,229,116,245,111,254,107,260,106,299,107,299" href="bygning.php?id=293" target="_self" alt="Midtgården">
                <area shape="poly" coords="66,284,46,281,45,284,29,281,21,319,33,321,33,335,64,339" href="bygning.php?id=294" target="_self" alt="Uhrskovhuset">
                <area shape="poly" coords="118,120,90,118,90,124,67,123,53,135,40,200,67,205,76,151,96,151,96,157,118,159" href="bygning.php?id=295" target="_self" alt="Bethaniagade 65">
                <area shape="poly" coords="135,117,135,139,143,141,147,145,152,142,161,142,169,143,171,121" href="bygning.php?id=296" target="_self" alt="Bethaniagade 43-45">
                <area shape="poly" coords="170,121,171,142,177,140,189,140,205,142,204,122" href="bygning.php?id=297" target="_self" alt="Bethaniagade 39-41">
                <area shape="poly" coords="210,122,207,126,208,139,214,142,227,142,230,122" href="bygning.php?id=298" target="_self" alt="Bethaniagade 37">
                <area shape="poly" coords="229,124,227,141,242,140,243,151,255,152,256,124" href="bygning.php?id=299" target="_self" alt="Bethaniagade 35">
                <area shape="poly" coords="241,151,241,159,238,160,236,179,251,180,254,153" href="bygning.php?id=300" target="_self" alt="Herninglund 4">
                <area shape="poly" coords="266,123,264,152,270,152,272,148,281,147,285,144,289,146,289,150,297,150,296,125" href="bygning.php?id=301" target="_self" alt="Bethaniagade 33">
                <area shape="poly" coords="338,127,298,126,297,149,305,151,305,146,330,146,331,153,336,152" href="bygning.php?id=302" target="_self" alt="Bethaniagade 29-31">
                <area shape="poly" coords="338,127,337,147,372,148,374,128" href="bygning.php?id=303" target="_self" alt="Bethaniagade 25-27">
                <area shape="poly" coords="429,129,375,127,373,148,411,149,418,152,428,153,434,136" href="bygning.php?id=304" target="_self" alt="Bethaniagade 19-23">
                <area shape="poly" coords="405,252,386,246,405,159,429,166,411,246" href="bygning.php?id=305" target="_self" alt="Smallegade 3-13">
                <area shape="poly" coords="373,303,359,300,357,306,351,306,352,298,324,291,328,265,308,265,311,191,361,193,360,241,404,251,407,258,400,296,379,290" href="bygning.php?id=306" target="_self" alt="Smallegade 1">
                <area shape="poly" coords="217,190,214,208,239,211,239,237,229,239,228,258,261,259,261,242,265,241,267,193" href="bygning.php?id=307" target="_self" alt="Herninglund 6">
              </map>
              <?php
';
}
else if ($id == 6)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="403,257,369,251,358,309,349,310,342,319,321,323,323,353,384,348,391,339" href="bygning.php?id=266" target="_self" alt="Hotel Corona">
                <area shape="poly" coords="318,314,307,313,308,266,296,265,293,352,322,353" href="bygning.php?id=268" target="_self" alt="Bredgade 22">
                <area shape="poly" coords="285,351,269,351,269,335,287,334" href="bygning.php?id=269" target="_self" alt="Bredgade 24">
                <area shape="poly" coords="215,240,209,273,231,282,240,255,237,245" href="bygning.php?id=270" target="_self" alt="Bredgade 24A">
                <area shape="poly" coords="227,353,196,351,196,327,207,274,229,281,227,301,219,299,214,310,219,313,216,328,228,330" href="bygning.php?id=271" target="_self" alt="Bredgade 26">
                <area shape="poly" coords="160,348,157,323,173,263,208,274,196,326,196,351" href="bygning.php?id=272" target="_self" alt="Bredgade 28">
                <area shape="poly" coords="85,344,86,314,96,274,103,248,174,263,157,323,159,349" href="bygning.php?id=273" target="_self" alt="Bredgade 30">
                <area shape="poly" coords="42,342,41,318,54,256,56,251,79,256,77,264,69,266,82,275,85,270,96,273,86,314,85,344" href="bygning.php?id=274" target="_self" alt="Bredgade 32">
                <area shape="poly" coords="41,342,14,341,10,334,24,267,43,271,46,254,53,254,40,317" href="bygning.php?id=275" target="_self" alt="Bredgade 34">
                <area shape="poly" coords="48,144,39,189,73,197,76,186,66,185,70,158,84,159,79,183,89,190,113,198,123,164,88,156,84,153" href="bygning.php?id=276" target="_self" alt="Fermaten">
                <area shape="poly" coords="49,144,60,84,187,87,185,125,89,119,85,139,89,139,85,153" href="bygning.php?id=277" target="_self" alt="Bethaniagade 17">
                <area shape="poly" coords="210,103,202,137,214,142,215,136,231,138,235,131,240,134,242,119,235,118,239,109,223,105,220,107" href="bygning.php?id=278" target="_self" alt="Bethaniagade 13">
                <area shape="poly" coords="250,90,245,114,268,119,274,96,267,92,258,93" href="bygning.php?id=279" target="_self" alt="Bethaniagade 11">
                <area shape="poly" coords="292,91,292,119,313,122,312,94" href="bygning.php?id=280" target="_self" alt="Bethaniagade 9">
                <area shape="poly" coords="339,94,338,113,366,113,371,112,371,104,367,103,366,95" href="bygning.php?id=281" target="_self" alt="Bethaniagade 7">
                <area shape="poly" coords="412,103,388,102,382,134,331,129,328,149,414,155,422,114,411,112" href="bygning.php?id=282" target="_self" alt="Skolegade 7">
                <area shape="poly" coords="354,152,351,171,387,177,385,183,409,187,413,156" href="bygning.php?id=283" target="_self" alt="Skolegade 5">
                <area shape="poly" coords="409,188,384,182,380,193,349,188,350,182,343,179,322,175,316,199,405,216" href="bygning.php?id=284" target="_self" alt="Skolegade 3">
                <area shape="poly" coords="309,238,307,252,324,254,320,305,344,308,345,301,350,301,354,241" href="bygning.php?id=267" target="_self" alt="Bone's">
                <area shape="poly" coords="292,352,231,351,249,256,297,264,294,266" href="bygning.php?id=367" target="_self" alt="Bredgade 24">
              </map>
              <?php
';
}
else if ($id == 7)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="378,161,377,128,400,131,403,140,410,140,412,250,377,251,377,209,373,184,379,183" href="bygning.php?id=243" target="_self" alt="Herning Rådhus">
                <area shape="poly" coords="413,250,415,309,353,315,346,262,373,261,374,254" href="bygning.php?id=244" target="_self" alt="Hedebankbygningen">
                <area shape="poly" coords="339,232,345,317,269,323,268,298,271,289,276,289,285,250,298,254,294,281,302,281,303,286,320,286,326,286,325,271,323,263,316,263,312,232" href="bygning.php?id=245" target="_self" alt="Bredgade 4">
                <area shape="poly" coords="268,322,267,296,261,296,259,276,270,277,274,260,275,241,210,223,213,233,197,231,197,288,211,288,218,324" href="bygning.php?id=246" target="_self" alt="Bredgade 6">
                <area shape="poly" coords="210,290,195,288,195,291,192,293,193,326,218,326" href="bygning.php?id=247" target="_self" alt="Bredgade 8">
                <area shape="poly" coords="190,303,177,303,176,299,169,300,169,329,193,327" href="bygning.php?id=248" target="_self" alt="Bredgade 10">
                <area shape="poly" coords="186,257,168,259,167,264,158,264,158,275,165,278,186,275,192,265" href="bygning.php?id=260" target="_self" alt="Bredgade 10 - Atelier">
                <area shape="poly" coords="169,329,166,302,159,302,160,300,151,301,146,302,147,332" href="bygning.php?id=249" target="_self" alt="Bredgade 12">
                <area shape="poly" coords="158,229,138,228,141,258,160,262" href="bygning.php?id=261" target="_self" alt="Bredgade 10 - Baggården">
                <area shape="poly" coords="146,332,146,301,158,300,155,265,142,261,129,264,132,278,128,279,132,294,136,307,141,307,138,312,127,312,126,299,113,297,105,294,113,335" href="bygning.php?id=250" target="_self" alt="Bredgade 14">
                <area shape="poly" coords="100,224,97,253,96,274,99,289,115,287,113,261,115,239,115,225" href="bygning.php?id=259" target="_self" alt="San Marco">
                <area shape="poly" coords="113,336,103,293,89,295,85,268,64,273,74,337" href="bygning.php?id=251" target="_self" alt="Bredgade 16">
                <area shape="poly" coords="75,339,37,343,32,338,42,268,43,262,63,272" href="bygning.php?id=252" target="_self" alt="Bredgade 18">
                <area shape="poly" coords="53,209,44,262,65,273,86,268,86,260,73,261,74,257,82,256,84,250,75,248,78,213" href="bygning.php?id=253" target="_self" alt="Skolegade 4">
                <area shape="poly" coords="56,175,52,205,106,213,109,199,87,195,86,190,80,190,82,180" href="bygning.php?id=254" target="_self" alt="El Toro">
                <area shape="poly" coords="56,174,67,109,90,112,86,131,83,139,90,148,87,153,82,153,81,167,84,167,83,180" href="bygning.php?id=255" target="_self" alt="Skolegade 8-10">
                <area shape="poly" coords="89,111,126,112,126,151,110,151,109,132,87,133" href="bygning.php?id=256" target="_self" alt="Bethaniagade 5">
                <area shape="poly" coords="138,113,137,166,148,164,147,171,161,173,160,166,173,166,174,114" href="bygning.php?id=257" target="_self" alt="Musikskolen">
                <area shape="poly" coords="139,178,136,221,141,227,158,226,163,220,165,179" href="bygning.php?id=262" target="_self" alt="Bethaniagade 3 (Bygning 2)">
                <area shape="poly" coords="377,128,194,114,193,150,359,162,363,158,377,161" href="bygning.php?id=258" target="_self" alt="Herning Rådhus">
              </map>
              <?php
';
}
else if ($id == 8)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="231,286,218,346,208,344,204,361,271,379,279,356,265,353,279,302" href="bygning.php?id=38" target="_self" alt="Tinghuset">
                <area shape="poly" coords="194,392,189,403,216,411,218,399" href="bygning.php?id=39" target="_self" alt="Østergade 7B">
                <area shape="poly" coords="182,297,172,346,160,378,189,384,192,357,190,346,200,302" href="bygning.php?id=40" target="_self" alt="Østergade 7A">
                <area shape="poly" coords="172,313,182,261,181,257,162,252,143,336,130,373,161,378" href="bygning.php?id=41" target="_self" alt="Østergade 7">
                <area shape="poly" coords="128,332,129,319,137,323,143,305,137,301,153,240,125,233,123,243,115,243,101,294,93,289,92,303,100,306,96,334,105,336,102,364,131,373,136,344,127,339" href="bygning.php?id=42" target="_self" alt="Østergade 5">
                <area shape="poly" coords="87,336,73,339,71,361,101,365,105,337" href="bygning.php?id=43" target="_self" alt="Østergade 3">
                <area shape="poly" coords="41,315,69,318,75,323,72,337,69,361,38,357,34,352" href="bygning.php?id=50" target="_self" alt="Østergade 1B">
                <area shape="poly" coords="52,276,41,314,66,318,77,286" href="bygning.php?id=49" target="_self" alt="Torvet 4">
                <area shape="poly" coords="73,198,53,275,76,287,81,288,102,206" href="bygning.php?id=48" target="_self" alt="Torvet 6-10">
                <area shape="poly" coords="112,87,97,165,61,158,60,174,127,185,140,114,176,120,178,100" href="bygning.php?id=47" target="_self" alt="Torvet 12-18">
                <area shape="poly" coords="215,99,211,122,205,121,187,199,212,206,223,143,252,149,261,148,258,169,264,176,273,178,280,164,286,143,290,114" href="bygning.php?id=46" target="_self" alt="Nygade 1">
                <area shape="poly" coords="396,136,376,130,371,138,367,159,364,174,361,182,361,184,358,188,357,195,382,197" href="bygning.php?id=45" target="_self" alt="Haandværkerforeningen">
                <area shape="poly" coords="347,211,337,242,339,252,336,248,331,247,311,310,318,311,317,318,293,310,292,316,339,331,359,260,355,253,350,250,356,249,365,216" href="bygning.php?id=44" target="_self" alt="Politigården">
                <area shape="poly" coords="365,128,308,117,304,137,294,137,286,173,313,177,317,165,357,170" href="bygning.php?id=352" target="_self" alt="Nørregade 5">
              </map>
              <?php
';
}
else if ($id == 9)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="395,151,392,156,388,167,404,174,401,181,397,190,387,190,386,198,386,208,385,234,377,233,371,245,379,257,374,279,391,286,420,188,414,184,418,174,421,165,418,158,405,153" href="bygning.php?id=72" target="_self" alt="Kastaniebo">
                <area shape="poly" coords="388,289,375,288,368,303,384,304" href="bygning.php?id=73" target="_self" alt="Kampmannsgade 22">
                <area shape="poly" coords="370,358,357,349,352,371,343,369,336,388,355,394,357,397,362,394,362,388" href="bygning.php?id=75" alt="Østergade 29">
                <area shape="poly" coords="349,344,342,344,343,332,330,328,323,355,313,350,307,381,335,388" href="bygning.php?id=76" target="_self" alt="Østergade 27 B">
                <area shape="poly" coords="312,360,287,351,279,374,307,380" href="bygning.php?id=77" target="_self" alt="Østergade 27 A">
                <area shape="poly" coords="246,348,233,343,226,357,243,360" href="bygning.php?id=79" target="_self" alt="Østergade 25">
                <area shape="poly" coords="171,325,159,319,150,336,167,345" href="bygning.php?id=81" target="_self" alt="Østergade 19">
                <area shape="poly" coords="149,338,164,302,143,295,129,332" href="bygning.php?id=82" target="_self" alt="Østergade 17">
                <area shape="poly" coords="143,296,119,288,107,329,134,333" href="bygning.php?id=83" target="_self" alt="Østergade 15">
                <area shape="poly" coords="113,304,86,294,76,319,106,327" href="bygning.php?id=84" target="_self" alt="Østergade 13">
                <area shape="poly" coords="165,257,164,263,136,256,126,260,120,279,162,294,167,284,179,286,182,280,187,281,190,271,183,270,187,261" href="bygning.php?id=85" target="_self" alt="China House">
                <area shape="poly" coords="101,265,98,292,86,294,75,319,39,310,39,309,36,304,49,261,73,268,61,292,70,293,76,296,83,288,80,284,82,269,87,264" href="bygning.php?id=86" target="_self" alt="Ankerhus">
                <area shape="poly" coords="77,270,50,262,63,219,100,230,97,240,91,246" href="bygning.php?id=87" target="_self" alt="Nørregade 4 AB">
                <area shape="poly" coords="87,131,62,219,101,230,119,171,128,178,125,185,137,186,142,165,113,155,115,138" href="bygning.php?id=88" target="_self" alt="Nørregade 6">
                <area shape="poly" coords="102,82,87,131,113,138,134,128,131,113,122,117,129,95" href="bygning.php?id=89" target="_self" alt="Nørregade 10">
                <area shape="poly" coords="115,42,102,81,127,93,130,87,145,91,151,70,139,68,142,47" href="bygning.php?id=90" target="_self" alt="Nørregade 18">
                <area shape="poly" coords="383,312,362,306,352,343,371,355" href="bygning.php?id=74" target="_self" alt="Kampmannsgade 24">
                <area shape="poly" coords="205,336,200,348,217,354,221,340" href="bygning.php?id=80" target="_self" alt="Østergade 23">
                <area shape="poly" coords="246,365,254,336,261,314,270,319,272,312,292,319,294,312,304,314,302,324,297,324,290,350,286,352,279,373" href="bygning.php?id=78" target="_self" alt="Mediehuset Herning Folkeblad">
              </map>
              <?php
';
}
else if ($id == 10)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="423,42,388,40,379,72,378,82,387,84,407,86,422,85" href="bygning.php?id=91" target="_self" alt="Bredgade 47 (bygning 1)">
                <area shape="poly" coords="408,87,385,85,382,115,355,114,352,141,406,144" href="bygning.php?id=92" target="_self" alt="Bredgade 47 (bygning 2)">
                <area shape="poly" coords="368,142,367,151,377,170,375,185,390,188,398,191,401,198,416,200,419,151,415,150,414,143" href="bygning.php?id=93" target="_self" alt="Jyllandsgade 2-4">
                <area shape="poly" coords="317,166,311,200,369,205,374,170" href="bygning.php?id=94" target="_self" alt="Landts Gård 4">
                <area shape="poly" coords="388,213,384,251,409,256,413,217" href="bygning.php?id=95" target="_self" alt="Jyllandsgade 6">
                <area shape="poly" coords="407,256,370,247,371,231,359,229,355,248,363,256,361,276,403,284" href="bygning.php?id=96" target="_self" alt="Jyllandsgade 8">
                <area shape="poly" coords="364,278,359,323,400,332,405,285" href="bygning.php?id=97" target="_self" alt="Jyllandsgade 10">
                <area shape="poly" coords="371,334,355,332,345,413,387,421,398,338" href="bygning.php?id=98" target="_self" alt="Dalgasgade 32">
                <area shape="poly" coords="272,293,268,295,244,292,232,389,258,392,258,396,275,398,287,293" href="bygning.php?id=99" target="_self" alt="Dalgasgade 34">
                <area shape="poly" coords="147,348,144,356,138,352,133,370,171,383,178,355" href="bygning.php?id=100" target="_self" alt="Dalgasgade 48">
                <area shape="poly" coords="129,346,109,341,104,368,124,372" href="bygning.php?id=101" target="_self" alt="Dalgasgade 50">
                <area shape="poly" coords="109,341,87,336,83,362,104,369" href="bygning.php?id=102" target="_self" alt="Dalgasgade 52">
                <area shape="poly" coords="76,325,54,320,49,261,59,262,57,253,45,252,18,249,26,330,31,348,42,348,49,351,58,351,58,356,68,355" href="bygning.php?id=103" target="_self" alt="Dalgasgade 56-58">
                <area shape="poly" coords="48,225,22,220,20,247,44,251" href="bygning.php?id=104" target="_self" alt="Fredensgade 11">
                <area shape="poly" coords="17,187,41,189,39,214,14,212" href="bygning.php?id=105" target="_self" alt="Fredensgade 9">
                <area shape="poly" coords="18,165,19,188,42,190,43,168" href="bygning.php?id=106" target="_self" alt="Fredensgade 7">
                <area shape="poly" coords="23,117,47,118,45,130,54,132,52,148,42,148,43,158,19,156" href="bygning.php?id=107" target="_self" alt="Fredensgade 5">
                <area shape="poly" coords="24,91,22,118,46,119,48,91" href="bygning.php?id=108" target="_self" alt="Fredensgade 3">
                <area shape="poly" coords="27,45,54,44,47,83,26,82" href="bygning.php?id=109" target="_self" alt="Fredensgade 1">
                <area shape="poly" coords="30,17,28,44,64,42,66,19" href="bygning.php?id=110" target="_self" alt="Bredgade 67">
                <area shape="poly" coords="68,19,65,42,72,41,70,51,80,49,78,65,87,69,103,66,106,21" href="bygning.php?id=111" target="_self" alt="Bredgade 65">
                <area shape="poly" coords="106,20,105,52,123,52,137,52,137,23" href="bygning.php?id=112" target="_self" alt="Bredgade 63">
                <area shape="poly" coords="138,22,136,51,166,56,168,24" href="bygning.php?id=113" target="_self" alt="Bredgade 61">
                <area shape="poly" coords="169,27,164,57,213,72,220,27" href="bygning.php?id=114" target="_self" alt="Bredgade 59 A">
                <area shape="poly" coords="222,27,213,69,217,76,228,77,229,70,241,73,251,30" href="bygning.php?id=115" target="_self" alt="Bredgade 57">
                <area shape="poly" coords="253,29,244,74,236,155,279,162,284,130,293,132,300,78,291,54,294,32" href="bygning.php?id=116" target="_self" alt="Bredgade 55">
                <area shape="poly" coords="294,33,292,52,301,77,315,78,316,71,319,71,323,35" href="bygning.php?id=117" target="_self" alt="Bredgade 53">
                <area shape="poly" coords="323,36,317,72,323,72,320,107,336,111,340,71,347,64,351,37" href="bygning.php?id=118" target="_self" alt="Bredgade 51">
                <area shape="poly" coords="351,36,349,64,380,68,387,40" href="bygning.php?id=119" target="_self" alt="Bredgade 49">
                <area shape="poly" coords="124,106,204,110,209,113,201,159,121,148" href="bygning.php?id=120" target="_self" alt="Landts Gård 27-29">
                <area shape="poly" coords="92,117,88,164,79,164,75,203,81,203,79,253,103,255,108,198,110,198,112,178,109,176,112,118" href="bygning.php?id=121" target="_self" alt="Landts Gård 1-23">
              </map>
              <?php
';
}
else if ($id == 11)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="193,163,172,255,264,275,286,173" href="bygning.php?id=125" target="_self" alt="Dalgashus">
                <area shape="poly" coords="110,265,104,288,105,299,118,307,131,308,138,299,145,274,131,271,132,262,126,260,121,268" href="bygning.php?id=122" target="_self" alt="Bonusbanken">
                <area shape="poly" coords="159,262,156,268,145,313,165,318,177,271,164,269,165,263" href="bygning.php?id=123" target="_self" alt="Spar Nord Bank">
                <area shape="poly" coords="191,281,179,333,207,339,219,287" href="bygning.php?id=124" target="_self" alt="Dalgas Plads 6">
                <area shape="poly" coords="319,365,324,348,267,330,264,339,246,334,241,354,266,359,286,360" href="bygning.php?id=126" target="_self" alt="Sydbank">
                <area shape="poly" coords="321,362,318,378,338,383,347,351,340,349,335,363" href="bygning.php?id=127" target="_self" alt="Dalgasgade 18">
                <area shape="poly" coords="340,382,353,387,362,383,369,347,354,345,348,370,342,370" href="bygning.php?id=128" target="_self" alt="Dalgasgade 16">
                <area shape="poly" coords="359,305,357,320,374,325,378,306" href="bygning.php?id=129" target="_self" alt="Bryggergade 18">
                <area shape="poly" coords="392,225,368,220,351,303,377,306" href="bygning.php?id=130" target="_self" alt="Bryggergade 10">
                <area shape="poly" coords="415,114,407,106,403,123,396,130,386,132,383,154,391,157,383,167,376,198,399,202" href="bygning.php?id=132" target="_self" alt="Bryggergade 4-6">
                <area shape="poly" coords="40,74,38,104,86,108,95,75" href="bygning.php?id=145" target="_self" alt="Bredgade 45">
                <area shape="poly" coords="93,74,76,144,73,142,70,151,73,156,36,155,33,215,42,214,43,223,100,229,102,219,81,217,83,200,116,202,136,143,148,146,151,115,143,115,144,77" href="bygning.php?id=144" target="_self" alt="Bredgade 43">
                <area shape="poly" coords="145,78,144,115,162,116,161,108,165,109,172,80" href="bygning.php?id=143" target="_self" alt="Bredgade 41">
                <area shape="poly" coords="203,79,187,125,167,120,165,111,174,80" href="bygning.php?id=142" target="_self" alt="Bredgade 37">
                <area shape="poly" coords="203,79,188,125,181,152,222,154,230,151,237,110,229,109,233,79" href="bygning.php?id=141" target="_self" alt="Bredgade 35">
                <area shape="poly" coords="231,80,230,109,257,108,261,78" href="bygning.php?id=140" target="_self" alt="City Huset">
                <area shape="poly" coords="261,78,249,149,255,158,261,155,278,158,281,147,285,106,286,101,292,76" href="bygning.php?id=139">
                <area shape="poly" coords="325,73,320,96,307,93,286,101,292,76,305,75" href="bygning.php?id=138" target="_self" alt="Bredgade 23">
                <area shape="poly" coords="325,73,320,95,343,96,345,68" href="bygning.php?id=137" target="_self" alt="Bredgade 21">
                <area shape="poly" coords="415,113,421,66,403,67,405,86,393,88,383,115,390,117,385,129,389,132,400,125" href="bygning.php?id=133" target="_self" alt="Bryggergården">
                <area shape="poly" coords="402,67,388,68,388,82,393,89,405,87" href="bygning.php?id=134" target="_self" alt="Bredgade 17">
                <area shape="poly" coords="387,68,362,68,357,120,369,121,370,129,375,133,387,89,385,81" href="bygning.php?id=135" target="_self" alt="Bredgade 17A">
                <area shape="poly" coords="344,69,343,94,334,121,330,140,322,140,318,147,321,151,316,159,347,164,359,120,360,69" href="bygning.php?id=136" target="_self" alt="Herning Hus">
                <area shape="poly" coords="397,202,376,198,374,217,378,222,394,225" href="bygning.php?id=131" target="_self" alt="Bryggergade 8">
                <area shape="poly" coords="375,198,336,200,333,214,318,214,314,225,323,229,325,239,333,239,336,220,348,212,374,218" href="bygning.php?id=370" target="_self" alt="Dalgas Plads 16-18">
              </map>
              <?php
';
}
else if ($id == 12)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="206,145,195,143,193,148,185,145,183,159,231,173,233,169,239,172,241,158,231,156,232,151,216,148,213,151,205,150" href="bygning.php?id=218" target="_self" alt="Jernkilde 22-32">
                <area shape="poly" coords="124,195" href="#">
                <area shape="poly" coords="186,178,185,184,180,183,174,212,179,213,178,219,193,223,204,206,204,194,196,192,200,182" href="bygning.php?id=217" target="_self" alt="Jernkilde 14-20">
                <area shape="poly" coords="206,268,170,261,168,264,159,263,156,275,158,279,164,281,206,288,211,286,213,285,212,295,219,297,222,280,216,279,217,273" href="bygning.php?id=216" target="_self" alt="Jernkilde 2-12">
                <area shape="poly" coords="182,332,181,335,171,333,168,344,172,345,173,351,199,354,201,351,208,352,210,340,198,338,199,334" href="bygning.php?id=214" target="_self" alt="Jernkilde 1-7">
                <area shape="poly" coords="137,330,132,346,125,345,123,350,134,354,133,363,128,362,128,365,150,372,158,363,161,347,161,343,157,341,156,334" href="bygning.php?id=215" target="_self" alt="Jernkilde 9-11">
                <area shape="poly" coords="162,101,158,125,179,131,177,145,154,141,149,146,139,137,147,98" href="bygning.php?id=183" target="_self" alt="Bryggergade 1-3">
                <area shape="poly" coords="134,160,129,181,138,185,138,188,154,192,154,179,150,178,151,160" href="bygning.php?id=184" target="_self" alt="Bryggergade 5">
                <area shape="poly" coords="128,192,125,215,159,224,166,200,157,195,154,211,147,210,146,196" href="bygning.php?id=185" target="_self" alt="Bryggergade 7A">
                <area shape="poly" coords="137,221,123,219,117,248,133,253,138,235" href="bygning.php?id=186" target="_self" alt="Bryggergade 7 B-C">
                <area shape="poly" coords="115,253,113,268,127,273,131,255" href="bygning.php?id=187" target="_self" alt="Bryggergade 9">
                <area shape="poly" coords="112,270,109,287,124,290,125,274" href="bygning.php?id=188" target="_self" alt="Bryggergade 9A">
                <area shape="poly" coords="107,293,103,311,121,313,124,297" href="bygning.php?id=189" target="_self" alt="Bryggergade 11">
                <area shape="poly" coords="103,312,100,323,117,327,120,313" href="bygning.php?id=190" target="_self" alt="Bryggergade 13">
                <area shape="poly" coords="100,323,100,336,114,341,117,327" href="bygning.php?id=191" target="_self" alt="Bryggergade 15">
                <area shape="poly" coords="98,342,95,355,110,358,112,345" href="bygning.php?id=192" target="_self" alt="Bryggergade 17">
                <area shape="poly" coords="94,356,89,369,107,372,108,359" href="bygning.php?id=193" target="_self" alt="Bryggergade 19">
                <area shape="poly" coords="100,389,100,384,95,383,97,375,92,374,84,395,87,403,101,408,105,390" href="bygning.php?id=194" target="_self" alt="Dalgasgade 14">
                <area shape="poly" coords="104,391,101,407,119,412,124,394" href="bygning.php?id=195" target="_self" alt="Dalgasgade 12">
                <area shape="poly" coords="130,372,127,394,126,412,149,418,153,401,143,399,143,396,138,393,137,372" href="bygning.php?id=196" target="_self" alt="Dalgasgade 10">
                <area shape="poly" coords="158,402,155,419,181,425,186,406" href="bygning.php?id=197" target="_self" alt="Dalgasgade 8">
                <area shape="poly" coords="187,407,183,426,214,432,220,412,205,407,204,413" href="bygning.php?id=198" target="_self" alt="Dalgasgade 8A">
                <area shape="poly" coords="237,392,231,389,232,380,223,377,219,387,226,389,229,396,225,418,244,424,249,402,239,399" href="bygning.php?id=199" target="_self" alt="Mindegade 22">
                <area shape="poly" coords="236,352,234,362,231,360,228,366,233,371,233,378,240,382,244,376,252,378,257,359,250,358,248,352" href="bygning.php?id=200" target="_self" alt="Mindegade 20">
                <area shape="poly" coords="240,325,238,333,242,334,238,348,260,352,263,328" href="bygning.php?id=201" target="_self" alt="Mindegade 18">
                <area shape="poly" coords="268,300,246,298,244,306,248,307,245,315,265,319" href="bygning.php?id=202" target="_self" alt="Mindegade 16">
                <area shape="poly" coords="273,277,256,273,251,299,268,300" href="bygning.php?id=203" target="_self" alt="Mindegade 14">
                <area shape="poly" coords="287,189,263,183,246,252,245,270,271,275" href="bygning.php?id=204" target="_self" alt="Mindegade 10-12">
                <area shape="poly" coords="295,166,276,162,277,157,267,155,265,162,273,164,269,181,292,187" href="bygning.php?id=205" target="_self" alt="Mindegade 6">
                <area shape="poly" coords="281,129,276,154,296,158,301,134" href="bygning.php?id=206" target="_self" alt="Mindegade 4">
                <area shape="poly" coords="287,105,282,129,301,133,305,109" href="bygning.php?id=207" target="_self" alt="Mindegade 2">
                <area shape="poly" coords="302,34,298,51,298,65,307,71,313,67,324,15,320,10,303,12" href="bygning.php?id=208" target="_self" alt="Bredgade 1">
                <area shape="poly" coords="302,12,277,15,277,35,271,60,292,60,295,33,301,35" href="bygning.php?id=209" target="_self" alt="Bredgade 3">
                <area shape="poly" coords="235,104,243,63,250,17,274,16,275,33,272,38,267,48,255,49,249,77,254,79,252,103" href="bygning.php?id=210" target="_self" alt="Bredgade 5">
                <area shape="poly" coords="247,17,228,17,226,41,217,43,221,67,242,63,247,30" href="bygning.php?id=211" target="_self" alt="Bredgade 7">
                <area shape="poly" coords="201,17,200,41,193,43,182,106,203,106,214,43,225,41,227,20,220,16" href="bygning.php?id=212" target="_self" alt="Bredgade 9">
                <area shape="poly" coords="200,18,179,20,170,23,165,32,154,85,175,89,182,54,190,57,192,47,195,42,200,41" href="bygning.php?id=213" target="_self" alt="Bredgade 11">
              </map>
              <?php
';
}
else if ($id == 13)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="206,15,184,148,198,151,209,102,217,104,220,99,231,100,237,91,249,94,257,76,252,74,257,42,269,44,273,29,264,25" href="bygning.php?id=219" target="_self" alt="Hotel Eyde">
                <area shape="poly" coords="181,150,175,185,189,191,196,164,227,170,229,159" href="bygning.php?id=220" target="_self" alt="Mindegade 1">
                <area shape="poly" coords="172,191,168,218,202,226,202,230,207,232,212,218,186,213,188,192" href="bygning.php?id=221" target="_self" alt="Mindegade 3">
                <area shape="poly" coords="167,223,163,240,190,245,193,228" href="bygning.php?id=222" target="_self" alt="60'eren">
                <area shape="poly" coords="163,246,157,269,179,273,178,265,180,248" href="bygning.php?id=223" target="_self" alt="Mindegade 7">
                <area shape="poly" coords="158,276,153,291,170,294,176,293,177,290,174,279" href="bygning.php?id=224" target="_self" alt="Mindegade 9">
                <area shape="poly" coords="152,306,145,334,161,339,168,310" href="bygning.php?id=225" target="_self" alt="Mindegade 13">
                <area shape="poly" coords="143,344,141,359,154,362,161,363,163,357,158,346" href="bygning.php?id=226" target="_self" alt="Mindegade 15">
                <area shape="poly" coords="157,369,140,366,133,393,136,397,173,409,180,391,155,386" href="bygning.php?id=227" target="_self" alt="Mindegaarden">
                <area shape="poly" coords="181,392,176,408,196,413,202,397" href="bygning.php?id=228" target="_self" alt="Dalgasgade 6">
                <area shape="poly" coords="204,397,197,415,227,420,232,404,236,400,232,398,229,352,221,354,218,396" href="bygning.php?id=229" target="_self" alt="Dalgasgade 4">
                <area shape="poly" coords="247,406,236,402,231,405,229,419,240,421,245,416" href="bygning.php?id=230" target="_self" alt="Dalgasgade 2">
                <area shape="poly" coords="293,402,276,403,276,413,294,413" href="bygning.php?id=231" target="_self" alt="Søndergade 30">
                <area shape="poly" coords="293,390,276,391,276,402,294,402" href="bygning.php?id=232" target="_self" alt="Søndergade 28">
                <area shape="poly" coords="293,384,276,386,274,373,292,371" href="bygning.php?id=233" target="_self" alt="Søndergade 26">
                <area shape="poly" coords="291,370,274,373,273,355,290,354" href="bygning.php?id=234" target="_self" alt="Søndergade 24">
                <area shape="poly" coords="288,305,262,310,262,322,276,320,279,334,263,337,265,350,293,348" href="bygning.php?id=235" target="_self" alt="Søndergade 22">
                <area shape="poly" coords="287,281,271,281,273,306,287,304" href="bygning.php?id=236" target="_self" alt="Søndergade 20">
                <area shape="poly" coords="285,254,268,254,272,278,287,278" href="bygning.php?id=237" target="_self" alt="Søndergade 18">
                <area shape="poly" coords="282,224,210,230,213,238,204,241,204,251,224,251,224,244,252,242,258,240,260,245,267,245,267,251,284,251" href="bygning.php?id=238" target="_self" alt="Søndergade 16">
                <area shape="poly" coords="277,153,251,154,255,167,233,171,228,183,234,198,254,196,254,207,262,205,264,212,259,214,251,215,255,222,255,227,284,226" href="bygning.php?id=239" target="_self" alt="Arkaden i Søndergade">
                <area shape="poly" coords="275,127,264,126,263,138,247,139,239,137,233,154,277,154" href="bygning.php?id=240" target="_self" alt="Søndergade 8">
                <area shape="poly" coords="272,72,257,74,262,92,256,92,258,98,273,97" href="bygning.php?id=241" target="_self" alt="Søndergade 4">
                <area shape="poly" coords="270,44,258,42,252,73,256,75,271,72" href="bygning.php?id=242" target="_self" alt="Søndergade 2">
                <area shape="poly" coords="273,99,259,98,261,126,273,126" href="bygning.php?id=369" target="_self" alt="Søndergade 6">
              </map>
              <?php
';
}
else if ($id == 14)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="83,174,56,175,61,250,85,250,82,236,92,232,94,229,88,226" href="bygning.php?id=163" target="_self" alt="Søndergade 5">
                <area shape="poly" coords="52,114,75,113,78,173,57,174" href="bygning.php?id=162" target="_self" alt="Søndergade 3">
                <area shape="poly" coords="52,115,48,54,55,48,96,58,89,102,86,136,77,139,74,112" href="bygning.php?id=161" target="_self" alt="Hammerhus">
                <area shape="poly" coords="98,61,87,136,111,138,130,68" href="bygning.php?id=160" target="_self" alt="Østergade 4">
                <area shape="poly" coords="130,68,112,137,138,142,157,72" href="bygning.php?id=159" target="_self" alt="Østergade 6">
                <area shape="poly" coords="164,75,148,144,139,142,104,237,206,264,238,138,253,96" href="bygning.php?id=158" target="_self" alt="Østergade 8">
                <area shape="poly" coords="253,97,239,138,253,142,256,127,274,129,282,104" href="bygning.php?id=157" target="_self" alt="Volmerhus">
                <area shape="poly" coords="282,105,275,131,295,141,293,132,302,109" href="bygning.php?id=156" target="_self" alt="Østergade 14">
                <area shape="poly" coords="303,110,295,133,307,140,320,113" href="bygning.php?id=155" target="_self" alt="Østergade 16">
                <area shape="poly" coords="322,114,307,141,311,150,320,151,328,141,333,137,337,132,341,120" href="bygning.php?id=154" target="_self" alt="Østergade 18A">
                <area shape="poly" coords="341,119,339,134,330,142,325,166,332,170,337,166,344,167,359,124" href="bygning.php?id=153" target="_self" alt="Østergade 20">
                <area shape="poly" coords="360,124,344,167,342,186,350,185,355,171,364,174,368,166,376,143,381,138,384,130" href="bygning.php?id=152" target="_self" alt="Østergade 22A">
                <area shape="poly" coords="409,136,386,129,383,140,377,144,384,153,384,161,382,168,397,172" href="bygning.php?id=151" target="_self" alt="Østergade 22C">
                <area shape="poly" coords="381,170,375,179,366,205,385,211,397,172" href="bygning.php?id=150" target="_self" alt="Smedegade 2">
                <area shape="poly" coords="353,230,348,248,370,255,376,236" href="bygning.php?id=149" target="_self" alt="Østergade 6">
                <area shape="poly" coords="351,251,341,274,362,282,369,256" href="bygning.php?id=148" target="_self" alt="Smedegade 8">
                <area shape="poly" coords="342,275,336,281,331,297,355,307,360,283" href="bygning.php?id=147" target="_self" alt="Smedegade 10">
                <area shape="poly" coords="331,298,327,307,320,305,302,345,308,349,306,358,281,350,272,378,326,397,354,309" href="bygning.php?id=146" target="_self" alt="Smedegården">
                <area shape="poly" coords="246,141,234,181,245,185,247,183,256,181,256,170,250,168,256,143" href="bygning.php?id=265" target="_self" alt="Østergade 12 B">
                <area shape="poly" coords="277,134,264,175,282,183,285,172,290,171,290,161,294,143" href="bygning.php?id=264" target="_self" alt="Østergade 12 A">
                <area shape="poly" coords="304,155,303,162,308,164,301,196,323,204,332,174,318,169,319,159" href="bygning.php?id=263" target="_self" alt="Østergade 18 C">
              </map>
              <?php
';
}
else if ($id == 15)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="117,349,110,369,126,375,133,355" href="bygning.php?id=167" target="_self" alt="Grønnegade 1">
                <area shape="poly" coords="159,360,151,382,183,394,194,373,177,351" href="bygning.php?id=166" target="_self" alt="Grønnegade 3">
                <area shape="poly" coords="194,373,184,395,218,405,226,381" href="bygning.php?id=165" target="_self" alt="Grønnegade 5">
                <area shape="poly" coords="234,376,225,406,301,432,320,351,290,346,278,384,269,387" href="bygning.php?id=164" target="_self" alt="Grønnebo">
                <area shape="poly" coords="325,333,279,320,276,333,279,343,319,352" href="bygning.php?id=168" target="_self" alt="Fonnesbechsgade 14">
                <area shape="poly" coords="330,309,315,304,311,309,267,296,264,303,249,298,245,310,279,320,324,331" href="bygning.php?id=169" target="_self" alt="Fonnesbechsgade 12">
                <area shape="poly" coords="337,283,312,277,308,297,331,304" href="bygning.php?id=170" target="_self" alt="Fonnesbechsgade 10">
                <area shape="poly" coords="341,261,307,253,307,257,316,265,314,276,335,283" href="bygning.php?id=171" target="_self" alt="Fonnesbechsgade 8">
                <area shape="poly" coords="348,239,309,228,304,241,308,252,343,261" href="bygning.php?id=172" target="_self" alt="Fonnesbechsgade 6">
                <area shape="poly" coords="345,168,338,166,325,217,353,225,365,172" href="bygning.php?id=173" target="_self" alt="Fonnesbechsgade 4">
                <area shape="poly" coords="366,172,382,110,378,99,291,77,280,104,272,108,243,206,285,219,317,117,352,122,344,168" href="bygning.php?id=174" target="_self" alt="Østergade 32">
                <area shape="poly" coords="291,77,245,64,221,130,234,136,243,104,251,105,249,112,257,114,263,97,277,107" href="bygning.php?id=176" target="_self" alt="Østergade 30">
                <area shape="poly" coords="215,56,197,113,219,120,224,103,214,99,221,84,234,89,243,64" href="bygning.php?id=177" target="_self" alt="Østergade 28">
                <area shape="poly" coords="214,56,189,48,183,80,204,87" href="bygning.php?id=178" target="_self" alt="Østergade 26">
                <area shape="poly" coords="176,104,183,81,188,48,144,36,138,57,138,63,152,71,161,72,155,96" href="bygning.php?id=179" target="_self" alt="Østergade 24">
                <area shape="poly" coords="116,347,110,370,48,352,43,343,56,308,81,315,75,334" href="bygning.php?id=182" target="_self" alt="Smedegade 13">
                <area shape="poly" coords="86,285,67,280,56,308,80,315" href="bygning.php?id=181" target="_self" alt="Smedegade 11">
                <area shape="poly" coords="137,63,77,250,66,279,84,286,88,282,98,285,97,293,170,315,176,300,123,283,120,289,103,285,102,274,73,264,84,252,101,257,104,251,112,252,122,234,127,200,194,215,199,198,193,197,197,193,178,185,174,189,154,185,149,199,127,198,152,129,135,123,139,111,144,106,149,89,149,72" href="bygning.php?id=180" target="_self" alt="Smedegade 1-9">
              </map>
              <?php
';
}
else if ($id == 16)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="387,227,347,212,281,406,326,420" href="bygning.php?id=64" target="_self" alt="Bybusterminalen">
                <area shape="poly" coords="252,396,270,335,263,332,306,196,247,177,235,213,220,207,204,244,201,240,178,304,165,300,103,304,107,348,124,353,125,373,160,367" href="bygning.php?id=65" target="_self" alt="BioCity Herning">
                <area shape="poly" coords="125,264,101,265,103,297,169,292,176,270,163,272,127,271" href="bygning.php?id=66" target="_self" alt="Søndergade 23">
                <area shape="poly" coords="101,228,102,258,127,257,124,226" href="bygning.php?id=67" target="_self" alt="Søndergade 21">
                <area shape="poly" coords="141,201,123,199,111,200,98,200,100,222,131,217,141,211" href="bygning.php?id=68" target="_self" alt="Frelsens Hær Herning">
                <area shape="poly" coords="91,89,119,83,160,82,163,100,149,136,153,188,138,193,97,197" href="bygning.php?id=69" target="_self" alt="Søndergade 15-17">
                <area shape="poly" coords="123,84,90,89,89,66,122,63" href="bygning.php?id=70" target="_self" alt="Søndergade 11">
                <area shape="poly" coords="84,24,89,67,153,62,151,42,156,40,151,29,143,29,141,38,131,38,122,19" href="bygning.php?id=71" target="_self" alt="Søndergade 9">
              </map>
              <?php
';
}
else if ($id == 17)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="Sølvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,27">HER MANGLER NOGET!!!!!!!!!




else if ($id == 17)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="S&oslash;lvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,279,195,284,197,290,190,298,193,306,166" href="bygning.php?id=58" target="_self" alt="Gr&oslash;nnegade 10">
                <area shape="poly" coords="289,159,273,152,260,193,269,197,274,188,280,189" href="bygning.php?id=59" target="_self" alt="Gr&oslash;nnegade 8">
                <area shape="poly" coords="270,157,213,137,202,171,261,188" href="bygning.php?id=60" target="_self" alt="Gr&oslash;nnegade 6">
                <area shape="poly" coords="190,127,182,156,193,163,190,181,197,185,213,135" href="bygning.php?id=61" target="_self" alt="Gr&oslash;nnegade 4">
                <area shape="poly" coords="153,115,141,154,151,158,155,152,172,153,182,126" href="bygning.php?id=62" target="_self" alt="Gr&oslash;nnegade 2A">
                <area shape="poly" coords="73,113,62,142,107,155,119,122,108,118,99,143,94,143,99,122" href="bygning.php?id=63" target="_self" alt="Smedegade 15">
                <area shape="poly" coords="312,168,302,199,387,226,376,275,408,285,420,230,414,229,420,202" href="bygning.php?id=364" target="_self" alt="Fonnesbechsgade 16">
              </map>
              <?php
';
}
else if ($id == 18)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="42,133,37,148,52,152,57,134" href="bygning.php?id=308" target="_self" alt="Dalgasgade 53">
                <area shape="poly" coords="63,138,60,154,71,160,77,160,81,143,72,136" href="bygning.php?id=309" target="_self" alt="Dalgasgade 51">
                <area shape="poly" coords="78,196,62,195,58,197,61,202,60,210,69,211,69,218,79,218" href="bygning.php?id=310" target="_self" alt="Birke Alle 2">
                <area shape="poly" coords="62,222,60,230,57,231,55,239,77,242,77,224" href="bygning.php?id=311" target="_self" alt="Birke Alle 4">
                <area shape="poly" coords="73,263,61,263,57,268,58,278,76,281,76,269" href="bygning.php?id=312" target="_self" alt="Birke Alle 6">
                <area shape="poly" coords="97,280,97,296,99,300,112,299,114,281" href="bygning.php?id=313" target="_self" alt="Birke Alle 9">
                <area shape="poly" coords="99,258,99,274,108,274,108,277,118,278,117,274,114,274,114,257" href="bygning.php?id=314" target="_self" alt="Birke Alle 7">
                <area shape="poly" coords="99,232,97,245,98,251,116,251,116,234" href="bygning.php?id=315" target="_self" alt="Birke Alle 5">
                <area shape="poly" coords="100,213,100,227,115,229,117,213" href="bygning.php?id=316" target="_self" alt="Birke Alle 3">
                <area shape="poly" coords="101,143,96,158,113,167,120,164,124,156,113,149" href="bygning.php?id=317" target="_self" alt="Dalgasgade 49">
                <area shape="poly" coords="143,177,144,199,122,194,122,187,117,185,117,177,130,164,129,176" href="bygning.php?id=318" target="_self" alt="Dalgasgade 47">
                <area shape="poly" coords="147,154,148,170,156,170,154,174,159,179,161,175,169,175,173,160" href="bygning.php?id=319" target="_self" alt="Dalgasgade 45A">
                <area shape="poly" coords="149,194,147,218,168,219,168,195" href="bygning.php?id=320" target="_self" alt="Dalgasgade 45B">
                <area shape="poly" coords="174,159,169,177,194,182,197,165" href="bygning.php?id=321" target="_self" alt="Dalgasgade 43">
                <area shape="poly" coords="193,222,178,222,175,247,192,250,194,241" href="bygning.php?id=322" target="_self" alt="Linde Alle 4">
                <area shape="poly" coords="189,264,176,262,174,266,173,277,182,279,192,280" href="bygning.php?id=323" target="_self" alt="Linde Alle 6A">
                <area shape="poly" coords="180,280,165,276,162,288,170,294,183,294,182,282" href="bygning.php?id=324" target="_self" alt="Linde Alle 6B">
                <area shape="poly" coords="208,232,207,247,212,246,211,252,216,253,219,248,224,248,226,232" href="bygning.php?id=325" target="_self" alt="Linde Alle 1">
                <area shape="poly" coords="225,274,226,279,220,281,220,288,224,287,225,292,250,296,271,291,293,289,305,249,287,245,281,265,284,271,279,276,266,273,256,268,252,274" href="bygning.php?id=326" target="_self" alt="Dalgasgade 37">
                <area shape="poly" coords="214,167,213,171,211,185,232,190,237,172" href="bygning.php?id=327" target="_self" alt="Dalgasgade 41">
                <area shape="poly" coords="246,175,243,192,260,196,264,179" href="bygning.php?id=328" target="_self" alt="Dalgasgade 39">
                <area shape="poly" coords="273,180,268,199,267,207,270,217,277,211,289,212,296,187" href="bygning.php?id=329" target="_self" alt="Mors&oslash; Bank">
                <area shape="poly" coords="298,187,295,204,307,206,317,207,320,189" href="bygning.php?id=330" target="_self" alt="Dalgasgade 35A">
                <area shape="poly" coords="353,205,351,208,348,208,344,222,356,228,355,234,361,236,361,241,365,243,369,232,363,228,368,213,360,212,361,207" href="bygning.php?id=331" target="_self" alt="Dalgasgade 31">
                <area shape="poly" coords="375,237,372,237,371,238,369,251,370,250,372,251,380,254,378,254,388,252,393,241,384,239,381,236" href="bygning.php?id=332" target="_self" alt="Dalgasgade 29">
                <area shape="poly" coords="400,214,398,220,396,224,395,230,411,235,415,219" href="bygning.php?id=333" target="_self" alt="Dalgasgade 27">
                <area shape="poly" coords="421,223,419,237,439,242,443,228" href="bygning.php?id=334" target="_self" alt="Dalgasgade 25B">
                <area shape="poly" coords="377,214,362,289,373,290,373,298,393,298,394,245,390,244,394,219" href="bygning.php?id=354" target="_self" alt="Vestjysk Bank">
                <area shape="poly" coords="421,222,422,244,411,243,410,299,429,299,430,293,439,293,440,227" href="bygning.php?id=353" target="_self" alt="Finanscenter Herning">
              </map>
              <?php
';
}
else if ($id == 19)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="75,141,72,156,88,161,91,146" href="bygning.php?id=337" target="_self" alt="Dalgasgade 21">
                <area shape="poly" coords="98,147,93,165,100,169,102,164,107,165,102,189,110,192,114,179,109,177,112,150" href="bygning.php?id=338" target="_self" alt="Dalgasgade 19">
                <area shape="poly" coords="121,154,117,173,129,175,121,221,117,223,116,228,133,233,138,231,151,166,147,157" href="bygning.php?id=339" target="_self" alt="S&oslash;nderport">
                <area shape="poly" coords="182,167,179,174,176,178,178,183,201,189,202,182,208,183,206,193,212,196,216,174" href="bygning.php?id=340" target="_self" alt="Dalgasgade 15">
                <area shape="poly" coords="223,173,219,181,217,197,235,205,248,203,252,186,248,177" href="bygning.php?id=341" target="_self" alt="Dalgasgade 13">
                <area shape="poly" coords="258,183,254,201,277,207,270,247,285,250,300,202,298,191" href="bygning.php?id=342" target="_self" alt="Dalgasgade 11">
                <area shape="poly" coords="309,190,304,204,301,217,306,221,311,212,320,217,319,228,331,232,333,226,340,232,341,223,335,221,337,213,329,211,333,195" href="bygning.php?id=343" target="_self" alt="Dalgasgade 9">
                <area shape="poly" coords="344,203,342,218,353,223,350,247,361,251,366,223,366,207" href="bygning.php?id=344" target="_self" alt="Dalgasgade 7">
                <area shape="poly" coords="374,210,368,231,378,235,379,231,389,231,393,214" href="bygning.php?id=345" target="_self" alt="Dalgasgade 5">
                <area shape="poly" coords="398,216,394,239,409,243,414,232,414,219" href="bygning.php?id=346" target="_self" alt="Dalgasgade 3A">
                <area shape="poly" coords="417,234,411,257,431,260,437,237" href="bygning.php?id=347" target="_self" alt="Dalgasgade 3">
                <area shape="poly" coords="30,146,26,158,37,157,40,146" href="bygning.php?id=335" target="_self" alt="Dalg
Avatar billede showsource Seniormester
07. maj 2009 - 21:30 #6
Nåh, det hele kom ikke med ?
Resten her;


asgade 25">
                <area shape="poly" coords="56,139,55,150,69,152,70,140" href="bygning.php?id=336" target="_self" alt="Dalgasgade 23">
                <area shape="poly" coords="35,132,25,180,33,181,33,190,21,187,20,203,72,216,65,174,71,141" href="bygning.php?id=404" target="_self" alt="Queens Corner">
              </map>
              <?php
';
}
else
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="372,213,354,280,345,277,339,293,405,311,413,291,408,288,408,293,385,287,392,265,403,265,406,248,395,245,400,221" href="bygning.php?id=51" target="_self" alt="Scandic Hotel">
                <area shape="poly" coords="337,308,341,285,317,279,321,263,306,257,263,203,308,215,309,206,264,187,221,117,210,114,255,189,227,179,221,192,254,202,295,258,292,272,128,228,122,250" href="bygning.php?id=52" target="_self" alt="Baneg&aring;rdscentret">
                <area shape="poly" coords="29,133,26,149,48,156,49,178,65,177,63,142" href="bygning.php?id=53" target="_self" alt="S&oslash;lvgade 27-29">
                <area shape="poly" coords="111,244,25,223,29,215,22,213,22,191,62,190,62,210,117,224,127,229,121,252" href="bygning.php?id=368" target="_self" alt="Baneg&aring;rdspladsen 2-4">
              </map>
              <?php
';
} // END FORSKELLIGE MAP IF

bottom_map();
             
              <?php
} // END IF 21 22 23


?>
</td>
        </tr>
      </table>
      <br></div></td>
  </tr>
  <tr>
    <td class="bund"><?include("bund.php");?></td>
  </tr>
</table>
</body></html><?php

// $row er ikke gangbar
    }
    else
    {
        include("404.php");
    }

/*
// dbconnect.php includes i topppen
include("dbconnect.php");

// Og det er vel samme DB ?
mysql_select_db("database");

*/

$ip = $_SERVER["REMOTE_ADDR"];
$tid = date("Y-m-d H:i:s", (time()-600));
mysql_query("DELETE FROM online WHERE tid < '$tid'");

$tjek = mysql_query("SELECT * FROM online WHERE ip='$ip'");
if(mysql_num_rows($tjek) == 0) {
    mysql_query("INSERT INTO online (tid, ip) VALUES (now(),'$ip')");
} else {
    mysql_query("UPDATE online SET tid=now() WHERE ip='$ip'");
}

// HVIS FELTET MED IP ER UNIQUE I TABELLEN, ( KUN ET ROW MED SAMME IP ), KAN REPLACE BRUGES :
// mysql_query("REPLACE INTO online (tid,ip) VALUES (NOW(),'".$ip."'") or die (mysql_error());


/* Til sidst lukker vi forbindelsen til MySQL-databasen */
mysql_close($connection);
?>
Avatar billede showsource Seniormester
07. maj 2009 - 21:33 #7
Og hov, efter
bottom_map();

skal:
              <?php

fjernes!!!
Avatar billede dklap3 Nybegynder
07. maj 2009 - 22:12 #8
Bingo!

Sådan næsten da. Efter lidt smårettelser er der i hvert fald hul i gennem. Der er dog stadig nogle småting der ikke helt stemmer.
Stykket omkring "else if ($id == 17)" er med 2 gange, men hvis jeg fjerner den ene kommer der bare en fejl igen. Koden til det stykke er med herunder. Fejlen i bunden af siden gør ikke det store, den ses ikke når jeg slår fejlmeldingerne fra. Desuden er der et "?>" for meget nede ved teksten nederst, det har jeg også lidt svært ved at finde i koden. Nå, stykket omkring nr 17:

else if ($id == 16)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="387,227,347,212,281,406,326,420" href="bygning.php?id=64" target="_self" alt="Bybusterminalen">
                <area shape="poly" coords="252,396,270,335,263,332,306,196,247,177,235,213,220,207,204,244,201,240,178,304,165,300,103,304,107,348,124,353,125,373,160,367" href="bygning.php?id=65" target="_self" alt="BioCity Herning">
                <area shape="poly" coords="125,264,101,265,103,297,169,292,176,270,163,272,127,271" href="bygning.php?id=66" target="_self" alt="Søndergade 23">
                <area shape="poly" coords="101,228,102,258,127,257,124,226" href="bygning.php?id=67" target="_self" alt="Søndergade 21">
                <area shape="poly" coords="141,201,123,199,111,200,98,200,100,222,131,217,141,211" href="bygning.php?id=68" target="_self" alt="Frelsens Hær Herning">
                <area shape="poly" coords="91,89,119,83,160,82,163,100,149,136,153,188,138,193,97,197" href="bygning.php?id=69" target="_self" alt="Søndergade 15-17">
                <area shape="poly" coords="123,84,90,89,89,66,122,63" href="bygning.php?id=70" target="_self" alt="Søndergade 11">
                <area shape="poly" coords="84,24,89,67,153,62,151,42,156,40,151,29,143,29,141,38,131,38,122,19" href="bygning.php?id=71" target="_self" alt="Søndergade 9">
              </map>
              <?php
';
}
else if ($id == 17)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="Sølvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,279,195,284,197,290,190,298,193,306,166" href="bygning.php?id=58" target="_self" alt="Gr&oslash;nnegade 10">
                <area shape="poly" coords="289,159,273,152,260,193,269,197,274,188,280,189" href="bygning.php?id=59" target="_self" alt="Gr&oslash;nnegade 8">
                <area shape="poly" coords="270,157,213,137,202,171,261,188" href="bygning.php?id=60" target="_self" alt="Gr&oslash;nnegade 6">
                <area shape="poly" coords="190,127,182,156,193,163,190,181,197,185,213,135" href="bygning.php?id=61" target="_self" alt="Gr&oslash;nnegade 4">
                <area shape="poly" coords="153,115,141,154,151,158,155,152,172,153,182,126" href="bygning.php?id=62" target="_self" alt="Gr&oslash;nnegade 2A">
                <area shape="poly" coords="73,113,62,142,107,155,119,122,108,118,99,143,94,143,99,122" href="bygning.php?id=63" target="_self" alt="Smedegade 15">
                <area shape="poly" coords="312,168,302,199,387,226,376,275,408,285,420,230,414,229,420,202" href="bygning.php?id=364" target="_self" alt="Fonnesbechsgade 16">
              </map>
            <?php



else if ($id == 17)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="S&oslash;lvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,279,195,284,197,290,190,298,193,306,166" href="bygning.php?id=58" target="_self" alt="Gr&oslash;nnegade 10">
                <area shape="poly" coords="289,159,273,152,260,193,269,197,274,188,280,189" href="bygning.php?id=59" target="_self" alt="Gr&oslash;nnegade 8">
                <area shape="poly" coords="270,157,213,137,202,171,261,188" href="bygning.php?id=60" target="_self" alt="Gr&oslash;nnegade 6">
                <area shape="poly" coords="190,127,182,156,193,163,190,181,197,185,213,135" href="bygning.php?id=61" target="_self" alt="Gr&oslash;nnegade 4">
                <area shape="poly" coords="153,115,141,154,151,158,155,152,172,153,182,126" href="bygning.php?id=62" target="_self" alt="Gr&oslash;nnegade 2A">
                <area shape="poly" coords="73,113,62,142,107,155,119,122,108,118,99,143,94,143,99,122" href="bygning.php?id=63" target="_self" alt="Smedegade 15">
                <area shape="poly" coords="312,168,302,199,387,226,376,275,408,285,420,230,414,229,420,202" href="bygning.php?id=364" target="_self" alt="Fonnesbechsgade 16">
              </map>
              <?php
';
}
else if ($id == 18)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="42,133,37,148,52,152,57,134" href="bygning.php?id=308" target="_self" alt="Dalgasgade 53">
                <area shape="poly" coords="63,138,60,154,71,160,77,160,81,143,72,136" href="bygning.php?id=309" target="_self" alt="Dalgasgade 51">
                <area shape="poly" coords="78,196,62,195,58,197,61,202,60,210,69,211,69,218,79,218" href="bygning.php?id=310" target="_self" alt="Birke Alle 2">
                <area shape="poly" coords="62,222,60,230,57,231,55,239,77,242,77,224" href="bygning.php?id=311" target="_self" alt="Birke Alle 4">
                <area shape="poly" coords="73,263,61,263,57,268,58,278,76,281,76,269" href="bygning.php?id=312" target="_self" alt="Birke Alle 6">
                <area shape="poly" coords="97,280,97,296,99,300,112,299,114,281" href="bygning.php?id=313" target="_self" alt="Birke Alle 9">
                <area shape="poly" coords="99,258,99,274,108,274,108,277,118,278,117,274,114,274,114,257" href="bygning.php?id=314" target="_self" alt="Birke Alle 7">
                <area shape="poly" coords="99,232,97,245,98,251,116,251,116,234" href="bygning.php?id=315" target="_self" alt="Birke Alle 5">
                <area shape="poly" coords="100,213,100,227,115,229,117,213" href="bygning.php?id=316" target="_self" alt="Birke Alle 3">
                <area shape="poly" coords="101,143,96,158,113,167,120,164,124,156,113,149" href="bygning.php?id=317" target="_self" alt="Dalgasgade 49">
                <area shape="poly" coords="143,177,144,199,122,194,122,187,117,185,117,177,130,164,129,176" href="bygning.php?id=318" target="_self" alt="Dalgasgade 47">
                <area shape="poly" coords="147,154,148,170,156,170,154,174,159,179,161,175,169,175,173,160" href="bygning.php?id=319" target="_self" alt="Dalgasgade 45A">
                <area shape="poly" coords="149,194,147,218,168,219,168,195" href="bygning.php?id=320" target="_self" alt="Dalgasgade 45B">
                <area shape="poly" coords="174,159,169,177,194,182,197,165" href="bygning.php?id=321" target="_self" alt="Dalgasgade 43">
                <area shape="poly" coords="193,222,178,222,175,247,192,250,194,241" href="bygning.php?id=322" target="_self" alt="Linde Alle 4">
                <area shape="poly" coords="189,264,176,262,174,266,173,277,182,279,192,280" href="bygning.php?id=323" target="_self" alt="Linde Alle 6A">
                <area shape="poly" coords="180,280,165,276,162,288,170,294,183,294,182,282" href="bygning.php?id=324" target="_self" alt="Linde Alle 6B">
                <area shape="poly" coords="208,232,207,247,212,246,211,252,216,253,219,248,224,248,226,232" href="bygning.php?id=325" target="_self" alt="Linde Alle 1">
                <area shape="poly" coords="225,274,226,279,220,281,220,288,224,287,225,292,250,296,271,291,293,289,305,249,287,245,281,265,284,271,279,276,266,273,256,268,252,274" href="bygning.php?id=326" target="_self" alt="Dalgasgade 37">
                <area shape="poly" coords="214,167,213,171,211,185,232,190,237,172" href="bygning.php?id=327" target="_self" alt="Dalgasgade 41">
                <area shape="poly" coords="246,175,243,192,260,196,264,179" href="bygning.php?id=328" target="_self" alt="Dalgasgade 39">
                <area shape="poly" coords="273,180,268,199,267,207,270,217,277,211,289,212,296,187" href="bygning.php?id=329" target="_self" alt="Mors&oslash; Bank">
                <area shape="poly" coords="298,187,295,204,307,206,317,207,320,189" href="bygning.php?id=330" target="_self" alt="Dalgasgade 35A">
                <area shape="poly" coords="353,205,351,208,348,208,344,222,356,228,355,234,361,236,361,241,365,243,369,232,363,228,368,213,360,212,361,207" href="bygning.php?id=331" target="_self" alt="Dalgasgade 31">
                <area shape="poly" coords="375,237,372,237,371,238,369,251,370,250,372,251,380,254,378,254,388,252,393,241,384,239,381,236" href="bygning.php?id=332" target="_self" alt="Dalgasgade 29">
                <area shape="poly" coords="400,214,398,220,396,224,395,230,411,235,415,219" href="bygning.php?id=333" target="_self" alt="Dalgasgade 27">
                <area shape="poly" coords="421,223,419,237,439,242,443,228" href="bygning.php?id=334" target="_self" alt="Dalgasgade 25B">
                <area shape="poly" coords="377,214,362,289,373,290,373,298,393,298,394,245,390,244,394,219" href="bygning.php?id=354" target="_self" alt="Vestjysk Bank">
                <area shape="poly" coords="421,222,422,244,411,243,410,299,429,299,430,293,439,293,440,227" href="bygning.php?id=353" target="_self" alt="Finanscenter Herning">
              </map>
              <?php
';
}
else if ($id == 19)
Avatar billede dklap3 Nybegynder
07. maj 2009 - 22:15 #9
hov, det ekstra "?>" er kun med fra id 1 til 17 men ikke på de sidste. Så det må jo have noget med den dobbelte 17er at gøre.
Avatar billede showsource Seniormester
07. maj 2009 - 22:19 #10
hmm,

echo'

blalbvlbllalal

';

Tjek at '; er der som det skal være.
Avatar billede dklap3 Nybegynder
07. maj 2009 - 22:31 #11
Ja der mangler jo et eller andet før det andet "id 17" stykke. Men i bund og grund skal det jo også bare væk. Når jeg så fjerner det kommer der en anden fejl, nu på linje 644 og 645, tjek den her: http://www.herningshuse.dk/blok.php?id=2

Jeg har fjernet noget kode i bunden. Det havde ikke noget med fejlen at gøre, da præcist det samme er på alle mine andre sider.


Hele koden fra "id 17" stykket og ned, vi starter på linje 558. Første klinje med fejl (644) står med fed:


            <?php
';
}
else if ($id == 17)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="39,207,23,263,25,276,81,295,85,273,51,265,70,217,54,212" href="bygning.php?id=54" target="_self" alt="Smedegade 21">
                <area shape="poly" coords="107,267,97,297,260,349,273,319,264,316,263,309,206,292,209,280,189,275,186,287,181,283,122,266" href="bygning.php?id=55" target="_self" alt="Sølvparken">
                <area shape="poly" coords="281,319,275,345,274,351,353,374,389,354,408,285,396,281,377,276,370,280,369,288,372,294,361,333,345,337,346,324,341,325,336,333,319,329,322,314,307,309,307,325" href="bygning.php?id=56" target="_self" alt="Fonnesbechsgade 18">
                <area shape="poly" coords="372,228,355,223,352,243,372,247,374,234" href="bygning.php?id=57" target="_self" alt="Fonnesbechsgade 16">
                <area shape="poly" coords="289,159,279,195,284,197,290,190,298,193,306,166" href="bygning.php?id=58" target="_self" alt="Grønnegade 10">
                <area shape="poly" coords="289,159,273,152,260,193,269,197,274,188,280,189" href="bygning.php?id=59" target="_self" alt="Grønnegade 8">
                <area shape="poly" coords="270,157,213,137,202,171,261,188" href="bygning.php?id=60" target="_self" alt="Grønnegade 6">
                <area shape="poly" coords="190,127,182,156,193,163,190,181,197,185,213,135" href="bygning.php?id=61" target="_self" alt="Grønnegade 4">
                <area shape="poly" coords="153,115,141,154,151,158,155,152,172,153,182,126" href="bygning.php?id=62" target="_self" alt="Grønnegade 2A">
                <area shape="poly" coords="73,113,62,142,107,155,119,122,108,118,99,143,94,143,99,122" href="bygning.php?id=63" target="_self" alt="Smedegade 15">
                <area shape="poly" coords="312,168,302,199,387,226,376,275,408,285,420,230,414,229,420,202" href="bygning.php?id=364" target="_self" alt="Fonnesbechsgade 16">
              </map>
              <?php
';
}
else if ($id == 18)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="42,133,37,148,52,152,57,134" href="bygning.php?id=308" target="_self" alt="Dalgasgade 53">
                <area shape="poly" coords="63,138,60,154,71,160,77,160,81,143,72,136" href="bygning.php?id=309" target="_self" alt="Dalgasgade 51">
                <area shape="poly" coords="78,196,62,195,58,197,61,202,60,210,69,211,69,218,79,218" href="bygning.php?id=310" target="_self" alt="Birke Alle 2">
                <area shape="poly" coords="62,222,60,230,57,231,55,239,77,242,77,224" href="bygning.php?id=311" target="_self" alt="Birke Alle 4">
                <area shape="poly" coords="73,263,61,263,57,268,58,278,76,281,76,269" href="bygning.php?id=312" target="_self" alt="Birke Alle 6">
                <area shape="poly" coords="97,280,97,296,99,300,112,299,114,281" href="bygning.php?id=313" target="_self" alt="Birke Alle 9">
                <area shape="poly" coords="99,258,99,274,108,274,108,277,118,278,117,274,114,274,114,257" href="bygning.php?id=314" target="_self" alt="Birke Alle 7">
                <area shape="poly" coords="99,232,97,245,98,251,116,251,116,234" href="bygning.php?id=315" target="_self" alt="Birke Alle 5">
                <area shape="poly" coords="100,213,100,227,115,229,117,213" href="bygning.php?id=316" target="_self" alt="Birke Alle 3">
                <area shape="poly" coords="101,143,96,158,113,167,120,164,124,156,113,149" href="bygning.php?id=317" target="_self" alt="Dalgasgade 49">
                <area shape="poly" coords="143,177,144,199,122,194,122,187,117,185,117,177,130,164,129,176" href="bygning.php?id=318" target="_self" alt="Dalgasgade 47">
                <area shape="poly" coords="147,154,148,170,156,170,154,174,159,179,161,175,169,175,173,160" href="bygning.php?id=319" target="_self" alt="Dalgasgade 45A">
                <area shape="poly" coords="149,194,147,218,168,219,168,195" href="bygning.php?id=320" target="_self" alt="Dalgasgade 45B">
                <area shape="poly" coords="174,159,169,177,194,182,197,165" href="bygning.php?id=321" target="_self" alt="Dalgasgade 43">
                <area shape="poly" coords="193,222,178,222,175,247,192,250,194,241" href="bygning.php?id=322" target="_self" alt="Linde Alle 4">
                <area shape="poly" coords="189,264,176,262,174,266,173,277,182,279,192,280" href="bygning.php?id=323" target="_self" alt="Linde Alle 6A">
                <area shape="poly" coords="180,280,165,276,162,288,170,294,183,294,182,282" href="bygning.php?id=324" target="_self" alt="Linde Alle 6B">
                <area shape="poly" coords="208,232,207,247,212,246,211,252,216,253,219,248,224,248,226,232" href="bygning.php?id=325" target="_self" alt="Linde Alle 1">
                <area shape="poly" coords="225,274,226,279,220,281,220,288,224,287,225,292,250,296,271,291,293,289,305,249,287,245,281,265,284,271,279,276,266,273,256,268,252,274" href="bygning.php?id=326" target="_self" alt="Dalgasgade 37">
                <area shape="poly" coords="214,167,213,171,211,185,232,190,237,172" href="bygning.php?id=327" target="_self" alt="Dalgasgade 41">
                <area shape="poly" coords="246,175,243,192,260,196,264,179" href="bygning.php?id=328" target="_self" alt="Dalgasgade 39">
                <area shape="poly" coords="273,180,268,199,267,207,270,217,277,211,289,212,296,187" href="bygning.php?id=329" target="_self" alt="Morsø Bank">
                <area shape="poly" coords="298,187,295,204,307,206,317,207,320,189" href="bygning.php?id=330" target="_self" alt="Dalgasgade 35A">
                <area shape="poly" coords="353,205,351,208,348,208,344,222,356,228,355,234,361,236,361,241,365,243,369,232,363,228,368,213,360,212,361,207" href="bygning.php?id=331" target="_self" alt="Dalgasgade 31">
                <area shape="poly" coords="375,237,372,237,371,238,369,251,370,250,372,251,380,254,378,254,388,252,393,241,384,239,381,236" href="bygning.php?id=332" target="_self" alt="Dalgasgade 29">
                <area shape="poly" coords="400,214,398,220,396,224,395,230,411,235,415,219" href="bygning.php?id=333" target="_self" alt="Dalgasgade 27">
                <area shape="poly" coords="421,223,419,237,439,242,443,228" href="bygning.php?id=334" target="_self" alt="Dalgasgade 25B">
                <area shape="poly" coords="377,214,362,289,373,290,373,298,393,298,394,245,390,244,394,219" href="bygning.php?id=354" target="_self" alt="Vestjysk Bank">
                <area shape="poly" coords="421,222,422,244,411,243,410,299,429,299,430,293,439,293,440,227" href="bygning.php?id=353" target="_self" alt="Finanscenter Herning">
              </map>
              <?php
';
}
else if ($id == 19)
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="75,141,72,156,88,161,91,146" href="bygning.php?id=337" target="_self" alt="Dalgasgade 21">
                <area shape="poly" coords="98,147,93,165,100,169,102,164,107,165,102,189,110,192,114,179,109,177,112,150" href="bygning.php?id=338" target="_self" alt="Dalgasgade 19">
                <area shape="poly" coords="121,154,117,173,129,175,121,221,117,223,116,228,133,233,138,231,151,166,147,157" href="bygning.php?id=339" target="_self" alt="Sønderport">
                <area shape="poly" coords="182,167,179,174,176,178,178,183,201,189,202,182,208,183,206,193,212,196,216,174" href="bygning.php?id=340" target="_self" alt="Dalgasgade 15">
                <area shape="poly" coords="223,173,219,181,217,197,235,205,248,203,252,186,248,177" href="bygning.php?id=341" target="_self" alt="Dalgasgade 13">
                <area shape="poly" coords="258,183,254,201,277,207,270,247,285,250,300,202,298,191" href="bygning.php?id=342" target="_self" alt="Dalgasgade 11">
                <area shape="poly" coords="309,190,304,204,301,217,306,221,311,212,320,217,319,228,331,232,333,226,340,232,341,223,335,221,337,213,329,211,333,195" href="bygning.php?id=343" target="_self" alt="Dalgasgade 9">
                <area shape="poly" coords="344,203,342,218,353,223,350,247,361,251,366,223,366,207" href="bygning.php?id=344" target="_self" alt="Dalgasgade 7">
                <area shape="poly" coords="374,210,368,231,378,235,379,231,389,231,393,214" href="bygning.php?id=345" target="_self" alt="Dalgasgade 5">
                <area shape="poly" coords="398,216,394,239,409,243,414,232,414,219" href="bygning.php?id=346" target="_self" alt="Dalgasgade 3A">
                <area shape="poly" coords="417,234,411,257,431,260,437,237" href="bygning.php?id=347" target="_self" alt="Dalgasgade 3">
                <area shape="poly" coords="30,146,26,158,37,157,40,146" href="bygning.php?id=335" target="_self" alt="Dalgasgade 25">
                <area shape="poly" coords="56,139,55,150,69,152,70,140" href="bygning.php?id=336" target="_self" alt="Dalgasgade 23">
                <area shape="poly" coords="35,132,25,180,33,181,33,190,21,187,20,203,72,216,65,174,71,141" href="bygning.php?id=404" target="_self" alt="Queens Corner">
              </map>
              <?php
';
}
else
{
echo'
?>
              <map name="bykort">
                <area shape="poly" coords="372,213,354,280,345,277,339,293,405,311,413,291,408,288,408,293,385,287,392,265,403,265,406,248,395,245,400,221" href="bygning.php?id=51" target="_self" alt="Scandic Hotel">
                <area shape="poly" coords="337,308,341,285,317,279,321,263,306,257,263,203,308,215,309,206,264,187,221,117,210,114,255,189,227,179,221,192,254,202,295,258,292,272,128,228,122,250" href="bygning.php?id=52" target="_self" alt="Banegårdscentret">
                <area shape="poly" coords="29,133,26,149,48,156,49,178,65,177,63,142" href="bygning.php?id=53" target="_self" alt="Sølvgade 27-29">
                <area shape="poly" coords="111,244,25,223,29,215,22,213,22,191,62,190,62,210,117,224,127,229,121,252" href="bygning.php?id=368" target="_self" alt="Banegårdspladsen 2-4">
              </map>
              <?php
;
} // END FORSKELLIGE MAP IF

bottom_map();
           
             
} // END IF 21 22 23


?>
</td>
        </tr>
      </table>
      <br></div></td>
  </tr>
  <tr>
    <td class="bund"><?include("bund.php");?></td>
  </tr>
</table>
</body></html><?php


    }
    else
    {
        include("404.php");
    }

/*

include("dbconnect.php");


mysql_select_db("database");

*/






/* Til sidst lukker vi forbindelsen til MySQL-databasen */
mysql_close($connection);
?>
Avatar billede showsource Seniormester
07. maj 2009 - 22:36 #12
;
} // END FORSKELLIGE MAP IF

Der mangler en ' før ;
Avatar billede dklap3 Nybegynder
07. maj 2009 - 22:55 #13
Fantastisk, så er vi der næsten. Nu mangler der kan lige den lille fejl i teksten under kortet. Der bliver stadig vist et "?>" for meget og teksten bliver derfor heller ikke hverken centreret eller står med rødt.:

?> Rødt husnummer  betyder at bygningen er blevet revet ned. Original kort venligst udlånt af Herning Kommune.
Avatar billede dklap3 Nybegynder
07. maj 2009 - 23:33 #14
Det viste sig at jeg bare skulle fjerne alle de "?>" der var sat ind efter hvert "echo'".

Nu kører alt som det skal igen. Tusind tak for hjælpen, du har reddet min dag og mit site. :-)

Smid endelig et svar så jeg kan lukke emnet.
Avatar billede showsource Seniormester
08. maj 2009 - 06:03 #15
ahh, ja, det er jo ikke forbudt at tænke med rø... ( heldigvis )

Men et svar.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester