  <wml>
    <!-- user_login.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_login" title="User Login">
      <onevent type="onenterforward">     
        <refresh> 
            <setvar name="userid" value="<%=u_userid%>"/>
            <setvar name="u_userid" value="<%=u_userid%>"/>
            <setvar name="u_firstname" value="<%=u_firstname%>"/>
            <setvar name="u_lastname" value="<%=u_lastname%>"/>
        </refresh> 
      </onevent>
      <do type="accept" label="OK">
        <go href="?fnc=$(fnc)&amp;userid=$(userid)&amp;msgn=user_msgs&amp;msg0=user_msgs0"/>
      </do>
      <do type="options" label="Home">
        <go href="?display=index" />
      </do>
      <p>
        <i><b>GTalker <%=u_firstname%> <%=u_lastname%></b></i>
        <select name="fnc" ivalue="1">
          <option value="user_airtime">Add Air Time</option>
          <option onpick="?fnc=display&amp;display=user_call&amp;userid=<%=u_userid%>&amp;u_firstname=$(u_firstname)&amp;u_lastname=$(u_lastname)&amp;u_pcphone=<%=u_pcphone%>&amp;u_pcpin=<%=u_pcpin%>">Make Call</option>
          <option onpick="?fnc=display&amp;display=user_email&amp;userid=$(userid)&amp;u_firstname=$(u_firstname)&amp;u_lastname=$(u_lastname)">Send Email</option>
          <option onpick="?userid=$(userid)&amp;fnc=user_msgs&amp;msgn=user_msgs&amp;msg0=user_msgs0">Update Msgs</option>
          <option onpick="#user_find">Find User</option>
          <option value="user_acct1">Update Acct</option>
        </select>
      </p>
    </card> 

    <card id="user_find" title="Find User">
      <do type="accept" label="OK">
        <go href="?fnc=user_find&amp;user0=notfound&amp;usern=users&amp;userid=$(userid)&amp;u_firstname=$(u_firstname)&amp;u_lastname=$(u_lastname)">
          <postfield name="userid" value="$(userid)"/>
          <postfield name="u_firstname" value="$(u_firstname)"/>
          <postfield name="u_lastname" value="$(u_lastname)"/>
        </go>
      </do>
      <p>
        <i><b>GTalker Find</b></i>
        <br />UserID:
        <input title="UID" name="userid" size="10" format="mmm*m" />
      </p>
    </card>

  </wml>
