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>
		
		<?
		$js = getjs();
		for ($i = 0; $i < count($js); $i++)
			echo "<script type=\"text/javascript\" src=\"".$js[$i]."\"></script>\n";

		$js = getcss();
		for ($i = 0; $i < count($js); $i++)
			echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$js[$i]."\"/>\n";

		$_SESSION['murrix']['system']->PrintHeader();
		?>
		<script type="text/javascript">
		<!--
			function toggleSidebarContainer(itemName)
			{
				var containerObj = document.getElementById(itemName+'_container');
				var arrowObj = document.getElementById(itemName+'_arrow');
Example #2
0
File: inc.php Project: sahal/spees
function doassert($name, $dispcode = true)
{
    global $out, $req_dir, $req_pwd;
    global $_rSERVER;
    createsandbox($name);
    $real = get_real_contents($name);
    $expected = file_get_contents("{$req_dir}asserts/{$name}/expected.php?host={$_rSERVER['HTTP_HOST']}");
    $succ = $real == $expected;
    $out = getjs($succ);
    $out .= gethtml($name, $succ, $real, $expected);
}