6.60 base cookie css daily record DISCUZ dota FORMHASH google Graphic Design HelloTxt iconfans iis7 JavaScript JQuery manyou mysql photoshop PHPCMS PlantsVsZombies regex seo twitter uch v1.0 vcar war3 web Wordpress wordpress plug wordpress相关信息 XML 互通 互通作弊 作品案例 作弊 动漫 原创 开心农场 排序 添加新标签 电脑相关 白菜僵尸房前交欢 程序开发 视频
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
演示网站:华汽星空考试网 http://www.gzautosky.cn/know
function ajax_pm(i,name,uid,title){
jQuery('#ajax_show').show();
jQuery('#ajax_black_show').show();
if(uid==i){
jQuery('#ajax_show').html("不能发信息给自己!");
setTimeout("ajax_hide()",1000);
}
else if(uid<=0){
jQuery('#ajax_show').html("请登录后再发信息!");
setTimeout("ajax_hide()",1000);
}
else{
//alert(jQuery.cookie('formhash'));
//if(!jQuery.cookie('formhash')){
jQuery.ajax({
url:"/my/common.php",
type:'POST',
data:{vcar_common_msg:1},
dataType: "html",
success: function(data){
//jQuery.cookie('formhash',data);
post_form(i,name,data,title);
}
});
/*}else{
//alert(2);
post_form(i,name);
}*/
}
//post_form(i,name,'00fdbcc9');
}
function post_form(i,name,formhash,title){
var html='';
html+='<h1>发短信给 <span style="color:red">'+name+'</span> 纠正资料</h1>';
html+='<table cellspacing="0" cellpadding="3"><tr><th style="vertical-align: top;">';
html+='<label for="message">内容:</label></th><td>';
html+='<textarea id="message" name="message">';
html+='</textarea></td></tr><tr><th> </th><td><input type="hidden" name="refer" value="" />';
html+='<input type="hidden" name="pmsubmit" id="pmsubmit" value="true" />';
html+='<input type="submit" name="pmsubmit_btn" id="pmsubmit_btn" value="发送" onclick="msg_act('+i+')" />';
html+='</td></tr></table>';
html+='<input type="hidden" name="title" id="title" value="'+title+'" /> ';
html+='<input type="hidden" name="formhash" id="formhash" value="'+formhash+'" /> ';
html+='<span class="f_right"><a href="javascript:ajax_hide()">关闭</a></span>';
jQuery('#ajax_show').html(html);
}
function msg_act(i){
var message=jQuery('#message').val();
var pmsubmit=jQuery('#pmsubmit').val();
var formhash=jQuery('#formhash').val();
var title=jQuery('#title').val();
message='[color=Magenta] 来自考试网关于[url=http://www.gzautosky.cn/know/my_data.php] "'+title+'" [/url]资料的意见[/color]\n '+message;
//alert(message+pmsubmit+formhash);
jQuery.ajax({
url:"/my/cp.php?ac=pm&op=send&touid="+i+"&pmid=0",
type:'POST',
data:{message:message,pmsubmit:pmsubmit,formhash:formhash,vcar_msg:1},
dataType: "html",
success: function(data){
if(data==1){jQuery('#ajax_show').html('发送成功,谢谢你宝贵意见.');
}else if(data==2){
jQuery('#ajax_show').html('发布过快,请稍后.');
}
else if(data==3){
jQuery('#ajax_show').html('发布信息为空,请认真填写.');
}
else if(data==4){
jQuery('#ajax_show').html('该用户处于黑名单中.');
}
else{
jQuery('#ajax_show').html('发送失败.');
}
setTimeout("ajax_hide()",1000);
//jQuery('#ajax_show').html(suseccs);
}
});
}
没有评论 »
还没有评论。
评论 RSS Feed。 TrackBack URL
发表评论