Ⅰ 我現在需要一個二級聯動城市的下拉菜單asp源代碼,同志們幫幫忙啊!
<SCRIPT LANGUAGE="javaScript">
function Dsy()
{
this.Items = {};
}
Dsy.prototype.add = function(id,iArray)
{
this.Items[id] = iArray;
}
Dsy.prototype.Exists = function(id)
{
if(typeof(this.Items[id]) == "undefined") return false;
return true;
}
function change(v){
var str="0";
for(i=0;i<v;i++){ str+=("_"+(document.getElementById(s[i]).selectedIndex-1));};
var ss=document.getElementById(s[v]);
with(ss){
length = 0;
options[0]=new Option(opt0[v],opt0[v]);
if(v && document.getElementById(s[v-1]).selectedIndex>0 || !v)
{
if(dsy.Exists(str)){
ar = dsy.Items[str];
for(i=0;i<ar.length;i++)options[length]=new Option(ar[i],ar[i]);
if(v)options[1].selected = true;
}
}
if(++v<s.length){change(v);}
}
}
var dsy = new Dsy();
dsy.add("0",["北京市","天津市","河北省","山西省","內蒙古","遼寧省","吉林省","黑龍江省","上海市","江蘇省","浙江省","安徽省","福建省","江西省","山東省","河南省","湖北省","湖南省","廣東省","廣西自治區","海南省","重慶市","四川省","貴州省","雲南省","西藏自治區","陝西省","甘肅省","青海省","寧夏回族自治區","新疆維吾爾自治區","香港特別行政區","澳門特別行政區","台灣省","其它"]);
dsy.add("0_0",["北京","東城區","西城區","崇文區","宣武區","朝陽區","豐台區","石景山區"," 海淀區(中關村)","門頭溝區","房山區","通州區","順義區","昌平區","大興區","懷柔區","平谷區","密雲縣","延慶縣","其他"]);
dsy.add("0_1",["和平區","河東區","河西區","南開區","紅橋區","塘沽區","漢沽區","大港區","西青區","津南區","武清區","薊縣","寧河縣","靜海縣","其他"]);
dsy.add("0_2",["石家莊市","張家口市","承德市","秦皇島市","唐山市","廊坊市","衡水市","滄州市","邢台市","邯鄲市","保定市","其他"]);
dsy.add("0_3",["太原市","朔州市","大同市","長治市","晉城市","忻州市","晉中市","臨汾市","呂梁市","運城市","其他"]);
dsy.add("0_4",["呼和浩特市","包頭市","赤峰市","呼倫貝爾市","鄂爾多斯市","烏蘭察布市","巴彥淖爾市","興安盟","阿拉善盟","錫林郭勒盟","其他"]);
dsy.add("0_5",["沈陽市","朝陽市","阜新市","鐵嶺市","撫順市","丹東市","本溪市","遼陽市","鞍山市","大連市","營口市","盤錦市","錦州市","葫蘆島市","其他"]);
dsy.add("0_6",["長春市","白城市","吉林市","四平市","遼源市","通化市","白山市","延邊朝鮮族自治州","其他"]);
dsy.add("0_7",["哈爾濱市","七台河市","黑河市","大慶市","齊齊哈爾市","伊春市","佳木斯市","雙鴨山市","雞西市","大興安嶺地區(加格達奇)","牡丹江","鶴崗市","綏化市 ","其他"]);
dsy.add("0_8",["黃浦區","盧灣區","徐匯區","長寧區","靜安區","普陀區","閘北區","虹口區","楊浦區","閔行區","寶山區","嘉定區","浦東新區","金山區","松江區","青浦區","南匯區","奉賢區","崇明縣","其他"]);
dsy.add("0_9",["南京市","徐州市","連雲港市","宿遷市","淮安市","鹽城市","揚州市","泰州市","南通市","鎮江市","常州市","無錫市","蘇州市","其他"]);
dsy.add("0_10",["杭州市","湖州市","嘉興市","舟山市","寧波市","紹興市","衢州市","金華市","台州市","溫州市","麗水市","其他"]);
dsy.add("0_11",["合肥市","宿州市","淮北市","亳州市","阜陽市","蚌埠市","淮南市","滁州市","馬鞍山市","蕪湖市","銅陵市","安慶市","黃山市","六安市","巢湖市","池州市","宣城市","其他"]);
dsy.add("0_12",["福州市","南平市","莆田市","三明市","泉州市","廈門市","漳州市","龍岩市","寧德市","其他"]);
dsy.add("0_13",["南昌市","九江市","景德鎮市","鷹潭市","新余市","萍鄉市","贛州市","上饒市","撫州市","宜春市","吉安市","其他"]);
dsy.add("0_14",["濟南市","聊城市","德州市","東營市","淄博市","濰坊市","煙台市","威海市","青島市","日照市","臨沂市","棗庄市","濟寧市","泰安市","萊蕪市","濱州市","菏澤市","其他"]);
dsy.add("0_15",["鄭州市","三門峽市","洛陽市","焦作市","新鄉市","鶴壁市","安陽市","濮陽市","開封市","商丘市","許昌市","漯河市","平頂山市","南陽市","信陽市","周口市","駐馬店市","其他"]);
dsy.add("0_16",["武漢市","十堰市","襄樊市","荊門市","孝感市","黃岡市","鄂州市","黃石市","咸寧市","荊州市","宜昌市","隨州市","恩施土家族苗族自治州","仙桃市","天門市","潛江市","神農架林區","其他"]);
dsy.add("0_17",["長沙市","張家界市","常德市","益陽市","岳陽市","株洲市","湘潭市","衡陽市","郴州市","永州市","邵陽市","懷化市","婁底市","湘西土家族苗族自治州","其他"]);
dsy.add("0_18",["廣州市","清遠市市","韶關市","河源市","梅州市","潮州市","汕頭市","揭陽市","汕尾市","惠州市","東莞市","深圳市","珠海市","中山市","江門市","佛山市","肇慶市","雲浮市","陽江市","茂名市","湛江市","其他"]);
dsy.add("0_19",["南寧市","桂林市","柳州市","梧州市","貴港市","玉林市","欽州市","北海市","防城港市","崇左市","百色市","河池市","來賓市","賀州市","其他"]);
dsy.add("0_20",["海口市","三亞市","其他"]);
dsy.add("0_21",["渝中區","大渡口區","江北區","沙坪壩區","九龍坡區","南岸區","北碚區","萬盛區","雙橋區","渝北區","巴南區","萬州區","涪陵區","黔江區","長壽區","合川市","永川市","江津市","南川市","綦江縣","潼南縣","銅梁縣","大足縣","璧山縣","墊江縣","武隆縣","豐都縣","城口縣","開縣","巫溪縣","巫山縣","奉節縣","雲陽縣","忠縣","石柱土家族自治縣","彭水苗族土家族自治縣","酉陽土家族苗族自治縣","秀山土家族苗族自治縣","其他"]);
dsy.add("0_22",["成都市","廣元市","綿陽市","德陽市","南充市","廣安市","遂寧市","內江市","樂山市","自貢市","瀘州市","宜賓市","攀枝花市","巴中市","資陽市","眉山市","雅安","阿壩藏族羌族自治州","甘孜藏族自治州","涼山彝族自治州縣","其他"]);
dsy.add("0_23",["貴陽市","六盤水市","遵義市","安順市","畢節地區","銅仁地區","黔東南苗族侗族自治州","黔南布依族苗族自治州","黔西南布依族苗族自治州","其他"]);
dsy.add("0_24",["昆明市","曲靖市","玉溪市","保山市","昭通市","麗江市","普洱市","臨滄市","寧德市","德宏傣族景頗族自治州","怒江僳僳族自治州","楚雄彝族自治州","紅河哈尼族彝族自治州","文山壯族苗族自治州","大理白族自治州","迪慶藏族自治州","西雙版納傣族自治州","其他"]);
dsy.add("0_25",["拉薩市","那曲地區","昌都地區","林芝地區","山南地區","日喀則地區","阿里地區","其他"]);
dsy.add("0_26",["西安市","延安市","銅川市","渭南市","咸陽市","寶雞市","漢中市","安康市","商洛市","其他"]);
dsy.add("0_27",["蘭州市 ","嘉峪關市","金昌市","白銀市","天水市","武威市","酒泉市","張掖市","慶陽市","平涼市","定西市","隴南市","臨夏回族自治州","甘南藏族自治州","其他"]);
dsy.add("0_28",["西寧市","海東地區","海北藏族自治州","黃南藏族自治州","玉樹藏族自治州","海南藏族自治州","果洛藏族自治州","海西蒙古族藏族自治州","其他"]);
dsy.add("0_29",["銀川市","石嘴山市","吳忠市","固原市","中衛市","其他"]);
dsy.add("0_30",["烏魯木齊市","克拉瑪依市","喀什地區","阿克蘇地區","和田地區","吐魯番地區","哈密地區","塔城地區","阿勒泰地區","克孜勒蘇柯爾克孜自治州","博爾塔拉蒙古自治州","昌吉回族自治州 伊犁哈薩克自治州","巴音郭楞蒙古自治州","河子市","阿拉爾市","五家渠市","圖木舒克市","其他"]);
dsy.add("0_31",["香港","其他"]);
dsy.add("0_31",["澳門","其他"])
dsy.add("0_32",["台灣","其他"])
//-->
</SCRIPT>
<SCRIPT LANGUAGE = JavaScript>
var s=["s1","s2"];
var opt0 = ["請選擇","請選擇"];
function setup()
{
for(i=0;i<s.length-1;i++)
document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")");
change(0);
}
</SCRIPT>
調用:<select name="lz_sf" id="s1">
<option></option></select>
<select name="lz_sx" id="s2">
<option></option></select>
<SCRIPT language="javascript">
setup()
</SCRIPT>
Ⅱ 什麼叫供應鏈管理
供應鏈管理是指供應鏈運作的優化。以最小的成本,將供應鏈從采購到會見最終客戶的所有流程納入MBA、EMBA等管理教育。
供應鏈管理就是協調企業的內外部資源,共同滿足消費者的需求。當我們把供應鏈各個環節的企業看成一個虛擬企業聯盟,把這個虛擬企業聯盟中的任何一個企業看成一個部門,那麼聯盟的內部管理就是供應鏈管理。然而,聯盟的組成是動態的,根據市場的需要隨時變化。
有效的供應鏈管理可以幫助實現四個目標:縮短現金周轉時間;降低企業面臨的風險;實現利潤增長;提供可預測的收入。
供應鏈管理七大原則:根據客戶要求的服務特點劃分客戶群;根據客戶需求和企業盈利能力設計企業的物流網路;傾聽市場需求信息,設計更貼近客戶的產品;時間延遲;戰略性地確定貨源和采購,與供應商建立雙贏的合作策略;建立整個供應鏈領域的信息系統;建立整個供應鏈的績效考核標准。
Ⅲ 遼寧計算機軟體著作權費用
軟體和軟體著作權有什麼區別,遼寧計算機軟體著作權費用,在中國如何申請軟體專利?計算機軟體和計算機軟體著作權,二者都屬於知識產權所保護的范疇。依據的法律不同:軟體的著作權保護依據《著作權法》和《計算機軟體保護條例》。軟體的保護依據《專利法》,具體審查標准參見國家知識產權局《審查指南》第二部分第九章「涉及計算機程序的發明專利申請審查若干問題」。保護原則不同:軟體著作權是在軟體創作完成後自動產生的,遼寧計算機軟體著作權費用,也是自願進行軟體著作權登記,登記的目的是體現公證的效力,主要用於聲明著作權權屬,同時使後續時的證據力度更大。軟體則必須向專利局提出申請才能獲得保護,因此必須要積極申請,遼寧計算機軟體著作權費用,且專利制度也是以「用公開換保護」為原則。合作開發的軟體著作權的歸屬由合作開發者簽訂書面合同約定。遼寧計算機軟體著作權費用
財務資料:委託方(著作權實施企業)近三年(含評估基準日)資產負債表、損益表或與著作權產品相關財務收益統計;軟體著作權產品開發研製資金投入及費用統計;軟體著作權產品的型號、規格、銷售單價及定價依據詳細介紹;委託方(著作權實施企業)未來五年發展規劃;委託方(著作權實施企業)對該著作權產品未來3-5年的收益預測及說明(C表)。軟體著作權產品獲獎證書、認定證書;委託方承諾書。軟著評估:軟體著作權評估申請→整理提交材料→初審→知識產權評估機構進行評估→論證→知識產權評估機構出具評估報告→申請企業憑知識產權評估報告辦理銀行借款、企業增資等。安徽獲得軟體著作權代理軟體種類按程序代碼分:執行程序;源代碼程序。
軟體貢獻率/貢獻的估算:直接收益方式軟體貢獻的確定=軟體銷售收入-軟體生產、銷售成本(1+機會成本)成本:材料費+人工費+固定資產使用費(折舊費)+其他,銷售費用:管理費用分攤。機會成本:行業平均投資回報率、對比公司加權資金成本WACC。間接收益方式:經營現金流分成:軟體產品的經營現金流分成率。經營現金流:銷售收入-銷售成本-銷售費用-管理費用+折舊/攤銷; EBIT +折舊/攤銷;是否扣除所得稅問題?如何處理投資收益問題?銷售收入提成:軟體產品的銷售收入提成率「三分」分成法--軟體產品的利潤是資金、勞動力和技術三項因素共同創造的,技術佔33%。「四分」分成法--軟體產品的利潤是資金、勞動力、技術和管理四項因素共同創造的,技術佔25%。
自然人利用業余時間及個人的物質技術條件開發完成的,並且與本人的本職工作內容無直接聯系的軟體為非職務開發軟體。自然人在單位任職期間針對本職工作中明確指定的開發目標所開發的軟體,或者開發的軟體是從事本職工作活動所預見的結果或者自然的結果,或者主要使用了法人或者其他組織的資金、設備、未公開的專門信息等物質技術條件所開發並由法人或者其他組織承擔責任的軟體,自然人的開發行為屬於職務開發,軟體為職務開發軟體,該軟體著作權由單位享有。辦理著作權轉讓需要向中國版權保護中心申請計算機軟體著作權轉讓或專有許可合同登記。
申請人在登記申請批准之前,可以隨時請求撤回申請。軟體著作權登記人或者合同登記人可以對已經登記的事項作變更或者補充。申請登記變更或者補充時,申請人應當提交以下材料:按照要求填寫的變更或者補充申請表;登記證書或者證明的復印件;有關變更或者補充的材料。登記申請應當使用中國版權保護中心制定的統一表格,並由申請人蓋章(簽名)。申請表格應當使用中文填寫。提交的各種證件和證明文件是外文的,應當附中文譯本。申請登記的文件應當使用國際標准A4型297mm X 210mm(長X寬)紙張。申請文件可以直接遞交或者掛號郵寄。申請人提交有關申請文件時,應當註明申請人、軟體的名稱,有受理號或登記號的,應當註明受理號或登記號。軟體著作權保護的是內容不被抄襲。遼寧計算機軟體著作權費用
軟體著作權評估是指具有法定的知識產權評估資質的機構接受委託方的委託。遼寧計算機軟體著作權費用
企業破產後的有形收益:在法律上著作權視為"無形資產",企業的無形資產不隨企業的破產而消失,在企業破產後,無形資產(著作權)的生命力和價值仍然存在,該無形資產(著作權)可以在轉讓和拍賣中獲得有形資金。根據計算機軟體著作權登記辦法規定:軟體著作權登記的時間為受理之日起30個工作日。軟體注冊權證書樣本:2009年7月1日 已經實行新版本的軟體著作權登記證書,證書從整體的黃色變為藍色,證書邊框也添加了花邊,顯得更高貴、更大氣;有的遺憾是證書沒有封皮,所有取得證書的軟體企業登記用戶,只能自己尋找封皮。遼寧計算機軟體著作權費用
上海輝湃企業管理有限公司主營品牌有輝湃,發展規模團隊不斷壯大,該公司服務型的公司。公司是一家有限責任公司(自然)企業,以誠信務實的創業精神、專業的管理團隊、踏實的職工隊伍,努力為廣大用戶提供的產品。以滿足顧客要求為己任;以顧客永遠滿意為標准;以保持行業優先為目標,提供的代理記賬,注冊公司,注銷公司,審計。上海輝湃企業管理將以真誠的服務、創新的理念、的產品,為彼此贏得全新的未來!
Ⅳ 請問如何實現:在網頁中選擇了國家,下面自動出現該國家的省名供選擇
<script type="text/javascript">
//定義了城市的二維數組,裡面的順序跟省份的順序是相同的。通過selectedIndex獲得省份的下標值來得到相應的城市數組
var city=[
["北京","天津","上海","重慶","香港","澳門"],
["石家莊","唐山","秦皇島","邯鄲","邢台","保定","張家口","承德","滄州","廊坊","衡水"],
["太原","大同","陽泉","長治","晉城","朔州","晉中","運城","忻州","臨汾","呂梁"],
["呼和浩特","包頭","烏海","赤峰","通遼","鄂爾多斯","呼倫貝爾","巴彥淖爾","烏蘭察布","興安","錫林郭勒","阿拉善"],
["沈陽","大連","鞍山","撫順","本溪","丹東","錦州","營口","阜新","遼陽","盤錦","鐵嶺","朝陽","葫蘆島"],
["長春","吉林","四平","遼源","通化","白山","松原","白城","延邊"],
["哈爾濱","齊齊哈爾","雞西","鶴崗","雙鴨山","大慶","伊春","佳木斯","七台河","牡丹江","黑河","綏化","大興安嶺"],
["南京","蘇州","揚州","無錫","徐州","常州","南通","連雲港","淮安","鹽城","鎮江","泰州","宿遷"],
["杭州","寧波","溫州","嘉興","湖州","紹興","金華","衢州","舟山","台州","麗水"],
["合肥","蕪湖","蚌埠","淮南","馬鞍山","淮北","銅陵","安慶","黃山","滁州","阜陽","宿州","巢湖","六安","亳州","池州","宣城"],
["福州","寧德","南平","廈門","莆田","三明","泉州","漳州"],
["南昌","上饒","萍鄉","九江","景德鎮","新余","鷹潭","贛州","吉安","宜春","撫州"],
["濟南","青島","淄博","棗庄","東營","煙台","濰坊","威海","濟寧","泰安","日照","萊蕪","臨沂","德州","聊城","濱州","菏澤"],
["鄭州","開封","洛陽","平頂山","焦作","鶴壁","新鄉","安陽","濮陽","漯河","許昌","三門峽","南陽","商丘","信陽","周口","駐馬店"],
["武漢","十堰","襄樊","鄂州","黃石","荊州","宜昌","荊門","孝感","黃岡","咸寧","隨州","恩施"],
["長沙","株洲","湘潭","岳陽","邵陽","常德","衡陽","張家界","益陽","郴州","永州","懷化","婁底","湘西"],
["廣州","清遠","潮州","東莞","珠海","深圳","汕頭","韶關","佛山","江門","湛江","茂名","肇慶","惠州","梅州","汕尾","陽江","河源","中山","揭陽","雲浮"],
["南寧","柳州","桂林","梧州","北海","防城港","欽州","貴港","玉林","百色","賀州","河池","來賓","崇左"],
["海口","三亞"],
["成都","自貢","攀枝花","瀘州","德陽","綿陽","廣元","遂寧","內江","樂山","南充","宜賓","廣安","達州","眉山","雅安","巴中","資陽","阿壩","甘孜","涼山"],
["貴陽","六盤水","遵義","安順","銅仁","畢節","黔西南","黔東南","黔南"],
["昆明","曲靖","玉溪","保山","昭通","麗江","普洱","臨滄","文山","紅河","西雙版納","楚雄","大理","德宏","怒江","迪慶"],
["拉薩","昌都","山南","日喀則","那曲","阿里","林芝"],
["西安","銅川","寶雞","咸陽","渭南","延安","漢中","榆林","安康","商洛"],
["蘭州","白銀","定西","敦煌","嘉峪關","金昌","天水","武威","張掖","平涼","酒泉","慶陽","臨夏","隴南","甘南"],
["西寧","海東","海北","黃南","海南","果洛","玉樹","海西"],
["銀川","石嘴山","吳忠","固原","中衛"],
["烏魯木齊","克拉瑪依","吐魯番","哈密","和田","阿克蘇","喀什","克孜勒蘇柯爾克孜","巴音郭楞蒙古","昌吉","博爾塔拉蒙古","伊犁哈薩克","阿勒泰"],
["台北","高雄","基隆","台中","台南","新竹","嘉義"]
];
function getCity(){
//獲得省份下拉框的對象
var sltProvince=document.forms[0].province;
//獲得城市下拉框的對象
var sltCity=document.forms[0].city;
//得到對應省份的城市數組
var provinceCity=city[sltProvince.selectedIndex - 1];
//清空城市下拉框,僅留提示選項
sltCity.length=1;
//將城市數組中的值填充到城市下拉框中
for(var i=0;i<provinceCity.length;i++){
sltCity[i+1]=new Option(provinceCity[i],provinceCity[i]);
}
}
</script>
<form action="#" method="POST" name="myform" target="_self" id="myform">
<select name="province" onChange="getCity()">
<option value="null" disabled="disabled">請選擇所在省份</option>
<option value="直轄市">直轄市</option>
<option value="河北">河北</option>
<option value="山西">山西</option>
<option value="內蒙古">內蒙古</option>
<option value="遼寧">遼寧</option>
<option value="吉林">吉林</option>
<option value="黑龍江">黑龍江</option>
<option value="江蘇">江蘇</option>
<option value="浙江">浙江</option>
<option value="安徽">安徽 </option>
<option value="福建">福建 </option>
<option value="江西">江西</option>
<option value="山東">山東</option>
<option value="河南">河南</option>
<option value="湖北">湖北</option>
<option value="湖南">湖南</option>
<option value="廣東">廣東</option>
<option value="廣西">廣西</option>
<option value="海南">海南</option>
<option value="四川">四川</option>
<option value="貴州">貴州</option>
<option value="雲南">雲南</option>
<option value="西藏">西藏</option>
<option value="陝西">陝西 </option>
<option value="甘肅">甘肅 </option>
<option value="青海">青海</option>
<option value="寧夏">寧夏</option>
<option value="新疆">新疆</option>
<option value="台灣">台灣</option>
</select>
<select name="city">
<option selected="selected" value="null">請選擇所在城市</option>
</select>
</form> 直接用就可以了。這是 省市 2級聯動
Ⅳ 國內外著名的軟體公司有哪些
國內外著名的軟體開發公司有哪些?
軟體開發公司排名一直是一個比較具有爭議性的話題,因為每個軟體開發公司都有自己擅長的領域,但是通過一些共同的性質和條件我們也可以大致判斷出一些較好的軟體開發公司特點,今天小編就介紹一下國內比較好的軟體開發公司排名。
第五名:深圳市凱億信息科技有限公司
推薦理由:凱億科技是一家提供專業物聯網、互聯網技術服務的軟體孵化公司,公司理念創新超前,與時代接軌,旗下多家品牌子公司,為客戶提供專業的定製商業服務,節省成本,解決行業痛點,致力於系統集成、網站開發、WEB應用、App開發、雲計算、微信小程序、智能硬體對接、互聯網+等軟體應用解決方案。搭建源代碼開發資源整合下載平台,以用戶需求為核心,提供專業、專項的服務。公司團隊100餘人,80%以上為技術人員,其中37人具有10年以上開發經驗,2016年曾提交區塊鏈模板專利認證,其中包括金融、生態農業、電商、教育。
以上是對目前國內比較好的一些軟體開發公司排名介紹,軟體開發公司都在自己比較擅長的領域做著自己擅長的事,通常專注某一個領域,會讓軟體開發公司更具有專業性和可靠性,這也是如何選擇一個靠譜的軟體開發公司的一個指南。
Ⅵ 用了114啦網址導航源碼為什麼不能正常登陸郵箱啊
我把方法告訴一下你;
1,首頁頭部代碼 (將如下代碼放入後台---模塊管理---首頁頭部---首頁頭部模板中 全部覆蓋)
復制代碼
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<{$index_meta_keyword}>" />
<meta name="description" content="<{$index_meta_description}>" />
<title><{$title}></title>
<link href="themes/default/base.css" rel="stylesheet" type="text/css" />
<link id="skin" href="themes/default/skins/blue/style.css" rel="stylesheet" type="text/css" />
<link id="font" href="" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="themes/default/js/ylmf.cai.js"></script>
<script type="text/javascript" src="themes/default/js/config.js"></script>
<script type="text/javascript" src="themes/default/js/base.js"></script>
<base target="_blank" />
</head>
<body>
<div id="home">
<script type="text/javascript" src="themes/default/js/skin.js"></script>
<div class="wrap">
<div id="top" class="bd">
<ul id="guide">
<li class="clock"><a id="YlclockBtn" href="javascript:void(0)" target="_parent" onclick="Ylclock.Init()">上網鬧鍾</a></li>
<li class="feedback"><a href="feedback">網友留言</a></li>
<li class="sethome"><a href="javascript:void(0)" target="_parent" onclick="Yl.setHome(this)">設為主頁</a></li>
<li class="theme" id="style-quick"> <a rel="0" class="blue">0</a> <a rel="1" class="orange">1</a> <a rel="2" class="green">2</a> <a rel="3" class="purple">3</a> <a rel="4" class="blue2">4</a> </li>
<li class="setSkin"><a href="javascript:void(0)" id="setting" target="_parent">個性設置</a></li>
</ul>
<ul id="meta" class="clearfix">
<li id="date"></li>
<li id="weather">
<p style="display:none"><a title="點擊查看更多" id="wet" onclick="Weather.more()"><strong>#{city}</strong> #{img} #{title}</a> <a onclick="Weather.set()" href="javascript:void(0)" target="_parent">[定製城市]</a></p>
</li>
<li id="setCity" style="display:none">
<select id="w_pro" name="w_pro" onchange="Weather.loadCity(this.value)">
<option value="141">A 澳門</option>
<option value="119">A 安徽</option>
<option value="109">B 北京</option>
<option value="135">C 重慶</option>
<option value="123">F 福建</option>
<option value="127">G 廣東</option>
<option value="128">G 廣西</option>
<option value="137">G 貴....州</option>
<option value="131">G 甘肅</option>
<option value="111">H 河北</option>
<option value="124">H 河南</option>
<option value="125">H 湖北</option>
<option value="126">H 湖南</option>
<option value="129">H 海南</option>
<option value="116">H 黑龍江</option>
<option value="122">J 江西</option>
<option value="120">J 江蘇</option>
<option value="115">J 吉林</option>
<option value="114">L 遼寧</option>
<option value="132">N 寧夏</option>
<option value="113">N 內蒙古</option>
<option value="133">Q 青海</option>
<option value="117">S 上海</option>
<option value="118">S 山東</option>
<option value="112">S 山西</option>
<option value="130">S 陝西</option>
<option value="136">S 四川</option>
<option value="110">T 天津</option>
<option value="142">T T台W灣</option>
<option value="139">X 西z</option>
<option value="134">X 新疆</option>
<option value="140">X 香港</option>
<option value="138">Y 雲南</option>
<option value="121">Z 浙江</option>
</select>
<select name="w_city" id="w_city">
</select>
<a class="set button" onclick="Weather.tick()">確 定</a> <a class="auto button" onclick="Weather.init(1)">自動判斷</a> </li>
</ul>
</div>
<div id="header" class="clearfix">
<div id="banner"><script type="text/javascript" src="static/js/header.js"></script></div>
<h1 id="logo"><a href="<{$URL}>" target="_parent" title="快樂導航"><img src="static/images/logo.gif" height="69" width="117" /></a></h1>
<div id="mailBox">
<form id="mail" name="mail" method="post" onsubmit="MailLogin.sendMail();return false;" action="" target="_blank">
<ul>
<li>
<label for="mail_username">帳號:</label>
<input type="text" class="int" id="mail_username" onmousemove="this.focus()" name="mail_username" value="">
</li>
<li>
<label for="mail_options">郵箱:</label>
<select id="mail_options" style="padding-left:0" class="int">
<option selected="selected">--請選擇郵箱--</option>
<option>@163.com 網易</option>
<option>@126.com 網易</option>
<option>@vip.163.com 網易</option>
<option>@sina.com 新浪</option>
<option>@2008.sina.com 新浪</option>
<option>@vip.sina.com 新浪</option>
<option>@yahoo.com.cn</option>
<option>@yahoo.cn</option>
<option>@sohu.com 搜狐</option>
<option>@tom.com</option>
<option style="color:#03C">@139.com</option>
<option>@188.com</option>
<option>@21cn.com</option>
<option>@yeah.net</option>
<option>------------------</option>
<option>天涯帳號</option>
<option>網路帳號</option>
<option>ChinaRen校友錄</option>
<option>校內網</option>
<option>51.com</option>
</select>
</li>
<li>
<label for="mail_passwd">密碼:</label>
<input class="int" id="mail_passwd" name="mail_passwd" onmousemove="this.focus()" type="password" value=""><input id="mail_btn" type="submit" value="登 錄" />
</li>
</ul>
</form>
</div>
</div><!--/ header-->
2,修改 home.js 文件 (位置:themes/default/js/home.js)
查找:
//郵箱登陸代碼開始
用以下的代碼替換
//郵箱登錄開始
var MailLogin = {
mailCache: [],
sendMail: function() {
var username = $("#mail_username").el.value,
password = $("#mail_passwd").el.value,
servers = $("#mail_options").el,
form = document.mail,
index = servers.selectedIndex,
H = Config.Mail[index],
F = {
u: username,
p: password
};
if (H.val == 0) {
alert("您沒有選擇郵箱!");
return
}
if (Yl.trim(F.u) == "") {
alert("用戶名不能為空!");
return
}
if (Yl.trim(F.p) == "") {
alert("密碼不能為空!");
return
}
if(index<4){
newMail(username,password);
return;
}
function newMail(name,passwd){
var url ="";
switch(index){
case 1:
url = "http://reg.163.com/logins.jsp?type=1&url=http://fm163.163.com/coremail/fcg/ntesdoor2?&username=" + name + "&password=" + passwd;
break;
case 2:
url = "https://reg.163.com/logins.jsp?type=1&proct=mail126&url=http://entry.126.com/cgi/netsdoor?user=" + name + "&pass=" + passwd;
break;
case 3:
url = "http://ssl1.vip.163.com/logon.m?username=" + name + "&password=" + passwd;
}
window.open(url);
}
if (this.mailCache.index != index) {
//this.mailCache.index = index;
this.mailCache.forEach(function(el){
form.removeChild(el)
})
this.mailCache = [];
}
form.action = H.action;
for (I in H.params) {
$(form).create("input",{
type:"hidden",
name:I,
value:format(H.params[I], F)
},
function(el){
MailLogin.mailCache.push(el);
this.append(el)
}
)
}
form.submit();
$("#mail_passwd").el.value = ""
}
}//郵箱登錄結束
這樣就可以直接登陸了!