<div id="wrap">
	        <header id="header" role="banner">
				<div class="innerWrap">
					<h1><a href="/">煥儷美形診所</a></h1>
					<div class="languageSwitch">
						<a href="#">繁體中文</a>
						<a class="last" href="#">简体中文</a>
						<form class="searchBox" action="{{URL::to('/')}}/search" method="get"><input type="text" name="q" placeholder="請輸入關鍵字" /><button type="submit"><span>搜尋</span></button></form>
					</div>
					<div class="memberFunc funcBar">
						<span>會員獨享</span>
						<?php 
if (!Auth::check()) {
    ?>
						<a href="<?php 
    echo Social::login('google');
    ?>
">登入</a>
						<a href="#">註冊</a>
						<?php 
} else {
    $name = Auth::user()->name;
    if (empty($name)) {
        echo '您未設定名稱,<a href="#">編輯</a>';
    } else {
        echo $name . ',您好!';
    }
}
?>
						<a class="fb" href="https://www.facebook.com/RebeautyClinic" target="_blank"></a>
					</div>