  <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="Home" title="Home">
      <p>
        <i><b>&#x6B61; &#x8FCE; &#x5149; &#x81E8; GTalker</b></i>
        <select name="f_display" ivalue="1">
          <option onpick="#Msgs1">&#x7528; &#x6236; &#x7559; &#x8a00;</option>
          <option onpick="#Login1">&#x8c4b; &#x5165;</option>
          <option value="signup">&#x52a0; &#x5165;</option>
          <option onpick="http://www.yahoo.com">&#x65b0; &#x805E;</option>
          <option value="about">&#x95dc; &#x65bc; GTalker</option>
          <option value="testhome">Test Deck</option>
          <option value="testhome2.wml">Test Deck 2</option>
        </select>
      </p>
    </card> 

    <card id="Msgs1" title="Msgs1">
      <do type="accept" label="OK">
        <go href="#Msgs2" />
      </do>
      <p>
        <i><b>&#x7528; &#x6236; &#x7559; &#x8a00;</b></i>
        <br />&#x540d; &#x7a31;:
        <input title="UID" name="f_userid" size="10" format="mmm*m" />
      </p>
    </card>

    <card id="Msgs2" title="Msgs2">
      <onevent type="onenterforward">
        <refresh>
          <setvar name="userid" value="$(f_userid)"/>
        </refresh>
      </onevent>
      <do type="accept" label="OK">
        <go href="?eventkey=$(eventkey)&amp;userid=$(userid)&amp;usern=users&amp;fnc=find_user_msgs&amp;user0=notfound">
          <postfield name="userid" value="$(f_userid)"/>
          <postfield name="eventkey" value="$(eventkey)"/>
        </go>
      </do>
      <p>
        <i><b>&#x7528; &#x6236; &#x7559; &#x8a00;</b></i>
        <br />Event Key:
        <input name="eventkey" size="10" format="*m" />
      </p>
    </card>

    <card id="Login1" title="Login1">
      <do type="accept" label="OK">
        <go href="#Login2" />
      </do>
      <p>
        <i><b>GTalker &#x8c4b; &#x5165;</b></i>
        <br />&#x540d; &#x7a31;:
        <input name="userid" size="10" format="mmm*m" />
      </p>
    </card>

    <card id="Login2" title="Login2">
      <do type="accept" label="OK">
        <go href="?fnc=user_login&amp;user0=notfound&amp;user1=user_loc&amp;userid=$(userid)&amp;passwd=$(passwd)">
          <postfield name="userid" value="$(userid)"/>
          <postfield name="passwd" value="$(passwd)"/>
        </go>
      </do>
      <p>
        <i><b>GTalker &#x8c4b; &#x5165;</b></i>
        <br />&#x5bc6; &#x78bc;:
        <input name="passwd" size="10" format="mm*m" />
      </p>
    </card>

  </wml>
