<div class="image-preview-container">
                            <input id="mytheme-logo" name="mytheme[general][logo-url]" type="text" class="uploadfield" readonly="readonly"
                                    value="<?php 
echo mytheme_option('general', 'logo-url');
?>
" />
                            <input type="button" value="<?php 
_e('Upload', 'dt_delicate');
?>
" class="upload_image_button show_preview" />
                            <input type="button" value="<?php 
_e('Remove', 'dt_delicate');
?>
" class="upload_image_reset" />
                            <?php 
mytheme_adminpanel_image_preview(mytheme_option('general', 'logo-url'), false, 'logo.png');
?>
                        </div>
                        
                        <p class="note"> <?php 
_e('Upload a logo for your theme, or specify the image address of your online logo.', 'dt_delicate');
?>
 </p>
                        
                    </div> <!-- Logo End -->

                    <!-- Favicon -->
                    <div class="box-title">
                        <h3><?php 
_e('Favicon', 'dt_delicate');
?>
                        <div class="image-preview-container">
                            <input id="mytheme-boxed-layout-bg" name="mytheme[appearance][boxed-layout-bg]" type="text" class="uploadfield medium" readonly="readonly"
                                    value="<?php 
echo mytheme_option('appearance', 'boxed-layout-bg');
?>
"/>
                            <input type="button" value="<?php 
_e('Upload', 'dt_delicate');
?>
" class="upload_image_button show_preview" />
                            <input type="button" value="<?php 
_e('Remove', 'dt_delicate');
?>
" class="upload_image_reset" />
                            <?php 
mytheme_adminpanel_image_preview(mytheme_option('appearance', 'boxed-layout-bg'));
?>
                        </div>
                        <p class="note"> <?php 
_e("Upload an image for the theme's background", 'dt_delicate');
?>
 </p>
                       
                       <div class="hr_invisible"> </div>                       
                
                        <!-- Boxed Layout BG Settings -->
                        <div class="column one-half">
                        <?php 
$bg_settings = array(array("label" => __('Background Image Repeat', 'dt_delicate'), "tooltip" => __("Select how would you like to repeat the background image", 'dt_delicate'), "name" => "mytheme[appearance][boxed-layout-bg-repeat]", "db-key" => "boxed-layout-bg-repeat", "options" => array("repeat", "repeat-x", "repeat-y", "no-repeat")), array("label" => __('Background Image Position', 'dt_delicate'), "tooltip" => __("Select how would you like to position the background", 'dt_delicate'), "name" => "mytheme[appearance][boxed-layout-bg-position]", "db-key" => "boxed-layout-bg-position", "options" => array("top left", "top center", "top right", "center left", "center center", "center right", "bottom left", "bottom center", "bottom right")));
foreach ($bg_settings as $bgsettings) {
    ?>
                        <div class="image-preview-container">
                            <input id="mytheme-buddhapanellogo" name="mytheme[advance][buddhapanel-logo-url]" type="text" class="uploadfield medium" readonly="readonly"
                                value="<?php 
echo mytheme_option('advance', 'buddhapanel-logo-url');
?>
" />
                            <input type="button" value="<?php 
_e('Upload', 'dt_delicate');
?>
" class="upload_image_button show_preview" />
                            <input type="button" value="<?php 
_e('Remove', 'dt_delicate');
?>
" class="upload_image_reset" />
                            <?php 
mytheme_adminpanel_image_preview(mytheme_option('advance', 'buddhapanel-logo-url'), true, 'logo.png');
?>
                        </div>
                    </div>
                    <p class="note"> <?php 
_e('Upload an image to replace the default buddha panel logo.<b><i>You can set your own brnad</i></b>. ', 'dt_delicate');
?>
 </p>
                    
                </div><!-- Buddha Panel logo -->
                
                
            </div> <!-- .bpanel-box ends here -->
        </div><!-- #my-admin ends here -->
     </div><!-- .bpanel-main-content ends here-->   
</div><!-- #advance ends here -->