В вид материалов:
Code
<div class="cName"><span style="color: green; margin-right: 6px; font-size: 10px; text-align: left;">$TIME$</span>
<a class="subforum" href="$PROFILE_URL$"">$USERNAME$</a>:
$MESSAGE$
</div>
<div class="cMessage" style="border-bottom: 1px dotted #dddddd; padding-bottom: 5px;"></div>
В форма добавление сообщения:
Code
<style type="text/css">
.postSubmit {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6eb300;
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: #83ca12;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #d82020;
color: #ffffcc;
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: #e33f39;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postPreview {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #666666;
color: #ffffcc;
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: #888888;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #d82020;
color: #ffffcc;
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: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.smaile {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #ff8208;
color: #ffffcc;
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: #ff9808;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
</style>
<div align="center"><a class="noun" href="" onclick="window.location.reload();return false;" title="Refresh"><img src="http://kinomd.com//Restart.png" width="20" align="absmiddle" border="0" height="20"></a>
<a class="noun" href="javascript:void('Message control')" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=400,height=600,left=0,top=0'); return false;" title="Arhiv"><img src="http://kinomd.com//Tools.png" width="20" align="absmiddle" border="0" height="20"></a>
<a class="noun" 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;" title="Smile"><img src="http://kinomd.com/Smiley.png" width="20" align="absmiddle" border="0" height="20"></a></div>
<div align="center"><input maxlength="200" name="message" size="22" class="boxContent" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="You Mesage" style="border: 1px solid rgb(255, 132, 0); margin: 0pt; padding: 0px; width: 65%; height: 18px; color: rgb(128, 128, 128);" type="text">
<input maxlength="20" name="uname" size="8" class="boxContent" id="mchatNmF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="" style="border: 0px solid orange; margin: 0pt; padding: 0px; width: 0%; height: 0px; color: rgb(128, 128, 128);" type="text"></div>
<div align="center"><input class="mchat" value="Say" id="mchatBtn" onclick="return checkform(this.form);" type="submit"></div>