<?php
session_start(); 
$u_uname = '';
if (isset($_COOKIE['auth_token'])) {
    $u_uname = $_COOKIE['auth_token'];
} else {
    header("location:login.php");
    exit; 
}
?>

<?php include 'include/header.php'; ?>
<?php include 'include/aside.php'; ?>
<?php include 'include/connection.php'; ?>



<div class="page-wrapper">
			<div class="page-content">
                       <div class="row">
                    <div class="col-lg-12 mx-auto">
                        
                                                
						<div class="card">
							<div class="card-header px-4 py-3">
								<h5 class="mb-0">New Server</h5>
							</div>
							<div class="card-body p-4">
								<form id="jQueryValidationForm" method="POST" action="action/addServer.php" novalidate="novalidate">
								
								    <!--<div class="row mb-3">-->
								    <!--    <label for="input35" class="col-sm-3 col-form-label">Server Name</label>-->
								    <!--    <div class="col-sm-9">-->
            <!--                                <select class="form-select mb-3" aria-label="Default select example" name="clientId" required="">-->
            <!--                                <option selected="">Select Client</option>-->
                                    
            <!--                                <option value="CSH724028">Amarjit Aps web</option><option value="CSH951443">anu rtfr</option><option value="CSH702416">pallavi CodeStudioHub Private Limited</option><option value="CSH504459">simran1 abcd</option><option value="CSH969951">Arul Raj Arul Raj</option>                                        </select>-->
            <!--                            </div>-->
            <!--                        </div>-->
									
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Server Name</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="package_name" placeholder="Name" required="">
										</div>
									</div>
									
									<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Domain</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="domain" placeholder="Domain" required="">
										</div>
									</div>
									
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Montly Price</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="montly_price" placeholder="Montly Price" required="">
										</div>
									</div>
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Visit</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="visit" placeholder="visit" required="">
										</div>
									</div>
									
									
									
									<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">SSD</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="ssd" placeholder="ssd" required="">
										</div>
									</div>
									
									<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">SSL Certificate</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="ssl_certificate" placeholder="ssl certificate" required="">
										</div>
									</div>
									
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Email Account</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="email_account" placeholder="Email" required="">
										</div>
									</div>
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Bandwidth</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="bandwidth" placeholder="Bandwidth" required="">
										</div>
									</div>
									
									
									
									
										<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">IP</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="ip" placeholder="ip" required="">
										</div>
									</div>
									
									<div class="row mb-3">
										<label for="input39" class="col-sm-3 col-form-label">Support</label>
										<div class="col-sm-9">
											<input type="text" class="form-control" id="input38" name="support" placeholder="support" required="">
										</div>
									</div>
									
									<!--	<div class="row mb-3">-->
									<!--	<label for="input39" class="col-sm-3 col-form-label">Package ID</label>-->
									<!--	<div class="col-sm-9">-->
									<!--		<input type="text" class="form-control" id="input38" name="package_id" placeholder="package id" required="">-->
									<!--	</div>-->
									<!--</div>-->
									<!--	<div class="row mb-3">-->
									<!--	<label for="input39" class="col-sm-3 col-form-label">Date</label>-->
									<!--	<div class="col-sm-9">-->
									<!--		<input type="text" class="form-control" id="input38" name="date" placeholder="Date" required="">-->
									<!--	</div>-->
									<!--</div>-->
									<!--	<div class="row mb-3">-->
									<!--	<label for="input39" class="col-sm-3 col-form-label">Status</label>-->
									<!--	<div class="col-sm-9">-->
									<!--		<input type="text" class="form-control" id="input38" name="status" placeholder="status" required="">-->
									<!--	</div>-->
									<!--</div>-->
									<!--<div class="row mb-2"> -->
									<!--	<label class="col-form-label col-sm-3">Delivery Date</label>-->
									<!--	<div class="col-sm-9">-->
									<!--	<input type="text" class="form-control datepicker flatpickr-input" readonly="readonly" name="deliveryDate" required="">-->
									<!--	</div>-->
									<!--</div>-->

									<!--<div class="row mb-3">-->
									<!--	<label for="input39" class="col-sm-3 col-form-label">Server Type</label>-->
									<!--	<div class="col-sm-9">-->
									<!--		<select name="servertype" class="form-select" required="">-->
									<!--			<option value="VPS">VPS</option>-->
									<!--			<option value="Dedicated Server">Dedicated Server</option>-->
									<!--			<option value="Shared Server">Shared Server</option>-->
									<!--			<option value="Window Server">Window Server</option>-->
									<!--		</select>-->
									<!--	</div>-->
									<!--</div>-->

									<!--<div class="row mb-3">-->
									<!--	<label for="input39" class="col-sm-3 col-form-label">Validity</label>-->
									<!--	<div class="col-sm-9">-->
									<!--		<select name="validity" class="form-select" required="">-->
									<!--			<option value="30">Monthly</option>-->
									<!--			<option value="90">Quaterly </option>-->
									<!--			<option value="180">Half Yearly</option>-->
									<!--			<option value="360">Yearly</option>-->
									<!--		</select>-->
									<!--	</div>-->
									<!--</div>-->

									
									<div class="row">
										<label class="col-sm-3 col-form-label"></label>
										<div class="col-sm-9">
											<div class="d-md-flex d-grid align-items-center gap-3">
											    
												<button type="submit" class="btn btn-primary px-4" name="submit2" style="margin-top:5%">Submit</button>
											
											</div>
										</div>
									</div>
								</form>

							</div>
						</div>
					</div>
				</div>
			
			</div>
		</div>
		
		
		
		<?php include 'include/footer.php'; ?>