<?
	include("vars.inc.php");
	$VERSION=exec($EASYPORTAL_SH." ver");
?>
	<div class="title">
		<img src="images/version.png" align="left" class="icon">VDR-Version
	</div>
	<div class="content">
		<table border="0" cellpadding="0" cellspacing="0" width="90%">

			<tr>
				<td valign="top" width="130">Installierte Version:</td>
				<td valign="top" align="left"><b><? echo $VERSION; ?></b></td>
			</tr>

			<? if($_GET['action']=="ckupdates") { $UPDATEVERS = exec($EASYPORTAL_SH." upd"); ?>

			<tr>
				<td valign="top">Verf&#252;gbare Version:</td>
				<? if($VERSION != $UPDATEVERS) { ?>
				<td valign="top" align="left"><b><? echo $UPDATEVERS; ?></b></td>
			</tr>

			<tr>
				<td colspan="2"><!--<a href=\"javascript:oeffnefenster('includes/update.php');\">Installieren</a>--></td>
			</tr>

			<? } else { ?>
				<td>
					<b>
						Kein Update verfuegbar!
					</b>
				</td>
			</tr>
			<?
					}
				}
			?>
				<tr>
					<td colspan="2">
						<a onclick="CheckUpdates()" onmouseover="Tip('<? echo $TIP_VERSION_CHK;?>')">
							<img src="images/update.png">
						</a>
					<td>
				<tr>
			</table>
		</div>