function get_local_theme_path() { global $active_show; PC::base_url(base_url()); if ($active_show->frontend) { return "/themes/" . $active_show->controller->BuilderEngine->get_frontend_theme() . "/"; } elseif ($active_show->user_backend) { return "/themes/" . $active_show->controller->BuilderEngine->get_user_backend_theme() . "/"; } elseif ($active_show->social_backend) { return "/themes/" . $active_show->controller->BuilderEngine->get_social_backend_theme() . "/"; } else { return "/themes/" . $active_show->controller->BuilderEngine->get_backend_theme() . "/"; } }