<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PeopleCheck.aspx.cs" Inherits="RM.Web.Training.Campaign.PeopleCheck" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title> TKS -  <%=title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
   
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>

    <script type="text/javascript" src="js/bootstrap.js"></script>

    <script type="text/javascript" src="js/bootstrap.min.js"></script>
 
</head>
<body>
<form id="form1" runat="server" class="form-horizontal" style=" width:70%">
<div class="head-a" style="background-color:#424242;font-size: 16px; height:40px;line-height:40px;color:#FFFFFF;">
<div style="margin-left:5px;">× 涛涛学院-签到</div>
</div>

<div class="head-b" style="background-color:#b90000; font-size:16px; height:40px;line-height:40px;color:#FFFFFF;">
<center>签到</center>
</div>
<div >



</div>
<center> 
<div  class="zhuti">
    		<br/>
    			<p>主题:<%=title %></p>	<br/>	
</div>

                  <div class="form-group">
                    <label for="Inputmingcheng"style="text-align: right;padding-top:10px " class="col-md-3 col-sm-3 col-xs-3 control-label "><span style="color: Red; margin-left:-10px;">*</span>姓名:</label>
                    <div class="col-md-9 col-sm-9 col-xs-9">
			 <input id="Name" runat="server" class="form-control" type="text" datacol="yes" err="姓名:" checkexpession="NotNull" />
                  </div>
                  </div>
                   <div class="form-group" >
                    <label for="Inputxingming"style="text-align: right;padding-top:10px;" class="col-md-3 col-sm- col-xs-3 control-label"  ><span style="color: Red;  margin-left:-10px;">*</span>手机:</label>
                    <div class="col-md-9 col-sm-9 col-xs-9">
			<input id="user" runat="server" class="form-control" type="text" datacol="yes" err="手机" checkexpession="NotNull"  />  
                  	</div>
                  </div><br/>
        
        <div style="margin:30px">
<center>
<!-- <button type="button" OnClientClick="return isok();" runat="server"  onclick="Save_Click" class="btn btn-danger" style="width:150px; font-size:16px;background-color:#ff3d00">签到</button>  -->
<asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return saveForm();"  onclick="Save_Click"><span class="l-btn-left">
                <img src="/Themes/Images/16/add.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("PeopleCheck")%></span></asp:LinkButton> 
	</center> 
        </div>
        </form> 
       

<div id="six" class="containter" style="height:5px;background-color:#4d91dc;">
    	
</div>
<div id="seven" class="containter" >
                    
                    <div class="content" style="margin-top:10px">
                        最终解释权归涛涛学院所有
                    </div>
</div>
        <div id="eight" class="containter">
    		<div class="content">
    			<img src="img/ff.png" alt="" style="width:55px;height:44px" />
    		</div>
    	</div>

 </center>

    


 

</body>
<script type="text/javascript">
    $("input").each(function () {
        $(this).attr("onblur", "ub(this);");

    });
    function isok() {
        $("input").each(function () {
            if ($(this).val() == "") {
                $(this).css("border-color", "red");
                var dqqh = $(this).offset().top - 50; // 当前题目高度
                $('html,body').animate({
                    scrollTop: dqqh + 'px'
                }, 400);
                return false;
            }
        });
    }


    function ub(obj) {
        if ($(obj).val() == "") {
            $(obj).css("border-color", "red");
            var dqqh = $(obj).offset().top - 50; // 当前题目高度
            $('html,body').animate({
                scrollTop: dqqh + 'px'
            }, 400);
        } else {
            $(obj).css("border-color", "");
        }
    }

    function saveForm() {
        if (!CheckDataValid('#form1')) return false;
        return true;
    }
</script>
</html>
