{"id":1604,"date":"1996-03-04T20:10:06","date_gmt":"1996-03-04T20:10:06","guid":{"rendered":"http:\/\/shrule.com\/?page_id=1604"},"modified":"2012-03-05T19:43:55","modified_gmt":"2012-03-05T19:43:55","slug":"galway-map-resources","status":"publish","type":"page","link":"http:\/\/www.shrule.com\/?page_id=1604","title":{"rendered":"Galway map resources"},"content":{"rendered":"<p>Return to <a href=\"?page_id=1563\">map resources<\/a> page.<\/p>\n<h2>Galway :: Civil parish<\/h2>\n<p>North Galway Civil Parish boundaries and locations. The Barony of Clare consists of Civil Parishes :<\/p>\n<p>All of Killursa , Cargin , Killeany , Kilkilvery , Kilcoona , Donaghpatrick ,Belclare , Killower , Cummer , Annaghdown ,Kilmoylan and Lackagh  &#8211; Part of Athenry , Abbeyknockmoy , Killererin and Tuam .<\/p>\n<p>The original Ordnance survey 6 inch sheet numbers are included for reference. (Green number in top left of each grid square).<\/p>\n<p><a rel=\"attachment wp-att-1579\" href=\"http:\/\/shrule.com\/?attachment_id=1579\"><img decoding=\"async\" class=\"size-full wp-image-1579\" title=\"102_clare_barony\" src=\"http:\/\/shrule.com\/wp-content\/uploads\/2012\/03\/102_clare_barony.png\" alt=\"Clare barony - Tuam union\" width=\"480\" srcset=\"http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/102_clare_barony.png 1024w, http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/102_clare_barony-150x106.png 150w, http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/102_clare_barony-300x212.png 300w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Parish map of North Galway<\/p>\n<hr \/>\n<p><?php\n\nfunction Show_Category()\n{\n$pid        =  mysql_real_escape_string($_REQUEST['page_id']); \n \/\/ current page id in wordpress\n$select   =  mysql_real_escape_string($_REQUEST['select']);\n$photo   =  mysql_real_escape_string($_REQUEST['photo']);\n\n$query = \"select * from shrule_ximages  where cid = 117  AND status = 'Live'  group by pid \";\n$res = mysql_query($query);\n\nprintf(\"\n\n<h2 class=\\\"clearboth\\\">List of photographs\/illustrations for selected category on shrule.com<\/h2>\n<p><\/p>\n<hr>\n<p>&#8220;);<br \/>\n printf(&#8220;<\/p>\n<div class=\\\"l2columns\\\">\n<ul>&#8220;);<\/p>\n<p> while($row = mysql_fetch_row($res))<br \/>\n    {  \/\/ category has been chosen , show entries for it<br \/>\n      printf(&#8220;<\/p>\n<li>\n<div class=\\\"listitempad\\\">&#8220;);<br \/>\n        if($row[4] != Null)<br \/>\n             {   $pagetitle = $row[4]; }<br \/>\n               else{ $pagetitle=&#8221;Shrule in cyberspace!&#8221;;  }<\/p>\n<p>        $refs      =  $row[9] ;          $biblio    =  $row[10] ;   $weburl    =  $row[11] ;<br \/>\n        $webtext   =  $row[12] ;     $author    =  $row[13] ;<\/p>\n<p>        $caption = &#8221; $row[4] :: $row[5] &#8220;;<br \/>\n        $image_file = $row[7].$row[8] ;<br \/>\n                       \/\/ Provides: <body text='black'><br \/>\n         $image_file = str_replace(&#8220;..\/&#8221;, &#8220;&#8221;, $image_file);<\/p>\n<p>         if(file_exists(&#8220;$image_file&#8221;))<br \/>\n            {  print(&#8220;<a title=\\\"$caption\\\" rel=\\\"prettyPhoto-img\\\" href=\\\"$image_file\\\">&#8220;);<br \/>\n                print(&#8220;<IMG SRC=\\\"$image_file\\\" width=\\\"240\\\" ><\/a> <br \/>&#8220;) ;<br \/>\n                echo &#8220;<br \/> $row[4] <br \/><i> $row[13]<\/i> &#8221; ;   }<br \/>\n \/\/ if not there show the error page<br \/>\n           else { echo &#8221; Image unavailable  , try again later   $image_file. &#8221; ; }<\/p>\n<p>       if( empty($row[6]))<br \/>\n         {  printf( &#8220;<i><a href=\\\"?page_id=$pid&#038;photo=$row[0]\\\">View image<\/a><\/i><br \/>&#8221; );  }<br \/>\n          else { printf( &#8220;<i><a href=\\\"?page_id=$pid&#038;photo=$row[0]\\\">$row[6]<\/a><\/i><br \/>&#8221; );   }<br \/>\n      printf( &#8220;<\/p>\n<hr>\n<p>&#8221; );<br \/>\n      printf( &#8220;<\/div>\n<\/li>\n<p>&#8221; );<br \/>\n    }<br \/>\nprintf(&#8220;<\/ul>\n<\/div>\n<p>&#8220;);<br \/>\n}<\/p>\n<p>\/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nfunction Show_Photo()<br \/>\n{<\/p>\n<p>$pid        =  mysql_real_escape_string($_REQUEST[&#8216;page_id&#8217;]);<br \/>\n \/\/ current page id in wordpress<br \/>\n$select   =  mysql_real_escape_string($_REQUEST[&#8216;select&#8217;]);<br \/>\n$photo   =  mysql_real_escape_string($_REQUEST[&#8216;photo&#8217;]);<\/p>\n<p> $query = &#8220;select * from shrule_ximages where pid = &#8216;$photo'&#8221;;<br \/>\n $res = mysql_query($query);<br \/>\n $row = mysql_fetch_row($res); <\/p>\n<p>   if($row[4] != Null){   $pagetitle = $row[4]; }<br \/>\n    else{ $pagetitle=&#8221;Shrule in cyberspace!&#8221;;  }<\/p>\n<p>   $refs      =  $row[9] ;<br \/>\n   $biblio    =  $row[10] ;<br \/>\n   $weburl    =  $row[11] ;<br \/>\n   $webtext   =  $row[12] ;<br \/>\n   $author    =  $row[13] ;<\/p>\n<p>$image_file = $row[7].$row[8] ;<br \/>\n$image_file = str_replace(&#8220;..\/&#8221;, &#8220;&#8221;, $image_file);<\/p>\n<p>$description_file = $row[7].&#8217;description\/&#8217;.$row[8].&#8217;.txt&#8217; ;<br \/>\n$description_file = str_replace(&#8220;..\/&#8221;, &#8220;&#8221;, $description_file);  <\/p>\n<p>if(file_exists(&#8220;$image_file&#8221;))<br \/>\n    {  echo &#8220;<\/p>\n<h2>$row[4] <\/h2>\n<hr \/>\n<p>&#8220;;<br \/>\n        print(&#8220;<a title=\\\"$caption\\\" rel=\\\"prettyPhoto-img\\\" href=\\\"$image_file\\\">&#8220;);<br \/>\n        print(&#8220;<IMG SRC=\\\"$image_file\\\" width=\\\"480\\\" ><\/a><br \/>&#8220;) ;<br \/>\n        echo &#8220;$row[5] <br \/> $row[10] <br \/> &#8220;;<br \/>\n                  \/\/ show description file and put keywords in desc field<br \/>\n        if(file_exists(&#8220;$description_file&#8221;))<br \/>\n           {   include(&#8220;$description_file&#8221;) ;    }<br \/>\n         else  { echo $row[5] ;   }<\/p>\n<p>        echo &#8220;<br \/>Author :: $row[13] :: <a href=\\\"$row[11]\\\" target=\\\"_blank\\\">$row[12]<\/a> &#8221; ;<br \/>\n        echo &#8220;<br \/><i> References :: $row[9] <\/i>&#8221; ;  <\/p>\n<p>      }<br \/>\n       \/\/ if not there show the error page<br \/>\n      else<br \/>\n       { echo &#8221; Image unavailable  , try again later   $image_file. &#8221; ; }<\/p>\n<p>}<\/p>\n<p>\/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-  the loop &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p> if(isset($_REQUEST[&#8216;photo&#8217;]))<br \/>\n    {  Show_Photo();  }<br \/>\n    else<br \/>\n      {  Show_Category();   }<\/p>\n<p>printf(&#8220;<\/p>\n<hr class=\\\"clearboth\\\">&#8220;); <\/p>\n<p>\/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-  the loop &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n?><\/p>\n<hr \/>\n<p>Bibliography   :: OS Maps and Geneological Atlas by Brian Mitchell<\/p>\n<p>Author for this site by Martin Ryan from various sources including O.S. Maps<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to map resources page. Galway :: Civil parish North Galway Civil Parish boundaries and locations. The Barony of Clare consists of Civil Parishes : All of Killursa , Cargin , Killeany , Kilkilvery , Kilcoona , Donaghpatrick ,Belclare , Killower , Cummer , Annaghdown ,Kilmoylan and Lackagh &#8211; Part of Athenry , Abbeyknockmoy , [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"parent":1563,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1604","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"http:\/\/www.shrule.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1604"}],"version-history":[{"count":0,"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1604\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1563"}],"wp:attachment":[{"href":"http:\/\/www.shrule.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}