
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
   <head>
      <title><?cs var:lang.super_chat_log.page_title ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <link rel="StyleSheet" href="<?cs var:image_path ?>common.css" type="text/css"  />
   <script type="text/javascript" src="<?cs var:image_path ?>form_validation.js"></script>
   <script type="text/javascript">
   function check_pass()
   {
       var value = document.getElementById('password').value;
       if(is_whitespace(value) == true)
       {
          window.alert('<?cs var:lang.super_chat_passwd.must_enter_passwd ?>');
          return false;
       } 
       return true;
   } 
   </script> 
  </head>
<body onload="document.getElementById('password').focus()">
  <?cs if:display_form ?>
   <div class="center_msg"><br /><br /><br /><?cs var:lang.super_chat_passwd.page_title ?></div>
   <div><br /><br /><br /><form method="post" action="super_chat_passwd" onsubmit="return check_pass()">
   <div class="center_msg">
    <input type="hidden" name="id" value="<?cs var:Query.id ?>" /> 
    <input type="hidden" name="verify" value="1" /> 
    <?cs var:lang.super_chat_passwd.password ?>:
    <input type="password" name="password" id="password" title="<?cs var:lang.super_chat_passwd.password ?>" />
   </div> 
   <div class="center_msg">
    <input  type="submit"  value="<?cs var:lang.super_chat_passwd.change_button ?>" title="<?cs var:lang.super_chat_passwd.change_help ?>" /> 
    
    <input  type="button"  value="<?cs var:lang.super_chat_passwd.cancel ?>"  title="<?cs var:lang.super_chat_passwd.cancel_help ?>"  onclick="window.close()" />
  </div> 
  </form>
</div>
  <?cs else ?>
   <div class="center_msg"><br /><br /><br /><?cs var:lang.super_chat_passwd.success_msg ?></div>
   <div><form acton="">
   <div class="center_msg">
    <input class="super_color_button" type="button"  value="<?cs var:lang.super_chat_passwd.closewin ?>" title="<?cs var:lang.super_chat_passwd.closewin ?>" onclick="window.close()" />
   </div>
   </form></div>
  <?cs /if ?>
   
</body>
</html>

