Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // <?php
- session_start();
- if(isset($_SESSION['email'])){
- if ($_SESSION['email']){
- $data = $_SESSION['email'];
- include ('php/config.php');
- $qry = $handler->prepare("SELECT id FROM login WHERE email = ?");
- $qry->execute(array($data));
- while($row = $qry->fetch(PDO::FETCH_ASSOC)){
- $id = $row['id'];
- }
- $qry = $handler->prepare( "SELECT * FROM companydetails WHERE compID = ?");
- $qry->execute(array($id));
- while($row = $qry->fetch(PDO::FETCH_ASSOC)){
- $id = $row['compID'];
- $company = $row['compName'];
- $compweb = $row['compWeb'];
- $compadd = $row['compAddress'];
- $compadd2 = $row['compAddress2'];
- $country = $row['compCountry'];
- $city = $row['compCity'];
- $zip = $row['zip'];
- $fname = $row['contactName'];
- $acode = $row['areacode'];
- $telno = $row['telNumber'];
- }
- $qry = $handler->prepare( "SELECT * FROM login WHERE id = ?");
- $qry->execute(array($id));
- while($row = $qry->fetch(PDO::FETCH_ASSOC)){
- $email = $row['email'];
- }
- }
- else{
- //die('<center><div style="width:500px; height:100px; background-color:#ffffff;border: 15px solid #ff0000; padding:20px 100px 20px 100px; color:#ff0000; font-family:arial; font-weight:bold; font-size:12px;"><center>Error 401. Access Denied! <br><br>Sorry, but you must be logged in to access this page!<br><br>
- //You can <a href= "javascript:history.back()">Go Back</a> or <a href="register.php">Register Here</a></center><div><br>
- //<span style ="color: #000000; font-weight:normal;">Copyright © 2014. All Rights Reserved.</span>');
- }
- }
- else{
- //die('<center><div style="width:500px; height:100px; background-color:#ffffff;border: 15px solid #ff0000; padding:20px 100px 20px 100px; color:#ff0000; font-family:arial; font-weight:bold; font-size:12px;"><center>Error 401. Access Denied! <br><br>Sorry, but you must be logged in to access this page!<br><br>
- //You can <a href= "javascript:history.back()" style="color:#ff0000;">Go Back</a> or <a href="register.php" style="color:#ff0000;">Register Here</a></center><div><br>
- //<span style ="color: #000000; font-weight:normal;">Copyright © 2014. All Rights Reserved.</span>');
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <?php echo "<title>$company</title>";?>
- <style type="text/css">
- p{
- font-size: 16px;
- }
- th{
- font-size:12px;
- }
- .input{
- width:310px;
- height:30px;
- border: 1px solid #000000;
- font-family: verdana;
- font-size:12px;
- }
- .input1{
- width:150px;
- height:30px;
- border: 1px solid #000000;
- font-family: verdana;
- font-size:12px;
- }
- label{
- font-size: 12px;
- }
- .black_overlay{
- display: none;
- position: absolute;
- top: 0%;
- left: 0%;
- width: 100%;
- height: 100%;
- background-color: black;
- z-index:1001;
- -moz-opacity: 0.5;
- opacity:.50;
- filter: alpha(opacity=50);
- border-radius: 10px;
- }
- .white_content {
- display: none;
- position: absolute;
- top: 5%;
- left: 8%;
- width: 80%;
- height: 60%;
- padding-left: 40px;
- padding-top: 40px;
- border: 16px solid orange;
- border-radius: 10px;
- background-color: white;
- z-index:1002;
- overflow: auto;
- }
- .black{
- display: none;
- position: absolute;
- top: 0%;
- left: 0%;
- width: 100%;
- height: 100%;
- background-color: black;
- z-index:1001;
- -moz-opacity: 0.5;
- opacity:.50;
- filter: alpha(opacity=50);
- border-radius: 10px;
- }
- .white {
- display: none;
- position: absolute;
- top: 5%;
- left: 8%;
- width: 80%;
- height: 20%;
- padding-left: 40px;
- padding-top: 40px;
- border: 16px solid orange;
- border-radius: 10px;
- background-color: white;
- z-index:1002;
- overflow: auto;
- }
- .td{
- text-align:right;
- }
- .td2{
- text-align:left;
- }
- .noborder{
- outline:none;
- outline:0px;
- border: none;
- }
- .tdfont{
- font-size: 12px;
- text-align:right;
- }
- .uploads{
- width:100%;
- padding-left:10px;
- margin-bottom:10px;
- }
- .bar{
- width: 75%;
- background: #eee;
- padding: 3px;
- margin-bottom:10px;
- box-shadow: inset 0 1px 3px rgba(0,0,0,2);
- border-radius: 3px;
- box-sizing:border-box;
- margin-left:
- }
- .barfill{
- height: 10px;
- display: block;
- background: #ff6f01;
- width:0px;
- border-radius: 3px;
- transition:width 0.8s ease;
- }
- .barfilltext{
- color:#000;
- padding: 3px;
- font-size:10px;
- }
- </style>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <link rel="stylesheet" type="text/css" href="css/formwizard.css"/>
- <script src="js/formwizard.js" type="text/javascript"></script>
- <script type="text/javascript">
- var myform=new formtowizard({
- formid: 'feedbackform',
- persistsection: true,
- //validate: ['Inspection_Service','Inspection_Date','Shipment_Date','Factory_Name','Factory_address','Country','City','contact_person','contact_number','email','product_name','product_category','qty','unit','PO','brand','color/material/finish','technical_specifications/rating','shipping_mark','additional_info'], //required fields
- revealfx: ['slide', 1000]/*,
- onpagechangestart:function($, i, $fieldset){
- var validated=true
- var fieldset=$fieldset.get(0) //get fieldset element as a DOM object
- var allels=fieldset.getElementsByTagName("*") //get all elements inside fieldset
- for (var i=0; i<allels.length; i++){
- if (allels[i].type=="text" || allels[i].tagName=="TEXTAREA"){
- if (allels[i].value==""){
- alert("Please fill out the field "+allels[i].getAttribute('id'))
- allels[i].focus()
- validated=false
- break //break out of for loop
- } //end inner if
- } //end outer if
- }
- return validated
- }*/
- });
- </script>
- <script>
- $(document).tooltip({
- content: function() {
- var element = $(this);
- return element.attr("title");
- }
- });
- </script>
- <script>
- <!--
- function isNumberKey(evt)
- {
- var charCode = (evt.which) ? evt.which : event.keyCode;
- if (charCode != 46 && charCode > 31
- && (charCode < 48 || charCode > 57))
- return false;
- return true;
- }
- </script>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
- <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
- <script>
- $(function() {
- $( '#Shipment_Date' ).datepicker();
- });
- </script>
- </head>
- <body background="#fff">
- <?php include 'header.html'?>
- <div id="header"></div>
- <center>
- <div id="container">
- <div id="content" style="background:#e5e5e5; width:1263px; height:1000px;">
- <!--content goes inside the div below-->
- <div style="background:#ffffff; width:1200px; height:1000px; border: 1px #bdbdbd solid; margin-left:0px;">
- <!--put page contents here-->
- <!--third column-->
- <!--end of third column-->
- <!--first column-->
- <div style="position:absolute; font-family:arial; font-size:14px; color:#ff6f01; text-align:left; width:300px; height:800px; border-right:1px solid #bdbdbd;padding-top:20px;z-index:10000">
- <span style="font-weight:bold; font-size:20px; margin-left:90px;">Control Panel</span>
- <div style="margin-top:250px;">
- <div style="font-weight:bold; font-size:20px; margin-top:50px; margin-left:40px; padding:10px 40px; position:absolute;background:#ff6f01;color:#fff;"><a href="book.php" style="text-decoration:none; color:#fff;">Book a Service</div>
- <div style="font-weight:bold; font-size:20px; margin-top:100px; margin-left:40px; padding:10px 64px; position:absolute;background:#ff6f01;color:#fff;"><a href="profile.php" style="text-decoration:none; color:#fff;">My Profile</a></div>
- <div style="font-weight:bold; font-size:20px; margin-top:150px; margin-left:40px; padding:10px 49px; position:absolute;background:#ff6f01;color:#fff;width:125px;">My Bookings</div>
- <div style="font-weight:bold; font-size:20px; margin-top:200px; margin-left:40px; padding:10px 29px; position:absolute;background:#ff6f01;color:#fff;width:165px;"><a href="settings.php" style="text-decoration:none; color:#fff;">Account Settings</a></div>
- <div style="font-weight:bold; font-size:20px; margin-top:250px; margin-left:40px; padding:10px 78px; position:absolute;background:#ff6f01;color:#fff;"><a href="php/logout.php" style="text-decoration:none; color:#fff;">Logout</a></div>
- </div>
- </div>
- <!--end of first column-->
- <!--second column-->
- <div style="font-family:verdana; margin-top:50px;">
- <div style="margin-left:300px; margin-top:-50px; position:absolute; color:#fff; font-size:20px; background:#ff6f01; text-align:left; padding-left:10px; width:890px; padding-top:10px; padding-bottom:10px;"><b>Booking</b></div>
- <span style="position:absolute; margin-left:-250px; font-weight:bold; color:#ff6f01;"><!--subtitle here--></span>
- <div style="position:absolute;margin-top:50px;margin-left:320px;">
- <form id="feedbackform" style="text-align:left;" method="POST" action="bookingsuccess.php">
- <fieldset class="sectionwrap">
- <legend>General Information</legend><br/>
- <label for="ref_num">Project Reference Number</label><br>
- <input id="Reference_Number" value ="" type="text" size="60" name="ref_num" class="input"/><br/><br/>
- <label for="service">Inspection Service</label><br>
- <select style="width:310px;height:30px;border: 1px solid #000000;" id="Inspection_Service" selected="selected" name="service" onchange="inspect();">
- <option value=""></option>
- <optgroup label="Inspection Services">
- <option value="Incoming Quality Inspection">Incoming Quality Inspection</option>
- <option value="DUPRO">During Production Inspection(DUPRO)</option>
- <option value="Pre Shipment Inspection">Pre Shipment Inspection</option>
- <option value="Container Loading Inspection">Container Loading Inspection</option>
- <option value="Setting Up Production Lines">Setting Up Production Lines</option>
- </optgroup>
- <optgroup label="Audit Services">
- <option value="Physical Audit">Physical Audit</option>
- <option value="Detail Company Audit">Detail Company Audit</option>
- <option value="Social audit">Social Audit</option>
- </optgroup>
- <optgroup label="Testing Services">
- <option value="Sample Testing">Sample Testing</option>
- <option value="Lab Testing">Lab Testing</option>
- </optgroup>
- </select><br/><br/>
- <label for="insdate">Desired Inspection Date:</label><br>
- <input id="Inspection_Date" type="text" size="60" name="insdate" class="input"/>
- <input type="checkbox" value="1"/><label title="Selecting this will not allow the factory to postpone or advance the inspection date">Do not allow factory to change this date.</label>
- <br/><br/>
- <label for="shipdate">Expecteded Shipment Date:</label><br>
- <input id="Shipment_Date" type="text" size="60" name="shipdate" class="input" value="" onchange="timediff();" />
- <input type="hidden" name="inspectdate" id="ins_dates">
- <input type="hidden" name="shipmentdate" id="ship_dates">
- <script type="text/javascript" src="js/date.js"></script>
- <script type="text/javascript">
- function timediff(){
- var minutes = 1000*60;
- var hours = minutes*60;
- var days = hours*24;
- var ins = document.getElementById("Inspection_Date").value;
- var ship = document.getElementById("Shipment_Date").value;
- var foo_date1 = getDateFromFormat(ins, "M/d/y");
- var foo_date2 = getDateFromFormat(ship, "M/d/y");
- var diff_date = Math.round((foo_date2 - foo_date1)/days);
- if(diff_date == 1){
- alert("You are requesting a Service within 24 hours and our minimun time availability is 48 hours, but we'll do our best to perform this service. However, we may charge you additional fees for immediate inspection.");
- }
- }
- </script>
- <script>
- function trans(){
- var ins = document.getElementById("Inspection_Date").value;
- var ship = document.getElementById("Shipment_Date").value;
- document.getElementbyId("ins_dates").value = ins;
- document.getElementbyId("ship_dates").value = ins;
- }
- </script>
- </fieldset>
- <fieldset class="sectionwrap">
- <legend>Factory Information</legend><br/>
- <label for="factory">Factory Name</label><br>
- <input type="text" class="input" id="Factory_Name" name="factory" placeholder="Factory Name"/><br/><br/>
- <label for="factoryadd">Factory Address</label><br>
- <input type="text" class="input" id="Factory_address" name="factoryadd" placeholder="Address"/><br/><br/>
- <label for="country">Country</label><br>
- <select name = "country" id="Country" class="input"><br/><br/>
- <option value="Select Country" disabled>Select Country</option>
- <option value="" disabled>---</option>
- <option value="Afghanistan">Afghanistan</option>
- <option value="Albania">Albania</option>
- <option value="Algeria">Algeria</option>
- <option value="American Samoa">American Samoa</option>
- <option value="Andorra">Andorra</option>
- <option value="Angola">Angola</option>
- <option value="Anguilla">Anguilla</option>
- <option value="Antigua and Barbuda">Antigua and Barbuda</option>
- <option value="Argentina">Argentina</option>
- <option value="Armenia">Armenia</option>
- <option value="Aruba">Aruba</option>
- <option value="Ascencion">Ascension</option>
- <option value="Australia">Australia</option>
- <option value="Australian External Territories">Australian External Territories</option>
- <option value="austria">Austria</option>
- <option value="Azerbaijan">Azerbaijan</option>
- <option value="Bahamas">Bahamas</option>
- <option value="Bahrain">Bahrain</option>
- <option value="Bangladesj">Bangladesh</option>
- <option value="Barbados">Barbados</option>
- <option value="Barbuda">Barbuda</option>
- <option value="Belarus">Belarus</option>
- <option value="Belgium">Belgium</option>
- <option value="Belize">Belize</option>
- <option value="Benin">Benin</option>
- <option value="Bermuda">Bermuda</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="British Indian Ocean Territory">British Indian Ocean Territory</option>
- <option value="British Virgin Islands">British Virgin Islands</option>
- <option value="Brunei">Brunei</option>
- <option value="Bulgaria">Bulgaria</option>
- <option value="Burkina Faso">Burkina Faso</option>
- <option value="Burunudi">Burundi</option>
- <option value="Cambodia">Cambodia</option>
- <option value="Cameroon">Cameroon</option>
- <option value="Cabada">Canada</option>
- <option value="Cape Verde">Cape Verde</option>
- <option value="Cayman Islands">Cayman Islands</option>
- <option value="Central African Republic">Central African Republic</option>
- <option value="Chad">Chad</option>
- <option value="Chatham Island (New Zealand) ">Chatham Island (New Zealand)</option>
- <option value="Chile">Chile</option>
- <option value="China">China</option>
- <option value="Christmas Islands">Christmas Island</option>
- <option value="Cocos-Keeling Islands">Cocos-Keeling Islands</option>
- <option value="Colombia">Colombia</option>
- <option value="Comoros">Comoros</option>
- <option value="Congo">Congo</option>
- <option value="Congo, Dem. Rep of Zaire">Congo, Dem. Rep. of (Zaire)</option>
- <option value="Cook Islands">Cook Islands</option>
- <option value="Costa Rica">Costa Rica</option>
- <option value="Ivory Coast">Ivory Coast</option>
- <option value="Croatia">Croatia</option>
- <option value="Cuba">Cuba</option>
- <option value="Cuba(Guantanamo Bay)">Cuba (Guantanamo Bay)</option>
- <option value="Curacao">Curacao</option>
- <option value="Cyprus">Cyprus</option>
- <option value="Czech Republic">Czech Republic</option>
- <option value="Denmark">Denmark</option>
- <option value="Diego Garcia">Diego Garcia</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="Easter Island">Easter Island</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="Ethiopia">Ethiopia</option>
- <option value="Falkland Islands">Falkland Islands</option>
- <option value="Faroe Islands">Faroe Islands</option>
- <option value="Fiji">Fiji</option>
- <option value="Finland">Finland</option>
- <option value="France">France</option>
- <option value="French Antilles">French Antilles</option>
- <option value="French Guiana">French Guiana</option>
- <option value="French Polynesia">French Polynesia</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="Gibraltar">Gibraltar</option>
- <option value="Greece">Greece</option>
- <option value="Greenland">Greenland</option>
- <option value="Grenada">Grenada</option>
- <option value="Guadeloupe">Guadeloupe</option>
- <option value="Guam">Guam</option>
- <option value="Guantanamo Bay">Guantanamo Bay</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="Hong Kong SAR China">Hong Kong SAR China</option>
- <option value="Hungary">Hungary</option>
- <option value="Iceland">Iceland</option>
- <option value="India">India</option>
- <option value="Indonesia">Indonesia</option>
- <option value="Inmarsat SNAC">Inmarsat SNAC</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="North Korea">Korea North</option>
- <option value="South Korea">Korea South</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="Lithuana">Lithuania</option>
- <option value="Luxembourg">Luxembourg</option>
- <option value="Macau SAR China">Macau SAR China</option>
- <option value="Macedonia">Macedonia</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="Martinique">Martinique</option>
- <option value="Mauritania">Mauritania</option>
- <option value="Mauritius">Mauritius</option>
- <option value="Mayotte">Mayotte</option>
- <option value="Mexico">Mexico</option>
- <option value="Micronesia">Micronesia</option>
- <option value="Midway">Midway Island</option>
- <option value="Moldova">Moldova</option>
- <option value="Monaco">Monaco</option>
- <option value="Mongolia">Mongolia</option>
- <option value="Montenegro">Montenegro</option>
- <option value="Montserrat">Montserrat</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="Netherlands Antilles">Netherlands Antilles</option>
- <option value="Nevis">Nevis</option>
- <option value="New Caledonia">New Caledonia</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="Niue">Niue</option>
- <option value="Norfok">Norfolk Island</option>
- <option value="Northern Mariana Islands">Northern Mariana Islands</option>
- <option value="Norway">Norway</option>
- <option value="Oman">Oman</option>
- <option value="Pakistan">Pakistan</option>
- <option value="Palau">Palau</option>
- <option value="Palestinian Territory">Palestinian Territory</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="Puerto Rico">Puerto Rico</option>
- <option value="Qatar">Qatar</option>
- <option value="Reunion">Réunion</option>
- <option value="Romania">Romania</option>
- <option value="Russia">Russia</option>
- <option value="250">Rwanda</option>
- <option value="Saint Barthélemy">Saint Barthélemy</option>
- <option value="Saint Helena">Saint Helena</option>
- <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
- <option value="Saint Lucia">Saint Lucia</option>
- <option value="Saint Martin">Saint Martin</option>
- <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</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="Sint Maarten">Sint Maarten</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="Spain">Spain</option>
- <option value="Sri Lanka">Sri Lanka</option>
- <option value="Sudan">Sudan</option>
- <option value="Suriname">Suriname</option>
- <option value="Swaziland">Swaziland</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="Timor-Leste">Timor-Leste</option>
- <option value="Togo">Togo</option>
- <option value="Tokelau">Tokelau</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="Turks and Caicos Islands">Turks and Caicos Islands</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="US Virgin Islands">U.S. Virgin Islands</option>
- <option value="Uzbekistan">Uzbekistan</option>
- <option value="Vanuatu">Vanuatu</option>
- <option value="Vatican">Vatican</option>
- <option value="Venezuela">Venezuela</option>
- <option value="Vietnam">Vietnam</option>
- <option value="Wake Island">Wake Island</option>
- <option value="Wallis and Futuna">Wallis and Futuna</option>
- <option value="Yemen">Yemen</option>
- <option value="Zambia">Zambia</option>
- <option value="Zanzibar">Zanzibar</option>
- <option value="Zimbabwe">Zimbabwe</option>
- </select>
- <br/><br/>
- <label for="city">City</label><br>
- <input type="text" class="input" id="City" name="city" placeholder="City"/><br/><br/>
- <label for="contact">Factory Contact Person</label><br>
- <input type="text" class="input" id="contact_person" name="contact" placeholder="Contact Person"/><br/><br/>
- <label for="cnum">Contact Number</label><br>
- <input type="text" class="input" id="contact_number" name="cnum" placeholder="Mobile/Telephone" onkeypress="return isNumberKey(event)"/><br/><br/>
- <label for="email">Email Address</label><br>
- <input type="text" class="input" id="email" name="email" placeholder="Email Address"/><br/><br/>
- </fieldset>
- <fieldset class="sectionwrap">
- <legend>Product Information</legend><br/>
- <label for="product_name">Product Name</label><br>
- <input type="text" class="input" id="product_name" name="product_name" placeholder="Product Name"/><br/><br/>
- <label for="product_cat">Product Category</label><br>
- <select class="validate[required]" id="product_category" name="product_cat" style="font-family:verdana; width:312px; height:28px; border: 1px solid #000000;">
- <option value="" disabled selected>Select Category</option>
- <optgroup label="Electronic Products">
- <option>Home Appliances</option>
- <option>Small Electronic and Communications</option>
- <option>Lighting</option>
- <option>Computers and Accessories</option>
- <option>Audio</option>
- <option>Video</option>
- </optgroup>
- <optgroup label="Construction and Mechanical Products">
- <option>Building Materials</option>
- <option>DIY Tools and Hardware</option>
- <option>Machinery Parts and Products</option>
- <option>Automotive Parts and Products</option>
- <option>Heavy Equipment</option>
- </optgroup>
- <optgroup label="Apparel/Textile/Accessories">
- <option>Bags and Luggage</option>
- <option>Fabric</option>
- <option>Garment Accessories</option>
- <option>Footwear</option>
- <option>Headwear</option>
- <option>Underwear</option>
- <option>Umbrellas</option>
- <option>Home Textile</option>
- <option>Eyewear</option>
- <option>Jewelry</option>
- <option>Watch and Timepieces</option>
- </optgroup>
- <optgroup label="Homeware">
- <option>Cleaning Accessories</option>
- <option>Ceramics and Porcelain</option>
- <option>Garment Accessories</option>
- <option>Furniture</option>
- <option>Gardenware</option>
- <option>Plasticware</option>
- <option>Glassware</option>
- <option>Bathroom Items</option>
- <option>Kitchenware and Utensils</option>
- <option>Decorating Items</option>
- <option>Tableware</option>
- </optgroup>
- <optgroup label="Printing and Packaging">
- <option>Packaging (no food contact)</option>
- <option>Stationery</option>
- <option>Books and Printing</option>
- <option>Food Packaging</option>
- </optgroup>
- <optgroup label="Toys and Recreational Items">
- <option>Baby Items</option>
- <option>Electronic Toys</option>
- <option>Metallic Toys</option>
- <option>Musical Instruments</option>
- <option>Paper Toys</option>
- <option>Plastic Toys</option>
- <option>Wooden Toys</option>
- <option>Stuffed / Plushed Toys</option>
- <option>Inflatable Toys</option>
- <option>Sport Equipment/Machine</option>
- </optgroup>
- </select>
- <br/><br/>
- <label for="qty">Qty</label> <label for="unit" style="margin-left:130px;">Unit</label><br>
- <input type="text" class="input" style="width:100px; height:26px;" id="qty" name="qty" placeholder="Qty" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'" onkeypress="return isNumberKey(event)"/>
- <select class="input" style="width:100px;margin-left:50px;" id="unit" name="unit" placeholder="Unit"/>
- <option value="" disabled selected>--</option>
- <option value="">Piece/s</option>
- <option value="">Set/s</option>
- <option value="">Pair/s</option>
- <option value="">Box/es</option>
- </select><br/><br/>
- <label for="po">PO Number</label><br>
- <input type="text" class="input" id="PO" name="po" placeholder="PO Number"/><br><br/>
- <label for="brand">Brand</label><br>
- <input type="text" class="input" id="brand" name="brand" placeholder="Brand"/><br><br/>
- <label for="brand">Color/Material/Finish</label> <br/>
- <textarea rows="4" cols="42" name="cmf" style="border:1px solid #000000;" id="color/material/finish"></textarea><br><br>
- <div style="position:absolute; margin-top:-460px;margin-left:380px;">
- <label for="spec">Technical Specifications/Rating</label> <br/>
- <textarea rows="4" cols="40" name="tech_spec" style="border:1px solid #000000;" name="spec" id="technical_specifications/rating"></textarea><br><br>
- <label for="smark">Shipping Mark</label> <br/>
- <textarea rows="4" cols="40" style="border:1px solid #000000;" name="shippingmark" id="shipping_mark"> </textarea><br><br>
- <label for="prod_add_info">Additional Information</label><br/>
- <textarea rows="4" cols="40" name="prod_add_info"style="border:1px solid #000000;" id="additional_info"></textarea><br>
- <!-- Upload Files-->
- <div style="display:block;" class="uploads">
- <p style="color:red;">Upload Your Attachments</p>
- <input type="file" name="file[]" id="file" required multiple/>
- <input type="button" id="submit" value="Upload Files"/>
- </div>
- <div class="bar">
- <span class="barfill" id="pb"><span class="barfilltext" id="pt"></span></span>
- </div>
- <div id="uploads" class="uploads"></div>
- <!-- Upload Files-->
- </div>
- <script type="text/javascript" src="upload.js"></script>
- <script type="text/javascript">
- var sub = document.getElementById('submit');
- sub.addEventListener('click', function(e){
- e.preventDefault();
- var f = document.getElementById('file'),
- pb = document.getElementById('pb'),
- pt = document.getElementById('pt');
- app.uploader({
- files:f,
- progressBar:pb,
- progressText:pt,
- processor: 'upload.php',
- finished: function(data){
- var uploads = document.getElementById('uploads'),
- succeeded = document.createElement('div'),
- failed = document.createElement('div'), anchor, span, x;
- if (data.failed.length) {
- failed.innerHTML = '<p>The following files failed to upload</p>'
- }
- uploads.innerText = '' ;
- anchor = document.createElement('p');
- anchor.innerText = "Upload Complete!";
- anchor.target = '_blank';
- succeeded.appendChild(anchor);
- for(x=0;x<data.failed.length; x=x+1){
- span = document.createElement('span');
- span.innerText = data.failed[x].name;
- failed.appendChild(span);
- }
- uploads.appendChild(succeeded);
- uploads.appendChild(failed);
- },
- error: function (){
- console.log("Error");
- }
- });
- });
- </script>
- <div id="light" class="white_content">
- <label for="qty">Qty</label><br>
- <input type="number" class="input" id="qty1" name="qty1" placeholder="Qty" min=1 onkeypress="return isNumberKey(event);"/><br><br/>
- <label>General Inspection Level:</label>
- <label style="margin-left:50px;">Sample Size:<br/></label>
- <select class="input" id="ins_lvl" name = "gen_lvl" style="width:150px;"onchange="samplecheck();">
- <option value="" disabled selected>--</option>
- <optgroup label="General Inspection">
- <option value="N1">N1</option>
- <option value="N2">N2</option>
- <option value="N3">N3</option>
- </optgroup>
- </select>
- <input id="sampsize" style="width:150px;height:26px; margin-left:50px;" class="input" name="sample_size" readonly />
- <br>
- <br>
- <label>Special Inspection Level:</label>
- <label for="sample_sizespec" style="margin-left:54px;">Sample Size:<br/></label>
- <select class="input" style="width:150px;" name="spe_lvl" id="spe_lvl" onchange="specialsamplecheck();">
- <option value="" disabled selected>--</option>
- <optgroup label="Special Inspection">
- <option value="S1">S1</option>
- <option value="S2">S2</option>
- <option value="S3">S3</option>
- <option value="S4">S4</option>
- </optgroup>
- </select>
- <input id="sampsizespec" style="width:150px;height:26px; margin-left:50px;" class="input" name="sample_sizespec" readonly />
- <script type="text/javascript">
- function samplecheck(){
- var qua = document.getElementById('qty1').value;
- var inlvl = document.getElementById('ins_lvl').value;
- if (inlvl == 'N1'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsize').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsize').value = 2;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsize').value = 3;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsize').value = 5;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsize').value = 5;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsize').value = 8;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsize').value = 13;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsize').value = 20;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsize').value = 32;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsize').value = 50;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsize').value = 80;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsize').value = 125;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsize').value = 200;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsize').value = 315;
- }else if(qua >=500001){
- document.getElementById('sampsize').value = 500;
- }else if(qua == 1){
- alert("Minimum Quantity is '2' ");
- }else{
- alert("Please enter a Quantity");
- }
- }else if(inlvl == 'N2'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsize').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsize').value = 3;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsize').value = 5;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsize').value = 8;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsize').value = 13;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsize').value = 20;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsize').value = 32;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsize').value = 50;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsize').value = 80;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsize').value = 125;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsize').value = 200;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsize').value = 315;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsize').value = 500;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsize').value = 800;
- }else if (qua >=500001){
- document.getElementById('sampsize').value = 1250;
- }else if(qua == 1){
- alert("Minimum Quantity is '2' ");
- }else{
- alert("Please enter a Quantity");
- }
- }else if(inlvl == 'N3'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsize').value = 3;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsize').value = 5;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsize').value = 8;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsize').value = 13;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsize').value = 20;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsize').value = 32;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsize').value = 50;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsize').value = 80;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsize').value = 125;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsize').value = 200;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsize').value = 315;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsize').value = 500;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsize').value = 800;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsize').value = 1250;
- }else if(qua >= 500001){
- document.getElementById('sampsize').value = 2000;
- }else if(qua == 1){
- alert("Minimum Quantity is '2' ");
- }else{
- alert("Please enter a Quantity");
- }
- }
- }
- </script>
- <script type="text/javascript">
- function specialsamplecheck(){
- var qua = document.getElementById('qty1').value;
- var spelvl = document.getElementById('spe_lvl').value;
- if(spelvl == 'S1'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsizespec').value = 8
- }else if(qua >= 500001){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua == 1){
- alert("Minimum quantity is '2'");
- }else{
- alert("Please enter a Quantity");
- }
- }else if(spelvl == 'S2'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 500001){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua == 1){
- alert("Minimun quanitty is '2'");
- }else{
- alert("Please enter a Quantity");
- }
- }else if(spelvl == 'S3'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsizespec').value = 20;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsizespec').value = 20;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsizespec').value = 32;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsizespec').value = 32
- }else if(qua >= 500001){
- document.getElementById('sampsizespec').value = 50;
- }else if(qua == 1){
- alert("Minimum Quantity is '2'");
- }else{
- alert("Please enter a Quantity");
- }
- }else if(spelvl == 'S4'){
- if (qua >= 2 && qua <= 8){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 9 && qua <= 15){
- document.getElementById('sampsizespec').value = 2;
- }else if(qua >= 16 && qua <= 25){
- document.getElementById('sampsizespec').value = 3;
- }else if(qua >= 26 && qua <= 50){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 51 && qua <= 90){
- document.getElementById('sampsizespec').value = 5;
- }else if(qua >= 91 && qua <= 150){
- document.getElementById('sampsizespec').value = 8;
- }else if(qua >= 151 && qua <= 280){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 281 && qua <= 500){
- document.getElementById('sampsizespec').value = 13;
- }else if(qua >= 501 && qua <= 1200){
- document.getElementById('sampsizespec').value = 20;
- }else if(qua >= 1201 && qua <= 3200){
- document.getElementById('sampsizespec').value = 32;
- }else if(qua >= 3201 && qua <= 10000){
- document.getElementById('sampsizespec').value = 32;
- }else if(qua >= 10001 && qua <= 35000){
- document.getElementById('sampsizespec').value = 50;
- }else if(qua >= 35001 && qua <= 150000){
- document.getElementById('sampsizespec').value = 80;
- }else if(qua >= 150001 && qua <= 500000){
- document.getElementById('sampsizespec').value = 80
- }else if(qua >= 500001){
- document.getElementById('sampsizespec').value = 125;
- }else if(qua == 1){
- alert("Minimun quantity is '2'");
- }else{
- alert("Please enter a Quantity");
- }
- }
- }
- </script>
- <span style="position:absolute; margin-left:80px; margin-top:-150px;">
- <label>Acceptable Quality Limit (AQL)</label>
- <span>
- <table border="1">
- <tr>
- <td><label>Minor</label></td>
- <td>
- <select style="width:80px; height:20px;" name="minor" id = "min">
- <option value ="" disabled selected>--</option>
- <option value="0">0</option>
- <option value="0.065">0.065</option>
- <option value="0.10">0.10</option>
- <option value="0.15">0.15</option>
- <option value="0.25">0.25</option>
- <option value="0.4">0.4</option>
- <option value="0.65">0.65</option>
- <option value="1.0">1.0</option>
- <option value="1.5">1.5</option>
- <option value="2.5">2.5</option>
- <option value="4.0">4.0</option>
- <option value="6.5">6.5</option>
- <option value="10">10</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label>Major</label></td>
- <td><select style="width:80px; height:20px;" name="major" id = "maj">
- <option value ="" disabled selected>--</option>
- <option value="0">0</option>
- <option value="0.065">0.065</option>
- <option value="0.10">0.10</option>
- <option value="0.15">0.15</option>
- <option value="0.25">0.25</option>
- <option value="0.4">0.4</option>
- <option value="0.65">0.65</option>
- <option value="1.0">1.0</option>
- <option value="1.5">1.5</option>
- <option value="2.5">2.5</option>
- <option value="4.0">4.0</option>
- <option value="6.5">6.5</option>
- <option value="10">10</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label>Crtitical</label></td>
- <td><select style="width:80px; height:20px;" name="crit" id = "crit">
- <option value ="" disabled selected>--</option>
- <option value="0">0</option>
- <option value="0.065">0.065</option>
- <option value="0.10">0.10</option>
- <option value="0.15">0.15</option>
- <option value="0.25">0.25</option>
- <option value="0.4">0.4</option>
- <option value="0.65">0.65</option>
- <option value="1.0">1.0</option>
- <option value="1.5">1.5</option>
- <option value="2.5">2.5</option>
- <option value="4.0">4.0</option>
- <option value="6.5">6.5</option>
- <option value="10">10</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label>Functional</label></td>
- <td><select style="width:80px; height:20px;" name="functional" id = "fn">
- <option value ="" disabled selected>--</option>
- <option value="0">0</option>
- <option value="0.065">0.065</option>
- <option value="0.10">0.10</option>
- <option value="0.15">0.15</option>
- <option value="0.25">0.25</option>
- <option value="0.4">0.4</option>
- <option value="0.65">0.65</option>
- <option value="1.0">1.0</option>
- <option value="1.5">1.5</option>
- <option value="2.5">2.5</option>
- <option value="4.0">4.0</option>
- <option value="6.5">6.5</option>
- <option value="10">10</option>
- </select>
- </td>
- </tr>
- </table>
- </span>
- <span style = "position:absolute; margin-left:10px; margin-top:50px; padding: 5px 20px; background:#ff6f01;color:#fff;cursor:hand;cursor:pointer;border-radius:5px;" id="copy" value="OK" onclick ="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none';document.getElementById('qty').value = document.getElementById('qty1').value;">Confirm</span>
- </div>
- <div id="fade" class="black_overlay"></div>
- </fieldset>
- <fieldset class="sectionwrap">
- <legend>Customer Requirements</legend><br/>
- <label><b>Do you want us to continue if we face following conditions in the factory?</b></label><br/>
- <span>
- <table border="0">
- <tr>
- <td class="td"><label>No key component list available: </label></td>
- <td>
- <select name="key_component_list">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td class="td"><label>No removable sticker on carton: </label></td>
- <td>
- <select name="removable_sticker_carton">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>No serial No. on the product:</label></td>
- <td>
- <select name="serial_no">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td class="td"><label>Packaging label does not contain imp/exp info:</label></td>
- <td>
- <select name="imp/exp">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>No rating label:</label></td>
- <td>
- <select name="rating_label">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td class="td"><label>Packing not finished by 80%:</label></td>
- <td>
- <select name="80_percent">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>No removable sticker on Product:</label></td>
- <td>
- <select name="removable_sticker_product">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td class="td"><label>Missing logo on product:</label></td>
- <td>
- <select name="missing_logo">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>Report Requirement:</label></td>
- <td>
- <select name="rep_req1">
- <option value="CE - Yes">CE -Yes</option>
- <option value="CE - No">CE - No</option>
- <option value="CCC - Yes">CCC -Yes</option>
- <option value="CCC - No">CCC - No</option>
- <option value="GS - Yes">GS-Yes</option>
- <option value="GS - No">GS- No</option>
- <option value="ROHS - Yes">ROHS - Yes</option>
- <option value="ROHS - No">ROHS - No</option>
- <option value="FCC - Yes">FCC - Yes</option>
- <option value="FCC - No">FCC - No</option>
- <option value="PCT- Yes">PCT - Yes</option>
- <option value="PCT - No">PCT - No</option>
- </select>
- </td>
- </tr>
- </table>
- <br>
- </span>
- <label><b>Special requirements?</b></label>
- <span>
- <table border="0" width="525px;">
- <tr>
- <td class="td"><label>Double Sampling:</label></td>
- <td>
- <select name="dble_sampling" id="dble_sampling" onchange="dbleconf();">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- <div id="dblelight" class="white">Please Confirm additional fee for this request<br><br>
- <input type="button" style="width:70px; height:25px;" id="buttonYes" value="Yes" href = "javascript:void(0)" onclick = "document.getElementById('dblelight').style.display='none';document.getElementById('dblefade').style.display='none';">
- <input type="button" style="width:70px; height:25px;" id="buttonNo" value="No" href = "javascript:void(0)" onclick = "document.getElementById('dblelight').style.display='none';document.getElementById('dblefade').style.display='none';">
- </div>
- <div id="dblefade" class="black"></div>
- <script type="text/javascript">
- function dbleconf(){
- var sel = document.getElementById('dble_sampling').value;
- if (sel == 'Yes') {
- document.getElementById('dblelight').style.display='block';document.getElementById('dblefade').style.display='block';
- }else{
- document.getElementById('dblelight').style.display='none';document.getElementById('dblefade').style.display='none'
- }
- };
- </script>
- <script type="text/javascript">
- document.getElementById('buttonNo').onclick = function(){
- document.getElementById('dble_sampling').value = 'No';
- document.getElementById('dblelight').style.display='none';document.getElementById('dblefade').style.display='none';
- }
- </script>
- <td class="td"><label>Seal on whole quantity:</label></td>
- <td>
- <select name="seal_qty" id="seal_qty" onchange="sealconf();">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- </tr>
- <div id="seallight" class="white">Please Confirm additional fee for this request<br><br>
- <input type="button" style="width:70px; height:25px;" id="buttonYes1" value="Yes" href = "javascript:void(0)" onclick = "document.getElementById('seallight').style.display='none';document.getElementById('sealfade').style.display='none';">
- <input type="button" style="width:70px; height:25px;" id="buttonNo1" value="No" href = "javascript:void(0)" onclick = "document.getElementById('seallight').style.display='none';document.getElementById('sealfade').style.display='none';">
- </div>
- <div id="sealfade" class="black"></div>
- <script type="text/javascript">
- function sealconf(){
- var sel1 = document.getElementById('seal_qty').value;
- if (sel1 == 'Yes') {
- document.getElementById('seallight').style.display='block';document.getElementById('sealfade').style.display='block';
- }else{
- document.getElementById('seallight').style.display='none';document.getElementById('sealfade').style.display='none'
- }
- };
- </script>
- <script type="text/javascript">
- document.getElementById('buttonNo1').onclick = function(){
- document.getElementById('seal_qty').value = 'No';
- document.getElementById('seallight').style.display='none';document.getElementById('sealfade').style.display='none';
- }
- </script>
- <tr>
- <td class="td"><label>Seal on every product:</label></td>
- <td>
- <select name="seal_prod" id="seal_every_product" onchange="sealprodconf();">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- <div id="sealprodlight" class="white">Please Confirm additional fee for this request<br><br>
- <input type="button" style="width:70px; height:25px;" id="buttonYes2" value="Yes" href = "javascript:void(0)" onclick = "document.getElementById('sealprodlight').style.display='none';document.getElementById('sealprodfade').style.display='none';">
- <input type="button" style="width:70px; height:25px;" id="buttonNo2" value="No" href = "javascript:void(0)" onclick = "document.getElementById('sealprodlight').style.display='none';document.getElementById('sealprodfade').style.display='none';">
- </div>
- <div id="sealprodfade" class="black"></div>
- <script type="text/javascript">
- function sealprodconf(){
- var sel2 = document.getElementById('seal_every_product').value;
- if (sel2 == 'Yes') {
- document.getElementById('sealprodlight').style.display='block';document.getElementById('sealprodfade').style.display='block';
- }else{
- document.getElementById('sealprodlight').style.display='none';document.getElementById('sealprodfade').style.display='none'
- }
- };
- </script>
- <script type="text/javascript">
- document.getElementById('buttonNo2').onclick = function(){
- document.getElementById('seal_every_product').value = 'No';
- document.getElementById('sealprodlight').style.display='none';document.getElementById('sealprodfade').style.display='none';
- }
- </script>
- <td class="td"><label>TIC Report or own report:</label></td>
- <td>
- <select name="tic_own">
- <option value="TIC">TIC</option>
- <option value="Own">Own</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>Seal on every opened carton:</label></td>
- <td>
- <select name="seal_carton" id="seal_opened_carton" onchange="sealcartconf();">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- <div id="sealcartlight" class="white">Please Confirm additional fee for this request<br><br>
- <input type="button" style="width:70px; height:25px;" id="buttonYes3" value="Yes" href = "javascript:void(0)" onclick = "document.getElementById('sealcartlight').style.display='none';document.getElementById('sealcartfade').style.display='none';">
- <input type="button" style="width:70px; height:25px;" id="buttonNo3" value="No" href = "javascript:void(0)" onclick = "document.getElementById('sealcartlight').style.display='none';document.getElementById('sealcartfade').style.display='none';">
- </div>
- <div id="sealcartfade" class="black"></div>
- <script type="text/javascript">
- function sealcartconf(){
- var sel3 = document.getElementById('seal_opened_carton').value;
- if (sel3 == 'Yes') {
- document.getElementById('sealcartlight').style.display='block';document.getElementById('sealcartfade').style.display='block';
- }else{
- document.getElementById('sealcartlight').style.display='none';document.getElementById('sealcartfade').style.display='none'
- }
- };
- </script>
- <script type="text/javascript">
- document.getElementById('buttonNo3').onclick = function(){
- document.getElementById('seal_opened_carton').value = 'No';
- document.getElementById('sealcartlight').style.display='none';document.getElementById('sealcartfade').style.display='none';
- }
- </script>
- <td class="td"><label>TIC Chop on Export Carton:</label></td>
- <td>
- <select name="tic_chop">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- </tr>
- </table>
- <br>
- </span>
- <label><b>Product Specific Requirements?</b></label><br>
- <span>
- <table border="0" width="525px;">
- <tr>
- <td class="td"><label>Temperature Test:</label></td>
- <td>
- <select name="temp_test">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- <td class="td"><label>Temperature rise measure test:</label></td>
- <td>
- <select name="tem_rise_test">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td"><label>Humidity test:</label></td>
- <td>
- <select name="humid_test">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- <td class="td"><label>Noise test:</label></td>
- <td>
- <select namw="noise_test">
- <option value="Yes">Yes</option>
- <option value="No" selected>No</option>
- </select>
- </td>
- </tr>
- <tr style="z-index:1000">
- <td colspan="2"><label>Special requirement for these?</label></td>
- <td colspan="2" style="z-index:1000"><input type ="text" style="z-index:1000000" name="productrequire" size="30" name="spec_req" ></td>
- </tr>
- </table>
- <br>
- </span>
- <label><b>Special Packing Instructions</b></label><br>
- <span>
- <table border="0">
- <tr>
- <td colspan="6">
- <textarea rows="4" cols="60" name="spec_packing_ins"></textarea>
- </td>
- </tr>
- <tr>
- <td><label>Blister Packing</label></td>
- <td>
- <select name="blister">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td><label>Carton Packing</label></td>
- <td>
- <select name="carton_packing">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- </td>
- <td><label>Tape</label></td>
- <td>
- <select name="tape">
- <option value="PVC">PVC</option>
- <option value="Fibre Tape">Fibre Tape</option>
- <option value="PET">PET</option>
- <option value="PT">PT</option>
- <option value="Paper Tape">Paper Tape</option>
- <option value="Plastic Tape">Plastic Tape</option>
- </select>
- </td>
- <td><label>Use Metal Buckles?</label><label><input type="radio" name="buckles" value="yes"><b>Yes</b></label><label><input type="radio" name="buckles" value="no"><b>No</b></label></td>
- </tr>
- </table>
- <br><br>
- </span>
- <span style="position:absolute;margin-left:565px;margin-top:-390px;">
- <label><b>Additional Special Requirements:</b></label>
- <textarea cols="26" rows="10" name="add_special_req"></textarea>
- </span>
- </fieldset>
- <fieldset class="sectionwrap">
- <legend>Other Details</legend>
- <label for="ref_sample">Reference Sample</label><br>
- <label><input type="radio" name="ref_sample" value="No Sample">No Sample</label><br>
- <label><input type="radio" name="ref_sample" value="Sample was already in Factory"> Sample was already in Factory</label><br>
- <label><input type="radio" name="ref_sample" value="Sample Already Sent to TIC"/> Sample Already Sent to TIC</label><br>
- <label><input type="radio" name="ref_sample" value="Sample was/will be sent to Factory"/> Sample was/will be sent to Factory</label><br><br>
- <div id="factorytic">
- <label>Courier: </label>
- <select name="courier" class="input" style="width:150px;">
- <option value="--" disabled selected>Choose courier</option>
- <option value="Chronopost">Chronopost</option>
- <option value="DHL">DHL</option>
- <option value="FedEx">FedEx</option>
- <option value="HKDC">HKDC</option>
- <option value="SF Express">SF Express</option>
- <option value="Others">Others (Please indicate in the comment box below)</option>
- </select>
- <label>Tracking Number: </label><input type="text" class="input" style="width:150px;"><br><br>
- <label>Should we change the inspection schedule if samples do not arrive on time?</label>
- <label><input type="radio" value="Yes" name="other_date" checked>Yes</label>
- <label><input type="radio" value="No" name="other_date">No</label>
- </div><br>
- <label>Additional Remarks</label><br>
- <textarea cols="60" rows="5" name="other_remarks" placeholder="You can add comments or additional remarks about your sample here. Also indicate here your courier if it is not in the list above."></textarea>
- <br><br>
- </fieldset>
- <fieldset class="sectionwrap">
- <legend>Confirm Booking</legend>
- <table border="1">
- <tr>
- <th style="width:300px;">Description</td>
- <th style="width:100px; text-align:right;">Quantity</th>
- <th style="width:100px; text-align:right;">Unit Price</th>
- <th style="width:100px; text-align:right;">Total Price</th>
- </tr>
- <tr>
- <td class="tdfont">
- <input type="text" size="50" id="inspect_price" class="noborder" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="man-day" class="noborder" value="1 Man/day"readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="unit price" class="noborder" readOnly>
- </td>
- <td>
- <input type="text" size="10" id="total" class="noborder" readOnly>
- </td>
- </tr>
- <tr>
- <td class="tdfont">
- <input type="text" size="50" id="sample_collection" class="noborder" value="Sample Colection" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="man-day" class="noborder" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="unit price" class="noborder" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="total" class="noborder" readOnly>
- </td>
- </tr>
- <tr>
- <td class="tdfont">
- <input type="text" size="50" id="express_booking" class="noborder" value="Express Booking" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="man-day" class="noborder" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="unit price" class="noborder" readOnly>
- </td>
- <td class="tdfont">
- <input type="text" size="10" id="total" class="noborder" readOnly>
- </td>
- </tr>
- </table>
- <br>
- <input type="submit" id-"submit" Value="Book Inspection" style="border:none;color:#fff;background:#ff6f01; padding:10px 30px;border-radius:5px;cursor:hand;cursor:pointer;">
- </fieldset>
- </form>
- </div>
- </div>
- <!--end of second column-->
- </div>
- <!--content end here-->
- </div>
- <div class="clearfooter"></div>
- </div><!--End Container-->
- </center>
- <div id="footer"></div>
- <script>
- $(function() {
- //$( "#Inspection_Date" ).datepick();
- $( "#Inspection_Date" ).datepicker();//CHANGE_BY_ME
- });
- </script>
- <script>
- function check() {
- document.getElementById('light').style.display='none';
- document.getElementById('fade').style.display='none';
- document.getElementById("qty").value = document.getElementById('qty1').value;
- </script>
- <script type="text/javascript">
- function inspect(){
- var inspect = document.getElementById("Inspection_Service");
- var inspect2 = inspect.options[inspect.selectedIndex].text;
- document.getElementById("inspect_price").value = inspect2;
- var inspectprice = inspect.options[inspect.selectedIndex].text;
- }
- </script>
- <?php include 'footer.html'?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement