<?php defined('ABSPATH') or die("No script kiddies please!"); ?>
<div class="apmega_left_content_wrapper custom_theme_export">
<div class="apmm-header1 wpmega-export"><?php _e("Export", APMM_TD); ?></div>

<table>
    <tr>
        <td class='apmega-name'>
            <?php _e("Choose Custom Theme to Export", APMM_TD); ?>
        </td>
        <td class='apmega-value'>
        <select name="custom_theme_id" class="wpmm-selection"> 
           <option value=""><?php _e( 'Select One', APMM_TD ); ?></option>
               <?php 
                    if(!empty($custom_theme)){
                           foreach ($custom_theme as $key => $value) {
                            $theme_name = $value->title;
                            $theme_id = $value->theme_id; ?>
                        <option value="<?php echo esc_attr($theme_id);?>"><?php _e($theme_name,APMM_TD);?></option>    
                          <?php }

            }?>
         </select>
         
        </td>
    </tr>

   
</table>
<div class="wpmm-field">
 <input type="submit" name="export_submit" value="<?php _e('Export',APMM_TD);?>" class="button-primary"/>
</div>    

</div>