<style>
	/* Chrome, Safari, Edge, Opera */
	input::-webkit-outer-spin-button,
	input::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}

	/* Firefox */
	input[type=number] {
		-moz-appearance: textfield;
	}
	.bottom-social{display:none;}
</style>
<main>

<div class="row m-0">
    <div class="col-md-8" style="    height: 87vh;
    overflow-y: scroll;">
        	<div class="col-md-12 text-center mb-4 mt-4">
<p class="text-center title3 weight700 font-Trebuchet wow fadeInUp" style="visibility: visible; animation-name: fadeInUp;">Exhibitor Registration</p>
<img src="<?= DOC_ROOT ?>assets/images/yellow-line.png" class="yellow-line">
</div>

	<section class="padT2">
			<div class=" ">
				<div class="row m-0">
					<div class="col-md-12 p-0 ">
						<?php             
    if(isset($_SESSION['codeerror'])){
    ?>
						<div class="alert alert-danger" role="alert">
							<?php echo $_SESSION['codeerror']; ?>
						</div>
						<?php
    }
?>


						<!--<p>Thank you for your interest in exhibiting at imm india.</p>
						<p>Please fill in the below form and our team shall contact you for further details.</p>
						<p>We look forward to your participation!</p>-->

					</div>
				</div>
				<div class="row m-0  mb-4">
					<div class="col-md-12 p-3" >
						<div class="contact_form book-your-stall">


							<form action="exhibitor-registration.php" method="post" role="form" class="custom-form font-Trebuchet"
								id="frmintapp_exhibitor">
								<input name="txt_formtype" value="1" type="hidden" />
								<input name="txt_utm_source" value="<?=$utm_source?>" type="hidden" />
								<input name="txt_utm_medium" value="<?=$utm_medium?>" type="hidden" />
								<input name="txt_formname" value="Exhibitor Registration" type="hidden" />
								<input name="txt_domainname" value="<?=DOMAIN_NAME?>" type="hidden" />
								<input name="txt_fromname"   
									value="Admin imm india: Revolutionizing The Future Of Workplaces"
									type="hidden" />
								<input name="txt_fromemail" value="<?=EMAILID?>" type="hidden" />
								<input name="txt_form_field1" value="" type="hidden" />
								<input name="txt_form_field2" value="<?=session_id();?>" type="hidden" />
								<input name="txt_recipientname"
									value="Admin imm india: Revolutionizing The Future Of Workplaces"
									type="hidden" />
								<!-- <input name="txt_recipientemail" value="forofficemails01@gmail.com, usama.developer01@gmail.com, evergrowsolutions@gmail.com" type="hidden" /> -->
								<input name="txt_recipientemail"
									value="a.biswas@koelnmesse-india.com, m.babaria@koelnmesse-india.com, a.ayare@koelnmesse-india.com, kmyaindia@gmail.com"
									type="hidden" />


								<input name="txt_redirect" value="<?=$_SERVER['PHP_SELF']?>" type="hidden" />
								<input name="txt_subject"
									value="Exhibitor registration form India imm india"
									type="hidden" />
								<input name="txt_form" type="hidden" style="display:none;" />

								<!--<input name="txt_attachment1" id="txt_attachment1" value="IHF-India-Brochure-2023-min.pdf" type="hidden" />-->
								<input name="txt_attachment1" id="txt_attachment1" value="" type="hidden" />

								<fieldset class="form-group">
									<div class="row">
										<div class="col-sm-6">
											<div class="form-check">
												<input class="form-check-input" type="radio" name="txt_require"
													value="Bare Space" >
												<label class="form-check-label" for="gridRadios1">
													Require Bare Space
												</label>
											</div>
										</div>
										<div class="col-sm-6">
											<div class="form-check">
												<input class="form-check-input" type="radio" name="txt_require"
													value="BuiltUp Space">
												<label class="form-check-label" for="gridRadios2">
													Require BuiltUp Space
												</label>
											</div>
										</div>
										<?php
   	if($Validation->has_error('txt_require') != ""){
	?>
										<span class="text text-danger"><?=$Validation->has_error('txt_require')?></span>
										<?php
		}
	?>
									</div>
								</fieldset>
								<div class="form-group row">
									<label for="stall_area" class="col-sm-3 col-form-label">Required Stall Area</label>
									<div class="col-sm-2">
										<input type="number" min="1" class="form-control" name="txt_stall_area"
											placeholder="sqm" value="" size="5" required>
										<?php
   	if($Validation->has_error('txt_stall_area') != ""){
	?>
										<span
											class="text text-danger"><?=$Validation->has_error('txt_stall_area')?></span>
										<?php
		}
	?>
									</div>
									<label for="" class="col-sm-4 col-form-label">sqm.</label>
								</div>
								<fieldset class="form-group">
									<div class="row">
										<div class="col-sm-6">
											<label>Looking for Sponsorship Opportunity?</label>
										</div>
										<div class="col-sm-1">
											<div class="form-check">
												<input class="form-check-input" type="radio"
													name="txt_sponsorship_opportunity" value="Yes" rel="Yes">
												<label class="form-check-label" for="gridRadios1">
													Yes
												</label>
											</div>
										</div>
										<div class="col-sm-1">
											<div class="form-check">
												<input class="form-check-input" type="radio"
													name="txt_sponsorship_opportunity" value="No" rel="No">
												<label class="form-check-label" for="gridRadios2">
													No
												</label>
											</div>
										</div>
										<?php
   	if($Validation->has_error('txt_sponsorship_opportunity') != ""){
	?>
										<span
											class="text text-danger"><?=$Validation->has_error('txt_sponsorship_opportunity')?></span>
										<?php
		}
	?>
									</div>
								</fieldset>

								<fieldset class="row">
									<div class="form-group col-sm-6">
										<label for="firstname" class="col-form-label">First name*</label>

										<input type="text" class="form-control" name="txt_firstname"
											placeholder="First Name" value="<?=$firstname?>" required>
										<?php
   	if($Validation->has_error('txt_firstname') != ""){
	?>
										<span
											class="text text-danger"><?=$Validation->has_error('txt_firstname')?></span>
										<?php
		}
	?>

									</div>
									<div class="form-group col-sm-6">
										<label for="lastname" class="col-form-label">Last name*</label>

										<input type="text" class="form-control" name="txt_lastname"
											placeholder="Last Name" value="<?=$lastname?>" required>
										<?php
   	if($Validation->has_error('txt_lastname') != ""){
	?>
										<span
											class="text text-danger"><?=$Validation->has_error('txt_lastname')?></span>
										<?php
		}
	?>

									</div>   
									<div class="form-group col-sm-6">
										<label for="company" class="col-form-label">Company*</label>

										<input type="text" class="form-control" name="txt_company" placeholder="Company"
											value="<?=$company?>" required>
										<?php
   	if($Validation->has_error('txt_company') != ""){
	?>
										<span class="text text-danger"><?=$Validation->has_error('txt_company')?></span>
										<?php
		}
	?>

									</div>
									<div class="form-group col-sm-6">
										<label for="designation" class="col-form-label">Designation*</label>

										<input type="text" class="form-control" name="txt_designation"
											placeholder="Designation" value="<?=$designation?>" required>
										<?php
   	if($Validation->has_error('txt_designation') != ""){
	?>
										<span
											class="text text-danger"><?=$Validation->has_error('txt_designation')?></span>
										<?php
		}
	?>
    
									</div>
									<div class="form-group col-sm-6">
										<label for="e-mail" class="col-form-label">E-mail*</label>

										<input type="email" class="form-control" name="txt_email" placeholder="E-mail"
											value="<?=$email?>" required>
										<?php
   	if($Validation->has_error('txt_email') != ""){
	?>
										<span class="text text-danger"><?=$Validation->has_error('txt_email')?></span>
										<?php
		}
	?>

									</div>
									<div class="form-group col-sm-6">
										<label for="number" class="col-form-label">Phone</label>

										<input type="text" class="form-control" name="txt_phone" placeholder="Phone"
											value="<?=$phone?>">

									</div>

									<div class="form-group col-sm-6">
										<label for="Mobile" class="col-form-label">Country Code<span
												class="color-red">*</span></label>
										<input type="number" class="form-control" name="txt_country_code"
											placeholder="Country Code" value="" required>

       
									</div>

									<div class="form-group col-sm-6">
										<label for="Mobile" class="col-form-label">Mobile*</label>

										<input type="number" maxlength="10" class="form-control" name="txt_mobile"
											placeholder="Mobile no" value="<?=$phone?>" required>
										<?php
   	if($Validation->has_error('txt_mobile') != ""){
	?>
										<span class="text text-danger"><?=$Validation->has_error('txt_mobile')?></span>
										<?php
		}
	?>
									</div>

									<div class="form-group col-sm-6">
										<label for="Mobile" class="col-form-label">City*</label>

										<input type="text" class="form-control" name="txt_City" id="txt_City"
											placeholder="City" value="<?=$city?>" required="">
									</div>

									<div class="form-group col-sm-6">
										<label for="Mobile" class="col-form-label">State/Province*</label>

										<input type="text" class="form-control" name="txt_state" placeholder="State"
											value="<?=$state?>" required="">
									</div>

									<div class="form-group col-sm-6">
										<label for="Mobile" class="col-form-label">Country*</label>

										<select class="form-control" name="txt_country" id="txt_country" required>
											<option value="">Country</option>
											<?=getAllCountryListForCombo()?>
										</select>
									</div>



									<!--    
 <div class="form-group col-sm-6">
 <label for="Mobile" class="col-form-label">Industry You Belong To *</label>

	<select class="form-control" name="txt_industryvisit" id="txt_industryvisit"  >
	    <option value="">select Industry</option>
	    <option value="Hand Tools">Hand Tools</option>
        <option value="Fasteners">Fasteners</option>
        <option value="Power Tools">Power Tools</option>
        <option value="Cutting and Welding Equipment">Cutting and Welding Equipment</option>
        <option value="Building Material Hardware">Building Material Hardware</option>
        <option value="Home Improvement">Home Improvement</option>
        <option value="Abrasive">Abrasive</option>
        <option value="Garden Equipment">Garden Equipment</option>
        <option value="Plumbing">Plumbing</option>
        <option value="Electrical Hardware Accessories">Electrical Hardware Accessories</option>
        <option value="Paints & Accessories">Paints & Accessories</option>
        <option value="Machine Tools">Machine Tools</option>
        <option value="DIY">DIY</option>
        <option value="Industry Services">Industry Services</option>
        <option value="Workshop & Fixing Technology">Workshop & Fixing Technology</option>
        <option value="Building & Furniture Fittings">Building & Furniture Fittings</option>
        <option value="Automotive supplies & accessories">Automotive supplies & accessories</option>
    </select>
 </div>
 
 <div class="form-group col-sm-6">
 <label for="Mobile" class="col-form-label">People from Industry You Want Meet*</label>

	<select class="form-control" name="txt_industrybelong"  id="txt_industrybelong" >
	    <option value="">select Industry</option>
        <option value="Tools Specialist Trade">Tools Specialist Trade</option>
        <option value="Hardware Trade">Hardware Trade</option>
        <option value="Railway / Automotive sector / E-vehicle">Railway / Automotive sector / E-vehicle</option>
        <option value="Department Store / Discount Store">Department Store / Discount Store</option>
        <option value="Department Store / Discount Store">Department Store / Discount Store</option>
        <option value="Casting and Forging Industries">Casting and Forging Industries</option>
        <option value="Construction Industries">Construction Industries</option>
        <option value="Engineering Industries">Engineering Industries</option>
        <option value="DIY Industries">DIY Industries</option>
        <option value="Medical Equipment Manufacturer">Medical Equipment Manufacturer</option>
        <option value="Electrical and Plumbing Contractors">Electrical and Plumbing Contractors</option>
        <option value="Garden Centres">Garden Centres</option>
        <option value="E-commerce">E-commerce</option>
    </select>
 </div>-->





									<div class="col-md-12">
										<div class="form-group row col-sm-6">
											<div class=" col-form-label">
												<label for="code" style="margin:0;">Enter Code in Box : </label>



												<img src="<?=DOC_ROOT?>verificationimage.php"
													alt="verification image, type it in the box" align="absbottom"
													width="60">

											</div>




											<input class="form-control " name="verif_box" id="verif_box" type="text">
											<?=$errmsg;?>

								</fieldset>
								<?=$successmsg;?>
								<div class="form-group row">
									<div class="col-sm-10">
										<input type="checkbox" id="iagree" name="txt_iagree" checked required> I hereby
										agree
										with the terms and conditions mentioned in the <a
											href="<?=DOC_ROOT?>privacy-policy.html" target="_blank">privacy policy</a>*
										<br>
										<button type="submit" class="btn btn-black-inner" name="btn_submit"
											value="submit">Send
											Form</button>
									</div>
								</div>
								<p class="left">(*) = Mandatory field</p>
							</form>




						</div>
					</div>
				</div>
			</div>
		</section>
    </div>
    <div class="col-md-4 p-0 d-sm-block d-none">
        <img src="<?= DOC_ROOT ?>assets/images/exhibitor-registration.jpg" width="100%" style="height:87vh;object-fit:cover;">
    </div>
</div>


	


	
		<script>
			$("#txt_email").on("blur", function () {
				var email = $(this).val();
				var emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; // Generic email validation      

				if (!emailPattern.test(email)) {
					$("#emailError").text("Please enter a valid Email id (e.g., example@gmail.com)").css("color", "red");
					$("#txt_email").css("border", "2px solid red");
				}
				else {
					$("#emailError").text("");
					$("#txt_email").css("border", "1px solid black");
				}
			});
		</script>