<{* $xoTheme->addStylesheet("modules/`$xoops_dirname`/templates/style.css") *}>
<{$modulename}> <{foreachq item=track from=$tracks}> :: <{$track.title}> <{/foreach}>

<{$article.title}>


<{if $page eq 0}>
<{if $article.image}>
<{$article.title}>
<{$article.image.caption}>
<{/if}>
<{if $article.writer}>
<{$article.writer.name}>
<{/if}> <{if $article.source}>
<{$article.source}>
<{/if}> <{if $article.summary}>
<{$article.summary}>
<{/if}> <{if $tagbar}> <{assign var=mode_tagbar value=2}> <{if $mode_tagbar eq 1}>
<{includeq file="tag_bar.html"}>
<{else}>
<{foreachq item=keyword from=$tagbar.tags}> <{$keyword}> <{/foreach}>
<{/if}> <{/if}>
<{/if}>
<{$article.text.title}>
<{if $article.headings}>
<{php}>echo art_constant("MD_HEADINGS");<{/php}>
    <{foreachq item=heading from=$article.headings}>
  1. <{$heading}>
  2. <{/foreach}>
<{/if}> <{if $article.writer.profile}>
<{php}>echo art_constant("MD_PROFILE");<{/php}>: <{$article.writer.name}>
<{if $article.writer.avatar}>
<{$article.writer.avatar}>
<{/if}>
<{$article.writer.profile}>
<{/if}>
<{$article.text.body}>
<{if $article.notes}>
<{php}>echo art_constant("MD_NOTES");<{/php}>
    <{foreachq item=note from=$article.notes}>
  1. <{$note}>
  2. <{/foreach}>
<{/if}> <{if $article.subtitles}>
<{php}>echo art_constant("MD_SUBTITLES");<{/php}>
    <{foreachq item=subtitle from=$article.subtitles}>
  1. <{$subtitle.title}>
  2. <{/foreach}>
<{/if}> <{if $article.pages}>
<{php}>echo art_constant("MD_PAGES");<{/php}>: <{$article.pages}>
<{/if}>
<{if $sibling}>
<{if $sibling.previous}> <{php}>echo art_constant("MD_PREVIOUS");<{/php}> <{$sibling.previous.title}> <{/if}> <{if $sibling.next}> <{$sibling.next.title}> <{php}>echo art_constant("MD_NEXT");<{/php}> <{/if}>
<{/if}> <{if $links}>
<{php}>echo art_constant("MD_ELINKS");<{/php}>
<{/if}> <{strip}> <{php}> $article = $this->get_template_vars("article"); $result = $GLOBALS["xoopsDB"]->query("select art_article.art_id, art_article.art_title from ".$GLOBALS["xoopsDB"]->prefix("tag_link")." tag_link_1, ". $GLOBALS["xoopsDB"]->prefix("tag_link")." tag_link_2, ". $GLOBALS["xoopsDB"]->prefix("art_article")." art_article where tag_link_1.tag_modid = ".$GLOBALS["xoopsModule"]->getVar("mid"). " and tag_link_1.tag_itemid=".$article["id"]. " and tag_link_1.tag_id = tag_link_2.tag_id and tag_link_2.tag_modid=2 and tag_link_2.tag_itemid = art_article.art_id". " order by art_article.art_id"); while(false !== ($row = $GLOBALS["xoopsDB"]->fetchArray($result))) { if (intval($row["art_id"]) !== intval($article["id"])) { $relate_articles[$row["art_id"]] = $row; } } $this->assign("relate_articles", $relate_articles); <{/php}> <{foreach item="relate_article" from=$relate_articles}> <{/foreach}>
<{$relate_article.art_title|escape:"html"}>
<{/strip}> <{if $categories}>
<{php}>echo art_constant("MD_CATEGORIES");<{/php}>
<{foreachq item=cat name=cat from=$categories}> <{$cat.title}> <{/foreach}>

<{/if}> <{if $topics}>
<{php}>echo art_constant("MD_TOPICS");<{/php}>
<{foreachq item=topic name=topic from=$topics}> <{$topic.title}> <{/foreach}>

<{/if}> <{if $do_trackback}>
<{php}>echo art_constant("MD_TRACKBACKS");<{/php}>
<{includeq file="db:`$xoops_dirname`_trackback.html"}>
<{/if}> <{if $sponsors}>
<{php}>echo art_constant("MD_SPONSORS");<{/php}>
<{includeq file="db:`$xoops_dirname`_inc_sponsor.html"}>
<{/if}> <{if $canRate}>
<{php}>echo art_constant("MD_RATE");<{/php}>
<{php}> for($i=10;$i>0;$i--) echo''.$i.''; <{/php}>
<{/if}>
API: <{if $transfer}> <{if $transfer.more}> <{$transfer.title}> <{/if}> <{foreachq item=opt key=op from=$transfer.list}> <{$opt.title}> <{/foreach}> | <{/if}> <{php}>echo art_constant("MD_RSS");<{/php}> | <{php}>echo art_constant("MD_RDF");<{/php}> | <{php}>echo art_constant("MD_ATOM");<{/php}> <{if $isauthor OR $isadmin}> | <{php}>echo art_constant("MD_CPANEL");<{/php}> <{/if}>
<{if $copyright}>
<{$copyright|strip_tags}>
<{/if}> <{if $commentsnav}>
<{$commentsnav}> <{$lang_notice}>
<{if $comment_mode == "flat"}> <{includeq file="db:system_comments_flat.html"}> <{elseif $comment_mode == "thread"}> <{includeq file="db:system_comments_thread.html"}> <{elseif $comment_mode == "nest"}> <{includeq file="db:system_comments_nest.html"}> <{/if}>
<{/if}> <{if $xoops_notification}> <{includeq file='db:system_notification_select.html'}> <{/if}> <{if $do_counter>0}> <{/if}>