Changeset 849 for branches/website/index.php
- Timestamp:
- 1/3/2009 12:43:34 AM (3 years ago)
- File:
-
- 1 edited
-
branches/website/index.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/website/index.php
r821 r849 1 1 <?php 2 2 require('./scripts/database.php'); 3 function GetDownloads($downloadID) 4 { 5 $query = mysql_query('SELECT COUNT(DownloadID) FROM download_statistics WHERE DownloadID=' . $downloadID); 6 $row = mysql_fetch_row($query); 7 echo $row ? $row[0] : 'unknown'; 8 } 3 9 ?> 4 10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" … … 13 19 <script type="text/javascript" src="scripts.js"></script> 14 20 <!-- InstanceBeginEditable name="head" --> 15 <link href="style.css" rel="stylesheet" type="text/css" /> 21 <style type="text/css"> 22 .downloads { 23 margin-left: 1.0em; 24 } 25 </style> 16 26 <!-- InstanceEndEditable --> 17 27 <!-- InstanceParam name="ArticlePoster" type="boolean" value="false" --> … … 90 100 <h3>Latest News</h3> 91 101 <div class="right_news_bg"> 92 <h2>Eraser 6-rc2 released!</h2> 93 <div class="posted">Posted by: Joel, 13 December 2008, 10.30am, +800 GMT</div> 94 <p>Eraser 6 Release Candidate 2 is released, bringing with it about a dozen fixes (a few of them major!) <a href="announcements/20081213.html">See the full announcement.</a></p> 102 <h2>Eraser 6-rc3 released!</h2> 103 <div class="posted">Posted by: Joel, 3 January 2008, 9.00am, +800 GMT</div> 104 <p>Eraser 6 Release Candidate 3 is released, bringing with it about a dozen fixes (including a few show stopping regressions.) <a href="announcements/20090103.html">See the full announcement.</a></p> 105 <h2>Eraser 5.8.7-beta4 released!</h2> 106 <div class="posted">Posted by: Joel, 3 January 2008, 9.00am, +800 GMT</div> 107 <p>Eraser 5.8.7 isn't abandoned! The new beta release addresses feature bugs and would be a welcome addition to everyone still using v5. <a href="announcements/20090103.html#eraser5">See the full announcement.</a></p> 95 108 </div> 96 109 </div> … … 109 122 <div class="right_l"> 110 123 <h3><a name="download" href="javascript: ;"></a><img src="images/ico_download.gif" alt="" />Download Eraser</h3> 111 <ul> 112 <li><a href="announcements/20081213.html">Eraser 6.0.2</a> (rc-2, build 813)<br /> 113 » downloaded <?php 114 $query = mysql_query('SELECT COUNT(DownloadID) FROM download_statistics WHERE DownloadID=5'); 115 $row = mysql_fetch_row($query); 116 echo $row ? $row[0] : 'unknown'; ?> times</li> 124 <h4>Stable versions</h4> 125 <ul> 117 126 <li><a href="http://downloads.sourceforge.net/eraser/EraserSetup32.exe">Eraser 5.8.6a</a> (x86)</li> 118 127 <li><a href="http://downloads.sourceforge.net/eraser/EraserSetup64.exe">Eraser 5.8.6a</a> (x64)</li> 128 </ul> 129 <h4>Beta versions</h4> 130 <ul> 131 <li><a href="announcements/20090103.html">Eraser 6.0.3</a> (rc-3, build 847)<br /> 132 <span class="downloads">» downloaded <?php GetDownloads(6); ?> times</span></li> 133 <li><a href="announcements/20090103.html#eraser5">Eraser 5.8.7-beta4</a><br /> 134 <span class="downloads">» downloaded <?php GetDownloads(7); ?> times</span></li> 135 <li><a href="announcements/20090103.html#eraser5">Eraser 5.8.7-beta4</a> (standalone) 136 <span class="downloads">» downloaded <?php GetDownloads(8); ?> times</span></li> 119 137 </ul> 120 138 <h3>Reviews & Testimonials</h3>
Note: See TracChangeset
for help on using the changeset viewer.
