function hm_theme_dong_setting()
{
    if (isset($_POST['save_theme_setting'])) {
        foreach ($_POST as $key => $value) {
            $args = array('section' => 'theme_dong', 'key' => $key, 'value' => $value);
            set_option($args);
        }
    }
    hm_include(BASEPATH . '/' . HM_THEME_DIR . '/dong/admincp/theme_setting.php');
}
/** Tạo trang cài đặt tổng quan trong admincp */
function hm_main_setting()
{
    if (isset($_POST['save_system_setting'])) {
        foreach ($_POST as $key => $value) {
            if ($key != 'save_system_setting') {
                $args = array('section' => 'system_setting', 'key' => $key, 'value' => $value);
                set_option($args);
            }
        }
    }
    hm_include(BASEPATH . '/' . HM_ADMINCP_DIR . '/layout/main_setting.php');
}
function hm_seo_robotstxt()
{
    hm_include(BASEPATH . '/' . HM_PLUGIN_DIR . '/hm_seo/layout/robots.php');
}