  <wml>
    <!-- user_loc.wml -->
    <head>
      <meta http-equiv="Cache-Control" content="max-age=0" forua="true" />
      <meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
    </head>

    <card id="user_loc" title="User Location">
      <onevent type="onenterforward">     
        <refresh> 
            <setvar name="userid" value="<%=u_userid%>"/>
            <setvar name="passwd" value="<%=u_passwd%>"/>
            <setvar name="u_firstname" value="<%=u_firstname%>"/>
            <setvar name="u_lastname" value="<%=u_lastname%>"/>
        </refresh> 
      </onevent>
      <do type="accept" label="Yes">
        <go href="?fnc=user_login&amp;user0=notfound&amp;user1=user_login&amp;userid=$(userid)&amp;passwd=$(passwd)&amp;u_loc=">
          <postfield name="userid" value="$(userid)"/>
          <postfield name="passwd" value="$(passwd)"/>
        </go>
      </do>
      <do type="options" label="No">
        <go href="#user_loc2"/>
      </do>
      <p>
        <i><b>GTalker <%=u_firstname%> <%=u_lastname%></b></i>
        <br/>&#x6211;&#x5728;:
        <br/><%=u_loc%>
      </p>
    </card> 

    <card id="user_loc2" title="User Location">
      <do type="accept" label="OK">
        <go href="?fnc=user_login&amp;user0=notfound&amp;user1=user_login&amp;userid=$(userid)&amp;passwd=$(passwd)&amp;u_loc=$(u_loc)">
          <postfield name="u_loc" value="$(u_loc)"/>
          <postfield name="userid" value="$(userid)"/>
          <postfield name="passwd" value="$(passwd)"/>
        </go>
      </do>
      <p mode="nowrap">
        <i><b>GTalker &#x5730;&#x9ede;</b></i>
        <br/>&#x6211;&#x5728;:
        <select name="u_loc" ivalue="1">
<%=loc-start%>
          <option value="<%=u_loc%>"><%=u_loc%></option>
<%=loc-end%>
          <option onpick="#user_loc3">&#x5176;&#x4ed6;</option>
        </select>
      </p>
    </card> 

    <card id="user_loc3" title="User Location">
      <do type="accept" label="OK">
        <go href="?fnc=user_login&amp;user0=notfound&amp;user1=user_login&amp;userid=$(userid)&amp;passwd=$(passwd)&amp;u_loc=$(u_loc)">
          <postfield name="u_loc" value="$(u_loc)"/>
          <postfield name="userid" value="$(f_userid)"/>
          <postfield name="passwd" value="$(passwd)"/>
        </go>
      </do>
      <p>
        <i><b>GTalker&#x5730;&#x9ede;</b></i>
        <br />&#x57ce;&#x5e02;:
        <input title="City" name="u_loc" size="10" format="mm*m" />
      </p>
    </card>

  </wml>
