Example #1
0
<?php

SSYHTML::$menuID = SSY_MENU_NEWS;
?>

<?php 
echo SSYHTML::getBox($tLang->lang('title'));
?>

<div style="margin-bottom: 40px;">
<span style="margin-top: 40px; margin-bottom: 50px; display: table;">
	<span class="fl ssy_leftlinks" style="display: table;">
<?php 
echo sprintf('<a href="/newsletter/subscribe">%s</a>', $tLang->lang('btn_sign'));
#echo sprintf('<a href="#">%s</a>', $tVars['cat']);
echo '<span class="b" style="height: 20px;"></span>';
$iso = GWF_Language::getCurrentISO();
foreach ($tVars['titles'] as $id => $d) {
    $title = $d[0];
    $etitle = Common::urlencodeSEO($d[0]);
    $catid = $d[1];
    $cat = $d[2];
    #($catid === 0) ? GWF_HTML::lang('no_category') : $d[2];
    $cat = Common::urlencodeSEO($cat);
    $newsid = (int) $d[3];
    $url = sprintf('/news/%s/%s/%s/%s/%s#newsid_%d', $iso, $catid, $cat, $newsid, $etitle, $newsid);
    echo sprintf('<a href="%s">%s</a>', $url, GWF_HTML::display($title));
}
?>
	</span>
	
Example #2
0
<?php

echo SSYHTML::getBox($tLang->lang('thanks_info'));
?>
<div id="ssy_soft_table">
<?php 
$i = 0;
foreach ($tVars['thanks'] as $t) {
    $i++;
    $href = sprintf('/wir_danken/%d/%s', $i, $t);
    $text = $t;
    echo sprintf('<a href="%s">%s</a>', $href, $text);
}
?>
	
</div>
<div class="ssy_bg800R">
<div class="ssy_bg800">
	<?php 
$i = 0;
foreach ($tVars['thanks'] as $t) {
    $i++;
    $href = sprintf('/wir_danken/%d/%s', $i, $t);
    $text = $t;
    echo sprintf('<a href="%s">%s</a>', $href, $text);
}
?>
</div>
<div class="ssy_bg800"><?php 
echo $tVars['current'];
?>