| 1 | <?php |
|---|
| 2 | require('scripts/Download.php'); |
|---|
| 3 | require('scripts/Build.php'); |
|---|
| 4 | |
|---|
| 5 | if (!empty($_GET['id'])) |
|---|
| 6 | { |
|---|
| 7 | try |
|---|
| 8 | { |
|---|
| 9 | $download = new Download(intval($_GET['id'])); |
|---|
| 10 | |
|---|
| 11 | //Check for supersedence |
|---|
| 12 | if ($download->Superseded) |
|---|
| 13 | { |
|---|
| 14 | header('location: ' . $_SERVER['PHP_SELF'] . '?error=' . urlencode('The requested download has been superseded with a newer version.')); |
|---|
| 15 | exit; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | $download->InitiateDownload(); |
|---|
| 19 | } |
|---|
| 20 | catch (Exception $e) |
|---|
| 21 | { |
|---|
| 22 | header('location: ' . $_SERVER['PHP_SELF'] . '?error=' . urlencode($e->getMessage())); |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | exit; |
|---|
| 26 | } |
|---|
| 27 | ?> |
|---|
| 28 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
|---|
| 29 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 30 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/Eraser.dwt" codeOutsideHTMLIsLocked="false" --> |
|---|
| 31 | <head> |
|---|
| 32 | <!-- InstanceBeginEditable name="Title" --> |
|---|
| 33 | <title>Eraser :: Downloads</title> |
|---|
| 34 | <!-- InstanceEndEditable --> |
|---|
| 35 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|---|
| 36 | <link href="style.css" rel="stylesheet" type="text/css" /> |
|---|
| 37 | <script type="text/javascript" src="scripts.js"></script> |
|---|
| 38 | <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> |
|---|
| 39 | <!-- InstanceParam name="ArticlePoster" type="boolean" value="false" --> |
|---|
| 40 | </head> |
|---|
| 41 | |
|---|
| 42 | <body onload="MM_preloadImages('images/btn_home_hov.gif', 'images/btn_download_hov.gif', 'images/btn_forum_hov.gif', 'images/btn_trac_hov.gif')"> |
|---|
| 43 | <div id="wrap"> |
|---|
| 44 | <div id="banner"> |
|---|
| 45 | <a href="index.php"><img src="images/header.jpg" class="banner_img" alt="Eraser v6" /></a> |
|---|
| 46 | </div> |
|---|
| 47 | <div id="content"> |
|---|
| 48 | <div class="left"> |
|---|
| 49 | <!-- InstanceBeginRepeat name="LeftContent" --><!-- InstanceBeginRepeatEntry --> |
|---|
| 50 | <div class="article"> |
|---|
| 51 | <div class="article_head"> |
|---|
| 52 | <div class="title"> |
|---|
| 53 | <h2><!-- InstanceBeginEditable name="LeftContentEditTitle" --><a href="index.php">Eraser</a> Downloads<!-- InstanceEndEditable --></h2> |
|---|
| 54 | |
|---|
| 55 | </div> |
|---|
| 56 | </div> |
|---|
| 57 | |
|---|
| 58 | <!-- InstanceBeginEditable name="LeftContentEdit" --> |
|---|
| 59 | <?php if (!empty($_GET['error'])) printf('<p class="error">%s</p>', $_GET['error']); ?> |
|---|
| 60 | <p>Thank for you having interest in Eraser. Eraser is available in a few flavours, the stable, the beta as well as the nightly builds.</p> |
|---|
| 61 | <p>Stable builds of Eraser are builds in which few, if any, bugs remain in the code and is suitable for use in all environments. If in doubt, choose the Stable version. The beta and nightly builds cater to a slightly different audience. Beta and nightly builds are built on the previous stable version released, but may contain new features or bug fixes to bugs discovered in the stable builds. Use the Beta and Nightly builds at your own risk<sup><a href="#footnote1" name="footnote1Src">1</a></sup>. </p> |
|---|
| 62 | <p>If you do discover bugs in the nightly builds, report them on <a href="trac/newticket">Trac</a>, citing the build number that you have used (the number after 'r', it can also be found in the About dialog for Eraser 6, it is <em>d</em> value in the version number <em>a.b.c.d</em>).</p> |
|---|
| 63 | <table> |
|---|
| 64 | <tr> |
|---|
| 65 | <td colspan="4"><h3>Stable Builds</h3></td> |
|---|
| 66 | </tr> |
|---|
| 67 | <tr> |
|---|
| 68 | <th>Build Name</th> |
|---|
| 69 | <th>Version</th> |
|---|
| 70 | <th>Release Date</th> |
|---|
| 71 | <th> </th> |
|---|
| 72 | </tr> |
|---|
| 73 | <tr> |
|---|
| 74 | <td><a href="http://sourceforge.net/projects/eraser/files/Eraser 6/6.0.7/Eraser 6.0.7.1893.exe/download">Eraser 6.0.7.1893</a></td> |
|---|
| 75 | <td>6.0.7.1893</td> |
|---|
| 76 | <td>14/4/2010 8:00am</td> |
|---|
| 77 | <td> </td> |
|---|
| 78 | </tr> |
|---|
| 79 | <tr> |
|---|
| 80 | <td colspan="4"><h3>Beta Builds</h3></td> |
|---|
| 81 | </tr> |
|---|
| 82 | <tr> |
|---|
| 83 | <th>Build Name</th> |
|---|
| 84 | <th>Version</th> |
|---|
| 85 | <th>Release Date</th> |
|---|
| 86 | <th>Downloads</th> |
|---|
| 87 | </tr> |
|---|
| 88 | <tr> |
|---|
| 89 | <td colspan="4">No beta builds available.</td> |
|---|
| 90 | </tr> |
|---|
| 91 | <tr> |
|---|
| 92 | <td colspan="4"> |
|---|
| 93 | <div style="position: relative; width: 100%"> |
|---|
| 94 | <div style="position: absolute; text-align: right; width: 100%; height: 100%; padding: 4px 2px 4px 0"> |
|---|
| 95 | <a href="trac/timeline?changeset=on">(view changelog)</a> |
|---|
| 96 | </div> |
|---|
| 97 | <h3>Nightly Builds</h3> |
|---|
| 98 | </div> |
|---|
| 99 | </td> |
|---|
| 100 | </tr> |
|---|
| 101 | <tr> |
|---|
| 102 | <th>Build Name</th> |
|---|
| 103 | <th>Revision</th> |
|---|
| 104 | <th>Build Date</th> |
|---|
| 105 | <th>Downloads</th> |
|---|
| 106 | </tr> |
|---|
| 107 | <?php |
|---|
| 108 | foreach (BuildBranch::Get() as $branch) |
|---|
| 109 | { |
|---|
| 110 | ?> |
|---|
| 111 | <tr> |
|---|
| 112 | <td colspan="4"><h4><?php echo $branch->Title; ?></h4></td> |
|---|
| 113 | </tr> |
|---|
| 114 | <?php |
|---|
| 115 | foreach (Build::GetActive($branch->ID) as $build) |
|---|
| 116 | { |
|---|
| 117 | ?> |
|---|
| 118 | <tr> |
|---|
| 119 | <td><a href="<?php echo $_SERVER['PHP_SELF'] . '?id=' . $build->ID; ?>"><?php echo $build->Name; ?></a></td> |
|---|
| 120 | <td>r<?php echo $build->Revision; ?></td> |
|---|
| 121 | <td><?php echo $build->Released->format('j/n/y g:ia'); ?></td> |
|---|
| 122 | <td><?php echo $build->Downloads; ?></td> |
|---|
| 123 | </tr> |
|---|
| 124 | <?php |
|---|
| 125 | } |
|---|
| 126 | } |
|---|
| 127 | ?> |
|---|
| 128 | </table> |
|---|
| 129 | <div style="height: 150px"> </div><hr /> |
|---|
| 130 | <p><a href="#footnote1Src" name="footnote1"></a>Disclaimer: The security of the erasures has not been verified by internal or external entities. The code may be still of <em>beta quality</em> and may not remove all traces of files. If you have security concerns, do use the stable versions.</p> |
|---|
| 131 | <!-- InstanceEndEditable --> |
|---|
| 132 | </div> |
|---|
| 133 | <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat --> |
|---|
| 134 | </div> |
|---|
| 135 | <div class="right"> |
|---|
| 136 | <div class="right_nav"> |
|---|
| 137 | <div class="right_nav_bg"> |
|---|
| 138 | <a href="index.php"><img src="images/btn_home.gif" id="nav1" alt="Home" onmouseover="MM_swapImage('nav1','','images/btn_home_hov.gif',1)" onmouseout="MM_swapImgRestore()" /></a><a href="download.php"><img src="images/btn_download.gif" id="nav2" alt="Download" onmouseover="MM_swapImage('nav2', '', 'images/btn_download_hov.gif', 1)" onmouseout="MM_swapImgRestore()" /></a><a href="http://bbs.heidi.ie/viewforum.php?f=30" target="_blank"><img src="images/btn_forum.gif" id="nav3" alt="Forum" onmouseover="MM_swapImage('nav3', '', 'images/btn_forum_hov.gif', 1)" onmouseout="MM_swapImgRestore()" /></a><a href="trac/"><img src="images/btn_trac.gif" id="nav4" alt="Trac" onmouseover="MM_swapImage('nav4', '', 'images/btn_trac_hov.gif', 1)" onmouseout="MM_swapImgRestore()" /></a> |
|---|
| 139 | </div> |
|---|
| 140 | </div> |
|---|
| 141 | |
|---|
| 142 | <div class="right_news"> |
|---|
| 143 | <h3>Latest News</h3> |
|---|
| 144 | <div class="right_news_bg"> |
|---|
| 145 | <h2>Eraser 6.0.7 released!</h2> |
|---|
| 146 | <div class="posted">Posted by: Joel, 14<sup>th</sup> April 2010, 8:00 am +800GMT</div> |
|---|
| 147 | <p>Eraser 6.0.7, next in the stable release line of 6.0.x has been released today. 6.0.7 addresses a significant number of stability and usability issues which were found in the initial stable 6.0.6. <a href="announcements/20100414.html">See the full announcement</a>.</p> |
|---|
| 148 | </div> |
|---|
| 149 | </div> |
|---|
| 150 | |
|---|
| 151 | <!-- InstanceBeginRepeat name="RightContent" --><!-- InstanceEndRepeat --> |
|---|
| 152 | </div> |
|---|
| 153 | </div> |
|---|
| 154 | <div id="footer"> |
|---|
| 155 | <div class="footer"> |
|---|
| 156 | <div class="footer_l"> |
|---|
| 157 | <p>2008-2010 © Eraser</p> |
|---|
| 158 | </div> |
|---|
| 159 | <div class="footer_r"> |
|---|
| 160 | <p> |
|---|
| 161 | Original Design by <a href="http://eatlon.com" target="_blank">Olle Axelsson</a><br /> |
|---|
| 162 | Modified for Eraser by <a href="http://lemarquis.deviantart.com" target="_blank">Dennis van Lith</a><br /> |
|---|
| 163 | HTML edits by <a href="http://joelsplace.sg" target="_blank">Joel Low</a> |
|---|
| 164 | </p> |
|---|
| 165 | </div> |
|---|
| 166 | </div> |
|---|
| 167 | </div> |
|---|
| 168 | </div> |
|---|
| 169 | <div id="ffscrollbarfix"></div> |
|---|
| 170 | </body> |
|---|
| 171 | <!-- InstanceEnd --></html> |
|---|