mail 163 前台源码

  • e0_701450
    了解作者
  • 400.2KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-14 01:59
    上传日期
最近需要自己写js架构 于是下载mail163的前端,学习其自定义的js架构
mail1631前台代码.rar
内容介绍
<html> <head> <title>极速3.5</title> <script language="javascript" src="product163.js"></script> <script language="javascript" src="public163.js"></script> <link href="global.css" rel="stylesheet" type="text/css" id="globeCss" /> <link href="skin_163blue.css" rel="stylesheet" type="text/css" id="styleCss" /> <style> .gOpt .gOpt-hf-area .zf-m .tip-popup { width:470px; margin-bottom:10px } .gOpt .gOpt-hf-area .zf-m .tip-popup label { display:block; line-height:16px; margin-bottom:5px } .gOpt .gOpt-hf-area .zf-m .tip-popup span { padding-top:3px; display:block } .gOpt .gOpt-hf-area .g-table-optcomm .zf-m textarea { width:482px; *width:470px } </style> <script language="javascript"> var style= '1'; var uid = 'txbhcml@163.com'; var suid = '000774786268636d6c3136332e636f6d'; var sid = 'BCheUCECvRFrgImyNZCCRCZBtwuAnYSC'; var readUrl = "read/readhtml.jsp?ssid=f7iuzUnTyZAuMcGGSEEaTckafgyMkWnCDDd6tNd8teY%3d"; var host = location.hostname; var searchid = "true"; var domain = "163.com"; var limitMessageCount = "999999999"; var topMailCount = '10'; var isUnlimit = true; var gInitWebimInter = 1000; var gFolderImgUrl="http://mimg.126.net/p/js35/lib/img/for_ibx/"; var gFolderSysUrl="http://mimg.126.net/p/images/ibx/cx/"; var gVer = "js35"; var gBulid = "1004281608"; var gMailAssistVersion = "1.0.0.8"; if(domain=='yeah.net'){searchid = false;} var pass2 = "false"; var allowRecallBeforeDays = "15"; var attrs = { common:{sid : sid,uid : uid,cosid : "97",now : 1274157135177,style : style}, user : {'user_creation_date':new Date(2005,5,28),'addo':0,'afterdel':1,'aftersend_saveaddr':1,'app_city':58238,'autosavedraft':1,'birthday':new Date(1,0,1,8,0,0),'city':'5','clearinterval':0,'def_sec_folder':null,'displaysender':0,'firstpage':0,'gender':'0','helptips':'00019111','huodong_option':'00000110','junkfilter':0,'junkfriend':1,'junkpic':1,'junkrefuse':1,'keepspamdays':0,'maxlist':20,'mms_enabled':9,'nick_name':'','ntes_contact':'00000000','ntes_defaultsender':null,'ntes_global':'00001100','ntes_htmlbar':1,'ntes_labs':'0010000000000000000100000000000000000000000000000000000000000000','ntes_letter':'00000000','ntes_option':'00000000','op_readreceipt':0,'refuselist':'admin@cyworld.com.cn, admin3@cyworld.com.cn, admin4@cyworld.com.cn, admin2@cyworld.com.cn, admin7@cyworld.com.cn, admin8@cyworld.com.cn, clxu@minigui.org, solingee@163.com, vip163s@163.net, vrrsryvn56212@qq.com','replyf':0,'safelist':null,'save_sent':0,'showmusicbar':0,'style':1,'true_name':'梦龙'}, cos : {'pref_quota':999999999,'perm_func_netfolder':true,'perm_func_address_book':true,'perm_func_schedule_send':true,'perm_func_antivirus':true,'perm_mail_webmail':true,'perm_mail_pop':true,'perm_mail_smtp':true,'perm_mail_imap':false,'perm_mail_filter':true,'perm_webmail_sendmail':true,'perm_webmail_html_editor':true,'perm_webmail_signature':true,'pref_webmail_max_signatures':10,'perm_webmail_pop_agent':true,'perm_webmail_mail_sorting':true,'perm_webmail_mail_get_rfc':true,'perm_webmail_disp_pref':true,'perm_webmail_mail_search':true,'pref_smtp_max_num_rcpts':40,'pref_smtp_max_send_mail_size':70000,'pref_alias_num':3,'perm_mail_sms_notify':true,'perm_smtp_auth_disabled':false,'perm_mail_autoreply':true,'perm_mail_autoforward':true,'perm_ssl_pop':true,'perm_ssl_smtp':true,'perm_ssl_imap':false,'perm_ssl_http':false,'perm_filter_anti_spam':true,'pref_antivirus_engine':'','pref_smtp_max_recv_mail_size':70000,'pref_smtp_max_mail_count':999999999,'pref_webmail_style':'0=1&0=2&0=3&0=10&0=35&0=1','perm_webmail_voicemail':false,'perm_webmail_videomail':false,'pref_netfolder_quota':280,'pref_netfolder_max_file_size':51200,'pref_netfolder_max_file_count':10000,'pref_flow_limit':'nf:2048,nfrcv:1740,nfsnd:1330,smtp:400,web:500,webrcv:400,websnd:300,c_pop:350','perm_share':false,'perm_advanced_imaging':true,'pref_package_download':1,'pref_webmail_faces':'@all','perm_mail_fulltext_search':true,'perm_ssl':true,'perm_webmail_mmmail':true,'pref_mail_archive_save_days':0,'perm_recall_mail':false,'perm_func_trs':false,'pref_trs_quota':1024,'pref_trs_max_file_size':1048576,'pref_trs_max_file_count':200,'pref_trs_file_expiry':7,'pref_max_folder_nest_level':5,'pref_mail_folders':100,'pref_mail_rules':100,'pref_pab_contacts':2000,'pref_pop_agent_accounts':8,'pref_upload_size':-1,'pref_webmail_risky_suffix':''}, folders : [{'id':1,'name':'收件箱','flags':{'system':true},'stats':{'messageCount':101,'messageSize':145524570,'unreadMessageCount':0,'unreadMessageSize':0}},{'id':2,'name':'草稿箱','flags':{'system':true},'stats':{'messageCount':0,'messageSize':0,'unreadMessageCount':0,'unreadMessageSize':0}},{'id':3,'name':'已发送','flags':{'system':true},'stats':{'messageCount':85,'messageSize':263472290,'unreadMessageCount':0,'unreadMessageSize':0}},{'id':4,'name':'已删除','flags':{'system':true},'autodelkeepday':7,'stats':{'messageCount':8,'messageSize':63651,'unreadMessageCount':3,'unreadMessageSize':12226}},{'id':5,'name':'垃圾邮件','flags':{'system':true},'autodelkeepday':7,'stats':{'messageCount':1,'messageSize':27102,'unreadMessageCount':1,'unreadMessageSize':27102}},{'id':7,'name':'广告邮件','flags':{'system':true},'autodelkeepday':7,'stats':{'messageCount':0,'messageSize':0,'unreadMessageCount':0,'unreadMessageSize':0}},{'id':1164197450,'name':'1986menglong@163.com','flags':{'pop':true},'stats':{'messageCount':0,'messageSize':0,'unreadMessageCount':0,'unreadMessageSize':0}},{'id':1166575788,'name':'wo.menglong@163.com','flags':{'pop':true},'stats':{'messageCount':0,'messageSize':0,'unreadMessageCount':0,'unreadMessageSize':0}}], senders : {'audited':[],'unaudited':[]}, popAccounts : [{'id':100,'server':'pop.163.com','port':110,'username':'1986menglong','fid':1164197450,'timeout':90,'color':5,'leaveOnServer':false,'autoSync':true,'authenticated':true,'stats':{'code':'S_OK','startTime':new Date(2010,4,18,10,43,59,205),'endTime':new Date(2010,4,18,10,43,59,229),'messageCount':0,'messageSize':0,'receivedMessageCount':0,'receivedMessageSize':0,'skippedMessageCount':0,'skippedMessageSize':0}},{'id':1,'server':'pop.163.com','port':110,'username':'wo.menglong','fid':1166575788,'timeout':90,'color':1,'leaveOnServer':true,'autoSync':true,'authenticated':true,'stats':{'code':'S_OK','startTime':new Date(2010,4,18,10,43,59,230),'endTime':new Date(2010,4,18,10,43,59,247),'messageCount':0,'messageSize':0,'receivedMessageCount':0,'receivedMessageSize':0,'skippedMessageCount':0,'skippedMessageSize':0}}], alias : [] }; function fGetTopMenu(o) { UI.menu.getJs35Menu('menuTopMenu', {width : 100, items : [{text : '网易贺卡', link : 'http://cards.163.com/'},{text : '网易相册', link : 'http://photo.163.com/'},{text : '交友约会', link : 'http://yuehui.163.com'},{text : 'VIP尊贵邮', link : 'http://vip.163.com/'},{text : '188财富邮', link : 'http://www.188.com/'},{text : '企业邮箱', link : 'http://qiye.163.com/'},{text : '网易所有产品', link : 'http://sitemap.163.com/'}]}, o); } var gTxtKeyValue = "搜索邮件"; if(searchid && searchid == "true") { gTxtKeyValue = "支持邮件全文搜索"; } var fixAttrs = {afterdel:1,replyf:0,addo:0,displaysender:0,maxlist:20,refuselist:"",safelist:"",op_readreceipt:0,ntes_global:"0000000000000000",ntes_contact:"0000000000000000",ntes_letter:"0000000000000000",ntes_option:"0000000000000000",helptips:"0000000000000000"}; for(var a in fixAttrs) { if(typeof fixAttrs[a] == "number" && isNaN(attrs.user[a])) { attrs.user[a] = fixAttrs[a]; } else if(attrs.user[a] == null) { attrs.user[a] = fixAttrs[a]; } } if(!attrs.user.ntes_defaultsender) { attrs.user.ntes_defaultsender = uid; } if(document.cookie.indexOf("lockscreen=1") > -1) { document.cookie = "lockscreen=0"; top.location.href = "/js3/logout.jsp?sid="+ sid +"&uid=" + uid; } </script> </head> <body> <table class="gFtable"> <thead> <tr> <td class="gFToptd"><div
评论
    相关推荐