{"id":18917,"date":"2014-10-22T20:40:17","date_gmt":"2014-10-22T19:40:17","guid":{"rendered":"http:\/\/www.fleetwood-trawlers.info\/?page_id=18917"},"modified":"2015-11-27T13:51:40","modified_gmt":"2015-11-27T13:51:40","slug":"latest-additions","status":"publish","type":"page","link":"http:\/\/www.fleetwood-trawlers.info\/index.php\/latest-additions\/","title":{"rendered":"Latest Additions"},"content":{"rendered":"<p><?php\n\n$num_per_page = 20;\n\n$query = \"select * from wp_posts where post_title like '%S.T.%' or post_title like '%s.v.%'  or post_title like '%S.D\/T.%' group by post_title order by ID DESC LIMIT \" . $num_per_page;\n\n$result = mysql_query($query);\n\n?><\/p>\n<p>Here you can find a list of the last 20 additions to the Fleetwood Steam &#038; Sail Trawler Database.<\/p>\n<p>You will see the vessels name and the date it was added. Click the vessels name for more information.<\/p>\n<p>___<\/p>\n<ul>\n<?php\nwhile ($row = mysql_fetch_array($result)) {\n\techo '\n\n<pre style=\"font-family:arial; margin:0; padding:0; height:18px !important\">&#8216;;\r\n\t?><li><a href=\"<?php echo $row[\"guid\"]; ?>&#8220;><?php echo $row[\"post_title\"]; ?><\/a> &#8211; <?php echo date('jS \\of F Y',strtotime($row[\"post_date\"])); ?><\/li><?php\r\n\techo '<\/pre>\n<p>&#8216;;<\/p>\n<p>}<br \/>\n?>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":261,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-18917","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/pages\/18917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/users\/261"}],"replies":[{"embeddable":true,"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/comments?post=18917"}],"version-history":[{"count":73,"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/pages\/18917\/revisions"}],"predecessor-version":[{"id":19886,"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/pages\/18917\/revisions\/19886"}],"wp:attachment":[{"href":"http:\/\/www.fleetwood-trawlers.info\/index.php\/wp-json\/wp\/v2\/media?parent=18917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}