<form action="" method="post">
	<div class="ulp-stuffbox">
    		<h3 class="ulp-h3"><?php _e('Students also Bought', 'ulp');?></h3>
    		<div class="inside">
        		<div class="ulp-inside-item">
              <div class="row">
                  <div class="col-xs-6">
                			<div class="ulp-form-line">
                					<h2><?php _e('Activate/Hold students also Bought Box', 'ulp');?></h2>
                                    <p><?php _e('Display courses that has been bought by the current enrolled Students.', 'ulp');?></p>
                				<label class="ulp_label_shiwtch" style="margin:10px 0 10px -10px;">
                					<?php $checked = ($data['metas']['ulp_student_also_bought_enable']) ? 'checked' : '';?>
                					<input type="checkbox" class="ulp-switch" onClick="UltimateLearningPro.checkAndH(this, '#ulp_student_also_bought_enable');" <?php echo $checked;?> />
                					<div class="switch" style="display:inline-block;"></div>
                				</label>
                				<input type="hidden" name="ulp_student_also_bought_enable" value="<?php echo $data['metas']['ulp_student_also_bought_enable'];?>" id="ulp_student_also_bought_enable" />
                			</div>
            			</div>
        		  </div>
            </div>
			<div class="ulp-inside-item">
              <div class="row">
                  <div class="col-xs-6">
            		<p><?php _e('An additional box can be displayed to show what students from current course have bought also. That will encoruge other students to enroll on more courses.', 'ulp');?></p>
                    <p><?php _e('Use this shortcode in order to display the items: <strong>[ulp_students_also_bought course_id=""]</strong>. More about this shortcode can be found into Shortcodes section.', 'ulp');?></p>
                    	</div>
        		  </div>
            </div>
            <div class="ulp-inside-item">
              <div class="row">
                  <div class="col-xs-6">
           			 <div class="input-group" style="max-width: 400px;">
            		<span class="input-group-addon" id="basic-addon1"><?php _e('Max Limit', 'ulp');?></span>
            		<input type="number" min=1 class="form-control" value="<?php echo $data['metas']['ulp_student_also_bought_limit'];?>" name="ulp_student_also_bought_limit" />
            		</div>

					<div class="input-group" style="max-width: 400px; margin-top: 15px;">
            		<span class="input-group-addon" id="basic-addon1"><?php _e('Minimum', 'ulp');?></span>
            		<input type="number" min=1 class="form-control" value="<?php echo $data['metas']['ulp_student_also_bought_minimum_limit'];?>" name="ulp_student_also_bought_minimum_limit" />

            		</div>
					 <p><?php _e('The Box will not show up if there are not enought Courses to be displayed.', 'ulp');?></p>
		        	</div>
        		  </div>
            </div>
		<div class="ulp-inside-item">
      <div class="row">
        <div class="col-xs-6">
			      <div class="ulp-submit-form" style="margin-top: 20px;">
				          <input type="submit" value="<?php _e('Save Changes', 'ulp');?>" name="submit" class="btn btn-primary pointer" />
            </div>
        </div>
      </div>
    </div>

    </div>

</form>
