$_SESSION['murrix']['system']->firstrun = false;
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta name="robots" content="nofollow"/>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
		
		<?
		$xml = new mXml();
		$feeds = $xml->getFeeds();
		
		foreach ($feeds as $feed)
			echo "<link rel=\"alternate\" type=\"application/rss+xml\" href=\"?rss&id=".$feed['id']."\" title=\"".$feed['title']."\"/>";
		?>
		
		<link rel="shortcut icon" href="<?php 
echo geticon("murrix");
?>
" type="image/x-icon"/>
		<title><?php 
echo getSetting("TITLE", "Welcome to MURRiX");
?>
</title>
		
		<?
示例#2
0
		echo "Only the administrator are allowed to export";
	else
	{
		$xml = new mXml();
		$xml->outputBackupXML(isset($_GET['xml']) ? $_GET : $_POST);
	}
	
	return;
}
else if (isset($_GET['rss']))
{
	$xml = new mXml();

	if (!isset($_GET['id']))
	{
		$list = $xml->getFeeds();
		echo compiletpl("rsslist", $list);
	}
	else
		$xml->outputFeed($_GET['id']);
	
	return;
}

/* ========================= */
// Set available linktyes
/* ========================= */

if (!isset($_SESSION['murrix']['default_theme']))
	$_SESSION['murrix']['default_theme'] = getSetting("DEFAULT_THEME", "standard", "any");