<form action="" method="post">

	<div class="ulp-stuffbox">

		<h3 class="ulp-h3"><?php _e('BuddyPress Integration', '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 BuddyPress Integration', 'ulp');?></h2>

                    <p><?php _e('This feature will add a new tab in your BuddyPress Public Profile.', 'ulp');?></p>

				<label class="ulp_label_shiwtch" style="margin:10px 0 10px -10px;">

					<?php $checked = ($data['metas']['ulp_buddypress_integration_enable']) ? 'checked' : '';?>

					<input type="checkbox" class="ulp-switch" onClick="UltimateLearningPro.checkAndH(this, '#ulp_buddypress_integration_enable');" <?php echo $checked;?> />

					<div class="switch" style="display:inline-block;"></div>

				</label>

				<input type="hidden" name="ulp_buddypress_integration_enable" value="<?php echo $data['metas']['ulp_buddypress_integration_enable'];?>" id="ulp_buddypress_integration_enable" />

			</div>

			</div>

		 </div>

       </div>

            <div class="ulp-line-break"></div>



		<div class="ulp-inside-item">

              <div class="row">

               <div class="col-xs-6">

            <h4><?php _e('BuddyPress Menu settings', 'ulp');?></h4>

			<p><?php _e('You can decide the menu position, this tab will give you access to Ultimate Learning Pro Student Profile.', 'ulp');?></p>

      <div class="input-group" style="  max-width: 400px;">

          <span class="input-group-addon" id="basic-addon1"><?php _e('Label', 'ulp');?></span>

          <input type="text" class="form-control" name="ulp_buddypress_menu_label" value="<?php echo stripslashes($data ['metas']['ulp_buddypress_menu_label']);?>" />

      </div>



      <div class="input-group" style=" margin-top:20px; max-width: 400px;">

          <span class="input-group-addon" id="basic-addon1"><?php _e('Menu position', 'ulp');?></span>

          <input type="number" class="form-control" min="1" name="ulp_buddypress_menu_possition" value="<?php echo $data ['metas']['ulp_buddypress_menu_possition'];?>" />

      </div>

			</div>

		 </div>

       </div>

            <div class="ulp-line-break"></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>

	</div>



</form>

