	<!-- Modal -->
	<div class="modal fade" id="myModalAddUser" tabindex="-1" role="dialog" aria-labelledby="modal_add_user_title">
	  <div class="modal-dialog modal-lg" role="document">
		<div class="modal-content">
		  <div class="modal-header">
				<h4 class="modal-title" id="modal_add_user_title"></h4>
		  		<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			</div>
		  <div class="modal-body">
			<form class="form-horizontal" method="post" id="add_user_from_modal_shipments" name="add_user_from_modal_shipments">

            <input type="hidden" id="type_user" name="type_user">		  
	   
			 <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="emailAddress1"><?php echo $lang['user_manage6'] ?></label>
                            <input type="text" class="form-control" name="fname" id="fname" placeholder="<?php echo $lang['user_manage6'] ?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="phoneNumber1"><?php echo $lang['user_manage7'] ?></label>
                            <input type="text" class="form-control" name="lname" id="lname" placeholder="<?php echo $lang['user_manage7'] ?>">
                        </div>
                    </div>
                </div>
                
                <div class="row">

                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="emailAddress1"><?php echo $lang['user_manage5'] ?></label>
                            <input type="text" class="form-control"id="email" name="email" placeholder="<?php echo $lang['user_manage5'] ?>">
                        </div>
                    </div>

                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="phoneNumber1"><?php echo $lang['user_manage9'] ?></label>
                            <br>
                            <input type="tel" class="form-control" name="phone_custom" id="phone_custom">

                            <span id="valid-msg" class="hide"></span>
                            <div id="error-msg" class="hide text-danger"></div>
                        </div>
                    </div>
                </div>

                <?php if($userData->userlevel == 9 || $userData->userlevel == 2){?>               

                     <br>


                        <label class="custom-control custom-checkbox" style="font-size: 18px; padding-left: 0px">
                            <input type="checkbox" class="custom-control-input" name="register_customer_to_user" id="register_customer_to_user" value="1">
                            <?php echo $lang['recipient_to_user'] ?>

                            <span class="custom-control-indicator"></span>                    
                        </label>

                     <br>


                    <div class="row d-none" id="show_hide_user_inputs">


                        <div class="col-md-6">
                            <div class="form-group">
                                <label><?php echo $lang['user_manage3'] ?></label>
                                <input type="text" class="form-control" name="username" id="username" placeholder="<?php echo $lang['user_manage3'] ?>">
                               
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label><?php echo $lang['user_manage32'] ?></label>
                                <input type="password" class="form-control"id="password" name="password" placeholder="<?php echo $lang['user_manage32'] ?>" autocomplete="on">
                            </div>
                        </div>
                    <br>
                    </div>

                <?php
                }
                ?>
                                            
                
                <hr>
                <h4><?php echo $lang['laddress'] ?> </h4>

                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="phoneNumber1"><?php echo $lang['user_manage10'] ?></label>
                            <input type="text" class="form-control" name="address_modal_user"  id="address_modal_user"placeholder="<?php echo $lang['user_manage10'] ?>">
                        </div>
                    </div>
                    
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="emailAddress1"><?php echo $lang['user_manage12'] ?></label>
                            <input type="text" class="form-control" name="country_modal_user"  id="country_modal_user" placeholder="<?php echo $lang['user_manage12'] ?>">
                        </div>
                    </div>
                </div>
                
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="phoneNumber1"><?php echo $lang['user_manage13'] ?></label>
                            <input type="text" class="form-control" id="city_modal_user" name="city_modal_user" placeholder="<?php echo $lang['user_manage13'] ?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="phoneNumber1"><?php echo $lang['user_manage14'] ?></label>
                            <input type="text" class="form-control" name="postal_modal_user" id="postal_modal_user" placeholder="<?php echo $lang['user_manage14'] ?>">
                        </div>
                    </div>
                </div>


                <input type="hidden" name="total_address" id="total_address" value="1" />
                <input type="hidden" name="phone" id="phone" />


               
		
		  </div>
		  <div class="modal-footer">
			<button type="submit" class="btn btn-success" id="save_data_user">Save</button>
			<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
		  </div>
		  </form>
		</div>
	  </div>
	</div>