21-08-2014 Saat: 16:42
Arkadaşlar Vbulletindeki Gibi Üst Navbar Eklemenin Yolunu Göstericegim ,
Admin KP >>> Şablon & Stil >>> Şablonlar >>> Temanızın Şablon Grubu >>> Header Şablonları altında yapılacak değişiklikler...
Vereceğim kodları, eskileriyle değiştirin...
header:
header_welcomeblock_guest:
header_welcomeblock_member:
Admin KP >>> Şablon & Stil >>> Şablonlar >>> Temanızın Şablon Grubu >>> Header Şablonları altında yapılacak değişiklikler...
Vereceğim kodları, eskileriyle değiştirin...
header:
Kod:
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo" align="left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
<br />
<hr class="hidden" />
{$welcomeblock}
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<br />
header_welcomeblock_guest:
Kod:
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1" width="60%" rowspan="2"><navigation></td>
<td width="30%" class="trow2" style="font-size:11px">
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><strong>{$lang->username}</strong> </td>
<td><input type="text" class="textbox" name="username" title="{$lang->login_username}" value="{$lang->login_username}" onfocus="this.value=''" /></td>
</tr>
<tr>
<td><strong>{$lang->password}</strong> </td>
<td><input type="password" class="textbox" name="password" title="{$lang->login_password}" value="{$lang->login_password}" onfocus="this.value=''" /> <input type="submit" class="button" name="submit" value="{$lang->login}" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<div class="menu" align="center">
<ul>
<table align="center">
<tr align="center">
<td class="topmenu" width="1%"><a href="{$mybb->settings['bburl']}/member.php?action=login">{$lang->welcome_login}</a></td>
<td class="topmenu" width="1%"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/misc.php?action=help">$lang->toplinks_help</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/memberlist.php">$lang->toplinks_memberlist</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/calendar.php">$lang->toplinks_calendar</a></td>
<td class="topmenu" width="1%"><a href="search.php?action=getnew">$lang->welcome_newposts</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/search.php">$lang->toplinks_search</a></td>
</tr>
</table>
</ul>
</div>
header_welcomeblock_member:
Kod:
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1" width="60%"><navigation></td>
<td width="40%" class="trow2" style="font-size:11px">
$lang->welcome_back <a href="$settings[bburl]/search.php?action=getnew">[ Yeni Mesajlar ]</a><br />
$lang->welcome_current_time<br />
<a href="private.php">$lang->welcome_pms</a> $lang->welcome_pms_usage</td>
</tr>
</table>
<div class="menu" align="center">
<ul>
<table align="center">
<tr align="center">
<td class="topmenu" width="1%"><a href="$settings[bburl]/index.php">Forum</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/portal.php">Portal</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/usercp.php">$lang->welcome_usercp</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/calendar.php">$lang->toplinks_calendar</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/misc.php?action=help">$lang->toplinks_help</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/search.php">$lang->toplinks_search</a></td>
<td class="topmenu" width="1%"><a href="$settings[bburl]/memberlist.php">$lang->toplinks_memberlist</a></td>
<td class="topmenu" width="1%">{$admincplink}</td>
<td class="topmenu" width="1%"><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}">Çıkış</a></td>
</tr>
</table>
</ul>
</div>