123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536 |
- Namespace.register("U.Dk");
- U.Dk.DiskLoad = function (userid, dirid) {
-
- var _fileinfo,
- _diskcontentdiv,
- _diskdiv,
- _dirid = dirid,
- _isFirst,
- _loginuserid = US.userInfo.userid || US.NU,
- _arriveDir,
- _diskinfo = U.Dk.DiskOperatingSwitch(userid);
-
- _diskdiv = $("#UD_SYW_" + userid)[0];
-
- _diskcontentdiv = $("#UD_SYWT", _diskdiv)[0];
- if (userid) {
-
- if (_diskinfo == null) {
- U.Dk.GetUserDisk(userid, dirid, _diskdiv, _diskcontentdiv);
- }
-
- else if (_diskinfo[0] && _diskinfo.pdiv) {
- U.Dk.Size(_diskdiv);
- _diskcontentdiv = $("#UD_SYWLTX", _diskinfo.pdiv)[0];
- _diskcontentdiv.innerText = "";
- U.Dk.LL.XWPDH([{ UserallDirectoryName: "我的协同", UserDirectoryID: "11111111-1111-1111-1111-111111111111" }, { UserallDirectoryName: "他人邀请", UserDirectoryID: "22222222-2222-2222-2222-222222222222"}], null, ["UD_SYWLTXOAIO", "UD_SYWLTXOAI"], _diskcontentdiv, userid);
-
- U.Dk.LL.XWPDH(_diskinfo[0].slice(0, 6), null, ["UD_SYWLCS", "UD_SYWLCF", "UD_SYWLCB", "UD_SYWLCT", "UD_SYWLCY", "UD_SYWLCP"], _diskcontentdiv, userid)
-
- U.Dk.CSHYHWP(_diskinfo);
-
-
-
-
-
- U.Dk.LE.RecordNav([[U.Dk.LE.OpenFileDirectory, [_diskinfo[4][_dirid], userid]]]);
- }
- }
- else {
- alert("没有用户id!");
- }
- }
- U.Dk.GetUserDisk = function (userid, dirid, diskdiv, diskcontentdiv) {
-
- var _loginuserid = US.userInfo.userid || US.NU;
- US.Disk.Disks[userid] = [];
- US.Disk.Disks[userid].pdiv = diskdiv;
-
-
- U.A.Request(US.Auth, ["InitDisk", _loginuserid, userid, dirid], U.Dk.AsynCSXWP, [[diskcontentdiv, true], userid, dirid, _loginuserid]);
- }
- U.Dk.AsynCSXWP = function (r) {
-
- var i,
- context = r.context,
- _userid = context[1],
- _dirid = context[2],
- _loginuserid = context[3],
- _diskinfo = US.Disk.Disks[_userid];
- r = r.value;
- if (r) {
-
- if (_userid != r[1].UserId) {
- $("#UD_SYW_" + _userid)[0].id = "UD_SYW_" + r[1].UserId;
- $("#U_D_" + _userid)[0].id = "U_D_" + r[1].UserId;
- _userid = r[1].UserId;
- }
- US.Disk.Disks[_userid] = _diskinfo;
-
-
- _diskinfo = U.Dk.GUserBL(_userid, _dirid, null, r);
-
-
- if (r[3]) {
- for (i = 0; i < r[3].length; i++) {
- _diskinfo[4][r[3][i].UserDirectoryID] = r[3][i];
- }
- }
- _diskinfo[1]["uid"] = _loginuserid;
- U.Dk.DiskLoad(_userid, _dirid);
- }
- else {
- U.Alert("帐号不存在...");
- $(_diskinfo.pdiv).remove();
- delete US.Disk.Disks[_userid];
- }
- }
- U.Dk.CSHYY = function (UIF, UTF) {
- var _UDOD,
- _userid = UIF.UserId || UIF.UserID,
- _UN = UIF.UserName,
- _UDE = U.D.SY.ET["FL"];
- if (_UDE[_userid]) {
- if (_userid == _UDE["userid"] && !UTF) {
- U.MPlayer.DKCSHYY();
- }
- else {
- U.MPlayer.YYLoad(US.MG, UIF, [[{ "UserallDirectoryName": _UN + "收听列表" }, [], _UDE[_userid]]]);
- }
- return _UDE[_userid];
- }
- else {
- U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetDiskHallData", US.MG, US.NU, 0, 1000], U.Dk.AsynCSHYY, [[$("#UD_SYMMO")[0], true], UIF]);
-
- }
- }
- U.Dk.AsynCSHYY = function (r) {
- var _UDE,
- context = r.context,
- _UIF = context[1],
- _userid = _UIF.UserId || _UIF.UserID;
- r = r.value;
- U.D.SY.ET["FL"][_userid] = r;
- U.Dk.CSHYY(_UIF, true);
- }
- U.Dk.GUserBL = function (userid, dirid, diskdiv, r) {
- var i, _disktree = {},
- _diskdir = US.Disk.InitTree.concat(),
- _diskinfo = US.Disk.Disks[userid];
-
- for (i = 0; i < _diskdir.length; i++) {
- _diskdir[i] = new U.Dk.M.Entity(_diskdir[i][0], _diskdir[i][1], _diskdir[i][2], _diskdir[i][3], _diskdir[i][4], _diskdir[i][5], _diskdir[i][6], _diskdir[i][7], _diskdir[i][8], _diskdir[i][9], _diskdir[i][10], _diskdir[i][11], _diskdir[i][12], _diskdir[i][13], _diskdir[i][14], _diskdir[i][15], _diskdir[i][16]);
- _disktree[_diskdir[i].UserDirectoryID] = _diskdir[i];
- };
- _diskinfo.length = 0;
- _diskinfo.unshift(_diskdir, [((!r[1].UserDirectoryID && r[1].UserId == US.userInfo.userid) ? US.userInfo : r[1]), dirid, userid, diskdiv, "Normal"], null, null, _disktree);
- if (userid == US.userInfo.userid) {
- U.Dk.SGBL(userid, _diskinfo);
- }
- return _diskinfo;
- }
- U.Dk.SGBL = function (userid, UDE) {
- var i, _UME = US.Friend[2];
- if (_UME) {
- for (i = 0; i < _UME.length; i++) {
- UDE[0].splice(6, 0, (UDE[4][_UME[i].GroupManageID] = new U.Dk.M.Entity(_UME[i].GroupManageID, 0, userid, _UME[i].GroupManageName, _UME[i].GroupManageName, "folder", null, U.MT.formatDateToArray(new Date()), U.UP.FFT("folder")[1], 1, null, null, 0, "", _UME[i].GroupManageID)));
- }
- }
- }
- U.Dk.getUserDiskByName = function (username) {
- var i, _userdisk,
- _diskinfo = US.Disk.Disks;
- for (i in _diskinfo) {
- _userdisk = _diskinfo[i][1];
- if (_userdisk && _userdisk[0].UserName == username) {
- return _userdisk[0];
- }
- }
- return {};
- }
- U.Dk.CSHYHWP = function (UDE) {
- if ($("#UD_SYWRZ", UDE.pdiv)[0]) {
- var i, _UAE, _UCB,
- _UDTD,
- _userid = US.userInfo.userid,
- _UDOD = UDE.pdiv,
- _UDSD = $("#UD_SYWRZ", _UDOD)[0],
- _UIF = UDE[1][0],
- _UDED = $("#UD_SYWLTS", _UDOD).Child(),
- _UDAD = $("#UD_SYWLO", _UDOD).Child(), _UDCD = $("div", _UDAD[0]);
-
- _UDCD[0].innerText = _UDED[0].innerText = "";
- $$("img", { "onerror": U.M.ImgError, "title": "点击查看", "src": U.M.GetImgU(_UIF.UserThumbnailImageHead), "onclick": [[U.M.StopBubble], [U.U.I.ViewOtherUserInfo, [UDE[1][2]]]] }, _UDCD[0]);
- $$("img", { "onerror": U.M.ImgError, "title": "点击查看", "src": U.M.GetImgU(_UIF.UserThumbnailImageHead), "onclick": [[U.M.StopBubble], [U.U.I.ViewOtherUserInfo, [UDE[1][2]]]] }, _UDED[0]);
- _UDED[1].innerText = _UDCD[2].innerText = _UIF.UserNickName || _UIF.UserName; _UDCD[3].innerText = _UIF.UserIndividualitysignature || "暂无个人简介";
- if (_UIF.UserId != US.userInfo.userid) {
- _UDCD.addAttrArray({ "onclick": [[U.F.M.AddFriend, [_UIF]]], "style": { "display": "block"} }, 4);
- }
- else {
- _UDCD[4].style.display = "none";
- }
-
-
-
-
-
-
-
-
-
- _UDCD = $("div", _UDAD[3]);
- _UAE = [_UIF.UserDiskSpace + "M", _UIF.FileSize + "B"];
- _UAE[2] = U.UP.GetSfileS(_UAE[0]) - U.UP.GetSfileS(_UAE[1]);
- for (i = 0; i < _UAE.length; i++) {
- _UAE[i] = U.UP.FileSize(_UAE[i]);
- }
- _UDCD[4].innerText = _UAE[2];
- _UDCD[7].innerText = _UAE[1];
- _UDCD[9].innerText = "所有文件:" + _UAE[1];
- _UDCD[10].innerText = "总大小:" + _UAE[0];
-
- _UAE = [[(UDE[1][2] == US.userInfo.userid ? "" : ("回到")) + "我的分享", _UIF.FilesCount], ["好友查看", US.Friend[1] ? (US.Friend[1].length > 999 ? "999+" : US.Friend[1].length) : 0], ["群/讨论组", US.Friend[2] ? (US.Friend[2].length > 999 ? "999+" : US.Friend[2].length) : 0]];
- _UDCD = $("#UD_SYWRTC", _UDOD).Child();
- for (i = 0; i < _UDCD.length - 3; i++) {
- $(_UDCD[i]).addAttrArray({ onclick: [(i ? [U.Dk.LE.RecordNav, ([[[U.Dk.VW.XWPDYH, ([US.Friend[i], _UDSD])]]])] : [U.D.DT.YYDK, (["Disk", { "userid": _userid, "directoryid": US.FG}])])], innerHTML: _UAE[i][0] + "<span>(" + (_UAE[i][1] < 0 ? 0 : _UAE[i][1]) + ")</span>" });
- }
- _UDCD[4].onclick = U.M.apply(_UDCD[4], [[U.Dk.LE.aDomain, [UDE[1][2], UDE]]]);
- _UDCD[3].onclick = U.M.apply(_UDCD[3], [[U.Dk.DI.WPRMZL, [1, null, _userid]]]);
- _UDCD = $("div", $("#UD_SYWRT", _UDOD)[0]);
- _UAE = ["folder", "txt", "uw", "ue"];
- _UDCD[5].onclick = U.Dk.RE.TSXXML;
- for (i = 1; i < 5; i++) {
- _UDCD[i].onclick = U.M.apply(_UDCD[i], [[U.Dk.RE.WPXJWJ, [_UAE[i - 1], null, UDE[1][2]]]]);
- }
- (_UDCD[0].onmousedown = U.M.apply(this, [[U.Dk.UP.SCXWPOP, [_UDCD[0], { "DS": true, "ID": "UD_SYWRTS" }, UDE[1][2]]]]))();
-
- _UDCD = $("div", $("#UD_SYWRY", _UDOD)[0]);
- _UAE = [[U.AFB.DrawBack, ["Disk" + UDE[1][2]]], [U.AFB.GoForward, ["Disk" + UDE[1][2]]]];
- for (i = 0; i < _UAE.length; i++) {
- _UDCD[i].onclick = U.M.apply(_UDCD[i], [_UAE[i]]);
- }
-
- _UDAD = $("#UD_SYWRKZ", _UDOD).Child();
- for (i = 0; i < _UDAD.length; i++) {
- _UDAD[i].onclick = U.M.apply(_UDAD[i], [[i ? U.Dk.HP.XWPDYQH : U.Dk.HP.WPWJPX, (i ? [_UDAD[i], i - 1, UDE[1][2]] : ["UserDirectoryAddTime", U.MT.SizeComparison, UDE[1][2]])]]);
- }
- (_UDAD = $("#UD_SYSXZTSIO", _UDOD)[0]).onclick = U.M.apply(_UDAD, [[U.Dk.S.SSWPBD, [$("input", $(_UDAD).Parent())[0], _UDSD, UDE[1][2]]]]);
- U.Dk.CSHYHWPXS($("#UD_SYWRM", _UDOD)[0], UDE);
- (_UDAD = $("input", _UDOD)[2]).onclick = U.M.apply(this, [[U.Dk.VW.XWPDYLXZ, [_UDAD, _UDSD, UDE[1][2]]]]);
-
- $("#UD_SYWM", _UDOD)[0].style.display = "none";
- (_UDAD = $(_UDSD)).addAttrArray({ "onmouseup": [(_UAE = [U.Dk.RM.WPYJCD, [_UDAD[0], null, null, null, UDE[1][2]]])], "onmousedown": [_UAE] });
- _UDOD.onclick = U.M.apply(_UDAD, [[U.Dk.RM.WPYJCD, [null, null, null, null, UDE[1][2]]]]);
- }
- }
- U.Dk.CSHYHWPXS = function (UDOD, UDE) {
- var _UDTD = $(UDOD),
- _UDAD = _UDTD.childg(),
- _UAE = ["",
- [null, U.M.apply(this, U.Dk.HP.WPWJNPX), UDE[1][2]], "",
- [null, U.M.apply(this, [[U.Dk.HP.WPWJPXLX, ["UserName"]]]),
- UDE[1][2]],
- [null, U.M.apply(this, [[U.Dk.HP.WPWJPXLX, ["UserDirectoryExtendType"]]]),
- UDE[1][2]],
- ["UserDirectorySize", U.UP.IsSizeS, UDE[1][2]], ["UserDirectoryAddTime",
- U.MT.SizeComparison, UDE[1][2]]];
- _UCB = U.M.apply(this, [[U.Dk.HP.DXSTSY, [_UDTD[0], _UDTD.next()[0], UDE, 1]]]);
- for (i = 0; i < _UAE.length; i++) {
- (_UDTD = _UDAD[i * 2]).onclick = _UAE[i] ? U.M.apply(_UDTD, [[U.Dk.HP.WPWJPX, _UAE[i]]]) : null; (_UDTD = _UDAD[i * 2 + 1]);
- (_UDTD) && (_UDTD.onmousedown = U.M.apply(this, [[U.D.DragAb, [_UDTD, { tf: true, upcb: _UCB}]]]));
- }
- }
- U.Dk.Size = function (UDOD, userid) {
- var i, _UH, _UW, _UDOD, _UDTD, _UDAD, _UDCD,
- _UGE = US.Disk.Disks;
- for (i in _UGE) {
- if (_UGE.hasOwnProperty(i) && (userid == null || i == userid) && (_UGE[i][2] == null && (_UDOD = _UGE[i].pdiv) && (UDOD == null || UDOD == _UDOD) && $(_UDOD).Parent({ usform: "true" }).style.display != "none")) {
- _UDTD = $("#UD_SYWRM", _UDOD);
- _UDOD = $(_UDOD);
- _UDAD = _UDOD.childg()[0];
- _UDAD = $(_UDAD).Child();
- _UW = _UDOD[0].offsetWidth;
- (_UDOD = _UDAD[2]).style.width = (_UW = _UW - _UDAD[0].offsetWidth - 3) + "px";
- _UDAD = $(_UDOD).childg()[1];
- _UDAD = $(_UDAD).Child();
- _UDAD[2].style.height = (_UH = _UDOD.offsetHeight - _UDAD[2].offsetTop - 2) + "px";
- $(_UDAD[0]).Child()[3].style.width = _UW - 500 + "px";
- (_UGE && _UGE[1]) && (U.Dk.HP.DXSTSY(_UDTD[0], _UDTD.next()[0], _UGE));
- }
- }
- }
- U.Dk.DiskOperatingSwitch = function (userid, username) {
- userid = userid || US.userInfo.userid;
- if (userid) {
- var i, _userinfo,
- _diskinfo = US.Disk.Disks;
- if (_diskinfo && !_diskinfo[userid]) {
- for (i in _diskinfo) {
- if (_diskinfo[i] && _diskinfo[i][1] && _diskinfo[i][1][0] && _diskinfo[i][1][0].UserName == username) {
- userid = _diskinfo[i][1][0].UserId;
- }
- }
- }
- US.Disk.UserDisk = _diskinfo[userid];
- return _diskinfo[userid];
- }
- }
- U.Dk.LTWP = function (UDID, UDE) {
-
-
-
-
-
-
- var _fileinfo,
- _diskcontentdiv,
- _diskdiv,
- _dirid = dirid,
- _loginuserid = US.userInfo.userid || US.NU,
- _diskinfo = U.Dk.DiskOperatingSwitch(userid);
-
- if (_diskinfo && _diskinfo.pdiv) {
- _diskdiv = _diskinfo.pdiv;
- }
- else {
- _diskdiv = $((obj ? "#UD_SYWO_" : "#UD_SYW_") + userid)[0];
- if (_diskinfo) {
- _diskinfo.pdiv = _diskdiv
- }
- }
-
- _diskcontentdiv = $("#" + (obj ? "UD_SYWOCRC" : "UD_SYWT"), _diskdiv)[0];
-
- if (userid || (!U.U.L.isLogin(3))) {
-
- if (_diskinfo == null) {
- U.Dk.GetUserDisk(userid, dirid, _diskdiv, _diskcontentdiv, obj);
- }
-
- else if (_diskinfo[0] && _diskinfo.pdiv) {
- (obj ? U.Dk.PbSize : U.Dk.Size)(_diskdiv);
- if (obj) {
- _diskinfo[2] = obj;
- U.Dk.LTWPDH(obj, _diskinfo);
- U.Dk.SYWPBJYH(_diskinfo[0].slice(5), $("#UD_SYWOCLDU", _diskinfo.pdiv)[0]);
- }
- else {
- _diskcontentdiv = $("#UD_SYWLTX", _diskinfo.pdiv)[0];
- _diskcontentdiv.innerText = "";
- U.Dk.LL.XWPDH(_diskinfo[0].slice(0, 6), null, ["UD_SYWLCS", "UD_SYWLCF", "UD_SYWLCB", "UD_SYWLCT", "UD_SYWLCY", "UD_SYWLCP"], _diskcontentdiv, userid)
-
- U.Dk.CSHYHWP(_diskinfo);
- _diskcontentdiv = $("#UD_SYWRZ", _diskinfo.pdiv)[0];
- }
- (dirid.length == 36) && (dirid = _diskinfo[0].objIndexOf({ "UserDirectoryID": dirid }));
- dirid = dirid < 0 ? _dirid : dirid;
- if (U.Ut.isString(_dirid) && (dirid == -1 || dirid > 5)) {
- _fileinfo = _diskinfo[4][_dirid];
-
- if (_fileinfo.filetype) {
- U.Dk.LE.RecordNav[[U.Dk.LE.OpenFileDirectory, [_diskinfo[4][_fileinfo.UserDirectoryParentID], userid]]];
- U.Dk.LE.OpenFileDirectory(_diskinfo[4][_dirid], userid);
- }
-
- else {
- U.Dk.LE.RecordNav[[U.Dk.LE.OpenFileDirectory, [_diskinfo[4][_dirid], userid]]];
- }
- }
- else if (Guid.isGuid(dirid) || Guid.isGuid(_dirid)) {
- U.Dk.LE.RecordNav([[U.Dk.LE.OpenFileDirectory, [_$(_diskinfo[0]).Select({ "UserDirectoryParentID": _dirid }), { UserDirectoryID: _dirid }, userid]]]);
- }
- else {
- _fileinfo = _diskinfo[2] ? ["UD_SYWOC", dirid < 0 ? 0 : dirid - 1] : ["UD_SYWLTXO", dirid < 0 ? 1 : dirid];
- if (_fileinfo[0] == "UD_SYWOC") {
- _fileinfo[0] = $("#" + _fileinfo[0], _diskinfo.pdiv).Child()[_fileinfo[1]].onclick();
- }
- else {
- _fileinfo[0] = $("#" + _fileinfo[0], _diskinfo.pdiv).childg()[_fileinfo[1]];
- _fileinfo[0] = $(_fileinfo[0]).Child()[0].onclick();
- }
- }
- }
- }
- }
- U.Dk.LTWPDH = function (UDE, UGE) {
- if ($("#UD_SYWOC")[0], UGE.pdiv) {
- var i,
- _UDKD = UGE.pdiv,
- _UDTD = $("#UD_SYWOC", _UDKD),
- _UDOD = $("div", _UDTD[0]),
- _UAE;
-
- for (i = 0; i < 5; i++) {
- _UDTD = _UDOD[i * 4 + 3];
- (_UDTD = $(_UDTD).Parent()).onclick = U.M.apply(_UDTD, [[U.Dk.LL.MRHYHWP, [_UDTD, (i ? i + 1 : 6), UGE[1][2]]]]);
- }
-
- _UDOD = $("#UD_SYWOM", _UDKD).Child();
- _UDCD = $("div", _UDOD[1]); _UDCD[1].innerText = UDE["UserDirectoryName"];
- _UDCD[5].innerText = "分类:" + ((UDE.Parent || "").UserDirectoryName || "学习系统");
- _UDCD = $("div", _UDCD[6]); _UAE = [UDE.ACF, UGE[1][0].FilesCount, UDE.DCF];
- for (i = 0; i < 3; i++) {
- _UDCD[i * 3 + 2].innerHTML = _UAE[i];
- }
-
- (_UDAD = $("#UD_SYWOMCSI", _UDKD)[0]).onclick = U.M.apply(_UDAD, [[U.Dk.S.SSWPBD, [$("input", $(_UDAD).Parent())[0], $("#UD_SYWOCRC", _UDKD)[0], UGE[1][2]]]]);
- _UDCD = $("div", _UDOD[2]);
- _UAE = [[U.Dk.RE.WPXJWJ, ["folder", (_UDTD = _UDKD), UGE[1][2]]],
- [U.Dk.RE.WPXJWJ, ["uw", _UDTD, UGE[1][2]]],
- [U.Dk.RE.WPXJWJ, ["ue", _UDTD, UGE[1][2]]],
- [U.M.StopBubble], [U.Dk.HP.XWPDYQH, [_UDCD[5], 0, UGE[1][2]]],
- [U.Dk.HP.XWPDYQH, [_UDCD[6], 1, UGE[1][2]]]];
- U.Dk.CSHYHWPXS($("#UD_SYWRMO", _UDKD)[0], UGE);
- (_UDCD[0].onmousedown = U.M.apply(_UDCD[0], [[U.Dk.UP.SCXWPOP, [_UDCD[0], { "ID": "UD_SYWRTSO", "DS": true }, UGE[1][2]]]]))();
- for (i = 1; i < _UDCD.length; i++) { _UDCD[i].onclick = U.M.apply(_UDCD[i], [_UAE[i - 1]]); }
- (_UDAD = $("input", _UDKD)[1]).onclick = U.M.apply(this, [[U.Dk.VW.XWPDYLXZ, [_UDAD, $("#UD_SYWOCRC", _UDKD)[0], UGE[1][2]]]]);
-
- (_UDCD = $("#UD_SYWOCRC", _UDKD)[0]).onmousedown = _UDCD.onmouseup = U.M.apply(_UDCD, [[U.Dk.RM.WPYJCD, [_UDCD, null, null, null, UGE[1][2]]]]);
- $("#UD_SYWMO", _UDKD)[0].onclick = _UDTD.onclick = U.M.apply(_UDTD, [[U.Dk.RM.WPYJCD, [null, null, null, null, UGE[1][2]]]]);
- U.AFB.RGoL("Disk" + UGE[1][2]);
- }
- }
- U.Dk.PbSize = function (UDOD, UDID) {
- var i, _UH, _UW, _UDOD, _UDAD, _UDE,
- _UGE = US.Disk.Disks;
- for (i in _UGE) {
- if (_UGE.hasOwnProperty(i) && (_UDE = _UGE[i]) && _UDE[2] && ((UDID == null || UDID == i)) && ((UDOD == null || UDOD == _UDE.pdiv) && (_UDOD = _UDE.pdiv))) {
- _UDOD = $(_UDOD);
- _UDAD = _UDOD.Child();
- _UH = _UDOD[0].offsetHeight;
- _UW = _UDOD[0].offsetWidth;
- _UDAD[2].style.height = _UH - 71 + "px";
- _UDAD = $(_UDAD[2]).Child();
- _UDAD[2].style.width = _UW - _UDAD[0].offsetWidth - 6 + "px";
- _UDAD = $(_UDAD[2]).Child();
- (_UDE) && (U.Dk.HP.DXSTSY(_UDAD[0], _UDAD[1], _UDE));
- _UDAD[1].style.height = _UH - _UDAD[1].offsetTop - 71 + "px";
- }
- }
- }
- U.Dk.SYWPBJYH = function (UDE, UDOD) {
- var i, j = 0,
- _UAE = {},
- _UDFD = $$("frag");
- UDOD.innerText = "";
- for (i = 0; (i < UDE.length && j < 8); i++) {
- if (UDE[i]["UserId"] && !_UAE[UDE[i]["UserId"]]) {
- $$("img", { "onerror": U.M.ImgError, "title": UDE[i]["UserNickName"] || UDE[i]["UserName"], "src": U.M.GetImgU(UDE[i].UserThumbnailImageHead), "onclick": [[U.M.StopBubble], [U.U.I.ViewOtherUserInfo, [UDE[i].UserId]]] }, _UDFD);
- _UAE[UDE[i]["UserId"]] = true; j++;
- }
- }
- UDOD.appendChild(_UDFD);
- }
|