?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="utf-8"> \r
<head>\r
-<title>AChecher Upgrade</title>\r
+<title>AContent Upgrade</title>\r
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
<link rel="stylesheet" href="stylesheet.css" type="text/css" />\r
</head>\r
\r
<body>\r
<div style="height: 70px; vertical-align: bottom; background: #354A81">\r
- <h1 id="header">AChecher <?php echo $new_version; ?> Upgrade</h1>\r
- <img src="../images/header_logo_checker.gif" height="29" width="84" alt="AChecher Logo" id="logo" />\r
+ <h1 id="header">AContent <?php echo $new_version; ?> Upgrade</h1>\r
+ <img src="../images/AC_Logo1_sm.png" height="29" width="84" alt="AContent Logo" id="logo" />\r
</div>\r
<div style="clear: all"></div>\r
<div class="content">
\ No newline at end of file
}
$curr_ver = $_POST['old_version'];
- ksort($update_files);
- foreach ($update_files as $up_file) {
- if(version_compare($curr_ver, $up_file[4], '<')) {
- update_one_ver($up_file);
+
+ if (is_array($update_files)) {
+ ksort($update_files);
+ foreach ($update_files as $up_file) {
+ if(version_compare($curr_ver, $up_file[4], '<')) {
+ update_one_ver($up_file);
+ }
}
}
<br />
-<form method="get" action="../checker/index.php">
+<form method="get" action="../index.php">
<div align="center">
<input type="submit" name="submit" value="» Go To AContent!" class="button" />
</div>
</tr>
</table>
-<!--
<table cellspacing="0" cellpadding="10" align="center" width="45%">
<tr>
<td align="center"><b>Or</b></td>
</form></td>
</tr>
</table>
- -->
<?php endif; ?>
<?php require(TR_INCLUDE_PATH.'footer.inc.php'); ?>