• Страница 1 из 1
  • 1
Красивый мини-чат

серегаДата: Суббота, 19.06.2010, 14:31:42 | Сообщение # 1
Генералиссимус
Сообщений: 1544
Награды: 1
Репутация: 2

Сам код:

Вид материалов, заменяем все.

Code
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">  
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div>  
<div style="text-align:left;">  
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b>$NAME$</b></a>  
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/823/e.gif"></a><?endif?>  
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/823/h.gif"></a><?endif?>  
<?else?>  
<?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a>  
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://s24.ucoz.net/t/823/e.gif"></a><?endif?>  
<?else?>  
<?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a>  
<?else?><b>$NAME$</b><?endif?>  
<?endif?>  
<?endif?>  
</div>  
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>  
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>  
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>  
</div>

Форма добавления сообщений:

Code
<STYLE type="text/css"><!--.postSubmit {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #0066ff;color: #ffffcc;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postSubmit:hover {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #c70404;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postReset {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postReset:hover {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postPreview {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #206ee3;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postPreview:hover {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postReset {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #206ee3;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.postReset:hover {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.smaile {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #1779BD;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}.smaile:hover {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #32c425;color: #ffffff;cursor: pointer;letter-spacing: 0px;font-family: verdana;}--></STYLE>   
<INPUT type="button" href="" onclick="window.location.reload();return false;" title="Обновить" style="height: 20;;width:59;margin:0px" value="Обновить" class="postReset">   
<INPUT type="button" class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" style="height: 20;width:25;margin:0px" value="@">   
<INPUT type="button" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('/index/35-0-2','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); return false;" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('/index/35-0-2','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); return false;" title="Вставить смайл" style="height: 20;;width:49;margin:0px" value="Смайлы" class="smaile"><INPUT type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="Имя" style="display: none;height: 24px; color: #777777; font-family: Verdana; border: 1px solid #aaaaaa; background-color: #ffffcc; background: url(); background-repeat: repeat-x; background-position: left top;"><INPUT type="text" maxlength="500" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Пиши сюда" style="width: 93%; font-size: 7pt; padding: 5px; margin: 0px; font-family: Tahoma; height: 24px; color: #777777; font-family: Verdana; border: 1px solid #aaaaaa; background-color: #ffffcc; background: url(); background-repeat: repeat-x; background-position: left top;"><INPUT type="submit" style="height: 23; width:68; margin:0px" value="Отправить" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);">



Делаю сервера и настраиваю их: WoW CS Mu online не дорого isq 499846784

< >
  • Страница 1 из 1
  • 1
Поиск: