Результаты поиска
Введите запрос, по завершению нажмите Enter.
  • Страница 1 из 1
  • 1
Редактирование старого кода под новый uCoz.
Отправлено 19.11.2011 - 02:341
Нет аватара
Beginner
1 сообщениий
Мужчина
Всем привет, помогите пожалуйста редактировать старый каркас под новый uCoz. Я в этом деле новичек по этому прошу Вас. Ниже собственно представляю старый код.

Code
<HTML><HEAD><TITLE>$SITE_NAME$ - $PAGE_NAME$</TITLE><LINK href="/_st/my.css" type=text/css rel=StyleSheet></HEAD>
<BODY style="BACKGROUND: url(/img/stena.jpg); MARGIN: 0px">
<TABLE style="WIDTH: 100%; HEIGHT: 0px" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD align=middle>
<TABLE style="BACKGROUND-POSITION: left top; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-IMAGE: url(/img/bh.jpg); WIDTH: 100%; BACKGROUND-REPEAT: repeat-x; HEIGHT: 212px" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="VERTICAL-ALIGN: top; TEXT-ALIGN: center" vAlign=top align=middle width=268>
<P align=left><SPAN style="FONT: 20pt bold Verdana,Tahoma; COLOR: #413c1f"><B><IMG alt="" src="/img/7.jpg" border=0></B></SPAN></P></TD>
<TD style="VERTICAL-ALIGN: top; TEXT-ALIGN: center">
<DIV><A href="$HOME_PAGE_LINK$">Главная сайта</A> %IF($USER_LOGGED_IN$)%| <A href="$PERSONAL_PAGE_LINK$">Профиль</A>%ELSE% | <a href="$REGISTER_LINK$">Регистрация</a>%ENDIF% <!--IF-->| <A href="$LOGOUT_LINK$">Выход</A></DIV>
<DIV>
<TABLE style="WIDTH: 100%; BORDER-COLLAPSE: collapse; HEIGHT: 150px">
<TBODY>
<TR>
<TD style="FONT-WEIGHT: normal; FONT-SIZE: 24pt; COLOR: #ffffff; FONT-STYLE: normal">
<P align=center>SITE LOGO</P></TD></TR></TBODY></TABLE></DIV></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 250px; TEXT-ALIGN: right">
<TABLE style="WIDTH: 200px; BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px; HEIGHT: 10px"></TD>
<TD style="BACKGROUND: url(/img/bh1.jpg) repeat-x left top; HEIGHT: 10px"></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) no-repeat left top; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px; HEIGHT: 10px"></TD>
<TD>
<P align=center>$SITE_MENU$</P></TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left top; WIDTH: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left top; WIDTH: 8px; HEIGHT: 10px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left top; HEIGHT: 10px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left top; HEIGHT: 10px"></TD></TR></TBODY></TABLE><A href="$LOGOUT_LINK$"></A></TD></TR></TBODY></TABLE>
<DIV>Группа "<U>$USER_GROUP$</U>" | <!--ENDIF-->%IF($USER_LOGGED_IN$)%%ELSE%Привет! <b>$USERNAME$</b>%ENDIF% | <A href="$RSS_LINK$">RSS</A>  </DIV></TD></TR></TBODY></TABLE><!-- /Header -->

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" style="width:200px;">

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>[CALENDAR_TITLE]</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>[CALENDAR]</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>


{ENDIF}
<!--/-->

<!-- -->
{IF}

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>Скрины</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD><P align=center><IMG alt="" src="/img/scr.jpg" border=0></P></TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>

{ENDIF}<!--/-->

<!-- -->
%IF($POLL$)%

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
</TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>$POLL$</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>

%ENDIF%<!--/-->

</td>

<td valign="top" style="padding:0px 10px 0px 10px;">
<table border="0" cellpadding="5" cellspacing="0" width="100%" style="border:1px solid #000000;"><tr><td style="background:#000000;">[BODY]</td></tr></table>
</td>

<td valign="top" style="width:200px;">
<!-- -->
%IF($LOGIN_FORM$)%

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>Форма входа</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>$LOGIN_FORM$</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>

%ENDIF%<!--/-->

<!-- -->
{IF}

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>Баннер</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD><P align=center><A href="http://style-template.ucoz.ru/" target=_blank><IMG alt="Бесплатные шаблоны для сайтов в системе укоз" src="http://style-template.ucoz.ru/banner3.gif" border=0></P></A></TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>

{ENDIF}
<!--/-->

<!-- -->
{IF}

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>[SEARCH_TITLE]</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>[SEARCH_FORM]</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>

{ENDIF}
<!--/-->

<!-- -->

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>Друзья</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>$GLOBAL_FRIENDS$</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>


<!-- -->
%IF($COUNTER$)%

<table border="0" cellpadding="0" cellspacing="0" style="background:#000000;" width="200">
<TBODY>
<TR>
<TD style="BACKGROUND: url(/img/bh21.jpg) no-repeat left top; WIDTH: 8px"></TD>
<TD style="BACKGROUND: url(/img/bh5.jpg) repeat-x left bottom; HEIGHT: 20px">
<P align=center>Статистика</P></TD>
<TD style="BACKGROUND: url(/img/bh22.jpg) repeat-y left top; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh2.jpg) repeat-y left top; WIDTH: 8px"></TD>
<TD>$COUNTER$</TD>
<TD style="BACKGROUND: url(/img/bh3.jpg) repeat-y left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR>
<TR>
<TD style="BACKGROUND: url(/img/bh42.jpg) no-repeat left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh4.jpg) repeat-x left bottom; HEIGHT: 5px"></TD>
<TD style="BACKGROUND: url(/img/bh41.jpg) no-repeat left bottom; WIDTH: 10px; HEIGHT: 10px"></TD></TR></TBODY></TABLE>
%ENDIF%
<!--/-->

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

<!-- Footer -->


<table border="0" cellpadding="4" cellspacing="0" width="100%" style="border:0 solid #A9B8C2;">
<tr><td align="center" ;">Copyright MyCorp © 2006</td></tr>
<tr><td align="center" ;">$POWERED_BY$</td></tr>
</table>
<!-- /Footer -->

</body>

</html>

<!-- PopUp -->
<table border="0" cellpadding="0" cellspacing="0" style="background: url(/img/stena.jpg);" width="200">
<tr><td style="background:#D4DFF7;" align="center"><b>[TITLE]</b></td></tr>
<tr><td align="center" style="background: url(/img/stena.jpg);padding:5px;">[BODY]</td></tr>
</table>
<!-- /PopUp -->
Профиль Личное сообщение Дом. страница icq Skype
0
Отправлено 20.11.2011 - 06:122
Нет аватара
Beginner
43 сообщения
Мужчина
NightDevil во первых шаблон написан кривыми руками, а во вторых легче новый написать чем это переделать.... вам мой совет скачайте новый шаблон и радуйтесь жизни )
Профиль Личное сообщение Дом. страница icq Skype
0
  • Страница 1 из 1
  • 1
Поиск:
uSite.su © 2010-2025
Все права защищены.
Многогранность и сверхспособности сообщества uCoz заставляют задуматься даже самые стойкие умы веб-программирования, ведь лишь uSite способен предоставить ответы на самые сложные вопросы uCoz.
01RSS
Хостинг от uCozПользовательское соглашение и прочая информация