栏目介绍
   凤凰时尚大型图表栏目《图有其表》,将每一个或热门或经典的时尚话题,用图表为你精彩呈现!
未婚离婚再婚的女人都想要一套Vera Wang婚纱…[详细]
Nicolas Ghesquière成为LV路易威登设计总监…[详细]
土豪的前世今生,时尚和你做朋友好吗…[详细]
';
}else{
msg = '
';
}
}
msg += '
' + decodeURIComponent(sid.substr()) + ' |
我的微博 |
个人中心 |
退出';
XM(prefix + "Login").style.display = 'none';
XM(prefix + "Logined").innerHTML = msg;
XM(prefix + "Logined").style.display = '';
if (prefix == 'spec') {
var _logined = getElementsByClassName(XM(prefix + "Logined"), 'div', 'view');
var _aed = _logined[0].getElementsByTagName('a');
_aed[0].onclick = function () {
_this.viewSpecComment();
}
_aed[1].onclick = function () {
_this.viewSpecComment();
}
}
},
copy2Clipboard: function () {
var _this = this;
if () {
window.clipboardData.clearData();
window.clipboardData.setData("Text", decodeURIComponent());
} else if (navigator.userAgent.indexOf("Opera") != -1) {
window.locations = decodeURIComponent();
} else if () {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
} catch () {
alert("您的firefox安全限制限制您进行剪贴板操作,请打开'about:config'将 signed.applets.codebase_principal_support'设置为true'之后重试,相对路径为firefox根目录 /greprefs/all.js");
return false;
}
var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance();
if () return false;
var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance();
if () return false;
trans.addDataFlavor('text/unicode');
var str = new Object();
var len = new Object();
var str = Components.classes["@mozilla.org/supports-string;1"].createInstance();
var copytext = decodeURIComponent();
str.data = copytext;
trans.setTransferData("text/unicode", str, copytext.length * 2);
var clipid = Components.interfaces.nsIClipboard;
if () return false;
clip.setData(trans, null, clipid.kGlobalClipboard);
} else {
alert("你的浏览器不支持复制功能,请手工复制评论吧。");
return false;
}
alert("已复制,粘贴发给好友一起分享吧。");
},
cmtSupport: function (str, cmtId) {
var _this = this;
var t = new Date().getTime();
var updown = str + cmtId;
var num = XM().innerHTML;
XM().innerHTML = parseInt() + 1;
_this.getScriptForCmt("http://comment.ifeng.com/vote.php?job=" + str + "&docUrl=" + encodeURIComponent() + "&cmtId=" + cmtId + "&t=" + t);
return false;
},
rpclose: function () { //关闭回复
var _this = this;
XM().innerHTML = "";
XM().value = "";
},
reply: function () { //回复
var _this = this;
var rpid = 'rp' + id;
if (XM().value != "") {
XM(XM().value).innerHTML = "";
}
var reply = [
'
',
'
',
'
',
'
',
'
',
'
',
'
所有评论仅代表网友意见,凤凰网保持中立
',
'
',
'',
'
',
'
',
'
'
];
reply = reply.join("");
XM().innerHTML = reply;
XM().value = rpid;
if (sid && sid.length > 32) {
_this.specUserLogin();
}
var re_div = getElementsByClassName(XM(), 'div', 'close');
re_div[0].onclick = function () {
_this.rpclose();
}
XM(rpid + 'Sub').onclick = function () {
return _this.specCheckInfo();
}
XM(rpid + '_frm').getElementsByTagName('input')[4].onclick = function () {
_this.reguser();
}
XM(rpid + '_content').onclick = function () {
_this.specChangeBox();
}
XM('sf' + id).onclick = function () {
_this.specChkLogin(rpid + 'cmt', rpid);
}
},
getScriptForCmt: function (src, callback) {
var _this = this;
var head = document.getElementsByTagName("head")[0];
var js = document.createElement("script");
js.setAttribute("src", src);
js.onload = js.onreadystatechange = function () {
if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") {
head.removeChild();
if () {
callback.apply();
}
}
}
head.appendChild();
},
GetSpecCmtUserImg: function (username, blog) { //获取用户头像
var img_domian = 'http://ucimg.ifeng.com/upload';
var key = md5(strtolower());
var dir_1_md = substr(key, 0, 16);
var dir_1 = sprintf('%u', crc32());
dir_1 = dir_1 - Math.floor(dir_1 / 255) * 255;
var dir_2_md = substr(key, 16);
var dir_2 = sprintf('%u', crc32());
dir_2 = dir_2 - Math.floor(dir_2 / 255) * 255;
var filename = dir_1_md;
var full_path = img_domian + "/" + dir_1 + "/" + dir_2 + "/" + dir_1_md;
if (blog == true) {
full_path += '_1';
}
return full_path + '.jpg';
},
SpecCmtList: function () { //输出网友评论内容
var _this = this;
var msg = '';
if(strs && strs!='' && strs!=null){
msg = strs;
}else{
msg = commentJsonVarStr___;
}
var jcnt = msg.join_count;
var ccnt = msg.count;
if((ccnt == null) || (ccnt == 0)){
XM().style.display = 'none';
}
for(var m = 0; m < _this.specCmt.length; m++){
if(XM()){
XM().innerHTML = ccnt == null ? 0 : ccnt;
}
}
if(){
var contentCmt = comment_json.countIds;
for(var k=0;k
_this.pagesize ? _this.pagesize : msg.comments.length;
var item = null;
var userurl = cmtId = classstr = userimg = uname = copy = '';
for (var i = 0; i < len; i++) {
item = msg.comments[i];
cmtId = item.comment_id;
uname = item.uname;
userimg = _this.GetSpecCmtUserImg(uname, true);
userurl = 'http://comment.ifeng.com/viewpersonal.php?uname=' + encodeURIComponent();
copy = '凤凰网' + uname + '网友评论:' + comment_json.docName + '[' + item.comment_contents + ']' + comment_json.docUrl;
if (i == len - 1) {
classstr = ' none'
}
var _cmtlist = [
'',
'
',
'
',
'
发表日期:',item.comment_date,'凤凰网',item.ip_from,'网友:
',uname,' ',
'
',item.comment_contents,'
',
'
推荐[
',item.uptimes,'] |
回复 |
复制 ',
'
',
'
'
];
cmtlist = cmtlist + _cmtlist.join("");
}
XM().innerHTML = cmtlist;
}
var _divs = getElementsByClassName(XM(), 'div', 'fuc');
for (var i = 0; i < _divs.length; i++) {
(function () {
var are = _divs[i].getElementsByTagName('a');
var _id = _divs[i].getElementsByTagName('span')[0].id;
_id = _id.substr();
are[0].onclick = function () {
_this.cmtSupport('up', _id);
}
are[1].onclick = function () {
_this.reply();
}
are[2].onclick = function () {
_this.copy2Clipboard(encodeURIComponent());
}
})();
}
},
init: function () {
var _this = this;
if(comment_json.isSpecial == 1 || comment_json.isMatch != 0){
_this.getScriptForCmt("http://comment.ifeng.com/getspecial.php?job=9&format=js&p=1&pagesize=" + _this.pagesize + "&docurl=" + encodeURIComponent(), _this.SpecCmtList);
}else{
if(window.all_datas && window.all_datas!=''){
_this.SpecCmtList();
}else{
_this.getScriptForCmt("http://comment.ifeng.com/get.php?job=1&format=js&p=1&pagesize=" + _this.pagesize + "&docurl=" + encodeURIComponent(), _this.SpecCmtList);
}
}
var sso_username = '';
if (sid && sid.length > 32) {
sso_username = decodeURIComponent(sid.substr());
_this.specUserLogin('spec', sso_username);
} else {
XM().value = comment_json.docUrl;
}
XM().value = comment_json.docName;
XM().value = comment_json.docUrl;
XM().onclick = function () {
_this.specChangeBox('spec');
}
XM().onclick = function () {
_this.specChkLogin('specCmt', 'spec');
}
XM().onclick = function () {
return _this.specCheckInfo('spec');
}
XM().getElementsByTagName('input')[4].onclick = function () {
_this.reguser();
}
if(){
var links = comment_json.links;
for(var q=0;q
更多内容
以下内容与「九州官方网站官网规则须知」同属公开资讯,可按栏目接着查阅相关条目。
本站按公开材料组织页面。需要原文时请核对应栏目发布页。
继续浏览时优先选择同栏目或相近主题,避免被站外镜像带偏。
内容地图
凤凰卫视介绍 / 诚征英才 / 第2期:LV新任设计师 / 首页 / 个人中心 / 免责条款
正文、栏目列表与相关阅读构成完整路径,适合按主题持续查阅。
所有评论仅代表网友意见,九州官方网站官网规则须知保持中立