<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Guestbook Infusion 4.10
| Author: Sebastian Schüssler (slaughter)
| Download:
| http://basti2web.de
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION") || !defined("iAUTH") || $_GET['aid'] != iAUTH || !GB_ADMIN) redirect("index.php");
$checked_ov = false;
$query_check_ov = @mysql_query("SELECT guestbook_id FROM ".DB_PREFIX."guestbook");
if($query_check_ov) { $checked_ov = true; }
if($checked_ov == true) {
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/import.php".$aidlink."'>Import Guestbook entries from v2.1</a></td></tr>";
}
switch ($gb_config['gb_version']):
case false:
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.00.php".$aidlink."'>".$locale['gb_306'].": 4.00 => 4.01</a></td></tr>";
break;
case "4.01":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.01.php".$aidlink."'>".$locale['gb_306'].": 4.01 => 4.02</a></td></tr>";
break;
case "4.02":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.02.php".$aidlink."'>".$locale['gb_306'].": 4.02 => 4.03</a></td></tr>";
break;
case "4.03":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.03.php".$aidlink."'>".$locale['gb_306'].": 4.03 => 4.04</a></td></tr>";
break;
case "4.04":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.04.php".$aidlink."'>".$locale['gb_306'].": 4.04 => 4.05</a></td></tr>";
break;
case "4.05":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.05.php".$aidlink."'>".$locale['gb_306'].": 4.05 => 4.06</a></td></tr>";
break;
case "4.06":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.06.php".$aidlink."'>".$locale['gb_306'].": 4.06 => 4.07</a></td></tr>";
break;
case "4.07":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.07.php".$aidlink."'>".$locale['gb_306'].": 4.07 => 4.08</a></td></tr>";
break;
case "4.08":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.08.php".$aidlink."'>".$locale['gb_306'].": 4.08 => 4.09</a></td></tr>";
break;
case "4.09":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.09.php".$aidlink."'>".$locale['gb_306'].": 4.09 => 4.10</a></td></tr>";
break;
case "4.10":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.10.php".$aidlink."'>".$locale['gb_306'].": 4.10 => 4.11</a></td></tr>";
break;
case "4.11":
echo "<tr><td colspan='4' class='tbl1'><a href='".INFUSIONS."guest_book/updates/update_from_v4.11.php".$aidlink."'>".$locale['gb_306'].": 4.11 => 4.12</a></td></tr>";
break;
default :
$uptodate = 1;
endswitch;
?>