Beispiel #1
0
<!--<?php 
require_once template('head');
require_once template('sidebar');
$met_newsnext = methtml_prenextinfo(1, 1);
echo <<<EOT
-->
        <section class="met_module2">
            <h1 class="met_title">{$news[title]}</h1>
\t\t\t<div class="met_infos">
\t\t\t\t<span class="met_time">{$news[updatetime]}</span>
\t\t\t\t<span class="met_source"><a href="{$index_url}" title="{$met_webname}">{$met_webname}</a></span>
\t\t\t\t<span class="met_hits">{$_M['word']['read']} <span class="met_Clicks"></span></span>
\t\t\t</div>
            <div class="met_editor">{$news[content]}<div class="met_clear"></div></div>
\t\t\t<div class="met_tools">
\t\t\t\t{$met_tools_code}
\t\t\t\t<ul class="met_page">
\t\t\t\t\t<li class="met_page_preinfo"><span>{$lang_Previous}</span><a href='{$preinfo[url]}'>{$preinfo[title]}</a></li>
\t\t\t\t\t<li class="met_page_next"><span>{$lang_Next}</span><a href='{$nextinfo[url]}'>{$nextinfo[title]}</a></li>
\t\t\t\t</ul>
\t\t\t</div>
        </section>
<!--
EOT;
require_once template('gap');
require_once template('foot');
Beispiel #2
0
<!--<?php 
require_once template('head');
require_once template('sidebar');
$met_productnext = methtml_prenextinfo(1);
echo <<<EOT
-->
        <div id="showproduct">
\t\t\t\t\t\t<div class="am-slider met_imgshowbox">
\t\t\t\t\t\t\t<ul class="am-slides my-simple-gallery am-gallery" data-am-widget="gallery" data-am-gallery="{pureview: 1}">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<div class="am-gallery-item">
\t\t\t\t\t\t\t\t\t<img src="{$thumb_src}dir={$product[imgurl]}&x=480&y=480" data-rel="{$product[imgurl]}" alt="{$product[title]}" />
\t\t\t\t\t\t\t\t\t<h3 class="am-gallery-title">{$product[title]}</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
<!--
EOT;
if (count($displaylist) > 0) {
    foreach ($displaylist as $key => $val) {
        echo <<<EOT
-->
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<div class="am-gallery-item">
\t\t\t\t\t\t\t\t\t<img src="{$thumb_src}dir={$val[imgurl]}&x=480&y=480" data-rel="{$val[imgurl]}" alt="{$val[title]}" />
\t\t\t\t\t\t\t\t\t<h3 class="am-gallery-title">{$val[title]}</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
<!--
EOT;
    }
}