'; } else { print '
'; // Confine the include to include/content, the same way link.php // does. contentfile comes from the external_links table; without // this a '../' value would include an arbitrary local file. $basepath = realpath(CACTI_PATH_INCLUDE . '/content'); $file = ($basepath !== false) ? realpath($basepath . '/' . $page['contentfile']) : false; if ($file !== false && is_file($file) && str_starts_with($file, $basepath . DIRECTORY_SEPARATOR)) { require_once($file); } else { print '

The file \'' . html_escape($page['contentfile']) . '\' does not exist!!

'; } print '
'; } } } } } render_external_links('FRONTTOP'); if (read_config_option('hide_console') != 'on') { ?> 1) {?>