2
Вы не авторизованы!
Присоединяйтесь к нашему сообществу :)
авторизация
Вакансии
На сайт требуется контент-менеджер
смотреть вакансии

Новая страница регистрации от Programm-new.ucoz.ru

Формы входа/регистрации 2012-Апр-05 ruslansymvol 4.0k 0


Новая страница регистрации от меня,надеюсь вам понравится

Установка:

Данный код заменяем на старый в странице регистрации пользователей:

Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Страница регистрации</title>

<link type="text/css" rel="StyleSheet" href="http://programm-new.ucoz.ru/by_manucoz/style.css" />
<style>
body {background: #1591C3 !important;}
</style>

<style type="text/css" media="all">  
@import url(StyleSheet" href="http://programm-new.ucoz.ru/by_manucoz/style.css);  
</style>  
</head>
<body>
<script type="text/javascript" src="http://programm-new.ucoz.ru/by_manucoz/script_site.js"></script>  
<div id="container_wrap">
<div id="popup_title"><a href="$PERSONAL_PAGE_LINK$"><img src="http://programm-new.ucoz.ru/by_manucoz/header_title_bg5.jpg" width="366" height="66" alt="Персональная страница" /></a></div>
<div id="popup_header">
<h6 id="popup_logo"><a href="http://programm-new.ucoz.ru"><img src="http://programm-new.ucoz.ru/images/logo.png" width="256" height="68" alt="logo site" /></a></h6>
<form action="/index" name="fuser" method="post" class="popup_search">
<div class="popup_search_in"><input name="user" type="text" value="Поиск пользователей..." onblur="if(this.value=='')this.value='Поиск пользователей...'" onfocus="if(this.value=='Поиск пользователей...')this.value=''" /></div>
<div class="popup_search_submit"><input name="" type="submit" value=" " /> <input type="hidden" value="15" name="a" /></div>
</form>
</div>
<ul class="ptabs">
<li class="current"><a>Регистрация </a></li>

</ul>
<div id="popup_cont">
<b id="angle_top"></b>
<div id="popup_cont_in">
<div id="popup_content">

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Страница регистрации - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>

<link href="http://programm-new.ucoz.ru/by_manucoz/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
$ADMIN_BAR$

<?if(($MODULE_ID$ != 'tests') && ($PAGE_ID$ != 'add'))?>
<script type="text/javascript">
jQuery(document).ready(function(){
$(":radio").addClass('niceRadio');
jQuery(".niceRadio").each(
function() {
changeRadioStart(jQuery(this));
});
});
function changeRadio(el)
{
var el = el,
input = el.find("input").eq(0);
var nm=input.attr("name");
jQuery(".niceRadio input").each(
function() {
if(jQuery(this).attr("name")==nm) {
jQuery(this).parent().removeClass("radioChecked");
}
});
if(el.attr("class").indexOf("niceRadioDisabled")==-1) {
el.addClass("radioChecked");
input.attr("checked", true);
}
return true;
}
function changeVisualRadio(input)
{
var wrapInput = input.parent();
var nm=input.attr("name");
jQuery(".niceRadio input").each(
function() {
if(jQuery(this).attr("name")==nm)
{
jQuery(this).parent().removeClass("radioChecked");
}
});
if(input.attr("checked"))
{
wrapInput.addClass("radioChecked");
}
}
function changeRadioStart(el)
{
try
{
var el = el,
radioName = el.attr("name"),
radioId = el.attr("id"),
radioChecked = el.attr("checked"),
radioDisabled = el.attr("disabled"),
radioTab = el.attr("tabindex"),
radioValue = el.attr("value");
if (el.attr("onclick")) {
radioClick = "onmouseup='button_activate();'";
}
else { radioClick = "";}
if(radioChecked)
el.after("<span class='niceRadio radioChecked'"+radioClick+">"+
"<input type='radio'"+
"name='"+radioName+"'"+
"id='"+radioId+"'"+
"checked='"+radioChecked+"'"+
"tabindex='"+radioTab+"'"+
"value='"+radioValue+"' /></span>");
else
el.after("<span class='niceRadio'"+radioClick+">"+
"<input type='radio'"+
"name='"+radioName+"'"+
"id='"+radioId+"'"+
"tabindex='"+radioTab+"'"+
"value='"+radioValue+"' /></span>");
if(radioDisabled)
{
el.next().addClass("niceRadioDisabled");
el.next().find("input").eq(0).attr("disabled","disabled");
}

el.next().bind("mousedown", function(e) { changeRadio(jQuery(this)) });
el.next().find("input").eq(0).bind("change", function(e) { changeVisualRadio(jQuery(this)) });
if(jQuery.browser.msie)
{
el.next().find("input").eq(0).bind("click", function(e) { changeVisualRadio(jQuery(this)) });
}
el.remove();
}
catch(e)
{
}
return true;
}
</script>
<?endif?>

<!-- <middle> -->
<table border="0" cellspacing="0" cellpadding="0" width="960">
<tr>
<td id="leftcol">

</td>
<td id="maincol">
<div id="maincol_inside">
<!-- <body> --><div align="center">$BODY$</div><!-- </body> -->
</div>
</td>
<td id="rightcol">

</td>
</tr>
</table>
<!-- </middle> -->
</td></tr>
<tr><td id="content_bottom"></td></tr>
</table>
</div>
</div>

<b id="angle_bottom"></b>
</div><!--/popup_cont-->
<div class="popup_footer">Согласовано с <a style="color:#fff" href="/">Programm-new</a>(с).</div>
$POWERED_BY$
</div>
</body>
</html>


Надеюсь вам понравится)
Источник: http://programm-new.ucoz.ru/
0 комментариев
avatar