DBAcces: restructure download pages
diff --git a/dbaccess/download/indexnew.php b/dbaccess/download/indexnew.php
new file mode 100644
index 0000000..ff01265
--- /dev/null
+++ b/dbaccess/download/indexnew.php
@@ -0,0 +1,83 @@
+<?php
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); 	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); 	
+	$App 	= new App();	
+	$Nav	= new Nav();	
+	$Menu 	= new Menu();		
+	include($App->getProjectCommon());
+	
+/*******************************************************************************
+ * Copyright (c) 2009 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: Christopher Frost
+ *               Mike Keith
+ *               Juergen G. Kissner
+ *    
+ *******************************************************************************/
+
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "Gemini DBAccess - Downloads";
+	$pageKeywords	= "Eclipse, EclipseRT, OSGi, DBAccess, Downloads";
+	$pageAuthor		= "Juergen G. Kissner";
+
+	$milestoneM1 = "1.1.0.M1";
+	$milestoneRC1 = "1.1.0.RC1";
+	$milestoneRC2 = "1.1.0.RC2";
+	$milestoneRELEASE = "1.0.0.RELEASE";
+	
+	$latestMilestone = "1.0.0.RELEASE";
+	
+	ob_start();
+?>
+
+	<script type="text/javascript">
+            window.addEvent('domready', function() {
+                    new Accordion('h4.toggle', 'div.accordion', {initialDisplayFx: false});
+            });
+	</script>
+	
+	<div id="midcolumn">
+		<h2>Gemini DBAccess Downloads</h2>
+		<p>
+			All downloads are provided under the terms and conditions of the <a href="/legal/epl/notice.php">Eclipse Foundation Software User Agreement</a> 
+			unless otherwise specified.
+		</p>
+	
+		<h4 class='toggle'>1.0.2.RELEASE</h4>
+		<div class='accordion'>
+			<ul>
+				<li>Update Site 'http://download.eclipse.org/gemini/updates/dbaccess/1.0.0'</li>
+				<li><strong>Gemini DBAccess</strong> -  <a href="http://www.eclipse.org/downloads/download.php?file=/gemini/dbaccess/r1.0/milestones/gemini-dbaccess-<?=$latestMilestone ?>.zip" target="_self">Download</a></li>
+			</ul>
+		</div>
+
+
+		<h2>Development Milestones</h2>
+		<p>
+			Development milestones are available for <a href="/gemini/dbaccess/download/milestones.php">download</a>. 
+		</p>
+	
+	</div>
+
+	<!-- remove the entire <div> tag to omit the right column!  -->
+	<!-- div id="rightcolumn">
+		<div class="sideitem">
+			<h6>Incubation</h6>
+			<div id="incubation">
+				<a href="/projects/what-is-incubation.php">
+					<img align="center" src="/images/egg-incubation.png" border="0" alt="Incubation" />
+				</a>
+			</div>
+		</div>
+	</div -->
+
+<?
+	$html = ob_get_clean();
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
\ No newline at end of file
diff --git a/dbaccess/download/milestones.php b/dbaccess/download/milestones.php
new file mode 100644
index 0000000..fb52458
--- /dev/null
+++ b/dbaccess/download/milestones.php
@@ -0,0 +1,110 @@
+<?php
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); 	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); 	
+	$App 	= new App();	
+	$Nav	= new Nav();	
+	$Menu 	= new Menu();		
+	include($App->getProjectCommon());
+	
+/*******************************************************************************
+ * Copyright (c) 2009 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: Christopher Frost
+ *               Glyn Normington
+ *               Juergen G. Kissner
+ *    
+ *******************************************************************************/
+
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "Gemini DBAccess - Milestone Downloads";
+	$pageKeywords	= "Eclipse, EclipseRT, Gemini, OSGi, Downloads";
+	$pageAuthor		= "Juergen G. Kissner";
+		
+	# $dbaccessVersions = array("1.1.0.M2", "1.1.0.M1");
+	$dbaccessVersions = array("1.1%M2", "1.1%M1");
+	
+	ob_start();
+?>
+
+	<script type="text/javascript">
+            window.addEvent('domready', function() {
+                    new Accordion('h4.toggle', 'div.accordion', {initialDisplayFx: false});
+            });
+	</script>
+	
+	<div id="midcolumn">
+		<h2>Milestone Downloads</h2>
+		<p>
+			All downloads are provided under the terms and conditions of the <a href="/legal/epl/notice.php">Eclipse Foundation Software User Agreement</a> 
+			unless otherwise specified.
+		</p>
+		
+		<p>
+			The following are development milestones. You may prefer to <a href="http://www.eclipse.org/gemini/dbaccess/download/">download</a> an official release.
+		</p>
+	<?
+	$first = true;
+	foreach ($dbaccessVersions as $version){
+		echo "<h4 class='toggle'>$version";
+		if ($first) {
+			echo " - Latest</h4>";
+		} else {
+			echo "</h4>";
+		}
+		$fullVersion = str_replace("%", ".0.", $version);
+		$directory = str_replace("%", "-", $version);
+				
+		echo "<div class='accordion'>";
+		echo "	<ul>";
+		echo "		<li><a href='http://www.eclipse.org/gemini/dbaccess/download/release-notes/$fullVersion.php' target='_self'>View Release Notes</a></li>";
+		echo "		<li><strong>Gemini DBAccess</strong> -  <a href='http://www.eclipse.org/downloads/download.php?file=/gemini/dbaccess/milestone-zips/$version/org.eclipse.gemini.dbaccess-$version.jar' target='_self'>Download</a></li>";
+		echo "      <li>Update Site http://download.eclipse.org/gemini/dbaccess/updates/$directory/</li>";
+		echo "	</ul>";
+		echo "</div>";
+		$first = false;
+	}
+	?>
+		<h4 class='toggle'>1.1.0.M2</h4>
+		<div class='accordion'>
+			<ul>
+				<li><a href='http://www.eclipse.org/gemini/dbaccess/download/release-notes/1.1.0.M2.php' target='_self'>View Release Notes</a></li>
+				<li>Update Site 'http://download.eclipse.org/gemini/dbaccess/updates/1.1-M2'</li>
+				<li><strong>Gemini DBAccess</strong> -  <a href="http://download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M2-updates.zip" target="_self">Download</a></li>
+			</ul>
+		</div>
+
+		<h4 class='toggle'>1.1.0.M1</h4>
+		<div class='accordion'>
+			<ul>
+				<li><a href='http://www.eclipse.org/gemini/dbaccess/download/release-notes/1.1.0.M1.php' target='_self'>View Release Notes</a></li>
+				<li>Update Site 'http://download.eclipse.org/gemini/dbaccess/updates/1.1-M1'</li>
+				<li><strong>Gemini DBAccess</strong> -  <a href="http://download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M1-updates.zip" target="_self">Download</a></li>
+			</ul>
+		</div>
+				
+
+	</div>
+	
+	<div id="rightcolumn">
+		<div class="sideitem">
+		   <h6>Incubation</h6>
+		   <div id="incubation"><a href="/projects/what-is-incubation.php"><img src="/images/egg-incubation.png" border="0" alt="Incubation" /></a></div>
+		</div>
+		<!-- div class="sideitem">
+			<h6>&lt;h6&gt; tag</h6>
+				<div class="modal">
+					Wrapping your content using a div.modal tag here will add the gradient background
+				</div>
+		</div -->
+	</div>
+
+<?
+	$html = ob_get_clean();
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
\ No newline at end of file
diff --git a/dbaccess/download/release-notes/1.1.0.M1.php b/dbaccess/download/release-notes/1.1.0.M1.php
new file mode 100644
index 0000000..4e95b16
--- /dev/null
+++ b/dbaccess/download/release-notes/1.1.0.M1.php
@@ -0,0 +1,52 @@
+<?php
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); 	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); 	
+	$App 	= new App();	
+	$Nav	= new Nav();	
+	$Menu 	= new Menu();		
+	include($App->getProjectCommon());
+	
+/*******************************************************************************
+ * Copyright (c) 2009 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: Christopher Frost
+ *               Juergen G. Kissner
+ *    
+ *******************************************************************************/
+
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "Gemini DBAccess - Release Notes";
+	$pageKeywords	= "Eclipse, EclipseRT, Gemini, DBAccess, OSGi, Downloads";
+	$pageAuthor		= "Juergen G. Kissner";
+		
+	ob_start();
+?>
+
+<div id="midcolumn">
+
+	<h3>1.1.0.M1 Release Notes</h3>
+	
+	<p>
+		This milestone contains the following features: 
+	</p>
+	<ul>
+		<li>Refactor the bundle structure to simplify the support of additional JDBC drivers.</li>
+		<li>Include MySQL as supported platform.</li>
+	</ul>
+	
+	<p>
+	    The list of all changes can be seen <a href="http://git.eclipse.org/c/gemini.dbaccess/org.eclipse.gemini.dbaccess.git/log/?showmsg=1" target="_self">here</a>.
+	</p>
+
+</div>
+
+<?
+	$html = ob_get_clean();
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
\ No newline at end of file
diff --git a/dbaccess/download/release-notes/1.1.0.M2.php b/dbaccess/download/release-notes/1.1.0.M2.php
new file mode 100644
index 0000000..791744d
--- /dev/null
+++ b/dbaccess/download/release-notes/1.1.0.M2.php
@@ -0,0 +1,51 @@
+<?php
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); 	
+	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); 	
+	$App 	= new App();	
+	$Nav	= new Nav();	
+	$Menu 	= new Menu();		
+	include($App->getProjectCommon());
+	
+/*******************************************************************************
+ * Copyright (c) 2009 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: Christopher Frost
+ *               Juergen G. Kissner
+ *    
+ *******************************************************************************/
+
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "Gemini DBAccess - Release Notes";
+	$pageKeywords	= "Eclipse, EclipseRT, Gemini, DBAccess, OSGi, Downloads";
+	$pageAuthor		= "Juergen G. Kissner";
+		
+	ob_start();
+?>
+
+<div id="midcolumn">
+
+	<h3>1.1.0.M2 Release Notes</h3>
+	
+	<p>
+		This is a milestone of Gemini DBAccess. It contains the following features: 
+	</p>
+	<ul>
+		<li>Compliance with JDBC 4.1 (Java 7).</li>
+	</ul>
+	
+	<p>
+	    The list of all changes can be seen <a href="http://git.eclipse.org/c/gemini.dbaccess/org.eclipse.gemini.dbaccess.git/log/?showmsg=1" target="_self">here</a>.
+	</p>
+
+</div>
+
+<?
+	$html = ob_get_clean();
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
\ No newline at end of file