chèn hết vào mod_new làm như QTAN ver 4
- Code:
<style type="text/css">
#fade{display:none;background:#000;position:fixed;left:0;top:0;width:100%;height:100%;opacity:.80;z-index: 99;}
.popup_block{display:none;background:#393829;border:10px solid #FFF;float:left;font-size:1.2em;position:fixed;top:50%;left:50%;z-index: 999;-webkit-box-shadow:0 0 7px #000;-moz-box-shadow:0 0 7px #000;box-shadow:0 0 20px #000;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:10px;}
img.btn_close{float:right;margin:-30px -30px 0 0;}
.popup p{margin:5px 0;padding:5px 10px;}
*html #fade,*html .popup_block{position:absolute;}
.qtvds{margin:auto;}
.tdvds{padding: 0px 0px 0px 20px;
border: 1px solid #8a8a8a;
background: #FFF url(http://i21.servimg.com/u/f21/16/41/91/75/mail1210.gif) no-repeat left;width:100%;height:10px;
-moz-border-radius: 15px 0 0 15px;-webkit-border-radius: 15px 0 0 15px;
}
td.b1{font-size:10pt; width:auto; min-width:200px; background-color: #ffe3ff; text-shadow: black 0.1em 0.1em 0.2em}
td.b2{font-size:10pt; width:auto; text-shadow: 0 0 0.2em #87F, 0 0 0.2em #87F, 0 0 0.2em #87F}
.loiguibai{background: url(http://i27.servimg.com/u/f27/14/67/90/38/warnin11.png) no-repeat center;width:48px;height:48px;}
.loiguibai embed{display:none;}
.hide_ms{display: none;}
.thongtinqtan{position:absolute;}
.qtantdytvds{position:relative;}
.qtantdytvds div.thongtinqtan {
opacity: 0.6;filter: alpha(opacity=60);
border: 1px solid #8a8a8a;
-moz-border-radius: 15px 15px 0 0;-webkit-border-radius: 15px 15px 0 0;
overflow:hidden;
width:300px;
height:27px;
top:-27px;
background-color: #999999;
transition: all 2s ease-out; -webkit-transition: all 2s ease-out; -moz-transition: all 2s ease-out;
transition-delay: 1s; -webkit-transition-delay: 1s; -moz-transition-delay: 1s;
}
.qtantdytvds:hover div.thongtinqtan {
opacity: 1;filter: alpha(opacity=100);
top:-90px;
height:90px;
background-color: #000000;
transition: all 1s ease-out; -webkit-transition: all 1s ease-out; -moz-transition: all 1s ease-out;
}
</style>
<div class="qtantdytvds" align="center" id="bvmusicpro">
<script type="text/javascript">
function vtdyt(){var t=setTimeout("btdyt()",1000);}
function btdyt(){window.location.replace("{TOPIC_URL}");document.getElementById("fromqtanvds").reset();}
</script>
<script src="http://illiweb.com/rs3/13/frm/jquery/jqmodal/jqmodal.js" type="text/javascript"></script>
<script type="text/javascript" src="http://vandonstar.googlecode.com/files/VanDonStar_QTAN_V5.js"></script>
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){function find_username(fieldname) {
$.get('/search.forum?mode=searchuser&fieldname=' + fieldname + '&time=' + timestamp(), '',function(data){
$('#find_username').html(data).jqmShow();
$('.jqmOverlay').bgiframe();
$('#find_username').bgiframe();});return false;}
$('#find_friend').click(function(){return find_username('subject');});
$('#find_foe').click(function(){return find_username('foe');});
$('#find_username').jqm({toTop: true});});//]]></script>
<div class="thongtinqtan">
<table><tr><td id="pro_ms" style="width:100%; color:#FFFFFF; font-size:12px;">
<!-- BEGIN post_row -->
<div class="hide_ms">
<strong>
<img src="http://png.findicons.com/files/icons/2166/oxygen/22/bookmark_new.png" border="0" title="www.VanDonStar.cOm">
<font color="#37fafa"> Người yêu cầu:</font> <font color="#ffff2b">{post_row.POSTER}</font><br/>
<img src="http://png.findicons.com/files/icons/2166/oxygen/22/bookmark_new.png" border="0" title="www.VanDonStar.cOm">
<font color="#37fa37"> Vào lúc:</font> {post_row.TIME}<br/>
<img src="http://png.findicons.com/files/icons/2166/oxygen/22/bookmark_new.png" border="0" title="www.VanDonStar.cOm">
<font color="#fa37ac"> <a href="{post_row.U_VIEW_COMMENTS}">Bình Luận</a>: {post_row.REPLIES}</font>
</strong>
</div>
<!-- END post_row -->
<br/>
</td></tr></table>
</div>
<table width="762px" style="background: #000000;color: #555555;border: 2px solid #bbb;-moz-border-radius:5px; cellspacing="0" cellpadding="0">
<tr>
<td>
<button id="music1vds" class="hide_ms"><img src="http://i48.servimg.com/u/f48/13/58/60/43/contro17.png" /></button>
<button id="music2vds" class="hide_ms"><img src="http://i48.servimg.com/u/f48/13/58/60/43/contro17.png" /></button>
<button id="music3vds" class="hide_ms"><img src="http://i48.servimg.com/u/f48/13/58/60/43/contro17.png" /></button>
<button id="music4vds" class="hide_ms"><img src="http://i48.servimg.com/u/f48/13/58/60/43/contro17.png" /></button>
<button id="music5vds" class="hide_ms"><img src="http://i48.servimg.com/u/f48/13/58/60/43/contro17.png" /></button>
<!-- BEGIN switch_user_logged_in -->
<a href="#?w=450" rel="TDYT_bv" class="poplight"><font color="#ff5959" size="2px"><blink><img src="http://i1211.photobucket.com/albums/cc433/baivong/cfviet/Heart.png"/> New!</blink></font></a>
<div id="TDYT_bv" class="popup_block">
<form id="fromqtanvds" target="bvreload" action="/posting.forum" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data">
<table width="450px" border="0" cellspacing="1" cellpadding="0">
<tr>
<td>
<span class="gen"><b><font color="#23eb41">Mã flash: »</font></b></span>
<textarea id="a1vds" style="width:100%; display:inline" type="text" onblur="if(this.value=='') this.value='Dán đoạn mã flash bài hát vào đây!';" onfocus="if(this.value=='Dán đoạn mã flash bài hát vào đây!') this.value='';" onclick="storeCaret(this)" onkeyup="storeCaret(this)" rows="5" cols="40" tabindex="2" onselect="storeCaret(this)" wrap="virtual" maxlength="400" onkeypress="if (event.keyCode==13){return false}">Dán đoạn mã flash bài hát vào đây!</textarea>
<span class="gen"><b><font color="#23eb41">Thông điệp: » còn <span id="counter_number" class="counter"><b>200</b></span> ký tự</font></b></span>
<textarea id="a2vds" style="width:100%; display:inline" type="text" onblur="if(this.value=='') this.value='Nội dung thông điệp...';" onfocus="if(this.value=='Nội dung thông điệp...') this.value='';" onclick="storeCaret(this)" onkeyup="storeCaret(this)" rows="1" cols="40" tabindex="3" onselect="storeCaret(this)" wrap="soft" maxlength="200" onkeypress="if (event.keyCode==13){return false}">Nội dung thông điệp...</textarea>
<span class="gen"><b><font color="#23eb41">Lời nhạc: »</font></b></span>
<textarea id="a3vds" style="width:100%; height:150px;" type="text" wrap="hard" onfocus="if(this.value=='Chưa cập nhật lời...') this.value='';" onblur="if(this.value=='') this.value='Chưa cập nhật lời...';" onclick="storeCaret(this)" onkeyup="storeCaret(this)" rows="30" cols="40" tabindex="4" onselect="storeCaret(this)" maxlength="3000">Chưa cập nhật lời...</textarea>
<span class="gen"><b><font color="#23eb41">Gửi đến: » </font></b></span>
<input id="a0vds" class="post gen" style="width:40%; display:inline" type="text" name="subject" maxlength="100" title="Bấm vào nút bên cạnh để chọn người mà bạn muốn gửi món quà này" onkeypress="if (event.keyCode==13){return false}"> - <input class="liteoption" type="button" id="find_friend" value="Tìm thành viên" tabindex="1">
</td>
</tr>
<tr>
<td align="center">
<span class="gen"><b><font color="#ffff2b">Kiểm tra dữ liệu: </font></b></span>
<input type="checkbox" name="checkbox" onclick="doit()" tabindex="5">
<input id="guiqtan" style="width:50px; height:30px;" onclick="set_solved(this.form.elements['subject'],'♪♫ Quà tặng âm nhạc gửi đến: '), vtdyt()" class="mainoption" type="submit" name="post" value="Gửi" tabindex="6" disabled="disabled" accesskey="s" />
<input id="vdsnoidungqt" type="hidden" name="message" />
<input type="hidden" name="lt" value="0" />
<input type="hidden" name="mode" value="newtopic" />
<input type="hidden" name="f" value="7" />
</td></tr></table>
</form>
</div>
<!-- END switch_user_logged_in -->
</td>
<td id="ms_pro" style="background: url(http://i49.servimg.com/u/f49/16/29/88/81/vds_qt10.png);">
<!-- BEGIN post_row -->
<div align="center" class="hide_ms">
{post_row.TEXT}
</div>
<!-- END post_row -->
</td></tr></table>
</div>
<div type="z-index:9999;" id="find_username" class="jqmWindow">
<iframe name="bvreload" height="1px" width="1px"></iframe></div>