мини-чат - Форум - .: [Ns] ^ Steam PorTal Tm :. - Описание сайта



[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
мини-чат
nagoHoKДата: Пятница, 25.09.2009, 15:55 | Сообщение # 1
Лейтенант
Группа: Проверенные
Сообщений: 68
Награды: 1
Репутация: « 2 »
Статус:
Вот выкладываю свою переработку мини чата
Итак приступим:
1.Управление дизайном/"Мини-чат"/Вид материалов

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>          
<?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://s19.ucoz.net/t/831/e.gif"></a><?endif?>          
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://s19.ucoz.net/t/831/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://s19.ucoz.net/t/831/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 class="cMessage">$MESSAGE$</div>          
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>          
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>          

Добавлено (25.09.2009, 15:37)
---------------------------------------------
2.Управление дизайном/"Мини-чат"/Форма добавления сообщений
Код:

Code

<style type="text/css">           
.postSubmit {           
border: 0px;           
padding: 5px;           
text-align: center;           
font-size: 10px;           
margin: 0px;           
width: auto;           
background: #6495ED;           
color: #ffffff;           
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: #83ca12;           
color: #f3f3f3;           
cursor: pointer;           
letter-spacing: 0px;           
font-family: verdana;           
}           
.postReset {           
border: 0px;           
padding: 5px;           
text-align: center;           
font-size: 10px;           
margin: 0px;           
width: auto;           
background: #6495ED;           
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: #e33939;           
color: #6495ED;           
cursor: pointer;           
letter-spacing: 0px;           
font-family: verdana;           
}           
.postPreview {           
border: 0px;           
padding: 5px;           
text-align: center;           
font-size: 10px;           
margin: 0px;           
width: auto;           
background: #6495ED;           
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: #6495ED;           
color: #f3f3f3;           
cursor: pointer;           
letter-spacing: 0px;           
font-family: verdana;           
}           
.postReset {           
border: 0px;           
padding: 5px;           
text-align: center;           
font-size: 10px;           
margin: 0px;           
width: auto;           
background: #6495ED;           
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: #6495ED;           
color: #FFFFFF;           
cursor: pointer;           
letter-spacing: 0px;           
font-family: verdana;           
}           

</style>           
<a class="noun" href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить"><img border="0" align="absmiddle" src="http://worldprog.at.ua/img/obnowitj.gif" width="23" height="25"></a>         

          <a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');  return false;" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://worldprog.at.ua/img/nastroyki.gif" width="25" height="25"></a>           

<?if($SMILES_URI$)?> <a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0');  return false;" title="Вставить смайл"><img border="0" align="absmiddle" src="http://worldprog.at.ua/news/bbcodes/emo.gif" width="25" height="25"></a><?endif?>         

<?if($BBCODES_URI$)?> <a class="noun" target="cbbcodes" href="javascript:void('BB-codes')" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0');  return false;" title="BB-Коды"><img border="0" align="absmiddle" src="http://worldprog.at.ua/load/bbcodes/b.gif" width="25" height="25"></a><?endif?>         

<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="display: none;height: 24px; color: #777777; font-family: Verdana; border: 1px solid #aaaaaa; background-color: #f1f1f1; background: url('http://coool.net.ru/images/1/main_top_gradient.png'); background-repeat: repeat-x; background-position: left top;">           

<input type="text" maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Сообщение" style="width: 68%; font-size: 7pt; padding: 5px; margin: 0px; font-family: Tahoma; height: 24px; color: #777777; font-family: Verdana; border: 1px solid #aaaaaa; background-color: #f1f1f1; background: url('http://coool.net.ru/images/1/main_top_gradient.png'); background-repeat: repeat-x; background-position: left top;">           

<input type="submit" style="height: 24px;width:30px;margin:0px" value="»" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);">





Сообщение отредактировал nagoHoK - Пятница, 25.09.2009, 15:56
 
VeNtiL9tOrДата: Пятница, 25.09.2009, 22:53 | Сообщение # 2
`ViP PersOn`
Группа: Администраторы
Сообщений: 203
Награды: 3
Репутация: « 9 »
Статус:
а скрины сриптовок...

ХэТ или не хет, вот в чем вопрос xD
Game name:Spartan'Ec
http://steamcommunity.com/id/Spartan3c
 
  • Страница 1 из 1
  • 1
Поиск: