This file is indexed.

/usr/share/flatnuke/themes/nautica/theme.php is in flatnuke 2.7.2-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php

$bodycolor = "#f4f4f4";
$bgcolor1 = "#ffffff";
$bgcolor2 = "#74a8f5";
$bgcolor3 = "#edf3fe";
$logo = "logo.png";
$backimage = "";

$forumbody="#86c32a";
$forumborder="#86c32a";
$forumback="#ffffff";

define("_THEME_VER", 1);
define("_THEME_DOCTYPE", "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");

function my_create_menu(){
	$modlist = list_sections("sections", "links");
	if($modlist == null)
		return;
	echo "<h2 class=\"hide\">Menu:</h2>\n
		<ul>\n
		<li><a href=\"index.php\">Home</a></li>\n";
	for ($item_num=0; $item_num < count($modlist); $item_num++) {
		echo "<li>".$modlist[$item_num]."</li>\n";
	}
	echo "</ul>\n";
}

function OpenTable() {
	echo "<div class=\"bluebox\">\n";
}

function OpenTableTitle($title) {
	echo "<br /><h3><span class=\"style7\">$title</span></h3><p class=\"style3\">\n";
}

function OpenBlock($img,$title) {
	?><span class="boxtitle"><?=$title?></span>
		<div class="divline"></div><?
}

function CloseBlock() {
	echo "<br />\n";
}

// close table title for news footer
function CreateFootNews($text) {
	$text = str_replace(".php", "", $text);
	echo "<div class='footnews'>\n";
	$news_link = get_news_link_array($text);
	echo $news_link['news_infos']."<br />";
	echo $news_link['link_read']." ";
	echo $news_link['link_comment']." ";
	echo $news_link['link_print']." ";
	if (is_admin()) echo $news_link['link_modify']." ";
	if (is_admin()) echo $news_link['link_delete']." ";
	echo "</div>\n";
}

function CloseTableTitle(){
	echo "<br />\n";
}

function CloseTable() {
	echo "</div>\n";
}

// function to create footer site
function CreateFooterSite() {
	$footer_elements = get_footer_array();
	echo "<center>\n";
	echo $footer_elements['img_fn']." ";
	echo $footer_elements['img_w3c']." ";
	echo $footer_elements['img_css']." ";
	echo $footer_elements['img_rss']." ";
	echo $footer_elements['img_mail']."<br />";
	echo $footer_elements['legal']."<br />";
	echo $footer_elements['time'];
	echo "</center>\n";
}

?>