Difference between revisions of "Widget:Books"

From Shaker Pedia

 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<!--{getparams}-->
+
<h2>Books and publications about and by Shakers</h2>
<!--{getparam var="alast" get="alast"}-->
+
<br>
<!--{getparam var="afirst" get="afirst"}-->
+
<!--{if !isset($type) }-->
<h2>Lectures by
+
<!--{$type = ''}-->
<!--{$afirst}-->
+
<!--{/if}-->
<!--{$alast}-->
+
<!--{shakerdb var="rows" deb="0" mode="books" type="$type"}-->
</h2><br>
 
<!--{shakerdb var="rows" deb="1" mode="books"}-->
 
 
<!--{$bgcolor = ''}-->
 
<!--{$bgcolor = ''}-->
 
<table>
 
<table>
<tr><th>Title<th>Authors<th>Speaker<th>Year
+
<tr><th>Title<th>Authors
 
<!--{foreach $rows as $i=>$r}-->
 
<!--{foreach $rows as $i=>$r}-->
 
<tr <!--{$bgcolor}--> >
 
<tr <!--{$bgcolor}--> >
<td width=500>
+
<td width=200>
 
<!-- <!--{$r.id}--> -->
 
<!-- <!--{$r.id}--> -->
 
<!--{$r.title}-->
 
<!--{$r.title}-->
<td width=300><!--{$r.area}-->
+
<td><!--{$r.authors}-->
<td><!--{$r.first}-->
+
<td>
  <!--{$r.last}-->
+
<a href="http://www.amazon.com/exec/obidos/ASIN/<!--{$r.isbn|replace:'-':''}-->/parentsandteache" target=_blank>[ISBN lookup]</a>  
<td><!--{$r.year}-->
+
<a href="https://www.google.com/search?q=<!--{$r.title}-->" target=_blank>[google search]</a>
 
<!--{if $bgcolor == '' }-->
 
<!--{if $bgcolor == '' }-->
 
<!--{$bgcolor = 'bgcolor=yellow'}-->
 
<!--{$bgcolor = 'bgcolor=yellow'}-->

Latest revision as of 19:08, 21 November 2016