Pensininkas

Click on an image to download the PDF version.

<?
$result3=mysql_query(“SELECT wp_y825nx_posts.menu_order, wp_y825nx_posts.ID, wp_y825nx_posts.post_title, wp_y825nx_posts.post_name, wp_y825nx_posts.post_type, wp_y825nx_posts.post_excerpt FROM wp_y825nx_posts WHERE
(wp_y825nx_posts.post_type =’pub_pensininkas’ AND
wp_y825nx_posts.post_status LIKE ‘publish’)
ORDER BY wp_y825nx_posts.menu_order DESC”) or die(mysql_error());
$cols=4; // Here we define the number of columns
echo ”

“; // The container table with $cols columns do{ echo “”; for($i=1;$i

<a href=”http://lithuanian-american.org/wp-content/uploads/pubs-pensininkas/.pdf”>

<img src=”http://lithuanian-american.org/wp-content/uploads/pubs-pensininkas/.jpg” class=”size-full wp-image-4787″ title=” ” />

<?
}
else{
echo ”
“; //If there are no more records at the end, add a blank column
}
}
} while($row);
echo ”

“;
?>