예제 #1
0
function wapfooter()
{
    global $discuz_uid, $discuz_user, $lang, $action, $settings, $timestamp, $timeoffset, $wapdateformat, $timeformat;
    echo "<p>" . gmdate("{$wapdateformat} {$timeformat}", $timestamp + $timeoffset * 3600) . "<br />" . ($action != 'home' ? "<anchor title=\"confirm\"><prev/>{$lang['return']}</anchor> <a href=\"index.php\">{$lang['home_page']}</a><br />" : '') . ($discuz_uid ? "<a href=\"index.php?action=login&amp;logout=yes&amp;formhash=" . FORMHASH . "\">{$discuz_user}:{$lang['logout']}</a>" : "<a href=\"index.php?action=login\">{$lang['login']}</a> <a href=\"index.php?action=register\">{$lang['register']}</a>") . "<br /><br />\n" . "<small>Powered by Discuz!</small></p>\n" . "</card>\n" . "</wml>";
    updatesession();
    wmloutput();
}
예제 #2
0
function wapfooter() {
	global $discuz_uid, $discuz_user, $lang, $action, $settings, $timestamp, $timeoffset, $wapdateformat, $timeformat;
	echo 	"<p>".gmdate("$wapdateformat $timeformat", $timestamp + ($timeoffset * 3600))."<br />".
		($action != 'home' ? "<anchor title=\"confirm\"><prev/>$lang[return]</anchor> <a href=\"index.php\">$lang[home_page]</a><br />" : '').
		($discuz_uid ? "<a href=\"index.php?action=login&amp;logout=yes&amp;formhash=".FORMHASH."\">$discuz_user:$lang[logout]</a>" : "<a href=\"index.php?action=login\">$lang[login]</a> <a href=\"index.php?action=register\">$lang[register]</a>")."<br /><br />\n".
		"<small>Powered by Discuz!</small></p>\n".
		//"<do type=\"prev\" label=\"$lang[return]\"><exit /></do>\n".
		"</card>\n".
		"</wml>";

	updatesession();
	wmloutput();
}