Location: PHPKode > projects > Uchome and Discuz > template/default/header.htm
<!--{if empty($_SGLOBAL['inajax'])}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=$_SC[charset]" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><!--{if $_TPL['titles']}--><!--{loop $_TPL['titles'] $value}--><!--{if $value}-->$value - <!--{/if}--><!--{/loop}--><!--{/if}--><!--{if $_SN[$space[uid]]}-->{$_SN[$space[uid]]} - <!--{/if}-->$_SCONFIG[sitename] - Fun matter here</title>
<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
<style type="text/css">
@import url(template/default/style.css);
<!--{if $_TPL['css']}-->
@import url(template/default/{$_TPL[css]}.css);
<!--{/if}-->
<!--{if !empty($_SGLOBAL['space_theme'])}-->
@import url(theme/$_SGLOBAL[space_theme]/style.css);
<!--{elseif $_SCONFIG[template] != 'default'}-->
@import url(template/$_SCONFIG[template]/style.css);
<!--{/if}-->
<!--{if !empty($_SGLOBAL['space_css'])}-->
$_SGLOBAL[space_css]
<!--{/if}-->
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.php?rsd=$space[uid]" />
</head>
<body>

<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
	<div id="header">
	<!--{if $_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--{/if}-->
	<div class="headerwarp">
		<h1 class="logo"><a href="index.php"><img src="template/$_SCONFIG[template]/image/logo.gif" alt="$_SCONFIG[sitename]" /></a></h1>
		<ul class="menu">
		<!--{if $_SGLOBAL[supe_uid]}-->
			<li><a href="space.php?do=home">Home</a></li>
			<li><a href="space.php">MyWorld</a></li>
			<li><a href="space.php?do=friend">Friends</a></li>
			<li><a href="network.php">Top Chart</a></li>
		<!--{else}-->
			<li><a href="index.php">Hottest</a></li>
		<!--{/if}-->
			
		<!--{if $_SGLOBAL['appmenu']}-->
			<!--{if $_SGLOBAL['appmenus']}-->
			<li class="dropmenu" id="ucappmenu" onclick="showMenu(this.id)">
				<a href="javascript:;">Guide</a>
			</li>
			<!--{else}-->
			<li><a target="_blank" href="{$_SGLOBAL[appmenu][url]}" title="{$_SGLOBAL[appmenu][name]}">{$_SGLOBAL[appmenu][name]}</a></li>
			<!--{/if}-->
		<!--{/if}-->
		
		<!--{if $_SGLOBAL[supe_uid]}-->
			<li><a href="space.php?do=pm<!--{if !empty($_SGLOBAL['member']['newpm'])}-->&filter=newpm<!--{/if}-->">iSms<!--{if !empty($_SGLOBAL['member']['newpm'])}-->(New)<!--{/if}--></a></li>
			<!--{if $_SGLOBAL['member']['allnotenum']}--><li class="notify" id="membernotemenu" onmouseover="showMenu(this.id)"><a href="space.php?do=notice">{$_SGLOBAL[member][allnotenum]} prompt</a></li><!--{/if}-->
		<!--{else}-->
			<li><a href="help.php">Help</a></li>
		<!--{/if}-->
		</ul>
		
		<div class="nav_account">
		<!--{if $_SGLOBAL[supe_uid]}-->
			<a href="space.php?uid=$_SGLOBAL[supe_uid]" class="login_thumb"><!--{avatar($_SGLOBAL[supe_uid])}--></a>
			<a href="space.php?uid=$_SGLOBAL[supe_uid]" class="loginName">{$_SN[$_SGLOBAL[supe_uid]]}</a>
			<!--{if $_SGLOBAL[member][credit]}-->
			<a href="cp.php?ac=credit" style="font-size:11px;padding:0 0 0 5px;"><img src="image/credit.gif">{$_SGLOBAL[member][credit]} </a> | <a href="cp.php?ac=common&op=logout&uhash=$_SGLOBAL[uhash]">Log out</a>
			<!--{/if}-->
			<br />
			<!--{if empty($_SCONFIG['closeinvite'])}-->
			<a href="cp.php?ac=invite">Invite</a> |
			<!--{/if}-->
			<a href="cp.php?ac=task">Task</a> |
			<a href="cp.php?ac=magic">Gift</a> |
			<a href="cp.php">CP</a> 
		<!--{else}-->
			<a href="do.php?ac=$_SCONFIG[register_action]" class="login_thumb"><!--{avatar($_SGLOBAL[supe_uid])}--></a>
			Welcome<br>
			<a href="do.php?ac=$_SCONFIG[login_action]">Login</a> | 
			<a href="do.php?ac=$_SCONFIG[register_action]">Register</a>
		<!--{/if}-->
		</div>
		</div>
	</div>

	<div id="wrap">

	<!--{if empty($_TPL['nosidebar'])}-->
	<div id="main">
		<div id="app_sidebar">
		<!--{if $_SGLOBAL[supe_uid]}-->
			<ul class="app_list" id="default_userapp">
				<li><img src="image/app/doing.gif"><a href="space.php?do=doing">Doing</a></li>
				<li><img src="image/app/album.gif"><a href="space.php?do=album">Album</a><em><a href="cp.php?ac=upload" class="gray">add</a></em></li>
				<li><img src="image/app/blog.gif"><a href="space.php?do=blog">Blog</a><em><a href="cp.php?ac=blog" class="gray">add</a></em></li>
				<li><img src="image/app/poll.gif"/><a href="space.php?do=poll">Poll</a><em><a href="cp.php?ac=poll" class="gray">add</a></em></li>
				<li><img src="image/app/mtag.gif"><a href="space.php?do=thread">Group</a><em><a href="cp.php?ac=thread" class="gray">add</a></em></li>
				<li><img src="image/app/event.gif"/><a href="space.php?do=event">Event</a><em><a href="cp.php?ac=event" class="gray">add</a></em></li>
				<li><img src="image/app/share.gif"><a href="space.php?do=share">Share</a></li>
				<li><img src="image/app/topic.gif"><a href="space.php?do=topic">Popular</a></li>
<hr><center>Apps List</center><hr>
			</ul>
			
			<ul class="app_list topline" id="my_defaultapp">
			<!--{if $_SCONFIG['my_status']}-->
				<!--{loop $_SGLOBAL['userapp'] $value}-->
				<li><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.php?id=$value[appid]">$value[appname]</a></li>
				<!--{/loop}-->
			<!--{/if}-->
			</ul>
			
			<!--{if $_SCONFIG['my_status']}-->
			<ul class="app_list topline" id="my_userapp">
				<!--{loop $_SGLOBAL['my_menu'] $value}-->
				<li id="userapp_li_$value[appid]"><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.php?id=$value[appid]" title="$value[appname]">$value[appname]</a></li>
				<!--{/loop}-->
			</ul>
			<!--{/if}-->
			
			<!--{if $_SGLOBAL['my_menu_more']}-->
			<p class="app_more"><a href="javascript:;" id="a_app_more" onclick="userapp_open();" class="off">Growth</a></p>
			<!--{/if}-->
			
			<!--{if $_SCONFIG['my_status']}-->
			<div class="app_m">
				<ul>
					<li><img src="image/app_add.gif"><a href="cp.php?ac=userapp&my_suffix=%2Fapp%2Flist" class="addApp">Add Apps</a></li>
					<li><img src="image/app_set.gif"><a href="cp.php?ac=userapp&op=menu" class="myApp">Manage Apps</a></li>
				</ul>
			</div>
			<!--{/if}-->
		
		<!--{else}-->
			<div class="bar_text">
				<form id="loginform" name="loginform" action="do.php?ac=$_SCONFIG[login_action]&ref" method="post">
				<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
					<p class="title">Login</p>
					<p>Username</p>
					<p><input type="text" name="username" id="username" class="t_input" size="15" value="" /></p>
					<p>Password</p>
					<p><input type="password" name="password" id="password" class="t_input" size="15" value="" /></p>
					<p><input type="checkbox" id="cookietime" name="cookietime" value="315360000" checked /><label for="cookietime">Remember me</label></p>
					<p>
						<input type="submit" id="loginsubmit" name="loginsubmit" value="Login" class="submit" />
						<input type="button" name="regbutton" value="Register" class="button" onclick="urlto('do.php?ac=$_SCONFIG[register_action]');">
					</p>
				</form>
			</div>
		<!--{/if}-->
		</div>

		<div id="mainarea">
		
		<!--{if $_SGLOBAL['ad']['contenttop']}--><div id="ad_contenttop"><!--{ad/contenttop}--></div><!--{/if}-->
	<!--{/if}-->

<!--{/if}-->
Return current item: Uchome and Discuz