Народ, помогите сделать так, чтобы аватарка была ровной, не такой: http://daivez.net/index/8-158, а такой: http://daivez.net/index/8-1
За помощь заплачу.Добавлено (01.11.2010, 19:14)
---------------------------------------------
ВОТ КОД:
<html><head>
<title>Profil</title>
<link type="text/css" rel="StyleSheet" href="/_st/my.css">
</head><body style="background: none repeat scroll 0% 0% rgb(255, 255, 255); margin: 0px; padding: 0px;">
$ADMIN_BAR$
$GLOBAL_AHEADER$
<table border="0" cellpadding="10" cellspacing="0" width="100%"><tbody><tr><td align="center" valign="top">
<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td style="width: 203px;" valign="top">
</td>
<td style="padding: 0px 10px;" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td height="10" width="10"><br></td><td style="background: url("/img/2.gif") repeat scroll 0% 0% transparent;"></td><td height="10" width="10"><br></td></tr>
<tr><td style="background: url("/img/4.gif") repeat scroll 0% 0% transparent;"></td><td style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 5px;">
<!-- Start Profil v1.0 by VEcTOr -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td style="border: 0px solid rgb(216, 216, 216);" class="bara"><span style="font-size: 10pt; color: rgb(112, 112, 112);"><b>Страничка пользователя<br></b></span></td></tr>
<tr><td style="border: 0px solid rgb(216, 216, 216);">
<table style="border: 0px solid rgb(216, 216, 216);" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td style="border: 1px solid rgb(216, 216, 216);" align="center" valign="top" width="200">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td background="http://i071.radikal.ru/0902/ff/3bd0bff61a01.png" height="17" width="17">
</td>
<td background="http://s41.radikal.ru/i093/0902/77/290b6ff174f7.png" height="17">
</td>
<td background="http://s49.radikal.ru/i126/0902/87/94af9881da39.png" height="17" width="17">
</td>
</tr>
<tr>
<td background="http://s59.radikal.ru/i164/0902/f8/326a55f011dc.png" width="17">
</td>
<td>
<?if($_AVATAR$)?><br><div align="center">$_AVATAR$<br><br><?else?><br><div style="text-align: center;"><img src="http://daivez.ucoz.ru/avatar/63/780628.jpg" border="0"></div><BR><?endif?>
<div style="cursor: pointer;" onclick="rep_id()"><div style="text-align: center;">
<?if($_REPUTATION$='0')?>
</div><div><div style="text-align: center;">
</div><table style="background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 1px solid rgb(222, 222, 222);" border="0" cellpadding="0" cellspacing="0" width="202">
<tbody><tr>
<td height="18"><div style="text-align: center;">
</div><br>
<?if($_AOL$)?><table style="background: none repeat scroll 0% 0% rgb(194, 208, 219);" cellpadding="0" cellspacing="0" height="18">
<tbody><tr align="center"><br><td width="10"></td><?endif?>
<?if($_CITY$)?><td width="25"></td><?endif?>
<?if($_WWW$)?><td width="5"></td><?endif?>
<?if($_ICQ$)?><td width="20"></td><?endif?>
<?if($_SIGNATURE$)?><td width="100"></td><?endif?>
<?if($_BIRTHDAY$)?><td width="32"></td><?endif?>
<?if($_IS_ACTIVITY$)?><td width="20"></td><?endif?>
</tr>
</tbody></table>
</td>
</tr></tbody></table>
<div class="pro_zap">
<script language="JavaSсript">
star = 0<?if($_AOL$)?> + 5<?endif?> <?if($_CITY$)?> + 20<?endif?> <?if($_WWW$)?> + 5<?endif?> <?if($_ICQ$)?> + 10<?endif?> <?if($_SIGNATURE$)?> + 30<?endif?> <?if($_BIRTHDAY$)?> + 20<?endif?> <?if($_IS_ACTIVITY$)?> + 10<?endif?> <?if($_NEWS_ENTRIES$)?> + $_NEWS_ENTRIES$<?endif?> <?if($_PHOTO_ENTRIES$)?> +$_PHOTO_ENTRIES$<?endif?> <?if($_BOARD_ENTRIES$)?> +$_BOARD_ENTRIES$<?endif?> <?if($_DIR_ENTRIES$)?> +$_DIR_ENTRIES$<?endif?> <?if($_STUFF_ENTRIES$)?> +$_STUFF_ENTRIES$<?endif?> <?if($_PUBL_ENTRIES$)?> +$_PUBL_ENTRIES$<?endif?> <?if($_LOAD_ENTRIES$)?> +$_LOAD_ENTRIES$<?endif?> <?if($_FORUM_ENTRIES$)?> +$_FORUM_ENTRIES$<?endif?>
document.write(''+star+'%')
</script>
</div>
</div>
<?else?>
<?if($_REPUTATION$>'0' and $_REPUTATION$<'1000')?>
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #d4e9ba; border: 1px solid #dedede">
<tr>
<td height="18">
<table height="18" cellspacing="0" cellpadding="0" style="background:#b2cc91;">
<tr>
<?if($_REPUTATION$<'140')?><td width="$_REPUTATION$"></td><?else?><td width="140"></td><?endif?>
</tr>
</table>
</td>
</table><div class="rep_zap"><kbd class="rep_st">$_REPUTATION$</kbd></div>
<?endif?>
<?if($_REPUTATION$<'-1')?>
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #e08c8c; border: 1px solid #dedede;">
<tr>
<td height="18" align="right">
<table height="18" cellspacing="0" cellpadding="0" style="background: #d74040;">
<tr>
<?if($_REPUTATION$<'-10')?><td width="55"></td><?else?><td width="5"></td><?endif?>
</tr>
</table>
</td>
</table>
<div style="position:relative;top:-17"><kbd class="repno">$_REPUTATION$</kbd></div><?else?>
<?if($_REPUTATION$>'999' and $_REPUTATION$<'7000')?>
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #82ac4e;
border: 1px solid #eeeeee; height:18px;">
<tr><td height="15">
<div><table height="18" cellspacing="0" cellpadding="0" style="background:#5b7d31;"><tr>
<?if($_REPUTATION$>'999' and $_REPUTATION$<'1500')?> <td width="20"></td><?endif?>
<?if($_REPUTATION$>'1500' and $_REPUTATION$<'1700')?> <td width="30"></td><?endif?>
<?if($_REPUTATION$>'1700' and $_REPUTATION$<'2000')?> <td width="40"></td><?endif?>
<?if($_REPUTATION$>'2000' and $_REPUTATION$<'2300')?> <td width="50"></td><?endif?>
<?if($_REPUTATION$>'2300' and $_REPUTATION$<'2500')?> <td width="60"></td><?endif?>
<?if($_REPUTATION$>'2500' and $_REPUTATION$<'2600')?> <td width="70"></td><?endif?>
<?if($_REPUTATION$>'2600' and $_REPUTATION$<'2900')?> <td width="90"></td><?endif?>
<?if($_REPUTATION$>'2900' and $_REPUTATION$<'3000')?> <td width="100"></td><?endif?>
<?if($_REPUTATION$>'3000' and $_REPUTATION$<'3300')?> <td width="115"></td><?endif?>
<?if($_REPUTATION$>'3300' and $_REPUTATION$<'3500')?> <td width="125"></td><?endif?>
<?if($_REPUTATION$>'3500' and $_REPUTATION$<'3900')?> <td width="140"></td><?endif?>
<?if($_REPUTATION$>'3900' and $_REPUTATION$<'4100')?> <td width="155"></td><?endif?>
<?if($_REPUTATION$>'4100' and $_REPUTATION$<'4400')?> <td width="170"></td><?endif?>
<?if($_REPUTATION$>'4400' and $_REPUTATION$<'4800')?> <td width="190"></td><?endif?>
<?if($_REPUTATION$>'4799' and $_REPUTATION$<'5000')?> <td width="191"></td><?endif?>
<?if($_REPUTATION$>'4999' and $_REPUTATION$<'7000')?> <td width="191"></td><?endif?></tr></table>
</td></table><div class="rep_zap"><kbd class="rephit">$_REPUTATION$</kbd></div>
<?else?>
<?endif?>
<?endif?>
<?if($_REPUTATION$>'6999' and $_REPUTATION$<'100000')?>
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #7e9b5a;
border: 1px solid #eeeeee; height:18px;">
<tr><td height="15">
<div><table height="18" cellspacing="0" cellpadding="0" style="background:#5e7542;"><tr>
<?if($_REPUTATION$>'6999' and $_REPUTATION$<'8500')?> <td width="20"></td><?endif?>
<?if($_REPUTATION$>'1499' and $_REPUTATION$<'1700')?> <td width="30"></td><?endif?>
<?if($_REPUTATION$>'8499' and $_REPUTATION$<'10000')?> <td width="40"></td><?endif?>
<?if($_REPUTATION$>'9999' and $_REPUTATION$<'12000')?> <td width="50"></td><?endif?>
<?if($_REPUTATION$>'11999' and $_REPUTATION$<'15000')?> <td width="60"></td><?endif?>
<?if($_REPUTATION$>'14999' and $_REPUTATION$<'18000')?> <td width="70"></td><?endif?>
<?if($_REPUTATION$>'17999' and $_REPUTATION$<'19000')?> <td width="90"></td><?endif?>
<?if($_REPUTATION$>'18999' and $_REPUTATION$<'21000')?> <td width="100"></td><?endif?>
<?if($_REPUTATION$>'20999' and $_REPUTATION$<'23000')?> <td width="115"></td><?endif?>
<?if($_REPUTATION$>'22999' and $_REPUTATION$<'26000')?> <td width="125"></td><?endif?>
<?if($_REPUTATION$>'25999' and $_REPUTATION$<'29000')?> <td width="140"></td><?endif?>
<?if($_REPUTATION$>'28999' and $_REPUTATION$<'35000')?> <td width="155"></td><?endif?>
<?if($_REPUTATION$>'34999' and $_REPUTATION$<'39000')?> <td width="170"></td><?endif?>
<?if($_REPUTATION$>'38999' and $_REPUTATION$<'42000')?> <td width="190"></td><?endif?>
<?if($_REPUTATION$>'41999' and $_REPUTATION$<'49000')?> <td width="191"></td><?endif?>
<?if($_REPUTATION$>'48999' and $_REPUTATION$<'100000')?> <td width="191"></td><?endif?></tr></table>
</td></table><div class="rep_zap"><kbd class="rephit2">$_REPUTATION$</kbd></div>
<?endif?>
<?endif?>
</div>
<style>
.rep_zap {position:relative;top:-17;color:#fff2c8;text-align:center;}
.pro_zap {position:relative;top:-17;color:#415a6d;text-align:center;}
.rephit {color:#c4e79e;font-family: Arial, Helvetica, sans-serif; font-weight:bold;}
.rephit2 {color:#cfe7b5;font-family: Arial, Helvetica, sans-serif;}
//
.rep_st {font-family: Arial, Helvetica, sans-serif; color:#387937;}
.repto {padding:0;border-top:#3c8a34 1px solid}
.repno {color:#ffe3e3;font-weight:bold;font-family: Arial, Helvetica, sans-serif; text-align:center}
</style><div style="text-align: center;">
[<a href="$_REP_DO_URL$"><span style="color: rgb(255, 0, 0);">Повысить уважаемость</span></a>]
</div></div></td>
<td background="http://s60.radikal.ru/i168/0902/c6/a4e3e0816fe3.png" width="17">
</td>
</tr>
<tr>
<td background="http://s60.radikal.ru/i167/0902/26/8cb928874182.png" height="17" width="17">
</td>
<td background="http://s55.radikal.ru/i147/0902/ea/8f85b050c329.png" height="17">
</td>
<td background="http://i011.radikal.ru/0902/bf/ce48d6da8a98.png" height="17" width="17">
</td>
</tr>
</tbody></table> </div>
<?if($_GROUP_ICON$)?>$_GROUP_ICON$<br><br><?endif?> <font color="#696969">Личных сообщений: </font><strong><font color="#ff0000">$UNREAD_PM$</font></strong><br><br>[<a href="$_CHANGE_DETAILS_URL$">Изменить данные</a>.]<br><br><div align="center">$MODER_PANEL$</div><!--ENDIF--><span style="font-size: 10pt; color: rgb(112, 112, 112);"></span>
</td>
<td style="border: 1px solid rgb(216, 216, 216);" valign="top">
<div style="position: relative; float: right; text-align: center;">
<?if($_PM_SEND_URL$)?><div style="padding: 10px;" id="userPMread"><a href="javascript://" onclick="openLayerB('Ls',0,'/sendpm.xml','Отправить ЛС',700,500,'1','','',0,'justify'); return false;"><br></a> </div><?endif?>
</div>
<br><?if($_NAME$)?> <span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);"><span style="font-size: 8pt; color: rgb(105, 105, 105);">Имя:</span></span> <span style="color: rgb(105, 105, 105);">$_NAME$</span></span> <?endif?>
<br><br><span style="color: rgb(105, 105, 105);">-Статус:</span> <font face="Comic Sans MS"><span style="font-size: 8pt; color: rgb(50, 205, 50);">$_YAHOO$</span></font><br><br><span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">ID:</span><b> </b><span style="color: rgb(105, 105, 105);">$_USER_ID$</span></span>
<br><br><?if($_GENDER_NAME$)?> <span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">Пол:</span><b> </b><span style="color: rgb(105, 105, 105);">$_GENDER_NAME$</span></span><?endif?>
<br><br><div align="left"><span style="font-weight: bold; color: rgb(105, 105, 105);">-Страна:</span> <span style="color: rgb(105, 105, 105);">$_COUNTRY$ </span><br></div><br><?if($_BIRTHDAY$)?> <span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">Дата рождения:</span><b> </b><span style="color: rgb(105, 105, 105);">$_BIRTHDAY$</span></span></span>
<br><br><span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">Возраст:</span><b> </b><span style="color: rgb(0, 191, 255);">$_AGE$</span><b> </b><span style="color: rgb(105, 105, 105);">лет</span></span><span style="color: rgb(105, 105, 105);">.</span><br><br><span style="font-weight: bold; color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt;"><span style="color: rgb(105, 105, 105);">Знак зодиака</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">:</span><b> </b><span style="color: rgb(105, 105, 105);">$_ZODIAC$<br><br><span style="font-weight: bold; color: rgb(105, 105, 105);">-</span></span></span></span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);"><span style="font-weight: bold; color: rgb(105, 105, 105);">Номер ICQ:</span></span></span></span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);"><span style="font-weight: bold; color: rgb(105, 105, 105);"> </span><span style="color: rgb(105, 105, 105);">$_ICQ$<br><br></span></span></span></span><div align="left"><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);"><span style="color: rgb(105, 105, 105);"><font color="#696969">-</font></span></span></span></span><font color="#696969">ID ВКОНТАКТЕ:</font> <font color="#1e90ff"><sub><i><font color="#a9a9a9">$_MSN$</font></i></sub><br></font></div> <br><span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">E-mail:</span><b> <?if($_IS_OWN_PROFILE$)?> </b><span style="font-size: 8pt; color: rgb(255, 0, 0);">$_EMAIL$</span></span> <?if($_EMAIL_IS_HIDDEN$)?><span style="font-size: 7pt;">(Адрес скрыт)</span><?endif?>
<?else?>
<?if($MODER_PANEL$)?><a class="m" href="mailto:$_EMAIL$">$_EMAIL$</a><?if(!$_EMAIL_IS_VERIFIED$)?> <span style="color:red;" title="Not verified e-mail">*</span><?endif?>
<?else?>
<?if($_SEND_EMAIL_URL$)?><a class="m" href="$_SEND_EMAIL_URL$">Write user a letter</a>
<?else?><i>Email hidden</i>
<?endif?>
<?endif?>
<?endif?>
<?if($_EMAIL_VERIFICATION_URL$)?> <span style="font-size: 8pt;"><b><a class="m" href="$_EMAIL_VERIFICATION_URL$"><span style="color: red; font-size: 8pt;">Подтвердить e-mail</span></a></b></span> <?endif?>
<?endif?>
<br><br><?if($_REG_TIME$)?> <span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">Дата регистрации:</span><b> </b><span style="color: rgb(105, 105, 105);">$_REG_TIME$</span></span> <?endif?>
<br><br><?if($_LOG_TIME$)?> <span style="color: rgb(105, 105, 105);">-</span><span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">Дата входа:</span><b> </b><span style="color: rgb(105, 105, 105);">$_LOG_TIME$</span></span><?endif?>
<br><br><?if($MODER_PANEL$)?> <span style="font-size: 8pt; color: gray;"><span style="color: rgb(105, 105, 105);">-Ваш Ip:</span><b> </b><a class="m" href="http://www.ripe.net/perl/whois?$_IP_ADDRESS$" target="_blank">$_IP_ADDRESS$</a></span><?endif?><br><br><span style="font-weight: bold; color: rgb(105, 105, 105);"><span style="color: rgb(105, 105, 105);">-</span>Web-сайт:</span> <font color="#dcdcdc"><i><sub><span style="color: rgb(105, 105, 105);">$_WWW$</span></sub></i></font><br><br>
<hr>
<center><span style="font-size: 10pt; color: rgb(169, 169, 169);"><b><span style="color: rgb(0, 0, 0);">Активность пользователя "$_USERNAME$"</span><br></b></span></center>
<hr>
<?if($_IS_ACTIVITY$)?>
<!--IF(($_COM_ENTRIES$))--> <span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"></span></span><span style="font-size: 8pt; color: gray;">Файлы: (</span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: rgb(255, 0, 0);"><a class="m" href="$_LOAD_ACTIVITY_URL$" target="_blank">$_LOAD_ENTRIES$</a></span>)</span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"> <b>|</b> Форум: (</span></span><span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><a class="m" href="../$_FORUM_ACTIVITY_URL$" target="_blank">$_FORUM_ENTRIES$</a>)</span></span> <span style="font-size: 8pt;"><span style="font-size: 8pt; color: gray;"><b>|</b> Комментарии: (<a class="m" href="../$_COM_ACTIVITY_URL$" target="_blank">$_COM_ENTRIES$</a>)<br><br></span></span><?endif?>
</td>
</tr></tbody></table><br>
<table style="border: 0px solid rgb(216, 216, 216);" class="bara" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="bara" align="center"><span style="font-size: 10pt; color: rgb(112, 112, 112);"><b>Подпись<br></b></span></td></tr>
<tr><td style="border: 1px solid rgb(216, 216, 216);"><div align="center">$_SIGNATURE$</div></td></tr>
</tbody></table>
</td></tr></tbody></table>
<!-- End Profil -->
</td><td style="background: url("/img/6.gif") repeat scroll 0% 0% transparent;"></td></tr>
<tr><td height="10" width="10"><br></td><td style="background: url("/img/8.gif") repeat scroll 0% 0% transparent;"></td><td height="10" width="10"><br></td></tr>
</tbody></table>
</td>
<td style="width: 203px;" valign="top">
</td>
</tr>
</tbody></table>
<!-- </middle> -->
</td></tr></tbody></table>
<!-- Footer -->
<br>
<table border="0" cellpadding="0" cellspacing="0" height="32" width="100%"><tbody><tr><td style="background: url("/img/bara_bg.png") repeat-x scroll 0% 0% rgb(255, 255, 255);" align="center"><font color="#000000">Daivez <span style="font-size: 8pt;">©</span> 2oo</font><font color="#ff0000">9</font><font color="#000000">-2o</font><font color="#ff0000">10</font><br><br>$POWERED_BY$ </td></tr></tbody></table>
<!-- /Footer -->
</body></html>