<? include("settings.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>APCNDT 2017</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap -->
    <link href="css/bootstrap.css" rel="stylesheet">
      <link href="css/bootstrap-theme.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
      
        <noscript>
            <p>This site is best viewed with Javascript. If you are unable to turn on Javascript, please contact enquiry@bewinnersharing.com.sg.</p>
        </noscript>
      <script>
        function submissiontype(){
            if ($('#submission_type').val()=="New"){
                $('#paperdiv').hide();
                $('#abssubdiv').show();
                $('#sessionoptions').show();
            }
            if ($('#submission_type').val()=="Full"){
                $('#paperdiv').show();
                $('#abssubdiv').hide();
                $('#sessionoptions').hide();
            }
            if ($('#submission_type').val()=="Revision"){
                $('#paperdiv').show();
                $('#abssubdiv').hide();
                $('#sessionoptions').hide();
            }
            if ($('#submission_type').val()=="0"){
                $('#paperdiv').hide();
                $('#abssubdiv').hide();
                $('#sessionoptions').hide();
            }
        }
          
          
      </script>
  </head>
  <body>
<div class="well">
<div class="content" bgcolor="#FFFFD0">
  <div class="col-12 feature">
      <form class="form-horizontal" method="post" action="process.php">
          <center>
          APCNDT2017<br/>
          15th APCNDT Conference 2017<br/>
          Singapore, 13 - 17 November 2017<br/>
          </center>
          <br/>
          <div class="panel panel-default" id="Abstract">
            <div class="panel-heading  text-center"><h4>Abstract Submission</h4><font size='1'>Deadline 31 March 2017 for Abstract and 30 May 2017 for Full Paper</font></div>
            <div class="panel-body">      
                <div class="form-group">
                  <label for="registrant_salutation1" class="col-lg-4 control-label"> Submission Type</label>
                  <div class="col-lg-3">
                      <select class="form-control" id="submission_type" name="submission_type" onchange="submissiontype();">
                          <option value="0">Please Select</option>
                          <option value="New">New Abstract Submission</option>
                          <option value="Full">Full Paper Submission</option>
                          <option value="Revision">Abstract Revision</option>
                      </select>
                  </div>
                </div>
                <div class="form-group" id="paperdiv">
                    <label for="paper_number" class="col-lg-4 control-label">Paper Number</label>
                    <div class="col-lg-6">
                        <input type="text" name="paper_number" id="paper_number" placeholder="E.g. OR-xx-xxxx/P-xx-xxxx" class="form-control" required>
                    </div>
                </div>
                <div class="form-group" id="abssubdiv">
                    <label for="abssub" class="col-lg-4 control-label"> Abstract Submission</label>
                    <div class="col-lg-6">
                        <input type="radio" checked name="abssub" value="O">Oral <input type="radio" name="abssub" value="P">Poster 
                    </div>
                </div>
                <div class="form-group" id="sessionoptions">
                  <label for="session" class="col-lg-4 control-label">Session</label>
                  <div class="col-lg-3">
                      <select class="form-control" id="session" name="session">
                          <option value="0">Please Make Selection</option>
                            <?
                                $options = $db->select("tbl_topic");
                                foreach ($options as $option){
                                    echo "<option value='".$option['topic_id']."'>".$option['topic']."</option>";
                                }
                            ?>
                      </select>
                  </div>
                </div>
                
            </div>
        </div>   
        <div class="panel panel-default" id="newupload">
            <div class="panel-heading  text-center"><h4>Abstract Submission Upload</h4></div>
            <div class="panel-body">     
                <div class="form-group">
                    <div class="col-lg-6">
                        Note: File must be in word document format and all pictures must be cropped to fit paper size:  US Standard 8.5inch x 11inch
The abstract is limited to two pages and is limited to no more than 500 words using Times New Roman 11pt fonts with the
exception of the title, which should be in Times New Roman 14pt BOLD.  Figures and Tables should be collected on the 
second page with captions in Times New Roman 10pt Italic.

                    </div>
                </div>
                <div class="form-group">
                    <label for="topic_title" class="col-lg-4 control-label">Topic Title</label>
                    <div class="col-lg-6">
                        <input type="text" name="topic_title" id="topic_title" placeholder="E.g. xxxxxxxxxxxxxxx" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="abssub" class="col-lg-4 control-label"> File Upload</label>
                    <div class="col-lg-6">
                        <input type="file" name="abssub" class="form-control"  >
                    </div>
                </div>
            </div>
        </div>     
          
          
          
        <div class="panel panel-default" id="Info">
            <div class="panel-heading  text-center"><h4>Particulars</h4></div>
            <div class="panel-body">      
                <div class="form-group">
                  <label for="registrant_salutation1" class="col-lg-4 control-label"> Salutation</label>
                  <div class="col-lg-3">
                      <select class="form-control" id="registrant_salutation" name="registrant_salutation">
                          <option value="Mr">Mr</option>
                          <option value="Prof">Prof</option>
                          <option value="Asst Prof">Asst Prof</option>
                          <option value="Dr">Dr</option>
                          <option value="Mrs">Mrs</option>
                          <option value="Ms">Ms</option>
                      </select>
                  </div>
                </div>
                <div class="form-group">
                    <label for="registrant_familyname" class="col-lg-4 control-label"> Family Name</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_familyname" id="registrant_familyname" placeholder="Smith" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_fullname" class="col-lg-4 control-label"> Full Name</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_fullname" id="registrant_fullname" placeholder="E.g.John E. Smith" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_organisation" class="col-lg-4 control-label"> Organisation</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_organisation" id="registrant_organisation" placeholder="E.g. Acme Pte Ltd" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_email" class="col-lg-4 control-label"> Email</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_email" id="registrant_email" placeholder="E.g. john@acme.com" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_mailing" class="col-lg-4 control-label"> Mailing Address</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_mailing" id="registrant_mailing" placeholder="E.g. 7 Acme Ave" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_city" class="col-lg-4 control-label"> City</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_city" id="registrant_city" placeholder="E.g. Singapore" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="registrant_postal" class="col-lg-4 control-label"> Postal</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_postal" id="registrant_postal" placeholder="E.g. 123456" class="form-control" required>
                    </div>
                </div>
                <div class="form-group">
                  <label for="country_id" class="col-lg-4 control-label">Country</label>
                  <div class="col-lg-3">
                      <select class="form-control" id="country_id" name="country_id">
                          <option value="0">Please Select</option>
                            <?
                                $options = $db->select("tbl_country");
                                foreach ($options as $option){
                                    echo "<option value='".$option['country_id']."'>".$option['country_name ']."</option>";
                                }
                            ?>
                      </select>
                  </div>
                </div>
                <div class="form-group">
                    <label for="registrant_mobile" class="col-lg-4 control-label"> Contact</label>
                    <div class="col-lg-6">
                        <input type="text" name="registrant_mobile" id="registrant_mobile" placeholder="E.g. 91234567" class="form-control" required>
                    </div>
                </div>
                
                
            </div>
        </div>     
        <div class="panel panel-info">
            <div class="panel-body">
                <div class="col-lg-1"></div>
                <div class="col-lg-10">
                    <b><u>Terms & Conditions</u></b><br/>
All presenters will be notified from 1 April 2017 on the status of their abstract<br/>
All presenters must register and make payment in full by 30 May 2017<br/>
By submitting the paper under this portal, the author allows to transfer all or some of his rights to NDT.net for distribution
on public internet, permitting any users to read, download, copy, distribute, rint, search or link to the full texts<br/>
                </div>
                <div class="col-lg-1"></div>
            </div>
        </div>     
        <div class="form-group">
            <div class="col-lg-12 text-center">
                <input type="checkbox" name="agree" id="agree" value="yes">  I have read and I agree to abide by all of the above terms and conditions <br/><br/>
            </div>
            <div class="col-lg-12 text-center">
                <button type="submit" name="submit" class="btn btn-primary" onclick="alert('Form checking in progress!');">Submit</button>
                <button type="reset" class="btn btn-default">Cancel</button>
            </div>
        </div>
          <input type="hidden" name="source_id" value="7">
        </form>
    </div>


    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-1.11.2.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    <script>
        submissiontype();
    </script>
  </div>
</div>
</body>
</html>
