Demo entry 6683435

1

   

Submitted by anonymous on Dec 13, 2017 at 04:03
Language: PHP. Code size: 1.9 kB.

<form class="form-horizontal" action="doUserReg.php" method="post"  enctype="multipart/form-data">


  <div class="form-group">
    <label for="inputuser" class="col-sm-2 control-label">用户名</label>
    <div class="col-md-4">
      <input type="text" class="form-control" id="inputuser" name="username" placeholder="用户名">
    </div>
  </div>


  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
    <div class="col-md-4">
      <input type="password" class="form-control" id="inputPassword3" placeholder="密码" name="密码" >
    </div>
  </div>
   <div class="form-group">
    <label class="col-md-2 control-label">性别</label>
    <div class="col-sm-6">
    <label class="radio-inline">
        <input type="radio" name="gender" id="inlineRadio1" value="0"> 男
    </label>
    <label class="radio-inline">
        <input type="radio" name="gender" id="inlineRadio2" value="1">女
    </label>
    </div>
  </div>

  <div class="form-group">
    <label for="inputBirth3" class="col-md-2 control-label">生日</label>
    <div class="col-sm-4">
      <input type="date" name="birthdate" class="form-control" id="inputBirth3">
    </div>
  </div>

  <div class="form-group">
    <label class="col-md-2 control-label">头像</label>
    <div class="col-sm-4">
      <input type="file" name="pic">
    </div>
  </div>

  <div class="form-group">
    <label for="inputEmail3" class="col-md-2 control-label">电子邮箱</label>
    <div class="col-sm-4">
      <input type="email" name="email" class="form-control" id="inputEmail3" placeholder="请输入电子邮箱">
    </div>
  </div>

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
    <input type="submit" value="注册" class="btn btn-default">
    <input type="reset" value="重置" class="btn btn-default">
    </div>
  </div>
</form>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).