Admin Admin
| Tiêu đề: Code Thông điệp yêu thương Thu Mar 08, 2012 10:15 am | |
| anh em nào đang dùng latest topic - top poster Style mới của thuận thì dùng cái này nha. Không sợ Bị Vỡ khung khi chèn vào widgets : Cách Đặt widgets : ĐẶt mod_news dưới Statistics nha các bạn trong mod_news các bạn chỉnh Number of news : 20 Length of the news : tùy hehe Board of the news : chọn diễn đàn mà khi các thành viên post bài tại đó thì thông điệp yêu thương sẽ tự động chạy trên diễn đàn Nguồn ( http://soctrangdesign.com)Code. bạn thay toàn bộ vô Mod_New nha - Code:
-
<table style="background: #fff;color: #555555;-moz-border-radius:5px;" cellpadding="6" cellspacing="2" border="0" width="100%" align="center"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script type="text/javascript" src="/-h16.htm"></script><script src="http://illiweb.com/rs3/13/frm/lang/notutf8-vi.js" type="text/javascript"></script><script type="text/javascript" src="http://www.appelsiini.net/download/jquery.lazyload.mini.js"></script><script type="text/javascript">//<![CDATA[ $(document).ready(function(){$("[style$='(34, 201, 154);'],[style*='#22c99a'],[style*='#22C99A']").addClass('c3vip');$("[style$='(54, 194, 46);'],[style*='#36c22e'],[style*='#36C22E']").addClass('c3tm');$("[style$='(0, 0, 0);'],[style*='#000000']").addClass('c3bn');$("[style$='(131, 27, 191);'],[style*='#831bbf'],[style*='#831BBF']").addClass('c3ad');$("[style$='(0, 51, 255);'],[style*='#0033ff'],[style*='#0033FF']").addClass('c3dn');$("[style$='(236, 109, 37);'],[style*='#ec6d25'],[style*='#EC6d25']").addClass('c3lop');$("[style$='(107, 115, 64);'],[style*='#6b7340'],[style*='#6B7340']").addClass('c3tv');$(".vbmenu_control2 a:first-child").html("<a href=/forum.htm>Diễn đàn</a>");c3f = this.location.toString().substr(this.location.toString().indexOf("-f"),4);if (c3f == "-f60"){$(".c3zbox").empty();}});//]]></script><!--[if IE]><style>.code div {height:100px!important}</style><![endif]--><script type="text/javascript">//<![CDATA[ var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-11463127-1']);_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();//]]></script></head><body background="http://2img.net/i/fa/empty.gif" bgcolor="#e5e5e5" text="#000000" link="#006699" vlink="#5493b4"><div id="c3zload"></div><a name="top"></a><script type="text/javascript">
</script><td style="width:772px; padding:3px;"><script type="text/javascript" src="http://that1design.com/clientscript/jquery.lightbox-min.js"></script><table style="background: #fff;color: #555555;border: 2px solid #bbb;-moz-border-radius:5px;" cellpadding="6" cellspacing="2" border="0" width="100%" align="center"><tr><td nowrap="nowrap" style="background: #fff;color: #313131;border: 1px solid #ccc;-moz-border-radius:5px"><a onmouseover="showtip('<font size=5>GỬI THÔNG ĐIỆP - CLICK !!</font><br>Chỉ dành cho thành viên có <font color=#FF5F5F>nick màu</font> hoặc <font color=#C2FFAF>trên 30 bài viết</font> ...');" onmouseout="hidetip();" class='c3luvmes' href="http://http://b2020.friendhood.net/html-h7.htm"><a href="#" onClick="window.open(' http://b2020.friendhood.net/html-h7.htm','_blank','width=450,height=100')"><img class="inlineimg" src="http://i22.servimg.com/u/f22/14/52/40/23/tdyt11.jpg" alt="" border="0" /></a></a><img src="http://r26.imgfast.net/users/2611/10/63/87/album/tdyt_s10.png" /></a></td><td width="100%" style="background: #fff url(http://www.c3z.co.cc/users/2611/10/63/87/album/master10.gif);color: #313131;border: 1px solid #ccc;-moz-border-radius:5px"><!-- BEGIN post_row --><marquee behavior="scroll" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" scrolldelay="25" direction="left" truespeed="truespeed"><span style="margin-right:60px" class="modnew">
<a name="news_{post_row.ID}"></a><span onmouseover="showtip(this.getElementsByTagName('div')[0].innerHTML);" onmouseout="hidetip();" style="color:#C1C1C1; font-size:11px"><b><strong> <b> {post_row.POSTER} </b> </strong> </b> nhắn với <span> <font color="blue"><b>{post_row.TITLE}</b></font></span><div style="display: none;"><strong>{post_row.POSTER}</strong></span> gửi vào lúc {post_row.TIME}</div> : <span class="c3zonee"><font color="red"><b>{post_row.TEXT}</b></font></span><span style="padding: 0px 40px"></span>
</marquee><!-- END post_row --></td></tr></table><div style='display:none'><div id='c3_luvmes' style='padding:10px; background:#fff; overflow:hidden'> <form action="/posting.forum" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data"><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td width="22%" nowrap="nowrap"><span class="gen"><b>Gửi đến :</b></span></td><td width="78%"><table cellspacing="0" cellpadding="0"><tr><td width="100%" ><input class="post gen" style="width:200px; display:inline" type="text" name="subject" value="Tất cả" onblur="if(this.value=='') this.value='Tất cả';" onfocus="if(this.value=='Tất cả') this.value='';" size="45" maxlength="40" tabindex="2" title="" onkeypress="if (event.keyCode==13){return false}"></td><td align="right" width="40"><input onclick="c3zthongdiep(this.form.elements['subject'],'»','')" class="mainoption gen" style="padding:0px; margin:0px" type="submit" name="post" value=" Gửi ..." tabindex="6" accesskey="s" /></td></tr></table></td></tr><tr><td valign="top" nowrap="nowrap"><span class="gen"><b>Lời nhắn :</b></span><br></td><td valign="top"><textarea class="gen" id="c3z_lovemess" class="post" style="width:440px;height:100px" onclick="storeCaret(this)" onkeyup="storeCaret(this)" name="message" rows="15" cols="35" tabindex="3" onselect="storeCaret(this)" wrap="virtual">...</textarea></td></tr></table><input type="hidden" name="lt" value="0" /><input type="hidden" name="mode" value="newtopic" /><input type="hidden" name="f" value="60" /></form></div></div><div style="padding:10px"></div><!-- </table> <td width="77%">--><div style="display:block; height:00px!important; overflow:hidden; padding:0px; margin:0px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr height="00"><td class="tcat" width="20"></td><script type="text/javascript"> jQuery.get('/profile.forum?mode=editprofile&page_profil=friendsfoes', function(data) { c3moi= jQuery('.forumline:eq(2) .row2', data).html();c3ban= jQuery('.forumline:eq(0) .row2', data).html(); jQuery('#c3zfriend').html(c3moi);jQuery('#c3zfriends').html(c3ban); var i = 0, ii = 0; jQuery('.forumline:eq(2) .row2 .friends-foes-list',data).each(function(index){i++;}); jQuery('#c3dem').text(jQuery('#c3dem').text()+i+" "); jQuery('.forumline:eq(0) .row2 .friends-foes-list',data).each(function(index){ii++;}); jQuery('#nban').text(jQuery('#nban').text()+ii+" ");}); jQuery(".c3zonee:contains('»')").remove(); jQuery(".c3luvmes").colorbox({width:"50%", inline:true, href:"#c3_luvmes"});
</script> trong code chèn vào Mod_new bằng link dẫn tới diễn đàn mà bạn cài đặt trong mod_new nha. (bạn nhớ thay lại link ảnh và Font chữ nữa nha. trong code ấy ) http://b2020.friendhood.net/html-h7.htmnguồn chinh phuc |
|