List_DefaultLan.xml
<?xml version="1.0" encoding="utf-8" ?>
<List_Default>
<LANGAGE TypeID='G'>
<SETVALUE LID=Ƈ'>请选择</SETVALUE>
</LANGAGE>
<LANGAGE TypeID='E'>
<SETVALUE LID=ƈ'>Please Select</SETVALUE>
</LANGAGE>
<LANGAGE TypeID='B'>
<SETVALUE LID=Ɖ'>请选择繁体</SETVALUE>
</LANGAGE>
<LANGAGE TypeID='My_E'>
<SETVALUE LID=Ɗ'>Please Select</SETVALUE>
</LANGAGE>
<LANGAGE TypeID='My_G'>
<SETVALUE LID=Ƌ'>请选择</SETVALUE>
</LANGAGE>
</List_Default>
List_Salary.xml
<?xml version="1.0" encoding="utf-8" ?>
<LIST_SALARY>
<LANGAGE TypeID='G'>
<LSALARY>
<LID>113</LID>
<LVALUE>面议</LVALUE>
<LSORTID>0</LSORTID>
</LSALARY>
<LSALARY>
<LID>101</LID>
<LVALUE>2万以下</LVALUE>
<LSORTID>1</LSORTID>
</LSALARY>
<LSALARY>
<LID>102</LID>
<LVALUE>2-3万</LVALUE>
<LSORTID>2</LSORTID>
</LSALARY>
<LSALARY>
<LID>103</LID>
<LVALUE>3-4万</LVALUE>
<LSORTID>3</LSORTID>
</LSALARY>
<LSALARY>
<LID>104</LID>
<LVALUE>4-5万</LVALUE>
<LSORTID>4</LSORTID>
</LSALARY>
<LSALARY>
<LID>105</LID>
<LVALUE>5-6万</LVALUE>
<LSORTID>5</LSORTID>
</LSALARY>
<LSALARY>
<LID>106</LID>
<LVALUE>6-8万</LVALUE>
<LSORTID>6</LSORTID>
</LSALARY>
<LSALARY>
<LID>107</LID>
<LVALUE>8-10万</LVALUE>
<LSORTID>7</LSORTID>
</LSALARY>
<LSALARY>
<LID>108</LID>
<LVALUE>10-15万</LVALUE>
<LSORTID>8</LSORTID>
</LSALARY>
<LSALARY>
<LID>109</LID>
<LVALUE>15-20万</LVALUE>
<LSORTID>9</LSORTID>
</LSALARY>
<LSALARY>
<LID>114</LID>
<LVALUE>20-25万</LVALUE>
<LSORTID>10</LSORTID>
</LSALARY>
<LSALARY>
<LID>115</LID>
<LVALUE>25-30万</LVALUE>
<LSORTID>11</LSORTID>
</LSALARY>
<LSALARY>
<LID>116</LID>
<LVALUE>30-35万</LVALUE>
<LSORTID>12</LSORTID>
</LSALARY>
<LSALARY>
<LID>117</LID>
<LVALUE>35-40万</LVALUE>
<LSORTID>13</LSORTID>
</LSALARY>
<LSALARY>
<LID>118</LID>
<LVALUE>40-45万</LVALUE>
<LSORTID>14</LSORTID>
</LSALARY>
<LSALARY>
<LID>110</LID>
<LVALUE>45-50万</LVALUE>
<LSORTID>17</LSORTID>
</LSALARY>
<LSALARY>
<LID>111</LID>
<LVALUE>50-100万</LVALUE>
<LSORTID>18</LSORTID>
</LSALARY>
<LSALARY>
<LID>112</LID>
<LVALUE>100万以上</LVALUE>
<LSORTID>19</LSORTID>
</LSALARY>
</LANGAGE>
<LANGAGE TypeID='E'>
<LSALARY>
<LID>113</LID>
<LVALUE>Negotiable</LVALUE>
<LSORTID>0</LSORTID>
</LSALARY>
<LSALARY>
<LID>101</LID>
<LVALUE>Under 20k</LVALUE>
<LSORTID>1</LSORTID>
</LSALARY>
<LSALARY>
<LID>102</LID>
<LVALUE>20k-30k</LVALUE>
<LSORTID>2</LSORTID>
</LSALARY>
<LSALARY>
<LID>103</LID>
<LVALUE>30k-40k</LVALUE>
<LSORTID>3</LSORTID>
</LSALARY>
<LSALARY>
<LID>104</LID>
<LVALUE>40k-50k</LVALUE>
<LSORTID>4</LSORTID>
</LSALARY>
<LSALARY>
<LID>105</LID>
<LVALUE>50k-60k</LVALUE>
<LSORTID>5</LSORTID>
</LSALARY>
<LSALARY>
<LID>106</LID>
<LVALUE>60k-80k</LVALUE>
<LSORTID>6</LSORTID>
</LSALARY>
<LSALARY>
<LID>107</LID>
<LVALUE>80k-100k</LVALUE>
<LSORTID>7</LSORTID>
</LSALARY>
<LSALARY>
<LID>108</LID>
<LVALUE>100k-150k</LVALUE>
<LSORTID>8</LSORTID>
</LSALARY>
<LSALARY>
<LID>109</LID>
<LVALUE>150k-200k</LVALUE>
<LSORTID>9</LSORTID>
</LSALARY>
<LSALARY>
<LID>114</LID>
<LVALUE>200k-250k</LVALUE>
<LSORTID>10</LSORTID>
</LSALARY>
<LSALARY>
<LID>115</LID>
<LVALUE>250k-300k</LVALUE>
<LSORTID>11</LSORTID>
</LSALARY>
<LSALARY>
<LID>116</LID>
<LVALUE>300k-350k</LVALUE>
<LSORTID>12</LSORTID>
</LSALARY>
<LSALARY>
<LID>117</LID>
<LVALUE>350k-400k</LVALUE>
<LSORTID>13</LSORTID>
</LSALARY>
<LSALARY>
<LID>118</LID>
<LVALUE>400k-450k</LVALUE>
<LSORTID>14</LSORTID>
</LSALARY>
<LSALARY>
<LID>110</LID>
<LVALUE>450k-500k</LVALUE>
<LSORTID>17</LSORTID>
</LSALARY>
<LSALARY>
<LID>111</LID>
<LVALUE>500k-1000k</LVALUE>
<LSORTID>18</LSORTID>
</LSALARY>
<LSALARY>
<LID>112</LID>
<LVALUE>Over 1000k</LVALUE>
<LSORTID>19</LSORTID>
</LSALARY>
</LANGAGE>
<LANGAGE TypeID='My_E'>
<LSALARY>
<LID>113</LID>
<LVALUE>Confidential</LVALUE>
<LSORTID>0</LSORTID>
</LSALARY>
<LSALARY>
<LID>101</LID>
<LVALUE>Under 20k</LVALUE>
<LSORTID>1</LSORTID>
</LSALARY>
<LSALARY>
<LID>102</LID>
<LVALUE>20k-30k</LVALUE>
<LSORTID>2</LSORTID>
</LSALARY>
<LSALARY>
<LID>103</LID>
<LVALUE>30k-40k</LVALUE>
<LSORTID>3</LSORTID>
</LSALARY>
<LSALARY>
<LID>104</LID>
<LVALUE>40k-50k</LVALUE>
<LSORTID>4</LSORTID>
</LSALARY>
<LSALARY>
<LID>105</LID>
<LVALUE>50k-60k</LVALUE>
<LSORTID>5</LSORTID>
</LSALARY>
<LSALARY>
<LID>106</LID>
<LVALUE>60k-80k</LVALUE>
<LSORTID>6</LSORTID>
</LSALARY>
<LSALARY>
<LID>107</LID>
<LVALUE>80k-100k</LVALUE>
<LSORTID>7</LSORTID>
</LSALARY>
<LSALARY>
<LID>108</LID>
<LVALUE>100k-150k</LVALUE>
<LSORTID>8</LSORTID>
</LSALARY>
<LSALARY>
<LID>109</LID>
<LVALUE>150k-200k</LVALUE>
<LSORTID>9</LSORTID>
</LSALARY>
<LSALARY>
<LID>114</LID>
<LVALUE>200k-250k</LVALUE>
<LSORTID>10</LSORTID>
</LSALARY>
<LSALARY>
<LID>115</LID>
<LVALUE>250k-300k</LVALUE>
<LSORTID>11</LSORTID>
</LSALARY>
<LSALARY>
<LID>116</LID>
<LVALUE>300k-350k</LVALUE>
<LSORTID>12</LSORTID>
</LSALARY>
<LSALARY>
<LID>117</LID>
<LVALUE>350k-400k</LVALUE>
<LSORTID>13</LSORTID>
</LSALARY>
<LSALARY>
<LID>118</LID>
<LVALUE>400k-450k</LVALUE>
<LSORTID>14</LSORTID>
</LSALARY>
<LSALARY>
<LID>110</LID>
<LVALUE>450k-500k</LVALUE>
<LSORTID>17</LSORTID>
</LSALARY>
<LSALARY>
<LID>111</LID>
<LVALUE>500k-1000k</LVALUE>
<LSORTID>18</LSORTID>
</LSALARY>
<LSALARY>
<LID>112</LID>
<LVALUE>Over 1000k</LVALUE>
<LSORTID>19</LSORTID>
</LSALARY>
</LANGAGE>
<LANGAGE TypeID='My_G'>
<LSALARY>
<LID>113</LID>
<LVALUE>保密</LVALUE>
<LSORTID>0</LSORTID>
</LSALARY>
<LSALARY>
<LID>101</LID>
<LVALUE>2万以下</LVALUE>
<LSORTID>1</LSORTID>
</LSALARY>
<LSALARY>
<LID>102</LID>
<LVALUE>2-3万</LVALUE>
<LSORTID>2</LSORTID>
</LSALARY>
<LSALARY>
<LID>103</LID>
<LVALUE>3-4万</LVALUE>
<LSORTID>3</LSORTID>
</LSALARY>
<LSALARY>
<LID>104</LID>
<LVALUE>4-5万</LVALUE>
<LSORTID>4</LSORTID>
</LSALARY>
<LSALARY>
<LID>105</LID>
<LVALUE>5-6万</LVALUE>
<LSORTID>5</LSORTID>
</LSALARY>
<LSALARY>
<LID>106</LID>
<LVALUE>6-8万</LVALUE>
<LSORTID>6</LSORTID>
</LSALARY>
<LSALARY>
<LID>107</LID>
<LVALUE>8-10万</LVALUE>
<LSORTID>7</LSORTID>
</LSALARY>
<LSALARY>
<LID>108</LID>
<LVALUE>10-15万</LVALUE>
<LSORTID>8</LSORTID>
</LSALARY>
<LSALARY>
<LID>109</LID>
<LVALUE>15-20万</LVALUE>
<LSORTID>9</LSORTID>
</LSALARY>
<LSALARY>
<LID>114</LID>
<LVALUE>20-25万</LVALUE>
<LSORTID>10</LSORTID>
</LSALARY>
<LSALARY>
<LID>115</LID>
<LVALUE>25-30万</LVALUE>
<LSORTID>11</LSORTID>
</LSALARY>
<LSALARY>
<LID>116</LID>
<LVALUE>30-35万</LVALUE>
<LSORTID>12</LSORTID>
</LSALARY>
<LSALARY>
<LID>117</LID>
<LVALUE>35-40万</LVALUE>
<LSORTID>13</LSORTID>
</LSALARY>
<LSALARY>
<LID>118</LID>
<LVALUE>40-45万</LVALUE>
<LSORTID>14</LSORTID>
</LSALARY>
<LSALARY>
<LID>110</LID>
<LVALUE>45-50万</LVALUE>
<LSORTID>17</LSORTID>
</LSALARY>
<LSALARY>
<LID>111</LID>
<LVALUE>50-100万</LVALUE>
<LSORTID>18</LSORTID>
</LSALARY>
<LSALARY>
<LID>112</LID>
<LVALUE>100万以上</LVALUE>
<LSORTID>19</LSORTID>
</LSALARY>
</LANGAGE>
</LIST_SALARY>
reg_basic_info.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage="65001"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
</head>
<link href="skins/jsc_list_cv_new.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript">
function ShowMyWander(ObjectCheck)
{
if (ObjectCheck.checked)
{
ShowDIV.style.display="block";
}
else
{
ShowDIV.style.display="none";
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div >
<div >
<div ></div>
<form action="/job_seeker/spg_update_base_info.asp" method="post" >
<input type=hidden value="1">
<table border="0" align="center" cellpadding="1" cellspacing="0" >
<!--form start-->
<tr>
<td width="100%"><hr color="#cccccc" size="1"> </td>
</tr>
<tr>
<td > <a ></a><img src="skins/index/77.gif" width="12" height="12"> 求职意向 <input type="checkbox" >
显示填写 <font color=#CC0000 size="2">(请选择填写求职意向,将有助于提高您的求职成功率)</font></td>
</tr>
<tr>
<td align="center"><div style=display:none
<TABLE cellSpacing=2 cellPadding=2 width="95%" border=0>
<TBODY>
<TR>
<TD height="10">工作性质</TD>
<TD colSpan=3><input type="checkbox" value="F" checked>
全职
<input type="checkbox" value="P">
兼职
<input type="checkbox" value="T">
临时</TD>
</TR>
<TR height=15>
<TD >期望年薪</TD>
<TD >
<select style=width:100 > <script src="list_salary.asp?lang_id=My_E&sel_value=-1"></script>
</select>
元/年</TD>
</TR>
</TABLE>
</div></td></tr>
</table>
</form>
</div>
</div>
</body>
</html>
list_salary.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="xmlCommNew.asp"-->
<%
Call getXmlDataValueList(Request.QueryString("Lang_ID"),"LIST_SALARY",Request.QueryString("sel_value"),"0")
'Call getXmlDataValueList("My_E","LIST_SALARY",Request.QueryString("sel_value"),"0")
%>
XmlCommNew.asp
<%
'获取Xml实际路径
Function getXmlFilePath(FileName)
getXmlFilePath=""
dim xPath
xPath=""
Select case FileName
Case "LIST_TYPE"
getXmlFilePath="List_Type.xml"
Case "LIST_CNTY"
getXmlFilePath="List_Cnty.xml"
Case "LIST_PROV"
getXmlFilePath="List_Prov.xml"
Case "LIST_CITY"
getXmlFilePath="List_City.xml"
Case "LIST_JFUN"
getXmlFilePath="List_Function.xml"
Case "LIST_JPOS"
getXmlFilePath="List_Position.xml"
Case "LIST_DEFAULT"
getXmlFilePath="List_DefaultLan.xml"
Case "LIST_JPOS"
getXmlFilePath="List_Area.xml"
Case "LIST_BUSINESS"
getXmlFilePath="List_Business.xml"
Case "LIST_MAJOR"
getXmlFilePath="List_Major.xml"
Case "LIST_EDU"
getXmlFilePath="List_Edu.xml"
Case "LIST_EXP"
getXmlFilePath="List_Exp.xml"
Case "LIST_SKILL"
getXmlFilePath="List_Skill.xml"
Case "LIST_LAN"
getXmlFilePath="List_Lan.xml"
Case "LIST_CERT"
getXmlFilePath="List_Cert.xml"
Case "LIST_CERT_TYPE"
getXmlFilePath="List_Cert_type.xml"
Case "LIST_CURRENCY"
getXmlFilePath="List_Currency.xml"
Case "LIST_LEVEL"
getXmlFilePath="List_Level.xml"
Case "LIST_NATURE"
getXmlFilePath="List_Nature.xml"
Case "LIST_SALARY"
getXmlFilePath="List_Salary.xml"
Case "LIST_SALARY_EMP"
getXmlFilePath="List_Salary_Emp.xml"
Case "LIST_SIZE"
getXmlFilePath="List_Size.xml"
Case "LIST_MARRAGE"
getXmlFilePath="List_marrage.xml"
Case "LIST_SNS"
getXmlFilePath="List_Sns.xml"
End Select
if getXmlFilePath="" then
getXmlFilePath="ERROR"
else
getXmlFilePath=xPath & getXmlFilePath
End if
End Function
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Sub getXmlDataValueList(LangType,XmlFileType,LID,FlagShowType)
Call getDefaultSelected(LangType)
dim node,i,nodecount,xMapPath
xMapPath=getXmlFilePath(XmlFileType)
if xMapPath="ERROR" then
'getXmlDataValueList="ERROR"
exit Sub
End if
if LangType="" then
LangType="G"
End if
if FlagShowType="0" or (FlagShowType="1" and LID<>"")then
set Doc = CreateObject("Microsoft.XMLDOM")
Doc.async = false
Doc.load(Server.MapPath(xMapPath))
set nodeLis = Doc.getElementsByTagName("LANGAGE")
nodeCount = nodeLis.length
For iData=0 to nodeCount-1
set cost = nodeLis.Item(iData).attributes.getNamedItem("TypeID")
if trim(cost.text)=LangType then
Set ListItemVALUE=nodeLis.Item(iData).getElementsByTagName("LVALUE")
Set ListItemID=nodeLis.Item(iData).getElementsByTagName("LID")
For ii=0 to ListItemVALUE.length-1
if trim(ListItemID.item(ii).text)=trim(LID) then
response.write "document.write(" & """<option value='" & trim(ListItemID.item(ii).text) &"' selected>" & Replace(trim(ListItemVALUE.item(ii).text),"%26","&") & "</option>""" & ");"
else
response.write "document.write(" & """<option value='" & trim(ListItemID.item(ii).text) &"'>" & Replace(trim(ListItemVALUE.item(ii).text),"%26","&") & "</option>""" & ");"
end if
next
end if
next
End if
End Sub
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Public Sub getDefaultSelected(LangType)
if LangType="" Then
LangType="G"
End if
set DocLan = CreateObject("Microsoft.XMLDOM")
DocLan.async = false
DocLan.load(Server.MapPath("List_DefaultLan.xml"))
set LangNodeList = DocLan.getElementsByTagName("LANGAGE")
LangNodeCount = LangNodeList.length
For iLang=0 to LangNodeCount-1
set LangCost = LangNodeList.Item(iLang).attributes.getNamedItem("TypeID")
If trim(LangCost.Text)=LangType Then
set CntyNodeList = LangNodeList.Item(iLang).getElementsByTagName("SETVALUE")
For iEnd=0 to CntyNodeList.length-1
if LValueID="" or LValueID="0" or LValueID="-1" then
response.write "document.write(" & """<option value='-1' selected>--"& Replace(CntyNodeList.item(iEnd).Text,"%26","&") &"--</option>""" & ");"
Else
response.write "document.write(" & """<option value='-1'>--"& Replace(CntyNodeList.item(iEnd).Text,"%26","&") &"--</option>""" & ");"
End if
Next
End if
Next
End Sub
%>