<div class="master-wrapper-content">
        <div class="footer-address">
            <?php 
?>
            <?php 
if (isset($col)) {
    hw_dynamic_sidebar($col);
} else {
    echo hw_option('footer');
}
?>
        </div>
        <div class="footer-menu-wrapper">
            <?php 
if (isset($col_1)) {
    hw_dynamic_sidebar($col_1);
}
?>
        </div>
        <div class="footer-disclaimer">

            <div id="Powerby">
                Thiết kế bởi <a href='http://www.hoangweb.com' title='Thiết kế web giá rẻ' target='_blank'><strong>Hoangweb</strong></a>
            </div>
        </div>
        <div class="follow-us">
            <ul>
                <li class="facebook">
                    <a href="<?php 
echo hw_option('fb_url');
?>
 /**
  * desploy modules with positions
  */
 private function desploy_sidebars_position()
 {
     if (is_admin()) {
         return;
     }
     $sidebars_positions = $this->get_tab('sidebars_pos')->get_field_value('sidebars_position');
     if (is_array($sidebars_positions)) {
         foreach ($sidebars_positions as $sidebar => $item) {
             //if($item['condition'] == 0) continue;
             $match = 1;
             //check condition before module can display
             //$dynamic_settings = HW_Condition::get_active_conditions_settings();
             //$condition = $item['condition']; //condition id
             /*if($condition) {
                             if(!isset($dynamic_settings[$condition])) continue;
             
                             $setting = array($condition => $dynamic_settings[$condition]);
                             $setting_conditions = HW__Template_Condition::parse_template_conditions($setting);#_print($setting_conditions);
             
                             foreach($setting_conditions as $pages_condition) {   //and, or condition
                                 if(isset($pages_condition) && is_array($pages_condition)) {     //get template alternate with AND relation
             
                                     foreach ($pages_condition as $temp => $meet_condition) {
                                         if($meet_condition['result']) {
                                             $match = 1;
                                             //break;  //first occurence
                                         }
                                         else {
                                             $match = 0;
                                         }
                                     }
                                 }
                             }
                         }*/
             if ($match) {
                 //add action for sidebar position
                 HW_Module_Positions::add_position_hook($item['position'], function () use($sidebar, $item) {
                     if (is_active_sidebar($sidebar)) {
                         if (function_exists('hw_dynamic_sidebar')) {
                             hw_dynamic_sidebar($sidebar);
                         } else {
                             dynamic_sidebar($sidebar);
                         }
                     }
                 });
             }
         }
     }
 }
<?php

/**
 * PLugin Name: footer 1
 */
include 'functions.php';
include 'theme-setting.php';
?>
<div id="fullbottom">
    <div id="page">
        <div id="contentbottom" class="top15">
            <?php 
if (isset($col)) {
    hw_dynamic_sidebar($col);
}
?>
            <div id="copy">
                <div id="tag">
                    <?php 
hw_print_tags();
?>
                </div>
                <div id="copyright">
                    <div class="cotcopy" style="text-align:right; border-right:1px solid #fff;">
                        <img src="<?php 
echo get_theme_mod('image_logo');
?>
" width="150" height="48"><br>
                        <span style="color:#fff">Copyright © 2014 <?php 
bloginfo('name');
?>