This file is indexed.

/usr/share/IlohaMail/include/header_main.inc is in ilohamail 0.8.14-0rc3sid6.2.

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
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
<?php
/////////////////////////////////////////////////////////
//	
//	include/header_main.inc
//
//	(C)Copyright 2001-2002 Ryo Chijiiwa <Ryo@IlohaMail.org>
//
//	This file is part of IlohaMail. IlohaMail is free software released 
//	under the GPL license.  See enclosed file COPYING for details, or 
//	see http://www.fsf.org/copyleft/gpl.html
//
/////////////////////////////////////////////////////////

/********************************************************

	PURPOSE:
		Provide header and initialization functionality common to many pages.
		Including:
			1.  Display HTML header	
					(including BODY tag with colors set according to user prefs)
			2.  Read user preferences into $my_prefs and $my_colors arrays
	PRE-CONDITIONS:
		$user - Session ID
	COMMENTS:
		Reading preferences into array is actually done in "include/session_auth.inc"

********************************************************/
include_once("../include/nocache.inc");
include_once("../conf/conf.inc");
include_once("../conf/db_conf.php");

//disable time limit
if(!ini_get("safe_mode")){
	@set_time_limit($MAX_EXEC_TIME);
}

//get current page
$current_page = $_SERVER["PHP_SELF"];
$pos = strrpos($current_page, "/");
if ($pos !== false){
	$current_page = substr($current_page, $pos+1);
}

//setup code for onLoad and onUnload
$onUnLoad = "";
if (strpos($current_page, "compose2.php")!==false) {
	$onUnLoad = " onUnload=\"close_popup();\"";
}
$onLoad = "";
if (strpos($current_page, "contacts_popup.php")!==false) {
	$onLoad = " onLoad=\"acknowledge_popup();\"";
	$onUnLoad = " onUnLoad=\"alert_close();\"";
}

//continue only if valid session ID
if (isset($user)){
	$sid=$user;
	
	include("../include/session_auth.inc");
	include("../lang/".$my_prefs["charset"].".inc");
	include("../include/ryosimap.inc");


	?>
<HTML>
<HEAD>
<!--
IlohaMail by Ryo Chijiiwa
http://ilohamail.org
//-->
	<?php
	$linkc=$my_colors["main_link"];
	//$bgc=$my_colors["main_bg"];
	$bgc=$my_colors["main_darkbg"];
	$textc=$my_colors["main_text"];
	$hilitec=$my_colors["main_hilite"];
	$font_size = $my_colors["font_size"];
	
	$css_url = "css.php?user=".$user."&theme=".$my_prefs["theme"];
	
	?>
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<?php echo $display_cs?>">
		<link rel="stylesheet" href="<?php echo $css_url?>" type="text/css">
		<?php
		/** include CSS **/
		//include("../include/css.inc");
		
		/** include JavaScript **/
		include("../include/javascript.inc");
		?>
	</HEAD>
	<?php
 	echo '<BODY TEXT="'.$textc.'" BGCOLOR="'.$bgc.'" LINK="'.$linkc.'" ALINK="'.$linkc.'" VLINK="'.$linkc.'"'.$onLoad.$onUnLoad.'>';
}else{
	echo "<BODY>";
	echo "User unspecified:".$user;
	//echo "<script> parent.location=\"login.php\"; </script>";
	echo "</HTML></BODY>";
	exit;
}
flush();
?>