|
| 1 | +<{if $block.template == 'normal'}> |
| 2 | + <div style="width:100%;"> |
| 3 | + <{section name=i loop=$block.columns}> |
| 4 | + <div style="width: <{$block.columnwidth}>%;" class="publisher-left"> |
| 5 | + <{foreach item=item from=$block.columns[i]}> |
| 6 | + <div class="publisher-box"> |
| 7 | + <div class="publisher-section publisher-clearfix"> |
| 8 | + <a href="<{$item.categoryurl}>" title="<{$item.item_cat_description}>"><span><{$item.item_cat_name}></span></a> |
| 9 | + </div> |
| 10 | + <div class="publisher-content clearfix"> |
| 11 | + <h4 class="publisher-title"> |
| 12 | + <a href="<{$item.itemurl}>" title="<{$item.item_cleantitle}>"><{$item.item_title}></a> |
| 13 | + </h4> |
| 14 | + <{if $block.display_datemainitem == '1'}><span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> |
| 15 | + <span class="glyphicon glyphicon-date"></span> <{$item.date}></span> |
| 16 | + <{/if}> |
| 17 | + |
| 18 | + <p> |
| 19 | + <{if $item.item_image != ''}> |
| 20 | + <a href="<{$item.itemurl}>"><img src="<{$item.item_image}>" alt="<{$item.item_cleantitle}>" align="left" width="120"/></a> |
| 21 | + <{/if}> |
| 22 | + <{$item.item_summary}> |
| 23 | + </p> |
| 24 | + </div> |
| 25 | + |
| 26 | + <{if $item.subitem}> |
| 27 | + <strong class="publisher-more"><{$smarty.const._MB_PUBLISHER_MORE}></strong> |
| 28 | + <ul class="publisher-links"> |
| 29 | + <{foreach item=subitem from=$item.subitem}> |
| 30 | + <li> |
| 31 | + <a title="<{$subitem.title}>" href="<{$subitem.itemurl}>"> <{$subitem.title}></a><{if $block.display_datesubitem == '1'}>(<{$subitem.date}>) <{/if}> |
| 32 | + </li> |
| 33 | + <{/foreach}> |
| 34 | + </ul> |
| 35 | + <{/if}> |
| 36 | + </div> |
| 37 | + <{/foreach}> |
| 38 | + </div> |
| 39 | + <{/section}> |
| 40 | + <div class="clearfix"></div> |
| 41 | + </div> |
| 42 | +<{/if}> |
| 43 | +<{if $block.template == 'extended'}> |
| 44 | + <div style="width:100%;"> |
| 45 | + <{section name=i loop=$block.columns}> |
| 46 | + <div style="width: <{$block.columnwidth}>%;" class="publisher-left"> |
| 47 | + <{foreach item=item from=$block.columns[i]}> |
| 48 | + <div class="publisher-box publisher-clearfix"> |
| 49 | + |
| 50 | + <h4 class="publisher-title"> |
| 51 | + <a href="<{$item.itemurl}>" title="<{$item.item_title}>"><{$item.item_title}></a> |
| 52 | + </h4><{if $block.display_datemainitem == '1'}><span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> |
| 53 | + <span class="glyphicon glyphicon-date"></span> <{$item.date}> |
| 54 | + </span><{/if}> |
| 55 | + |
| 56 | + <div style="float:right; width:60%;"> |
| 57 | + |
| 58 | + <div class="publisher-content clearfix"> |
| 59 | + <{if $item.item_image != ''}> |
| 60 | + <a href="<{$item.itemurl}>"><img src="<{$item.item_image}>" alt="<{$item.item_cleantitle}>" align="right" width="100"/></a> |
| 61 | + <{/if}> |
| 62 | + <p><{$item.item_summary}></p> |
| 63 | + |
| 64 | + <p> |
| 65 | + <a href="<{$item.itemurl}>" title="<{$item.item_title}>"><{$smarty.const._MB_PUBLISHER_READMORE}></a> |
| 66 | + </p> |
| 67 | + </div> |
| 68 | + |
| 69 | + </div> |
| 70 | + |
| 71 | + <{if $item.subitem}> |
| 72 | + <div style="float:left; width:40%;"> |
| 73 | + <br> |
| 74 | + <strong class="publisher-more"><{$smarty.const._MB_PUBLISHER_MORE}></strong> |
| 75 | + <br> |
| 76 | + <ul class="publisher-links"> |
| 77 | + <{foreach item=subitem from=$item.subitem}> |
| 78 | + <li> |
| 79 | + <a title="<{$subitem.summary}>" href="<{$subitem.itemurl}>"> <{$subitem.title}></a> <{if $block.display_datesubitem == '1'}>(<{$subitem.date}>) <{/if}> |
| 80 | + </li> |
| 81 | + <{/foreach}> |
| 82 | + </ul> |
| 83 | + |
| 84 | + </div> |
| 85 | + <{/if}> |
| 86 | + </div> |
| 87 | + <{/foreach}> |
| 88 | + </div> |
| 89 | + <{/section}> |
| 90 | + </div><{/if}> |
0 commit comments