<?php
include('../headertop.php');
include('../db.php');

$disp = '';
$pagetitle = 'New Investor Details';
//$disp .=' <div class="col-md-6">';


if(isset($_REQUEST['sm']))
$disp .= '<div class="smdiv">'.$_REQUEST['sm'].'</div>';
else
$disp .= '<div class="smdiv">Add Investor Details</div>';

$disp .='<form role="form" id="addinvestor" method="post" action="addinvestor2.php" >
                                    <div class="row">
                                <div class="col-md-6">
                                    <h3>Fill all required fields(*) and click Submit</h3>
                                    
                                        <div class="form-group">
                                            <label>Name *</label>
                                            <input type="text" name="name" data-validation="required" class="form-control" />
                                                                                  </div>
                                        <div class="form-group">
                                            <label>Phone *</label>
                                            <input type="text" class="form-control" name="phone" data-validation="required number"   />
                                        </div>
                                       
										                                       
                                       
                                        <div class="form-group">
                                            <label>Address * </label>
                                            <textarea class="form-control" name="address" data-validation="required" rows="5"></textarea>
                                        </div>
										
										
                                        	  
																				  
											  </div>
											  
										                                             
                                               		<div class="col-md-6" style="margin-top:55px">
													
													
										
										 
										
                                        </div>
										
										<div class="col-md-9" style="text-align:center"><button type="submit" class="btn btn-primary" name="addinvestorsubmit">Submit Button</button>
                                        <button type="reset" class="btn btn-default">Reset Button</button>
										</form></div>
                                    </div>';
									
									include('../template.php');
									include('../header.php');
                                    ?>
                                    <script>
                                    $.validate({
  form : '#addinvestor'
});
</script>
                                      