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

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

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


Добавка к CSS

.menut01 {background:#585858;border-top:1px solid #FFFFFF;border-right:1px solid #FFFFFF;border-left:1px solid #FFFFFF;}

.menut1 {padding:2 3 3 15px;background:#868686;border-top:1px solid #FFFFFF;border-right:1px solid #FFFFFF;border-bottom:4px solid #FFFFFF;border-left:1px solid #FFFFFF;}

.entryTable {border-top:1px solid #FFFFFF;border-right:1px solid #FFFFFF;border-left:1px solid #FFFFFF;border-bottom:4px solid #FFFFFF;background:#868686;}

Код шаблона:

<html>
<head>
<title>$SITE_NAME$ - $PAGE_NAME$</title>
<link type="text/css" rel="StyleSheet" href="http://abba.ucoz.ru/194.css">
</head>
<body bgcolor="#B6B6B6" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<!-- Header -->
<table border="0" cellpadding="0" cellspacing="0" width="96%" align="center" style="border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF;">
<tr>
<td bgcolor="#737373" valign="top">

<!-- Logo -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td width="100%" class="menut" align="center"><a href="http://www.ucoz.com/" target="_blank"><img border="0" title="UcoZ - Site Editor" src="http://src.ucoz.ru/t/194/logo.gif" width="88" height="33"></a></td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<!-- /Logo -->

</td>
<td width="80%" bgcolor="#737373" valign="top" height="70" style="padding:5px;" align="center">
</td>
</tr>
</table>
<!-- /Header -->

<table border="0" cellpadding="0" cellspacing="0" width="96%" align="center" style="border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF;">
<tr>
<td bgcolor="#737373" valign="top" style="padding-bottom:20px;">

%IF($SITE_MENU$)%
<!-- Site Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut0"><span class="blockTitle">Меню сайта</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut">$SITE_MENU$</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<br>
<!-- /Site Menu -->
%ENDIF%

%IF($NEWS_CATEGORIES$)%
<!-- News Menu -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut0"><span class="blockTitle">Разделы новостей</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut">$NEWS_CATEGORIES$</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<br>
<!-- /News Menu -->
%ENDIF%

%IF($NEWS_CALENDAR$)%
<!-- News Calendar -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut0"><span class="blockTitle">Календарь новостей</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut">$NEWS_CALENDAR$</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table><br>
<!-- /News Calendar -->
%ENDIF%

%IF($LOGIN_FORM$)%
<!-- Login form -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut0"><span class="blockTitle">Форма входа</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut">$LOGIN_FORM$</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<br>
<!-- /Login Form -->
%ENDIF%

<!-- Counter -->
<br><div align="center">$COUNTER$</div>
<!-- /Counter -->

</td>
<td width="80%" bgcolor="#737373" class="mframe" valign="top">
<!-- Vertical Menu -->
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<td class="menuTd" width="92" height="28" background="http://src.ucoz.ru/t/194/button.gif" align="center"><a href="$HOME_PAGE_LINK$" class="menu1">Начало</a></td>
%IF($USER_LOGGED_IN$)%
<td class="menuTd" width="92" height="28" background="http://src.ucoz.ru/t/194/button.gif" align="center"><a class="menu1" href="$PERSONAL_PAGE_LINK$">Мой профиль</a></td>
%ELSE%
<td class="menuTd" width="92" height="28" background="http://src.ucoz.ru/t/194/button.gif" align="center"><a class="menu1" href="$REGISTER_LINK$">Регистрация</a></td>
%ENDIF% %IF($USER_LOGGED_IN$)%
<td class="menuTd" width="92" height="28" background="http://src.ucoz.ru/t/194//button.gif" align="center"><a class="menu1" href="$LOGOUT_LINK$">Выход</a></td>
%ELSE%
<td class="menuTd" width="92" height="28" background="http://src.ucoz.ru/t/194/button.gif" align="center"><a class="menu1" href="$LOGIN_LINK$">Вход</a></td>
%ENDIF% </tr>
</table>
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
<td class="vmenu" nowrap>&nbsp;</td>
<td><img border="0" src="http://src.ucoz.ru/t/194/site.gif" title="$PAGE_NAME$" width="32" height="32" align="absmiddle"> $PAGE_NAME$</td>
</tr>
</table>
<!-- /Vertical Menu -->

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

<td width="215" bgcolor="#737373" align="right" valign="top" style="padding-bottom:20px;">
%IF($POLL$)%
<!-- Poll -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut01"><span class="blockTitle">Наш опрос</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut1">
$POLL$
</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<!-- /Poll -->
<br>
%ENDIF%
<!-- Friends -->
<table border="0" cellpadding="0" cellspacing="0" width="210">
<tr>
<td class="menut01"><span class="blockTitle">Друзья сайта</span></td>
<td background="http://src.ucoz.ru/t/194/shright0.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="22"></td>
</tr>
<tr>
<td width="100%" class="menut">
$GLOBAL_FRIENDS$
</td>
<td background="http://src.ucoz.ru/t/194/shright.gif"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="8" height="1"></td>
</tr>
<tr>
<td background="http://src.ucoz.ru/t/194/shbottomm.gif" colspan="2"><img border="0" src="http://src.ucoz.ru/t/194/1px.gif" width="1" height="8"></td>
</tr>
</table>
<br>
<!-- /Friends -->
</td>
</tr>
<tr>
<td bgcolor="#868686" colspan="3" height="50" background="http://src.ucoz.ru/t/194/bgbot.gif" align="center" style="border-top:1px solid #FFFFFF;">
<font color="#FFFFFF"><center>$POWERED_BY$</center></font>
</td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>

Категория: Дизайн сайтов на UcoZ | Добавил: Admin (26.04.2006)
Просмотров: 2767 | Рейтинг: 4.5/2
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]