RegisterMaster.aspx

לדף זה יש קוד מאחור תחת הכותרת RegisterMaster.aspx.cs
 avatar
user_2706180
html
a month ago
21 kB
1
Indexable
Never
<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Site1.Master" AutoEventWireup="true" CodeBehind="RegisterMaster.aspx.cs" Inherits="YoadMadrid.Pages.WebForm10" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        body {
            background-image: url(../Images/RegisterV2.png);
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
            font-family: Arial;
            margin: 0;

            color: blue;
        }
        .form-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
        }
        #form1 {
            text-align: center;
        }
        .checkbox-menu {
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }
        .password_container {
            display: flex;
        }
        .password_fields {
            display: flex;
            flex-direction: column; 

        }
        .confirm-field {
            margin-top: 5px;
        }
        .password-field {
            margin-top: 5px;
        }
        .country-related
        {
            margin-top: 5px;
            justify-content: left;
            display: flex;
        }
        .PhoneNumber_Container
        {
            margin-right: 20px;
        }

        .emailUsernameContainer{
            display: flex;
            justify-content: left;
            margin-top: 5px;
        }
        .emailContainer{
            margin-right: 20px;
        }

        .namesContainer{
            display: flex;
            justify-content: left;
            margin-top: 5px;
        }
        .firstnameContainer{
            margin-right: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div style="width: 100%; display: flex; justify-content: left; align-items: center; padding-left: 470px; padding-top: 80px;">
      <form runat="server" id="register" method="post" style="text-align: left" onsubmit="return validationOrder()">
        <div class="emailUsernameContainer">
          <div class="emailContainer">
            <div id="Email_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="Email" style="display: block; margin-bottom: 10px;">
              <b>Email: </b>
            </label>
            <input type="email" name="Email" id="Email" style="margin-bottom: 20px;" />
          </div>
          <div>
            
              <div runat="server" id="UsernameAlert" style="color: red; font-weight:bold"></div>
              <div id="Username_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="Username" style="display: block; margin-bottom: 10px;">
              <b>Username: </b>
            </label>
            <input type="text" name="Username" id="Username" style="margin-bottom: 20px;" />
          </div>
        </div>
        <div class="namesContainer">
          <div class="firstnameContainer">
            <div id="Firstname_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="Firstname" style="display: block; margin-bottom: 10px;">
              <b>First Name: </b>
            </label>
            <input type="text" name="Firstname" id="FirstName" style="margin-bottom: 20px;" />
          </div>
          <div>
            <div id="Lastname_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="Lastname" style="display: block; margin-bottom: 10px;">
              <b>Last Name: </b>
            </label>
            <input type="text" name="Lastname" id="LastName" style="margin-bottom: 20px;" />
          </div>
        </div>
        <div class="password_container">
          <div class="password_fields" style="margin-right: 20px;">
            <div id="Password_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="password">
              <b>Password: </b>
            </label>
            <input type="password" id="password" name="password" class="password-field">
          </div>
          <div class="password_fields">
            <div id="ConfirmPassword_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="ConfirmPassword">
              <b>Confirm Password: </b>
            </label>
            <input type="password" id="ConfirmPassword" name="ConfirmPassword" class="confirm-field">
          </div>
        </div>
        <br />
        <div class="country-related">
          <div class="PhoneNumber_Container">
            <div id="PhoneNumber_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="PhoneNumber" style="display: block; margin-bottom: 10px;">
              <b>Phone number: </b>
            </label>
            <input type="tel" name="PhoneNumber" id="PhoneNumber" style="margin-bottom: 20px;" />
          </div>
          <div>
            <div id="Country_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="Country" style="display: block; margin-bottom: 10px;">
              <b>Country: </b>
            </label>
            <select class="form-control" id="Country" name="Country">
              <option value="">Select a Country</option>
              <option value="Afghanistan">Afghanistan</option>
              <option value="Albania">Albania</option>
              <option value="Afghanistan">Afghanistan</option>
              <option value="Albania">Albania</option>
              <option value="Algeria">Algeria</option>
              <option value="Andorra">Andorra</option>
              <option value="Angola">Angola</option>
              <option value="Antigua and Barbuda">Antigua and Barbuda</option>
              <option value="Argentina">Argentina</option>
              <option value="Armenia">Armenia</option>
              <option value="Australia">Australia</option>
              <option value="Austria">Austria</option>
              <option value="Azerbaijan">Azerbaijan</option>
              <option value="Bahamas">Bahamas</option>
              <option value="Bahrain">Bahrain</option>
              <option value="Bangladesh">Bangladesh</option>
              <option value="Barbados">Barbados</option>
              <option value="Belarus">Belarus</option>
              <option value="Belgium">Belgium</option>
              <option value="Belize">Belize</option>
              <option value="Benin">Benin</option>
              <option value="Bhutan">Bhutan</option>
              <option value="Bolivia">Bolivia</option>
              <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
              <option value="Botswana">Botswana</option>
              <option value="Brazil">Brazil</option>
              <option value="Brunei">Brunei</option>
              <option value="Bulgaria">Bulgaria</option>
              <option value="Burkina Faso">Burkina Faso</option>
              <option value="Burundi">Burundi</option>
              <option value="Cabo Verde">Cabo Verde</option>
              <option value="Cambodia">Cambodia</option>
              <option value="Cameroon">Cameroon</option>
              <option value="Canada">Canada</option>
              <option value="Central African Republic">Central African Republic</option>
              <option value="Chad">Chad</option>
              <option value="Chile">Chile</option>
              <option value="China">China</option>
              <option value="Colombia">Colombia</option>
              <option value="Comoros">Comoros</option>
              <option value="Congo">Congo</option>
              <option value="Costa Rica">Costa Rica</option>
              <option value="Croatia">Croatia</option>
              <option value="Cuba">Cuba</option>
              <option value="Cyprus">Cyprus</option>
              <option value="Czech Republic">Czech Republic</option>
              <option value="Denmark">Denmark</option>
              <option value="Djibouti">Djibouti</option>
              <option value="Dominica">Dominica</option>
              <option value="Dominican Republic">Dominican Republic</option>
              <option value="East Timor">East Timor</option>
              <option value="Ecuador">Ecuador</option>
              <option value="Egypt">Egypt</option>
              <option value="El Salvador">El Salvador</option>
              <option value="Equatorial Guinea">Equatorial Guinea</option>
              <option value="Eritrea">Eritrea</option>
              <option value="Estonia">Estonia</option>
              <option value="Eswatini">Eswatini</option>
              <option value="Ethiopia">Ethiopia</option>
              <option value="Fiji">Fiji</option>
              <option value="Finland">Finland</option>
              <option value="France">France</option>
              <option value="Gabon">Gabon</option>
              <option value="Gambia">Gambia</option>
              <option value="Georgia">Georgia</option>
              <option value="Germany">Germany</option>
              <option value="Ghana">Ghana</option>
              <option value="Greece">Greece</option>
              <option value="Grenada">Grenada</option>
              <option value="Guatemala">Guatemala</option>
              <option value="Guinea">Guinea</option>
              <option value="Guinea-Bissau">Guinea-Bissau</option>
              <option value="Guyana">Guyana</option>
              <option value="Haiti">Haiti</option>
              <option value="Honduras">Honduras</option>
              <option value="Hungary">Hungary</option>
              <option value="Iceland">Iceland</option>
              <option value="India">India</option>
              <option value="Indonesia">Indonesia</option>
              <option value="Iran">Iran</option>
              <option value="Iraq">Iraq</option>
              <option value="Ireland">Ireland</option>
              <option value="Israel">Israel</option>
              <option value="Italy">Italy</option>
              <option value="Jamaica">Jamaica</option>
              <option value="Japan">Japan</option>
              <option value="Jordan">Jordan</option>
              <option value="Kazakhstan">Kazakhstan</option>
              <option value="Kenya">Kenya</option>
              <option value="Kiribati">Kiribati</option>
              <option value="Korea, North">Korea, North</option>
              <option value="Korea, South">Korea, South</option>
              <option value="Kosovo">Kosovo</option>
              <option value="Kuwait">Kuwait</option>
              <option value="Kyrgyzstan">Kyrgyzstan</option>
              <option value="Laos">Laos</option>
              <option value="Latvia">Latvia</option>
              <option value="Lebanon">Lebanon</option>
              <option value="Lesotho">Lesotho</option>
              <option value="Liberia">Liberia</option>
              <option value="Libya">Libya</option>
              <option value="Liechtenstein">Liechtenstein</option>
              <option value="Lithuania">Lithuania</option>
              <option value="Luxembourg">Luxembourg</option>
              <option value="Madagascar">Madagascar</option>
              <option value="Malawi">Malawi</option>
              <option value="Malaysia">Malaysia</option>
              <option value="Maldives">Maldives</option>
              <option value="Mali">Mali</option>
              <option value="Malta">Malta</option>
              <option value="Marshall Islands">Marshall Islands</option>
              <option value="Mauritania">Mauritania</option>
              <option value="Mauritius">Mauritius</option>
              <option value="Mexico">Mexico</option>
              <option value="Micronesia">Micronesia</option>
              <option value="Moldova">Moldova</option>
              <option value="Monaco">Monaco</option>
              <option value="Mongolia">Mongolia</option>
              <option value="Montenegro">Montenegro</option>
              <option value="Morocco">Morocco</option>
              <option value="Mozambique">Mozambique</option>
              <option value="Myanmar">Myanmar</option>
              <option value="Namibia">Namibia</option>
              <option value="Nauru">Nauru</option>
              <option value="Nepal">Nepal</option>
              <option value="Netherlands">Netherlands</option>
              <option value="New Zealand">New Zealand</option>
              <option value="Nicaragua">Nicaragua</option>
              <option value="Niger">Niger</option>
              <option value="Nigeria">Nigeria</option>
              <option value="North Macedonia">North Macedonia</option>
              <option value="Norway">Norway</option>
              <option value="Oman">Oman</option>
              <option value="Pakistan">Pakistan</option>
              <option value="Palau">Palau</option>
              <option value="Panama">Panama</option>
              <option value="Papua New Guinea">Papua New Guinea</option>
              <option value="Paraguay">Paraguay</option>
              <option value="Peru">Peru</option>
              <option value="Philippines">Philippines</option>
              <option value="Poland">Poland</option>
              <option value="Portugal">Portugal</option>
              <option value="Qatar">Qatar</option>
              <option value="Romania">Romania</option>
              <option value="Russia">Russia</option>
              <option value="Rwanda">Rwanda</option>
              <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
              <option value="Saint Lucia">Saint Lucia</option>
              <option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
              <option value="Samoa">Samoa</option>
              <option value="San Marino">San Marino</option>
              <option value="Sao Tome and Principe">Sao Tome and Principe</option>
              <option value="Saudi Arabia">Saudi Arabia</option>
              <option value="Senegal">Senegal</option>
              <option value="Serbia">Serbia</option>
              <option value="Seychelles">Seychelles</option>
              <option value="Sierra Leone">Sierra Leone</option>
              <option value="Singapore">Singapore</option>
              <option value="Slovakia">Slovakia</option>
              <option value="Slovenia">Slovenia</option>
              <option value="Solomon Islands">Solomon Islands</option>
              <option value="Somalia">Somalia</option>
              <option value="South Africa">South Africa</option>
              <option value="South Sudan">South Sudan</option>
              <option value="Spain">Spain</option>
              <option value="Sri Lanka">Sri Lanka</option>
              <option value="Sudan">Sudan</option>
              <option value="Suriname">Suriname</option>
              <option value="Sweden">Sweden</option>
              <option value="Switzerland">Switzerland</option>
              <option value="Syria">Syria</option>
              <option value="Taiwan">Taiwan</option>
              <option value="Tajikistan">Tajikistan</option>
              <option value="Tanzania">Tanzania</option>
              <option value="Thailand">Thailand</option>
              <option value="Togo">Togo</option>
              <option value="Tonga">Tonga</option>
              <option value="Trinidad and Tobago">Trinidad and Tobago</option>
              <option value="Tunisia">Tunisia</option>
              <option value="Turkey">Turkey</option>
              <option value="Turkmenistan">Turkmenistan</option>
              <option value="Tuvalu">Tuvalu</option>
              <option value="Uganda">Uganda</option>
              <option value="Ukraine">Ukraine</option>
              <option value="United Arab Emirates">United Arab Emirates</option>
              <option value="United Kingdom">United Kingdom</option>
              <option value="United States">United States</option>
              <option value="Uruguay">Uruguay</option>
              <option value="Uzbekistan">Uzbekistan</option>
              <option value="Vanuatu">Vanuatu</option>
              <option value="Vatican City">Vatican City</option>
              <option value="Venezuela">Venezuela</option>
              <option value="Vietnam">Vietnam</option>
              <option value="Yemen">Yemen</option>
              <option value="Zambia">Zambia</option>
              <option value="Zimbabwe">Zimbabwe</option>
            </select>
          </div>
        </div>
        <div id="Gender_ErrorMSG" style="color: red; font-weight:bold"></div>
        <div style="display: flex;">
          <div style="text-align: left; margin-bottom: 20px;">
            <label>
              <b>Gender:</b>
            </label>
            <br />
            <input type="radio" id="male" name="Gender" value="Male">
            <label for="male">Male</label>
            <br />
            <input type="radio" id="female" name="Gender" value="Female">
            <label for="female">Female</label>
            <br />
            <input type="radio" id="other" name="Gender" value="Other">
            <label for="other">Other</label>
            <br />
          </div>
          
            <div style="margin-left: 111px;">
            <div id="BirthDate_ErrorMSG" style="color: red; font-weight:bold"></div>
            <label for="date" style="display: block; margin-bottom: 10px;">
              <b>Date of Birth:</b>
            </label>
            <input type="date" name="BirthDate" id="BirthDate" style="margin-bottom: 20px;" />
          </div>
        </div>
        <div style="display: flex;">
          <div>
            <div id="GoalKeeper_ErrorMSG" style="color: red; font-weight:bold"></div>
            <select class="form-control" id="GoalKeeper" name="GoalKeeper" style="width: 216px;">
              <option value="">Select Your Favorite GoalKeeper</option>
              <option value="Courtois">Courtois</option>
              <option value="Lunin">Lunin</option>
              <option value="Arrizabalaga">Arrizabalaga</option>
            </select>
          </div>
          <div>
            <div id="Defender_ErrorMSG" style="color: red; font-weight:bold"></div>
            <select class="form-control" id="Defender" name="Defender" style="width: 216px;">
              <option value="">Select Your Favorite Defender</option>
              <option value="Carvajal">Carvajal</option>
              <option value="Militao">E. Militao</option>
              <option value="Alaba">Alaba</option>
              <option value="Nacho">Nacho</option>
              <option value="Lucas">Lucas V.</option>
              <option value="Garcia">Fran Garcia</option>
              <option value="Rudiger">Rudiger</option>
              <option value="Mendy">F. Mendy</option>
            </select>
          </div>
        </div>
        <div style="display: flex;">
          <div>
            <div id="Midfielder_ErrorMSG" style="color: red; font-weight:bold"></div>
            <select class="form-control" id="Midfielder" name="Midfielder" style="width: 216px;">
              <option value="">Select Your Favorite Midfielder</option>
              <option value="Bellingham">Bellingham</option>
              <option value="Kroos">Kroos</option>
              <option value="Modric">Modric</option>
              <option value="Camavinga">Camavinga</option>
              <option value="Valverde">Valverde</option>
              <option value="Tchouameni">Tchouameni</option>
              <option value="Ceballos">D. Ceballos</option>
              <option value="Guler">Arda Guler</option>
            </select>
          </div>
          <div>
            <div id="Forward_ErrorMSG" style="color: red; font-weight:bold"></div>
            <select class="form-control" id="Forward" name="Forward" style="width: 216px;">
              <option value="">Select Your Favorite Forward</option>
              <option value="Vini">Vini Jr.</option>
              <option value="Rodrygo">Rodrygo</option>
              <option value="Joselu">Joselu</option>
              <option value="Brahim">Brahim</option>
            </select>
          </div>
        </div>
        <br />
        <br />
        <br />
        <br />
        <input type="submit" />
        <input type="reset" />
    </div>
    </form>
    <script src="Javascript/validationOrder.js"></script>
</asp:Content>
Leave a Comment