<{if $MyWebs==""}>
  <{if $LoginMemID==""}>
    <form action="discuss.php" method="post" enctype="multipart/form-data" class="form-horizontal" role="form">
      <div class="control-group">
        <label class="span2 control-label">
          <{$smarty.const._MD_TCW_PLEASE_INPUT}><{$smarty.const._MD_TCW_MEM_UNAME}><{$smarty.const._TAD_FOR}>
        </label>
        <div class="span3 controls">
          <input class="span12" type="text" name="MemUname" placeholder="<{$smarty.const._MD_TCW_MEM_UNAME}>">
        </div>
        <label class="span2 control-label">
          <{$smarty.const._MD_TCW_PLEASE_INPUT}><{$smarty.const._MD_TCW_MEM_PASSWD}><{$smarty.const._TAD_FOR}>
        </label>
        <div class="span3 controls">
          <input class="span12" type="password" name="MemPasswd" placeholder="<{$smarty.const._MD_TCW_MEM_PASSWD}>">
        </div>
        <div class="span2 controls">
          <input type="hidden" name="WebID" value="<{$WebID}>">
          <input type="hidden" name="op" value="mem_login">
          <button type="submit" class="btn btn-primary"><{$smarty.const._MD_TCW_LOGIN}></button>
        </div>
      </div>
    </form>
  <{else}>
    <div class="well well-small">
      <a href="discuss.php?op=logout" class="btn btn-mini btn-warning"><{$smarty.const._MD_TCW_EXIT}></a>
      <a href="discuss.php?WebID=<{$LoginWebID}>&op=tad_web_discuss_form" class="btn btn-mini btn-info pull-right"><{$smarty.const._MD_TCW_DISCUSS_ADD}></a>
      <{$LoginMemName}>
      <{if $LoginMemNickName!=""}> (<{$LoginMemNickName}>) <{/if}>
      <{$smarty.const._MD_TCW_HELLO}>
    </div>
  <{/if}>
<{/if}>