Короче столкнулся с такой проблемой, на форуме есть кнопка войти, так вот тамже и есть кнопка регистрации, хотелось бы сделать так чтобы когда человечек входит под логином и паролем, место "Входа" был "выход" , а в место регистрации "профиль", сам делал но почемуто у меня получались кнопки другого дизайна кто поможет буду благодарен вот сам общий шаблон форума.
<!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" xml:lang="en" lang="en"> <HTML> <head> <title>$MODULE_NAME$</title> <style type="text/css" media="all"> @import url(/css/AD.css);</style> <style type="text/css" media="all"> @import url(/css/my.css);</style> <style type="text/css" media="all"> @import url(/css/Foru.css);</style> <script type="text/javascript" src="/js/hint.js"></script> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <script> var div = document.getElementsByTagName('div')[0]; div.innerHTML = ''; </script> </head><body> <table align="center" border="0" cellpadding="0" cellspacing="0" width="90%"> <tbody> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td width="148"> <a href="JavaScript:window.location.reload()" onmouseover="MM_swapImage('Image1','','/forumimages/2.png',1)" onmouseout="MM_swapImgRestore()"><img ilo-full-src="/forumimages/1.png" id="Image1" title="Обновить страницу!" alt="Обновить страницу!" src="/forumimages/1.png" name="Image1" border="0" height="84" width="148"></a></td> <td class="style2" background="/forumimages/3.png" width="100%"> <div align="right"></div><img ilo-full-src="/forumimages/name.png" alt="" src="/forumimages/name.png" border="0"><br></td> <td width="84"><img ilo-full-src="/forumimages/4.png" src="/forumimages/4.png" height="84" width="38"></td></tr></tbody></table></td></tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td background="/forumimages/8.png" width="38"> </td> <td colspan="2" background="/forumimages/10.png"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td valign="top"> <!-- Меню (Начало) --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="12"><img ilo-full-src="/forumimages/topleft.png" src="/forumimages/topleft.png" height="15" width="11"></td> <td background="/forumimages/toppatpixel.png" width="10%"><br></td> <td><img ilo-full-src="/forumimages/topright.png" src="/forumimages/topright.png" height="15" width="11"></td> <td><br></td> <td><img ilo-full-src="/forumimages/topleft1.png" src="/forumimages/topleft1.png" height="15" width="11"></td> <td bgcolor="#ebebeb" width="90%"><br></td> <td><img ilo-full-src="/forumimages/topright1.png" src="/forumimages/topright1.png" height="15" width="11"></td> </tr> <tr> <td background="/forumimages/toppatpixel.png"> </td> <td rowspan="2" align="center" background="/forumimages/toppatpixel.png" valign="bottom"> <div><img alt="" ilo-full-src="/forumimages/logotop.jpg" src="/forumimages/logotop.jpg" align="" border="0" height="150" width="570"></div> <div id="navbarleft" align="left"> <ul id="nav"> <style type="text/css"> .UhideBlock {display:none} #navbar {;width: 100%;height: 35px;color: #FFFFFF;margin: 0px auto 0px;padding: 0px 0px 0px 0px;} #navbarleft {width: 600px; float: left; margin: 0px;padding: 0px 0px 0px 0px;} #navbarright {width: 200px;float: right;margin: 0px;padding: 1px 0px 0px 0px;} #navbarright img {border: none;margin: 0px 0px 0px 0px;padding: 0px;} #nav {margin: 0px 0px 0px 15px;padding: 0px;list-style: none;} #nav ul {margin: 0px;padding: 0px;list-style: none;} #nav a {;color: #dff4bb; display: block; text-decoration: none; font-size: 11px; font-weight: normal;margin: 0px 15px 0px 0px;padding: 11px 10px 11px 10px;} #nav a:hover {background: #535d4e;color: #dff4bb;display: block; text-decoration: none; margin: 0px 15px 0px 0px;padding: 11px 10px 11px 10px;} #nav li {float: left;margin: 0px;padding: 0px;} #nav li li {float: left;margin: 0px;padding: 0px;width: 140px;} #nav li li a, #nav li li a:link, #nav li li a:visited {background: #1a2614;width: 140px; float: none; margin: 1px 0px 0px 0px;;padding: 8px 10px 8px 10px;} #nav li li a:hover, #nav li li a:active {background: #535d4e; padding: 8px 10px 8px 10px;} #nav li ul {position: absolute;width: 10em;left: -999em;} #nav li:hover ul {left: auto;display: block;} #nav li:hover ul, #nav li.sfhover ul {left: auto;} .spamblock { font-size: 23px; font-weight: bold; color: #CCCCCC; } .spam { font-size: 10px; color: #999999; } </style> <ul id="nav"> <li><a href="$HOME_PAGE_LINK$">ГЛАВНАЯ</a></li> <li><a href="/forum/">ФОРУМ</a></li> <li><a href="#">МЕНЮ</a> <ul> <li><a href="/forum/0-0-0-6">Поиск по форуму</a></li> <li><a href="/forum/0-0-0-36">Правила форума</a></li> <li><a href="/forum/0-0-1-34">Новые сообщения</a></li> <li><a href="/forum/0-0-1-35">Список участников</a></li> <li><a href="/forum/0-0-0-37">RSS</a></li> </ul></li> <li><a href="/index/3">РЕГИСТРАЦИЯ</a></li> <li><a href="javascript://" onclick="openLayerB('LF',0,'/index/40','Login',250,130,1);return false;">ВХОД</a></li> <li><a href="#">НАВИГАЦИЯ </a> <ul> <li><a href="#">Гильдия провереных</a></li> <li><a href="#">Гильдия пользователей</a></li> <li><a href="#">Предложения форума</a></li> <li><a href="#">Правила гильдий!</a></li> <li><a href="#">Разговоры</a></li> <li><a href="#">Жалобы</a></li> <li><a href="$ADD_ENTRY_LINK$"><b>ДОБАВИТЬ НОВОСТЬ</b></a></li> </ul></li> </ul> </ul></div> </td> <td background="/forumimages/toppatpixel.png"> </td> <td width="20"> </td> <td bgcolor="#ebebeb"> </td> <td bgcolor="#ebebeb" height="180" valign="middle">$MYINF_1$</td> <td bgcolor="#ebebeb"> </td> </tr> <tr> <td><img ilo-full-src="/forumimages/bottomleft.png" src="/forumimages/bottomleft.png" height="15" width="11"></td> <td width="11"><img ilo-full-src="/forumimages/bottomright.png" src="/forumimages/bottomright.png" height="15" width="11"></td> <td width="10"><br></td> <td height="10" width="11"><img ilo-full-src="/forumimages/bottomleft1.png" src="/forumimages/bottomleft1.png" height="15" width="11"></td> <td bgcolor="#ebebeb" width="185"><br></td> <td width="11"><img ilo-full-src="/forumimages/bottomright1.png" src="/forumimages/bottomright1.png" height="15" width="11"></td> </tr> </tbody></table> <!-- Меню (конец) --><br> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td><img ilo-full-src="/forumimages/topleft1.png" src="/forumimages/topleft1.png" height="15" width="11"></td> <td colspan="2" bgcolor="#ebebeb"><br></td> <td><img ilo-full-src="/forumimages/topright1.png" src="/forumimages/topright1.png" height="15" width="11"></td> </tr> <tr> <td bgcolor="#ebebeb" width="11"><br></td> <td align="left" bgcolor="#ebebeb" valign="middle" width="130"><div align="justify"><span class="spamblock">ГДЕ Я?</span><br> </div></td> <td align="left" bgcolor="#ebebeb" valign="middle"><div align="justify"><span class="spam">Я ХЗ де ты, я лично тут.</span></div></td> <td bgcolor="#ebebeb" width="11"><br></td> </tr> <tr> <td height="10"><img ilo-full-src="/forumimages/bottomleft1.png" src="/forumimages/bottomleft1.png" height="15" width="11"></td> <td colspan="2" bgcolor="#ebebeb"><br></td> <td><img ilo-full-src="/forumimages/bottomright1.png" src="/forumimages/bottomright1.png" height="15" width="11"></td> </tr> </tbody></table> <br> </td></tr> <tr> <td valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td><img ilo-full-src="/forumimages/topleft1.png" src="/forumimages/topleft1.png" height="15" width="11"></td> <td bgcolor="#ebebeb"><br></td> <td><img ilo-full-src="/forumimages/topright1.png" src="/forumimages/topright1.png" height="15" width="11"></td></tr> <tr> <td bgcolor="#ebebeb" width="11"><br></td> <td bgcolor="#ebebeb" valign="center"> <script> rekPost = 0; </script> $BODY$ </td> <td bgcolor="#ebebeb" width="11"><br></td></tr> <tr> <td height="10"><img ilo-full-src="/forumimages/bottomleft1.png" src="/forumimages/bottomleft1.png" height="15" width="11"></td> <td bgcolor="#ebebeb"><br></td> <td><img ilo-full-src="/forumimages/bottomright1.png" src="/forumimages/bottomright1.png" height="15" width="11"></td></tr></tbody></table></td></tr> <tr> <td valign="top"><br> <br><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td><img ilo-full-src="/forumimages/topleft.png" src="/forumimages/topleft.png" height="16" width="11"></td> <td background="/forumimages/toppatpixel.png"><br></td> <td><img ilo-full-src="/forumimages/topright.png" src="/forumimages/topright.png" height="16" width="11"></td> </tr> <tr> <td background="/forumimages/toppatpixel.png" width="11"> </td> <td align="left" background="/forumimages/toppatpixel.png" height=""> <table border="0" cellpadding="2" cellspacing="0" width="10%"> <tbody><tr> <td> $COUNTER$$POWERED_BY$ <br></td> <td><br></td> </tr> </tbody></table></td> <td background="/forumimages/toppatpixel.png" width="11"> </td> </tr> <tr> <td height="10"><img ilo-full-src="/forumimages/bottomleft.png" src="/forumimages/bottomleft.png" height="15" width="11"></td> <td background="/forumimages/toppatpixel.png"><br></td> <td><img ilo-full-src="/forumimages/bottomright.png" src="/forumimages/bottomright.png" height="15" width="11"></td> </tr> </tbody></table></td> </tr> </tbody></table> <br></td></tr></tbody></table></td> <td background="/forumimages/9.png" width="38"> </td></tr> <tr> <td><img ilo-full-src="/forumimages/5.png" alt="" src="/forumimages/5.png" border="0" height="73" width="38"></td> <td background="/forumimages/7.png" width="218"><span class="style4"><span class="style5">Forum StudioAD 2008 год<br> <br><br> </span></span></td> <td align="right" background="/forumimages/7.png"><span class="style4"><br><br></span></td> <td><img ilo-full-src="/forumimages/6.png" src="/forumimages/6.png" height="73" width="38"></td></tr></tbody></table></td></tr></tbody></table> <!-- In the end -->
А это ссылка на сам сайт, так вообще для того чтобы посмотреть " я СсЫлКо"