Statistica utiliza

» Înregistraţi pe site
Total: 328
De o lună: 1
De o săptămână: 0
De ieri: 0
Azi: 0
» Dintre care
Fondatori: 1
Administratori: 1
Moderatori: 0
V.I.P: 2
Utilizatori: 324
» Dintre care
Băeţi: 308
Fete: 20
------ Lista utilizatori online------


Parteneri

Free BackLink

Sondajul nostru

Ce ati dori mai mult pe site?
Total răspunsuri: 287

Mini-chat


romcoz.ucoz.ro


 
Voturi : 1  |  Rating: 5.0

 

O noua forma pentru comentarii .

Pasul 1. Intrati in CP->Design->Design Management(template)->Comments->Appeareance of comments si schimbati tot ce este acolo cu :
Code

<div class="cell_comment_os">  
  <div class="comment_p ">  
  <?if($USERNAME$)?><a href="$PROFILE_URL$"><?if($USER_AVATAR_URL$)?> <img class="comment_avatar" src="$USER_AVATAR_URL$" /><?else?><img src="http://yoyoyo.do.am/romcoz/comments/forma1/no_avatar.jpg" class="comment_avatar" alt="Avatar" /><?endif?></a><?else?><img src="http://yoyoyo.do.am/romcoz/comments/forma1/no_avatar.jpg" class="comment_avatar" alt="Avatar" /><?endif?>  
  </div>  

<div class="comment_v grey">  
<a href="#ent$ID$" onclick="if (document.getElementById('comEnt$ID$')){$('body').scrollTo( { top:$('#comEnt$ID$').offset().top-22, left:0}, 500 );return false;}" name="ent$ID$"><strong>$NUMBER$</strong></a> |  
<strong class="gren"><?if($USERNAME$)?>$USERNAME$ <?else?>$NAME$<?endif?></strong> Data: | $DATE$ | $TIME$ <?if($MODER_PANEL$ && $EMAIL$)?><a href="$EMAIL_JS$" title="Email"> ( E-mail )</a><?endif?>  
<span class="right">$MODER_PANEL$</span>  
<?if($ENTRY_URL$)?><a class="right" href="$ENTRY_URL$" target="_blank" title="Перейти на страницу материала">Страница с комментарием </a>|<?endif?>  
</div>  

<div class="comment_c text_11">  
  $MESSAGE$  
<?if($ANSWER$)?><p class="vcc_otvet"><strong>Raspuns</strong>: $ANSWER$<p><?endif?>  
</div>  

<div class="comment_n grey text_9">  
<?if($ANSWER_URL$)?><a href="$ANSWER_URL$">Raspuns</a> |<?endif?>  

  <?if($GOOD_COMMENT_URL$)?>  
  <a href="$GOOD_COMMENT_URL$"><img src="http://yoyoyo.do.am/romcoz/comments/forma1/plus_01.gif" alt="+" title="Bood"/></a>  
  <span class="post_r">($COMMENT_RATING$)</span>  
  <a href="$BAD_COMMENT_URL$"><img src="http://yoyoyo.do.am/romcoz/comments/forma1/minuc_01.gif" alt="-" title="Bad"/></a><?else?>  
  <?if($COMMENT_RATING$=0)?>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/plus_02.png" alt="+" title="Good"/>  
  <span class="post_r">($COMMENT_RATING$)</span>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/minuc_02.png" alt="-" title="Bad"/>  
  <?else?>  
  <?if($COMMENT_RATING$<0)?>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/plus_02.png" alt="+" title="Good"/>  
  <span class="red">($COMMENT_RATING$)</span>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/minuc_02.png" alt="-" title="Bad"/>  
  <?else?>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/plus_02.png" alt="+" title="Good"/>  
  <span class="gren">(+$COMMENT_RATING$)</span>  
  <img src="http://yoyoyo.do.am/romcoz/comments/forma1/minuc_02.png" alt="-" title="Bad"/>  
  <?endif?>  
  <?endif?>  
  <?endif?>  

</div>  
</div>


Pasul 2. Intrati in CP->Design->Design Management(CSS) si adaugati codul urmator :

Code


/* Appeareance of comments - RomCoz.uCoz.Ro #3
  ===================================================*/  
.cell_comment_os {  
  float:left;  
  width:100%;  
  background:#fff;  
  border:1px solid #CAD1DB;  
  padding-bottom:3px;  
  margin-bottom:15px;  
}  

.comment_p {  
  float:right;  
  width:80px;  
}  

.comment_v {  
  margin: 5px 0px 5px 10px;  
}  

.comment_c {  
  overflow: hidden;  
  text-align:justify;  
  margin: 0px 0px 0px 10px;  
  padding: 5px 0px;  
  border-top: 1px solid #e7e7e7;  
}  

.comment_n {  
  text-align:right;  
  margin: 3px 78px 0px 10px;  
}  
.vcc_otvet {overflow:hidden!important; border: 1px solid #eccece; padding: 10px;background:#fcf6f6; }  

.comment_avatar {  
  width:40px;  
  height:40px;  
  padding: 4px;  
  margin: 8px 10px 0px 15px;  
  border: 1px solid #CAD1DB;  
  background:#F6F6F6;  
  -webkit-border-radius:5px;  
  -moz-border-radius:5px;  
  border-radius:5px;  
}  

.red {color: #d20000;}  
.gren {color: #429e1e;}  
.grey {color: #999;}  
.text_9 {font: 9px Verdana,Arial,Helvetica, sans-serif;}  
.right {float:right;}



Categorie: Comments | Adăugat de: YOYOYO (18.05.2012)
Vizualizări: 345 | Tag-uri: OF, Appeareance, comments, #3 | Rating: 5.0/1
 
Nick/E-mail: Parola:
Ati intrat pe site ca ospete cu acces limitat. Va recomanda-m sa va autentificati sau sa va inregistrati. Daca ati uitat parola de acces, puteti sa o recuperati aici.