<tbody id="hh3p2"></tbody>
    <blockquote id="hh3p2"><ruby id="hh3p2"><kbd id="hh3p2"></kbd></ruby></blockquote>

      <label id="hh3p2"></label>

      ",""); dojo.byId('applying_certificated_club_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_certificated_club_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_certificated_club_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '俱乐部教练徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_certificated_club_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_certificated_club_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_cga_trainer_certificate(){ var d = new Date(); var num = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid&num="+num, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_cga_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span')!=null){ dojo.byId('span').innerHTML = ''; } if(dojo.byId('span2')!=null){ dojo.byId('span2').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_cga_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function uploading_cga_trainer_certificate(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_cga_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span')!=null){ dojo.byId('span').innerHTML = ''; } }else{ if(dojo.byId('span')!=null){ var d = new Date(); var num = dojo.date.stamp.toISOString(d)+Math.random(); dojo.byId('span').innerHTML = ''; } if(dojo.byId('span2')!=null){ dojo.byId('span2').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_cga_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_cga_trainer_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_cga_trainer_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_cga_trainer_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_cga_trainer_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_cga_trainer_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '中高协教练徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_cga_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_hmt_trainer_certificate(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", handleAs: "json", preventCache: true, load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_hmt_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span5')!=null){ dojo.byId('span5').innerHTML = ''; } if(dojo.byId('span6')!=null){ dojo.byId('span6').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function uploading_hmt_trainer_certificate(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_hmt_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span5')!=null){ dojo.byId('span5').innerHTML = ''; } }else{ if(dojo.byId('span5')!=null){ dojo.byId('span5').innerHTML = ''; } if(dojo.byId('span6')!=null){ dojo.byId('span6').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_hmt_trainer_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_hmt_trainer_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_hmt_trainer_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '港澳台教练徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_hmt_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function uploading_foreign_trainer_certificate(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_foreign_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span7')!=null){ dojo.byId('span7').innerHTML = ''; } }else{ if(dojo.byId('span7')!=null){ dojo.byId('span7').innerHTML = ''; } if(dojo.byId('span8')!=null){ dojo.byId('span8').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_foreign_trainer_certificate(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_foreign_trainer_certificate", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span7')!=null){ dojo.byId('span7').innerHTML = ''; } if(dojo.byId('span8')!=null){ dojo.byId('span8').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_foreign_trainer_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_foreign_trainer_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_foreign_trainer_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '外籍教练徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_foreign_trainer_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_toyota_crown_city_challenge_badge(){ dojo.io.iframe.send({ form: "applying_toyota_crown_city_challenge_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match("ok")==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dojo.byId("tip_desc").innerHTML = tmp; dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId("tip_desc").innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_dazheng_shop_badge(){ dojo.io.iframe.send({ form: "applying_dazheng_shop_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_course_manager_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_course_manager_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_course_manager_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_course_manager_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_course_manager_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '球场总经理徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_course_manager_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_course_manager_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_lawn_expert_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_lawn_expert_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_lawn_expert_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_lawn_expert_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_lawn_expert_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '草坪专家徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_lawn_expert_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_lawn_expert_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_expert_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_expert_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_expert_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_expert_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_expert_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '专家徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_expert_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_expert_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_microblog_gold_medal(){ dojo.io.iframe.send({ form: "applying_microblog_gold_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_blog_gold_medal(){ dojo.io.iframe.send({ form: "applying_blog_gold_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_grade_card_gold_medal(){ dojo.io.iframe.send({ form: "applying_grade_card_gold_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function uploading_toyota_crown_owner_certificate(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_toyota_crown_owner_certificate", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span9')!=null){ dojo.byId('span9').innerHTML = ''; } }else{ if(dojo.byId('span9')!=null){ dojo.byId('span9').innerHTML = ''; } if(dojo.byId('span10')!=null){ dojo.byId('span10').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_toyota_crown_owner_certificate(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_toyota_crown_owner_certificate", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span9')!=null){ dojo.byId('span9').innerHTML = ''; } if(dojo.byId('span10')!=null){ dojo.byId('span10').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_toyota_crown_owner_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_toyota_crown_owner_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_toyota_crown_owner_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '皇冠车主徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_toyota_crown_owner_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function uploading_ct_diamond_card_pic(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_ct_diamond_card_pic", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span11')!=null){ dojo.byId('span11').innerHTML = ''; } }else{ if(dojo.byId('span11')!=null){ dojo.byId('span11').innerHTML = ''; } if(dojo.byId('span12')!=null){ dojo.byId('span12').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_ct_diamond_card_pic(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_ct_diamond_card_pic", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span11')!=null){ dojo.byId('span11').innerHTML = ''; } if(dojo.byId('span12')!=null){ dojo.byId('span12').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_ct_diamond_card_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_ct_diamond_card_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_ct_diamond_card_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_ct_diamond_card_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '电信钻石卡徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_microblog_silver_medal(){ dojo.io.iframe.send({ form: "applying_microblog_silver_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_blog_silver_medal(){ dojo.io.iframe.send({ form: "applying_blog_silver_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_grade_card_silver_medal(){ dojo.io.iframe.send({ form: "applying_grade_card_silver_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function uploading_cga_referee_certificate(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "uploading_cga_referee_certificate", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.toLowerCase().match('ok')==null){ if(dojo.byId('span13')!=null){ dojo.byId('span13').innerHTML = ''; } }else{ if(dojo.byId('span13')!=null){ dojo.byId('span13').innerHTML = ''; } if(dojo.byId('span14')!=null){ dojo.byId('span14').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ console.log(response); return response; } }); }else{ dojo.byId('applying_cga_referee_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_referee_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function removing_cga_referee_certificate(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "removing_cga_referee_certificate", handleAs: "html", load: function(response, ioArgs){ if(response.body.outerHTML.toLowerCase().match('ok')==null){ }else{ if(dojo.byId('span13')!=null){ dojo.byId('span13').innerHTML = ''; } if(dojo.byId('span14')!=null){ dojo.byId('span14').innerHTML = ''; } } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_cga_referee_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_referee_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_cga_referee_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_cga_referee_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_cga_referee_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_cga_referee_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_cga_referee_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '中高协裁判徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_cga_referee_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_cga_referee_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function getarea(val) { var url = 'home.php?mod=spacecp&ac=apply&op=caddie&do=area&val='+val; jQuery.post(url, {}, function(msg) { jQuery('#field').html(msg); dojo.attr('field','value',dojo.attr('hidden_club_place_info2_of_caddie','value')); }); } function ffield(fvalue){ var ty=jQuery("#"+fvalue).val(); jQuery.post('home.php?mod=spacecp&ac=usefiled&op=aj',{pid:ty},function(msg){ jQuery("#"+fvalue+"a").html(msg); if(fvalue=='one'){ dojo.attr('onea','value',dojo.attr('hidden_caddie_working_place_info1_2','value')); } if(fvalue=='two'){ dojo.attr('twoa','value',dojo.attr('hidden_caddie_working_place_info2_2','value')); } if(fvalue=="three"){ dojo.attr('threea','value',dojo.attr('hidden_caddie_working_place_info3_2','value')); } }); } function applying_caddie_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.attr('submitting_caddie_beginning_working_date','value',dijit.byId('caddie_beginning_working_date').get('displayedValue')); dojo.attr('submitting_caddie_birth_date','value',dijit.byId('caddie_birth_date').get('displayedValue')); dojo.io.iframe.send({ form: "applying_caddie_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_caddie_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_caddie_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_caddie_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '球童徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_caddie_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_caddie_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_common_employee_badge(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ dojo.io.iframe.send({ form: "applying_common_employee_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('applying_common_employee_badge_tip').innerHTML = tmp; setTimeout("dojo.byId('applying_common_employee_badge_tip').innerHTML = ''",3000); }else{ dijit.byId("dialog_of_applying_common_employee_badge").hide(); dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '普通从业者徽章的申请成功提交'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); }else{ dojo.byId('applying_common_employee_badge_tip').innerHTML = '需要登录才可以进行此操作'; setTimeout("dojo.byId('applying_common_employee_badge_tip').innerHTML = ''",3000); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); } function applying_taylormade_badge(){ dojo.io.iframe.send({ form: "applying_taylormade_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_china_golf_media_league_badge(){ dojo.io.iframe.send({ form: "applying_china_golf_media_league_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_rolex_member_badge(){ dojo.io.iframe.send({ form: "applying_rolex_member_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_ziji_investment_club_member_badge(){ dojo.io.iframe.send({ form: "applying_ziji_investment_club_member_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_pamirs_spring_water_club_member_badge(){ dojo.io.iframe.send({ form: "applying_pamirs_spring_water_club_member_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_nike_golf_badge(){ dojo.io.iframe.send({ form: "applying_nike_golf_badge", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.byId('tip_desc').innerHTML = '申请成功提交,请耐心等待审核'; dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_microblog_bronze_medal(){ dojo.io.iframe.send({ form: "applying_microblog_bronze_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_blog_bronze_medal(){ dojo.io.iframe.send({ form: "applying_blog_bronze_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function applying_grade_card_bronze_medal(){ dojo.io.iframe.send({ form: "applying_grade_card_bronze_medal", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML.match('ok')==null){ var tmp = response.body.outerHTML.toLowerCase(); tmp = tmp.replace("",""); tmp = tmp.replace("",""); dojo.byId('tip_desc').innerHTML = tmp; dojo.attr('img_tip','src','static/apply_badge/images/tan_cuo.png'); dijit.byId("dialog_of_tip").show(); }else{ dojo.attr('img_tip','src','static/apply_badge/images/tan_dui.png'); dojo.byId('tip_desc').innerHTML = '成功获取此徽章'; dijit.byId("dialog_of_tip").show(); } return response; }, error: function(response, ioArgs){ return response; } }); } function login(){ var d = new Date(); var random_num = dojo.date.stamp.toISOString(d)+Math.random(); dojo.attr('random_num','value',random_num); dojo.io.iframe.send({ form: "login_form", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML != 'var uid=0;'){ console.log('成功登陆'); dijit.byId('dialog_of_login').hide(); }else{ console.log('错误的用户名或密码'); dojo.byId('login_tip').innerHTML = '错误的用户名或密码'; setTimeout("dojo.byId('login_tip').innerHTML = ''",3000); } return response; }, error: function(response, ioArgs){ return response; } }); } function test_login(p){ var d = new Date(); var random_num = dojo.date.stamp.toISOString(d)+Math.random(); dojo.attr('random_num_getting_uid','value',random_num); dojo.io.iframe.send({ form: "getting_uid_form", handleAs: "html", load: function(response, ioArgs){ console.log(response.body.outerHTML); if(response.body.outerHTML != '0'){ eval(p); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } return response; }, error: function(response, ioArgs){ return response; } }); } dojo.addOnLoad(function(){ dojo.connect(dojo.byId("applying_cga_trainer_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_cga_trainer_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.org_cga_trainer_belonging == null){ data.org_cga_trainer_belonging = ''; } if(data.cga_trainer_duty == null){ data.cga_trainer_duty = ''; } if(data.cga_trainer_teaching_strong_point == null){ data.cga_trainer_teaching_strong_point = ''; } dojo.attr('org_cga_trainer_belonging','value',data.org_cga_trainer_belonging); dojo.attr('cga_trainer_duty','value',data.cga_trainer_duty); dojo.attr('cga_trainer_teaching_strong_point','value',data.cga_trainer_teaching_strong_point); if(data.upload_filename_or_not == 1){ dojo.byId('span').innerHTML = ''; dojo.byId('span2').innerHTML = ''; } dijit.byId("dialog_of_applying_cga_trainer_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_certificated_club_badge_button"), "onclick", function(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_club_trainer_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.org_club_trainer_belonging == null){ data.org_club_trainer_belonging = ''; } if(data.club_trainer_duty == null){ data.club_trainer_duty = ''; } if(data.club_trainer_teaching_strong_point == null){ data.club_trainer_teaching_strong_point = ''; } dojo.attr('org_club_trainer_belonging','value',data.org_club_trainer_belonging); dojo.attr('club_trainer_duty','value',data.club_trainer_duty); dojo.attr('club_trainer_teaching_strong_point','value',data.club_trainer_teaching_strong_point); if(data.upload_filename_or_not == 1){ dojo.byId('span3').innerHTML = ''; dojo.byId('span4').innerHTML = ''; } dijit.byId("dialog_of_applying_certificated_club_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_hmt_trainer_badge_button"), "onclick", function(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_hmt_trainer_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.org_hmt_trainer_belonging == null){ data.org_hmt_trainer_belonging = ''; } if(data.hmt_trainer_duty == null){ data.hmt_trainer_duty = ''; } if(data.hmt_trainer_teaching_strong_point == null){ data.hmt_trainer_teaching_strong_point = ''; } dojo.attr('org_hmt_trainer_belonging','value',data.org_hmt_trainer_belonging); dojo.attr('hmt_trainer_duty','value',data.hmt_trainer_duty); dojo.attr('hmt_trainer_teaching_strong_point','value',data.hmt_trainer_teaching_strong_point); if(data.upload_filename_or_not == 1){ dojo.byId('span5').innerHTML = ''; dojo.byId('span6').innerHTML = ''; } dijit.byId("dialog_of_applying_hmt_trainer_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_foreign_trainer_badge_button"), "onclick", function(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_foreign_trainer_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.org_foreign_trainer_belonging == null){ data.org_foreign_trainer_belonging = ''; } if(data.foreign_trainer_duty == null){ data.foreign_trainer_duty = ''; } if(data.foreign_trainer_teaching_strong_point == null){ data.foreign_trainer_teaching_strong_point = ''; } dojo.attr('org_foreign_trainer_belonging','value',data.org_foreign_trainer_belonging); dojo.attr('foreign_trainer_duty','value',data.foreign_trainer_duty); dojo.attr('foreign_trainer_teaching_strong_point','value',data.foreign_trainer_teaching_strong_point); if(data.upload_filename_or_not == 1){ dojo.byId('span7').innerHTML = ''; dojo.byId('span8').innerHTML = ''; } dijit.byId("dialog_of_applying_foreign_trainer_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_course_manager_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_course_manager_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.company_name_of_course_manager == null){ data.company_name_of_course_manager = ''; } if(data.company_address_of_course_manager == null){ data.company_address_of_course_manager = ''; } if(data.personal_desc_of_course_manager == null){ data.personal_desc_of_course_manager = ''; } dojo.attr('company_name_of_course_manager','value',data.company_name_of_course_manager); dojo.attr('company_address_of_course_manager','value',data.company_address_of_course_manager); dojo.attr('personal_desc_of_course_manager','value',data.personal_desc_of_course_manager); dijit.byId("dialog_of_applying_course_manager_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_common_employee_badge_button"), "onclick" ,function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_common_employee_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.company_name_of_practitioner == null){ data.company_name_of_practitioner = ''; } if(data.duty_of_practitioner == null){ data.duty_of_practitioner = ''; } if(data.company_address_of_practitioner == null){ data.company_address_of_practitioner = ''; } if(data.personal_desc_of_practitioner == null){ data.personal_desc_of_practitioner = ''; } dojo.attr('company_name_of_practitioner','value',data.company_name_of_practitioner); dojo.attr('duty_of_practitioner','value',data.duty_of_practitioner); dojo.attr('company_address_of_practitioner','value',data.company_address_of_practitioner); dojo.attr('personal_desc_of_practitioner','value',data.personal_desc_of_practitioner); dijit.byId("dialog_of_applying_common_employee_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_caddie_badge_button"), "onclick" ,function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_caddie_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.club_place_info1_of_caddie == null){ data.club_place_info1_of_caddie = 0; } if(data.club_place_info2_of_caddie == null){ data.club_place_info2_of_caddie = 0; } if(data.caddie_working_place_info1_1 == null){ data.caddie_working_place_info1_1 = ''; } if(data.caddie_working_place_info2_1 == null){ data.caddie_working_place_info2_1 = ''; } if(data.caddie_working_place_info3_1 == null){ data.caddie_working_place_info3_1 = ''; } if(data.caddie_personal_desc == null){ data.caddie_personal_desc = ''; } dojo.attr('province','value',data.club_place_info1_of_caddie); dojo.attr('hidden_club_place_info2_of_caddie','value',data.club_place_info2_of_caddie); getarea(data.club_place_info1_of_caddie); dijit.byId('caddie_beginning_working_date').set('displayedValue',data.caddie_beginning_working_date); dijit.byId('caddie_birth_date').set('displayedValue',data.caddie_birth_date); dojo.attr('one','value',data.caddie_working_place_info1_1); dojo.attr('hidden_caddie_working_place_info1_2','value',data.caddie_working_place_info1_2); ffield('one'); dojo.attr('two','value',data.caddie_working_place_info2_1); dojo.attr('hidden_caddie_working_place_info2_2','value',data.caddie_working_place_info2_2); ffield('two'); dojo.attr('three','value',data.caddie_working_place_info3_1); dojo.attr('hidden_caddie_working_place_info3_2','value',data.caddie_working_place_info3_2); ffield('three'); dojo.attr('caddie_personal_desc','value',data.caddie_personal_desc); dijit.byId("dialog_of_applying_caddie_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_cga_referee_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_cga_referee_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.cga_referee_level == null){ data.cga_referee_level = '初级'; } if(data.cga_referee_judging_game_num == null){ data.cga_referee_judging_game_num = ''; } if(data.cga_referee_native_place == null){ data.cga_referee_native_place = 0; } if(data.cga_referee_working_place == null){ data.cga_referee_working_place = 0; } if(data.cga_referee_personal_desc == null){ data.cga_referee_personal_desc = ''; } dojo.attr('cga_referee_level','value',data.cga_referee_level); dojo.attr('cga_referee_judging_game_num','value',data.cga_referee_judging_game_num); dojo.attr('cga_referee_native_place','value',data.cga_referee_native_place); dojo.attr('cga_referee_working_place','value',data.cga_referee_working_place); dojo.attr('cga_referee_personal_desc','value',data.cga_referee_personal_desc); if(data.upload_filename_or_not == 1){ dojo.byId('span13').innerHTML = ''; dojo.byId('span14').innerHTML = ''; } dijit.byId("dialog_of_applying_cga_referee_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_lawn_expert_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_lawn_expert_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.lawn_expert_name_and_duty == null){ data.lawn_expert_name_and_duty = ''; } if(data.lawn_expert_personal_desc == null){ data.lawn_expert_personal_desc = ''; } dojo.attr('lawn_expert_name_and_duty','value',data.lawn_expert_name_and_duty); dojo.attr('lawn_expert_personal_desc','value',data.lawn_expert_personal_desc); dijit.byId("dialog_of_applying_lawn_expert_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_expert_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_expert_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.expert_name_and_duty == null){ data.expert_name_and_duty = ''; } if(data.expert_personal_desc == null){ data.expert_personal_desc = ''; } dojo.attr('expert_name_and_duty','value',data.expert_name_and_duty); dojo.attr('expert_personal_desc','value',data.expert_personal_desc); dijit.byId("dialog_of_applying_expert_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_toyota_crown_city_challenge_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_toyota_crown_city_challenge_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_dazheng_shop_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_dazheng_shop_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_china_golf_media_league_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_china_golf_media_league_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_toyota_crown_owner_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_toyota_crown_owner_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.upload_filename_or_not == 1){ dojo.byId('span9').innerHTML = ''; dojo.byId('span10').innerHTML = ''; } dijit.byId("dialog_of_applying_toyota_crown_owner_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_ct_diamond_card_badge_button"), "onclick", function(){ var d = new Date(); var str = dojo.date.stamp.toISOString(d)+Math.random(); var xhrArgs = { url: "apply_badge.php?mod=getting_ct_diamond_card_info", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ if(data.upload_filename_or_not == 1){ dojo.byId('span11').innerHTML = ''; dojo.byId('span12').innerHTML = ''; } dijit.byId("dialog_of_applying_ct_diamond_card_badge").show(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); /* dojo.connect(dojo.byId("applying_taylormade_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_taylormade_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); */ /* dojo.connect(dojo.byId("applying_rolex_member_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_rolex_member_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); */ dojo.connect(dojo.byId("applying_ziji_investment_club_member_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_ziji_investment_club_member_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); /* dojo.connect(dojo.byId("applying_pamirs_spring_water_club_member_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_pamirs_spring_water_club_member_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); */ /* dojo.connect(dojo.byId("applying_nike_golf_badge_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_nike_golf_badge(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); */ dojo.connect(dojo.byId("applying_microblog_gold_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_microblog_gold_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_blog_gold_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_blog_gold_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_grade_card_gold_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_grade_card_gold_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_microblog_silver_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_microblog_silver_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_blog_silver_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_blog_silver_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_grade_card_silver_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_grade_card_silver_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_microblog_bronze_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_microblog_bronze_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_blog_bronze_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_blog_bronze_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("applying_grade_card_bronze_medal_button"), "onclick", function(){ var xhrArgs = { url: "apply_badge.php?mod=getting_uid", preventCache: true, handleAs: "json", load: function(data){ console.log(data); if(data.login_or_not == 1){ applying_grade_card_bronze_medal(); }else{ dojo.connect(dojo.byId("login_button"), "onclick", "login"); dijit.byId('dialog_of_login').show(); } }, error: function(error){ console.log(error); } } dojo.xhrGet(xhrArgs); }); dojo.connect(dojo.byId("button_of_closing_dialog_of_tip"), "onclick", function(){ dijit.byId("dialog_of_tip").hide(); }); dojo.connect(dojo.byId("question"), "onchange", function(){ if(dojo.attr('question','value') != 0){ if(dojo.byId('question_id') == null){ var row = dojo.byId('login_table').insertRow(3); row.id = 'question_id'; var cola = row.insertCell(0); var colb = row.insertCell(1); cola.innerHTML = "答案是:"; cola.align = 'right'; colb.innerHTML = ''; colb.align = 'left'; } }else{ dojo.byId('login_table').deleteRow(3); } }); }); 徽章领取
      登录  注册
       
      *所属机构:
      职务:
      教学擅长:
       
      *所属机构:
      职务:
      教学擅长:
      *上传俱乐部教练证书:
       
      *所属机构:
      职务:
      教学擅长:
      *上传港澳台教练证书:
       
      *所属机构:
      职务:
      教学擅长:
      *上传外籍教练证书:
      *公司名称:
      公司地址:
      个人简介:
       
      *公司名称:
      职务:
      公司地址:
      个人简介:
       
      *所属俱乐部:
      工作地点1:
      工作地点2:
      工作地点3:
      个人简介:
       
      *裁判级别:
      *执裁场次:
      籍贯:
      工作地点:
      个人简介:
      *上传中高协裁判证书:
       
      *姓名及职务:
      *个人简介:
       
      *姓名及职务:
      *个人简介:
       
      *上传皇冠车主行驶本:
      *上传电信钻石卡正面图片:
      Email:  立即注册
      密码:
      安全提问:
       自动登录