Пример #1
0
?>
" />
			<input id="header-subscribe-email" type="text" xtip="输入Email,订阅每日团购信息..." value="" class="f-text" name="email" />
			<input type="hidden" value="1" name="cityid" />
			<input type="submit" class="commit" value="订阅" />
		</form>
		<?php 
if (option_yes('smssubscribe')) {
    ?>
		<span><a class="sms" onclick="X.miscajax('sms','subscribe');">&raquo; 短信订阅,免费!</a>&nbsp; <a class="sms" onclick="X.miscajax('sms','unsubscribe');">&raquo; 取消手机订阅</a></span>
		<?php 
}
?>
		</div>
		<ul class="nav cf"><?php 
echo current_frontend();
?>
</ul>
	<?php 
if (option_yes('trsimple')) {
    ?>
		<div class="vcoupon">
		&raquo;&nbsp;<a href="/account/invite.php">邀请好友</a>&nbsp;&nbsp;&raquo;&nbsp;<a id="verify-coupon-id" href="javascript:;"><?php 
    echo $INI['system']['couponname'];
    ?>
验证及消费登记</a>&nbsp;&nbsp;&raquo;&nbsp;<a href="javascript:;" onclick="return X.misc.locale();">简繁转换</a></div>
	<?php 
} else {
    ?>
		<div class="vcoupon">&raquo;&nbsp;<a href="/account/invite.php">邀请好友购买返利&nbsp;<?php 
    echo abs($INI['system']['invitecredit']);
Пример #2
0
function generate_nav($selector = "", $user)
{
    current_frontend(header_nav($user), $selector);
}