Ja ir tāds tad dzēsiet :)
nepieciešamas ikonas pielikuma
CSS kods:
Code
#mchatIfm2 {width: 100% !important; height: 400px !important}
.cBlock1 {margin: 0 2px 4px 2px; padding: 2px; border: 1px dotted #444}
.cBlock2 {margin: 0 2px 4px 2px; padding: 2px; border: 1px dotted #444}
.cBlock1 .f-block {background: url('Zinas backround 1') repeat; min-height: 58px}
.cBlock2 .f-block {background: url('zinas backround 1') repeat; min-height: 58px}
.a-block {height: 54px; width: 54px; float: left; margin: 0 6px 0 0}
.a-block img {width: 54px; height: 54px; padding:2px}
.u-block {padding: 2px}
.u-block a {font-size: 12pt; font-weight: bold; color: #000; text-shadow: 1px 1px 2px #999; text-decoration: none}
.d-block {font-size: 7pt; font-weight: bold; color: #000; text-shadow: 1px 1px 2px #888; float: right}
.cMessage {font-size: 10pt; color: #999; text-align: left; line-height: 1.1em; padding: 0 4px 4px 4px}
.cMessage a.link {text-decoration:none !important;}
.cBlock1 .f-block, .cBlock2 .f-block, .cMessage {min-height: 58px; -height: 58px; height:auto !important; height: 58px}
#mcnomess92 {color: #999; text-align: center;}
/* Form message chat */
#form_block {width: auto; padding: 2px; margin: 6px 2px 0px 3px; border: 1px dotted #444}
#mess_block {margin: 2px}
.mess {color: #999; background: url(text message 1) repeat; width: 100%; height: 70px; resize:none}
.name_block, .email_block, .site_block {margin: 6px 4px 4px 2px}
#funct_block {width: auto; margin: 3px 2px 2px}
#ent_block {display: block; float: right}
/* Delete message chat */
.del_chat {width:300px;height:15px;border:1px solid #666;background:#f2f2f2;margin:10px 0;}
.delete_chat {height:15px;float:left;}
.delete_chats {background:#c0c0c0;height:13px;width:1px;float:left;padding:1px;}
.del_proc {margin-top:-25px;margin-bottom:15px;}
#del_enter, #del_ok, #del_error, .del_c {margin:10px auto !important;overflow:none;}
#del_ok, #del_error {font-size:15px;}
#del_ok, #del_error, .del_c {text-align:center;display:none;}
.del_num {text-align:left;margin-left:14px;}
.del_dels {text-align:right;float:right;margin-right:13px;}
/* --------- */
Appearance of entries:
Code
<div class="cBlock$PARITY$">
<div class="f-block">
<div class="a-block">
<?if($AVATAR_URL$)?>
<img src="$AVATAR_URL$" alt="" />
<?else?>
<img src="/c_ikonas/no_avatar.gif" alt="" />
<?endif?>
</div>
<div class="cMessage">
<div class="u-block">
<span class="d-block" title="$DATE$"> $TIME$ </span>
<a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow">
<img alt="" src="/c_ikonas/profile.png" style="width:13px;height:13px;border:0;vertical-align: -3px" /></a>
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i][color=orange]$NAME$[/color][/i], ';return false;"><b>$NAME$</b></a>
</div>$MESSAGE$</div>
</div>
</div>
New message form:
Code
<?if(!$USER_LOGGED_IN$)?>
<div id="form_block">
<div align="center" style="padding: 2px 0 3px;"> <a href="$LOGIN_LINK$">Lai pievienotu zinu nepieciešams autorizeties vai registreties</a> </div>
</div>
<?else?>
<div id="form_block">
<div id="mess_block">
<textarea name="mcmessage" onkeyup="countMessLength();" onfocus="countMessLength();" id="mchatMsgF" class="mess"></textarea>
</div>
<?if(!$USER_LOGGED_IN$)?>
<div class="name_block">
<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="Niks" title="Niks" onfocus="if(this.value==$(this).attr('title')){this.value='';}" style="width:100%; height: 24px;" />
</div>
<!-- <div class="email_block"> </div>
<div class="site_block"> </div> -->
<?endif?>
<?if($FLD_SECURE$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%" >
<tr>
<td width="50%" style="padding-left: 70px;">$FLD_SECURE$</td>
<td align="right">$IMG_SECURE$</td>
Pievienots (04.04.2013, 6:20:06)
---------------------------------------------
tas kas čata rakstits nav REKLAMA :P