Example #1
0
		 --> 
	</style>
	</head>	
<body>
<?	

	echo '<a target="_top" href="logout.php">Log out</a><p>';

	if (!$translator->isLoggedIn())
	{
		echo "<h2>Access denied</h2>";
	}
	else
	{
		
		$translationStatus = $translator->getTranslationStatus($_GET["sort"]);	
		$listTranslated = $translationStatus[0];
		$listNotTranslated = $translationStatus[1];
		$listNotUpToDate = $translationStatus[2];
		
		if ($translator->isEditor())
		{
			echo '<a target="edit" href="addnew.php">Add new item</a><p>';
		}
		
		echo '<p>Order by <a href="menu.php?sort=name">name</a>, <a href="menu.php?sort=words">word count</a>'.
			' or <a href="menu.php?sort=date">date</a>';
		
		echo '<p><table cellpadding="2" cellspacing="1" bgcolor="#333333">';
			outputHeading("Text which requires updates");
			outputKeyList($listNotUpToDate);