Среда, 24.04.2024, 5:27 AM
Приветствую Вас Гость | Регистрация | Вход | RSS
Главная » Статьи » Дизайн сайтов на UcoZ

Меню с двух сторон (Шаблон 21)

Пример переделанного 21 шаблона с тремя колонками

А вот код шаблона (211 - цвет синий):

<html>
<head>
<title>$SITE_NAME$ - $PAGE_NAME$</title>
<link type="text/css" rel="StyleSheet" href="http://abba.ucoz.ru/211.css">
</head>

<body leftmargin="0" topmargin="0" rightmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">

<table border="0" cellpadding="2" cellspacing="0" width="790" align="center">
<tr>
<td height="20"></td>
</tr>
</table>

<!-- Logo -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="113" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgtop.gif">

<table border="0" cellpadding="0" cellspacing="0" width="790" align="center">
<tr>
<td><a href="http://www.ucoz.com/" target="_blank"><img title="UcoZ - Site Editor" border="0" src="http://src.ucoz.ru/t/211/logo.gif" width="204" height="113"></a></td>
<td width="90%" align="center"></td>
</tr>
</table>

</td>
</tr>
</table>
<!-- /Logo -->

<!-- Vertical Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
<tr>
<td height="14"></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#318EB7"><img border="0" src="http://src.ucoz.ru/t/211/r1.gif" width="5" height="34"></td>
<td width="70%" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/r2.gif">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="menuTd"><a href="$HOME_PAGE_LINK$" class="menu1">Начало</a></td>
%IF($USER_LOGGED_IN$)%<td class="menuTd"><a class="menu1" href="$PERSONAL_PAGE_LINK$">Персональный раздел</a></td>%ELSE%<td class="menuTd"><a class="menu1" href="$REGISTER_LINK$">Регистрация</a></td>%ENDIF%
%IF($USER_LOGGED_IN$)%<td class="menuTd"><a class="menu1" href="$LOGOUT_LINK$">Выход</a></td>%ELSE%<td class="menuTd"><a class="menu1" href="$LOGIN_LINK$">Вход</a></td>%ENDIF%
</tr>
</table>

</td>
<td width="30%" nowrap="nowrap" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/r2.gif" align="right"><span class="pageTitle">$PAGE_NAME$</span></td>
<td bgcolor="#318EB7"><img border="0" src="http://src.ucoz.ru/t/211/r3.gif" width="5" height="34"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="14"></td>
</tr>
</table>
<!-- /Vertical Menu -->

<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
<tr>
<td width="200" valign="top" style="padding-bottom:20px;">

%IF($SITE_MENU$)%
<!-- Site Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Меню сайта</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2">$SITE_MENU$</td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table><br>
<!-- /Site Menu -->
%ENDIF%

%IF($NEWS_CATEGORIES$)%
<!-- News Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Разделы новостей</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2" align="center">$NEWS_CATEGORIES$</td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table><br>
<!-- /News Menu -->
%ENDIF%

%IF($NEWS_CALENDAR$)%
<!-- News Calendar -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Календарь новостей</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2" align="center">$NEWS_CALENDAR$</td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table><br>
<!-- /News Calendar -->
%ENDIF%

%IF($LOGIN_FORM$)%
<!-- Login Form -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Форма входа</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2">
<div align="center">$LOGIN_FORM$</div>
</td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table><br>
<!-- /Login Form -->
%ENDIF%
</td>
<td valign="top" class="mFrame">

<!-- Body -->
Приветствую Вас, <b>$USER_FULL_NAME$</b>.<br>
Текущая дата: <i>$WDAY$, $DATE$, $TIME$</i>
<hr>
%IF($ADD_NEWS_LINK$)%<div align="right" style="padding-bottom:3px;">[ <a href="$ADD_NEWS_LINK$">Добавить новость</a> ]</div>%ENDIF%
$LAST_NEWS$
<!-- /Body -->

</td>
<td width="200" valign="top">
<!-- Friends -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Друзья сайта</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2"> $GLOBAL_FRIENDS$ </td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table>
<br>
<!-- /Friends -->
%IF($POLL$)%
<!-- Poll -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Наш опрос</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2"> $POLL$ </td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table>
<br>
<!-- /Poll -->
%ENDIF%
<!-- Counter -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Статистика</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2">$COUNTER$ </td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table>
<br>
<!-- /Counter --></td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="24">
<tr>
<td width="100%" align="center" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/bgb.gif"><center>$POWERED_BY$</center></td>
</tr>
</table>
<br>
</body>
</html>

Код отдельной менюшки:

<!-- Site Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="170" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" class="blockT1"><span class="blockTitle">Меню сайта</span></td>
<td width="30" bgcolor="#318EB7" background="http://src.ucoz.ru/t/211/bgm1.gif" align="right"><img border="0" src="http://src.ucoz.ru/t/211/m1.gif" width="30" height="29"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C3E1EF" background="http://src.ucoz.ru/t/211/m3.gif" class="blockT2">$SITE_MENU$</td>
</tr>
<tr>
<td colspan="2"><img border="0" src="http://src.ucoz.ru/t/211/m2.gif" width="200" height="5"></td>
</tr>
</table><br>
<!-- /Site Menu -->

А вот как она выглядит:

 
 
Меню сайта
 
 

Категория: Дизайн сайтов на UcoZ | Добавил: Admin (26.04.2006)
Просмотров: 6152 | Комментарии: 5 | Рейтинг: 5.0/1
Всего комментариев: 5
0  
5 Werewolf   (24.10.2007 8:16 PM) [Материал]
А как сделать сайт этот в 212? красным?

0  
4 Sk8   (23.08.2006 10:06 PM) [Материал]
А скажите пжлст как сделать с двух сторон в 12-ом шаблоне,правдо нужно!!!Отвечайте на мыло пожалуйста!!

0  
3 Arsno   (23.08.2006 1:50 AM) [Материал]
mojet kto nebut podskazat kak sdelat etu stranizu ZELYONAY?

0  
2 Shane   (30.07.2006 6:12 PM) [Материал]
Помогите! Как сделать меню с 2х сторон???
Ответ: Поставить код из любой (соответствующей вашему шаблону) статьи про это.

0  
1 vainax   (18.05.2006 11:49 AM) [Материал]
a kak mne sdelat eto menu jarko zelenogo cveta??i kak sdelat tak chtoby menu menialos vo vsex kotegorijax tipa

fotogalereja
forum vo vsex:)

u menia izmaniaetsia lish glavnaaja stranicca

Ответ: Ничерта не поняла...

Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]