Ejemplo n.º 1
0
<?php

SSYHTML::$menuID = SSY_MENU_ACCOUNT;
echo "HERE";
echo $tVars['form'];
Ejemplo n.º 2
0
/**
 * Stupid PHP stuff that is needed in ssy templates.
 * @param array $params
 * @param string $template
 * @return string
 */
function smarty_function_ssymenu($params, $template)
{
    $id = empty($params['id']) ? 0 : $params['id'];
    SSYHTML::$menuID = $id;
    return '';
}
Ejemplo n.º 3
0
<?php

SSYHTML::$menuID = SSY_MENU_SERVICE2;
?>

<?php 
echo SSYHTML::getBoxTitled($tLang->lang('service_title'), $tLang->lang('service_info'));
?>

<?php 
$data = $tLang->lang('service_data');
?>

<table id="ssy_service_table" cellspacing="1">

<?php 
$i = 0;
foreach ($data as $txt) {
    $mod = $i % 4;
    if ($mod === 0) {
        echo '<tr>';
    }
    echo sprintf('<td>%s</td>', $txt);
    if ($mod === 3) {
        echo '</tr>';
    }
    $i++;
}
?>

</table>
Ejemplo n.º 4
0
<?php

SSYHTML::$menuID = SSY_MENU_NEWS;
echo SSYHTML::getBoxTitled($tLang->lang('title'), Module_Assessystem::getInstance()->lang('news_info'));
if (count($tVars['news']) === 0) {
    $tVars['news'] = array(array('news_id' => '0', 'news_date' => '', 'user_name' => '', 'newst_title' => $tLang->lang('title_no_news'), 'newst_message' => $tLang->lang('msg_no_news')));
}
?>
<span class="t" style="">
<span class="ssy800v_R ssy_st_out3"><span class="ssy_small_softbox">
<?php 
echo sprintf('<a href="%snewsletter/subscribe">%s</a>', GWF_WEB_ROOT, $tLang->lang('btn_sign'));
echo '<span class="b" style="height: 20px;"></span>';
$iso = GWF_Language::getCurrentISO();
foreach ($tVars['titles'] as $id => $d) {
    $newsid = $d[0];
    $title = $d[1];
    $catid = 0;
    $cat = 'FOO';
    //	$title = $d[0];
    $etitle = Common::urlencodeSEO($title);
    //	$catid = $d[1];
    //	$cat = 'foo';
    //	$cat = $d[2];#($catid === 0) ? GWF_HTML::lang('no_category') : $d[2];
    //	$cat = Common::urlencodeSEO($cat);
    //	$newsid = (int)$d[3];
    $url = sprintf(GWF_WEB_ROOT . '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>
Ejemplo n.º 5
0
<?php

SSYHTML::$menuID = SSY_MENU_LOGIN;
echo $tVars['form'];
Ejemplo n.º 6
0
<?php

SSYHTML::$menuID = SSY_MENU_SHOP;
?>

<?php 
echo SSYHTML::getBoxTitled($tLang->lang('shop_title'), $tLang->lang('shop_info'));
?>


Ejemplo n.º 7
0
<?php

SSYHTML::$menuID = SSY_MENU_THANKS;
echo SSYHTML::getBoxTitled($tLang->lang('thx_title'), $tLang->lang('thx_info'));
?>
<!-- 
<span class="ssy_bg800R" style="padding: 2px; margin-top: 40px;">
<span class="ssy_bg800" style="padding: 2px;"> -->
<span class="ib" style="margin-top: 40px;">
	<span class="fl ssy_leftlinks">
<?php 
$i = 0;
foreach ($tVars['thanks'] as $t) {
    $href = $t->getShowHREF();
    echo sprintf('<a href="%s">%s<br/>%s</a>', $href, $t->displayCat(), $t->display('thx_businame'));
}
?>
	</span>
	<span class="ssy480h ssy_rightcontainer" style="min-width: 320px; max-width: 400px;">
		<span class="ib" style="padding: 10px;">
			<?php 
if (false !== ($c = $tVars['current'])) {
    ?>
			<span class="b"><?php 
    echo $c->displayCat();
    ?>
</span>
			<span class="b"><?php 
    echo $c->display('thx_businame');
    ?>
</span>
Ejemplo n.º 8
0
<?php

SSYHTML::$menuID = SSY_MENU_MAIN;
echo SSYHTML::getBoxTitled($tLang->lang('contact_title'), $tLang->lang('contact_info', array($tVars['email']) . $tVars['skype']));
echo $tVars['form'];