{"id":1601,"date":"1996-03-04T20:10:02","date_gmt":"1996-03-04T20:10:02","guid":{"rendered":"http:\/\/shrule.com\/?page_id=1601"},"modified":"2026-04-03T16:46:43","modified_gmt":"2026-04-03T16:46:43","slug":"mayo-map-resources","status":"publish","type":"page","link":"http:\/\/www.shrule.com\/?page_id=1601","title":{"rendered":"Mayo map resources"},"content":{"rendered":"<p>Return to <a href=\"?page_id=1563\">map resources<\/a> page.<\/p>\n<h2>Mayo :: Civil Parish map<\/h2>\n<p>The Barony of Kilmaine consists of Civil Parishes : All of Shrule , Moorgagagh , Kilmainemore , Kilmainebeg , Kilmolara , Kilcommon , Robeen and Cong         Part of Mayoparish  and the parts of Ballinchalla , Ballinrobe east of Lough Mask.<\/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<table class=\"resulttable\">\n<tbody>\n<tr>\n<td colspan=\"4\">\n<p><div id=\"attachment_1564\" style=\"width: 490px\" class=\"wp-caption aligncenter\"><a rel=\"attachment wp-att-1564\" href=\"http:\/\/shrule.com\/?attachment_id=1564\"><img decoding=\"async\" aria-describedby=\"caption-attachment-1564\" class=\"size-full wp-image-1564 \" style=\"margin: 5px;\" title=\"101_kilmaine_barony\" src=\"http:\/\/shrule.com\/wp-content\/uploads\/2012\/03\/101_kilmaine_barony.png\" alt=\"Kilmaine Barony - Ballinrobe Poor Law Union\" width=\"480\" srcset=\"http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/101_kilmaine_barony.png 786w, http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/101_kilmaine_barony-128x150.png 128w, http:\/\/www.shrule.com\/wp-content\/uploads\/2012\/03\/101_kilmaine_barony-256x300.png 256w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/a><p id=\"caption-attachment-1564\" class=\"wp-caption-text\">Kilmaine Barony - Ballinrobe Poor Law Union<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td><strong>Number<\/strong><\/td>\n<td><strong>Civil Parish<\/strong><\/td>\n<td><strong>Number<\/strong><\/td>\n<td><strong>Civil Parish<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>Shrule<\/td>\n<td>2<\/td>\n<td>Kilmainebeg<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Moorgagagh<\/td>\n<td>4<\/td>\n<td>Kilmainemore<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Kilmolara<\/td>\n<td>6<\/td>\n<td>Cong<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Ballinchalla<\/td>\n<td>8<\/td>\n<td>Ross<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>Ballinrobe<\/td>\n<td>10<\/td>\n<td>Kilcommon<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p><?php\n\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<br \/>\nAuthor 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. Mayo :: Civil Parish map The Barony of Kilmaine consists of Civil Parishes : All of Shrule , Moorgagagh , Kilmainemore , Kilmainebeg , Kilmolara , Kilcommon , Robeen and Cong Part of Mayoparish and the parts of Ballinchalla , Ballinrobe east of Lough Mask. The original Ordnance survey 6 [&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-1601","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1601","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=1601"}],"version-history":[{"count":1,"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1601\/revisions"}],"predecessor-version":[{"id":3909,"href":"http:\/\/www.shrule.com\/index.php?rest_route=\/wp\/v2\/pages\/1601\/revisions\/3909"}],"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=1601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}