.badge-box{position:relative; width:205px; height:245px;} .renzheng{ padding:8px; background:url() no-repeat center; /* IE6 */ _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=''); _background-image: none; width:180px; height:220px; +width:196px; +height:236px;} .badge{background:url() no-repeat center; position:absolute; z-index:10; width:80px; height:80px; right:0; bottom:0px; /* IE6 */ _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=''); _background-image: none;} 袖珍小菊花
男, 19岁
try{ var spHostAge = document.getElementById("spHostAge"); if(spHostAge) { var sYear = parseInt("1992年".substring(0,4) || "0",10); var sMonth = parseInt("08月18日".substring(0,2) || "0",10); var sDay = parseInt("08月18日".substring(3,5) || "0",10); spHostAge.innerHTML = (function($intYear, $intMon, $intDay){ $intCurYear = (new Date()).getFullYear(); $intCurMon = (new Date()).getMonth() + 1; $intCurDay = (new Date()).getDate(); if (0 === $intYear) { return -1; } $intAge = $intCurYear - $intYear; if (($intCurMon 江西 南昌
var CustomEvent = { //搭讪或对味 dd_type : "", //头像是否认证 is_Portrait_Verify : "0", dlg : null, //激活 actv : function(){ if("/%BD%5D%D3%EA%D8%FC%D8%FC"=="/index.html"){ Space.Libs.bdDialog.confirm("请先激活您的空间!",{ funcOk :function(){window.location.href = "http://hi.baidu.com/reg/actv";} ,textOk : "确定" ,textCancel : "取消" }); } }, showTipDlg : function(sTitle,sContent){ var diapara = { title: sTitle, width: 350, height: 100, content: "" + sContent + "" }; pop = Space.Libs.bdDialog.createCustomsDialog(diapara); pop.show(); pop.setMiddle(); setTimeout(function () { pop.close(); }, 1500); }, //执行添加好友操作 doAddFrd : function(){ var option = {}; option.word = Session.userName; option.callback = "CustomEvent.callbackForAddFrd"; option.isnotice = 1; option.bdstoken = Session.spToken; option.proxy = Session.spSpaceDomain + '/static/html/proxy.html'; option.from = "profile"; var addFriend = new Space.Pubs.AddFriend(option); addFriend.addNow(); }, //添加好友 addFriend : function(){ //profile模块,加好友按钮的点击量统计 BdUtil.ns_trackerLink('m_20101228_addfrd_clicked', ''); CustomEvent.doAddFrd(); return false; }, //添加好友后的回调 callbackForAddFrd : function(data){ //如果成功,则隐藏添加好友按钮 if(data && data.code == 0) { baidu.dom.removeClass("btnAddFrd","btn-addfrd-normal"); baidu.dom.addClass("btnAddFrd","btn-addfrd-disabled"); baidu.g("btnAddFrd").onclick = function(){return false;}; try{ baidu.g("btnAddFrdTip").style.display = "none"; }catch(_err){} } if(CustomEvent.dlg) {CustomEvent.dlg.close();} CustomEvent.showTipDlg("提示",decodeURIComponent(data.msg)); } }; baidu.dom.ready(function(){ //设置本页面的所有弹层zIndex为最大值:2147483647 Space.Libs.DialogManager.zIndex = "2147483640"; }); 已有 4 人加他为好友 baidu.dom.ready(function(){ if(typeof window.startBaiduHi!="function"){ var jsUrl='/ui/scripts/baiduhi/check_baiduhi.js?v=1.3'; baidu.page.loadJsFile(jsUrl); } }) /**/
男, 19岁
try{ var spHostAge = document.getElementById("spHostAge"); if(spHostAge) { var sYear = parseInt("1992年".substring(0,4) || "0",10); var sMonth = parseInt("08月18日".substring(0,2) || "0",10); var sDay = parseInt("08月18日".substring(3,5) || "0",10); spHostAge.innerHTML = (function($intYear, $intMon, $intDay){ $intCurYear = (new Date()).getFullYear(); $intCurMon = (new Date()).getMonth() + 1; $intCurDay = (new Date()).getDate(); if (0 === $intYear) { return -1; } $intAge = $intCurYear - $intYear; if (($intCurMon 江西 南昌
var CustomEvent = { //搭讪或对味 dd_type : "", //头像是否认证 is_Portrait_Verify : "0", dlg : null, //激活 actv : function(){ if("/%BD%5D%D3%EA%D8%FC%D8%FC"=="/index.html"){ Space.Libs.bdDialog.confirm("请先激活您的空间!",{ funcOk :function(){window.location.href = "http://hi.baidu.com/reg/actv";} ,textOk : "确定" ,textCancel : "取消" }); } }, showTipDlg : function(sTitle,sContent){ var diapara = { title: sTitle, width: 350, height: 100, content: "" + sContent + "" }; pop = Space.Libs.bdDialog.createCustomsDialog(diapara); pop.show(); pop.setMiddle(); setTimeout(function () { pop.close(); }, 1500); }, //执行添加好友操作 doAddFrd : function(){ var option = {}; option.word = Session.userName; option.callback = "CustomEvent.callbackForAddFrd"; option.isnotice = 1; option.bdstoken = Session.spToken; option.proxy = Session.spSpaceDomain + '/static/html/proxy.html'; option.from = "profile"; var addFriend = new Space.Pubs.AddFriend(option); addFriend.addNow(); }, //添加好友 addFriend : function(){ //profile模块,加好友按钮的点击量统计 BdUtil.ns_trackerLink('m_20101228_addfrd_clicked', ''); CustomEvent.doAddFrd(); return false; }, //添加好友后的回调 callbackForAddFrd : function(data){ //如果成功,则隐藏添加好友按钮 if(data && data.code == 0) { baidu.dom.removeClass("btnAddFrd","btn-addfrd-normal"); baidu.dom.addClass("btnAddFrd","btn-addfrd-disabled"); baidu.g("btnAddFrd").onclick = function(){return false;}; try{ baidu.g("btnAddFrdTip").style.display = "none"; }catch(_err){} } if(CustomEvent.dlg) {CustomEvent.dlg.close();} CustomEvent.showTipDlg("提示",decodeURIComponent(data.msg)); } }; baidu.dom.ready(function(){ //设置本页面的所有弹层zIndex为最大值:2147483647 Space.Libs.DialogManager.zIndex = "2147483640"; }); 已有 4 人加他为好友 baidu.dom.ready(function(){ if(typeof window.startBaiduHi!="function"){ var jsUrl='/ui/scripts/baiduhi/check_baiduhi.js?v=1.3'; baidu.page.loadJsFile(jsUrl); } }) /**/