PHP Classes

File: htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl   Download  
File: htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 2 months ago
Size: 9,329 bytes
 

Contents

Class file image Download
<{include file='db:publisher_header.tpl'}> <div class="pub_article_t_top clearfix"> <header> <h2> <{$item.titlelink}> <span style="font-size: 11px; padding: 0; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> <span class="fa-solid fa-tag"></span>&nbsp;<{$item.category}> </span> <span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> <span class="fa-solid fa-user"></span>&nbsp;<{$item.who}> </span> <span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> <span class="fa-solid fa-calendar"></span>&nbsp;<{$item.when}> </span> <span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> <span class="fa-solid fa-comment"></span>&nbsp;<{$item.comments}> </span> <span style="font-size: 11px; padding: 0 0 0 16px; margin: 0; line-height: 12px; opacity:0.8;-moz-opacity:0.8;"> <span class="fa-solid fa-circle-check"></span>&nbsp;<{$item.counter}> <{$smarty.const._MD_PUBLISHER_READS}> </span> </h2> <{if $show_subtitle && $item.subtitle}> <h5><{$item.subtitle}></h5> <{/if}> </header> <{if $item.image_path || $item.images}> <figure> <{if $item.images}> <div id="articleslider" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <{assign var=active value=' active'}> <{if $item.image_path}> <div class="carousel-item<{$active}>"> <img class="d-block w-100" src="<{$item.image_path}>" alt="<{$item.image_name}>"/> <div class="carousel-caption d-none d-md-block"> <p class="slidetext-trans center"><{$item.image_name}><p> </div> </div> <{assign var=active value=''}> <{/if}> <{foreach item=image from=$item.images|default:null name=foo}> <div class="carousel-item<{$active}>"> <img class="d-block w-100" src="<{$image.path}>" alt="<{$image.name}>"/> <div class="carousel-caption d-none d-md-block"> <p class="slidetext-trans center"><{$image.name}><p> </div> </div> <{assign var=active value=''}> <{/foreach}> <a class="carousel-control-prev" href="#articleslider" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only"<{$smarty.const.THEME_CONTROL_PREVIOUS}>/span> </a> <a class="carousel-control-next" href="#articleslider" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only"<{$smarty.const.THEME_CONTROL_NEXT}>/span> </a> </div> </div> <{elseif $item.image_path}> <img class="img-fluid mh-100" src="<{$item.image_path}>" alt="<{$item.image_name}>"/> <{/if}> </figure> <{/if}> <div> <{$item.maintext}> <div class='shareaholic-canvas' data-app='share_buttons' data-app-id=''></div> </div> </div> <{if isset($pagenav)}> <div class="pub_pagenav text-right"> <{$pagenav}> </div> <{/if}> <div class="clearfix"></div> <div class="pub_article_extras"> <{if !empty($rating_enabled)}> <div class="pull-left"> <small><{$item.ratingbar}></small> </div> <{/if}> <div class="pull-right text-right"> <{if isset($display_print_link) && $display_print_link !=0}> <{$item.printlink}> <{/if}> <{if isset($display_pdf_button) && $display_pdf_button !=0}> <{$item.pdfbutton}> <{/if}> <{$item.adminlink}> </div> <div class="clearfix"></div> </div> <{if isset($itemfooter)}> <div class="panel-footer"> <small><{$itemfooter}></small> </div> <{/if}> <!-- Attached Files --> <{if $item.files}> <table class="table table-bordered table-sm" style="margin: 15px 0;"> <thead> <tr> <th width="60%"><{$smarty.const._CO_PUBLISHER_FILENAME}></th> <th width="30%"><{$smarty.const._MD_PUBLISHER_DATESUB}></th> <th width="9%"><{$smarty.const._MD_PUBLISHER_HITS}></th> </tr> </thead> <tbody> <{foreach item=file from=$item.files|default:null}> <tr> <td> <{if $file.mod}> <a href="<{$publisher_url}>/file.php?op=mod&fileid=<{$file.fileid}>"> <img src="<{$publisher_url}>/assets/images/links/edit.gif" title="<{$smarty.const._CO_PUBLISHER_EDITFILE}>" alt="<{$smarty.const._CO_PUBLISHER_EDITFILE}>"/></a> <a href="<{$publisher_url}>/file.php?op=del&fileid=<{$file.fileid}>"> <img src="<{$publisher_url}>/assets/images/links/delete.png" title="<{$smarty.const._CO_PUBLISHER_DELETEFILE}>" alt="<{$smarty.const._CO_PUBLISHER_DELETEFILE}>"/></a> <{/if}> <a href="<{$publisher_url}>/visit.php?fileid=<{$file.fileid}>" target="_blank"> <img src="<{$publisher_url}>/assets/images/links/file.gif" title="<{$lang_download_file|default:''}>" alt="<{$smarty.const._MD_PUBLISHER_DOWNLOAD_FILE}>"/>&nbsp;<strong><{$file.name|default:''}></strong> </a> <div style="font-size:12px;"><{$file.description}></div> </td> <td><{$file.datesub}></td> <td><{$file.hits}></td> </tr> <{/foreach}> </tbody> </table> <{/if}> <!-- End Attached Files --> <!-- Items by same Author --> <{if $perm_author_items && $item.uid != 0}> <div class="pub_article_extras"> <a class="btn btn-primary btn-lg btn-block" href="<{$publisher_url}>/author_items.php?uid=<{$item.uid}>"> <{$smarty.const._MD_PUBLISHER_ITEMS_SAME_AUTHOR}> </a> </div> <{/if}> <!-- END Items by same Author --> <!-- Other articles in the category --> <{if isset($other_items) && $other_items == "previous_next"}> <{if !empty($previous_item_link) || !empty($next_item_link)}> <{if !empty($previous_item_link)}> <div class="pull-left"> <a href="<{$previous_item_url}>"> <img style="vertical-align: middle;" src="<{$publisher_images_url}>/links/previous.gif" title="<{$smarty.const._MD_PUBLISHER_PREVIOUS_ITEM}>" alt="<{$smarty.const._MD_PUBLISHER_PREVIOUS_ITEM}>"/> </a> <{$previous_item_link}> </div> <{/if}> <{if !empty($next_item_link)}> <div class="text-right"> <{$next_item_link}> <a href="<{$next_item_url}>"> <img style="vertical-align: middle;" src="<{$publisher_images_url}>/links/next.gif" title="<{$smarty.const._MD_PUBLISHER_NEXT_ITEM}>" alt="<{$smarty.const._MD_PUBLISHER_NEXT_ITEM}>"/> </a> </div> <{/if}> <{/if}> <{elseif isset($other_items) && $other_items == 'all'}> <table class="table table-bordered table-sm" style="margin: 15px 0;"> <thead> <tr> <th><{$smarty.const._MD_PUBLISHER_OTHER_ITEMS}></th> <{if isset($display_date_col) && $display_date_col == 1}> <th style="text-align: center;"><{$smarty.const._MD_PUBLISHER_DATESUB}></th> <{/if}> <{if isset($display_hits_col) && $display_hits_col == 1}> <th style="text-align: center;"><{$smarty.const._MD_PUBLISHER_HITS}></th> <{/if}> </tr> </thead> <tbody> <!-- Start item loop --> <{foreach item=item from=$items|default:null}> <tr> <td class="even" align="left"><{$item.titlelink}></td> <{if isset($display_date_col) && $display_date_col == 1}> <td style="text-align: center;"><{$item.datesub}></td> <{/if}> <{if isset($display_hits_col) && $display_hits_col == 1}> <td style="text-align: center;"><{$item.counter}></td> <{/if}> </tr> <{/foreach}> <!-- End item loop --> </tbody> </table> <{/if}> <!-- END Other articles in the category --> <{if !empty($tagbar)}> <p><{include file="db:tag_bar.tpl"}></p> <{/if}> <{include file='db:publisher_footer.tpl'}>