<div class="ulp-padding">


  <div><strong><?php _e('Set the Page as:', 'ulp');?></strong></div>


  <select class="ulp-fullwidth ihc-select" name="ulp_set_page_as_default_something">


    <option value="-1">...</option>


    <?php


      foreach ($data['types'] as $name=>$label):


        $selected = ($name==$data['current_page_type']) ? 'selected' : '';


      ?>


        <option <?php echo $selected;?> value="<?php echo $name;?>"><?php echo $label . ' ' . __('Page', 'ulp');?></option>


      <?php


      endforeach;


    ?>


  </select>


  <input type="hidden" name="ulp_post_id" value="<?php echo $data['post_id'];?>" />


</div>





<div style="margin-top: 13px;">


  <?php if (!empty($data['unset_pages'])): ?>


    <?php foreach ($data['unset_pages'] as $page_name): ?>


      <div class="ulp-metabox-not-set"><?php echo __('Default ', 'ulp') . $page_name . ' ' . __('Page <b>Not Set!</b>', 'ulp');?></div>


    <?php endforeach;?>


  <?php else:?>


      <?php echo __('All the required pages are properly set, to change them click', 'ulp') . '<a href="' . admin_url('admin.php?page=ultimate_learning_pro&tab=settings&subtab=default_pages') . '">' . __('here', 'ulp') . '</a>';?>


  <?php endif;?>


</div>


