锘?(function () { myp2c_sm_tool_build(); // $.ajax({ url: '/_home/home_index_ajax.ashx', data: { action: 'GetAppAds', said: _json_base.said, TabId: _json_base.TabId }, type: 'POST', dataType: 'text', cache: false, success: function (result, s, r) { if (result != '') { $(document.body).append(result); } } }); }); //鎵撳紑妯″潡闈㈡澘 function myp2c_OpenManageModule(btn, sSkinModuleId) { myp2c_OpenDlg(btn, '绠$悊妯″潡鍐呭', 800, 568, _json_base.p_mc_admin.replace('{SkinModuleId}', sSkinModuleId)); } //妯″潡鍐呭宸ュ叿鎸夐挳 function myp2c_sm_tool(sSkinModuleId, bAdmin) { if (bAdmin) { return "
" + "" + "
 
" + "" + "
"; } else { return "
" + "" + "
 
" + "
"; } } function myp2c_sm_tool_build() { var bAdmin = (_json_base.radmin == '1'); if (_json_base.ra == '1' || bAdmin) { $("div[id^='myp2c_sm_div_']").each(function (index) { var me = $(this); me.append(myp2c_sm_tool(me.attr('id').replace('myp2c_sm_div_', ''), bAdmin)); }); } }