- Timestamp:
- Oct 9, 2002, 9:21:32 AM (22 years ago)
- Location:
- trunk/www
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/en/ports.php
r931 r1014 37 37 <tr><td colspan="4"><hr size="1" noshade="noshade" /></td></tr> 38 38 <tr> 39 <td colspan="4" align="left"><a href="<?= $PHP_SELF; ?>?by=all">View All Software Titles</a></td> 39 <? 40 $result = mysql_query("SELECT count(*) from darwinports.portfiles"); 41 if ($result) { 42 $row = mysql_fetch_array($result); 43 $count = $row[0]; 44 } else { 45 $count = 0; 46 } 47 ?> 48 <td colspan="4" align="left"><a href="<?= $PHP_SELF; ?>?by=all">View All Software Titles (<?= $count; ?>)</a></td> 40 49 </tr> 41 50 <? -
trunk/www/ports.php
r931 r1014 37 37 <tr><td colspan="4"><hr size="1" noshade="noshade" /></td></tr> 38 38 <tr> 39 <td colspan="4" align="left"><a href="<?= $PHP_SELF; ?>?by=all">View All Software Titles</a></td> 39 <? 40 $result = mysql_query("SELECT count(*) from darwinports.portfiles"); 41 if ($result) { 42 $row = mysql_fetch_array($result); 43 $count = $row[0]; 44 } else { 45 $count = 0; 46 } 47 ?> 48 <td colspan="4" align="left"><a href="<?= $PHP_SELF; ?>?by=all">View All Software Titles (<?= $count; ?>)</a></td> 40 49 </tr> 41 50 <?
Note: See TracChangeset
for help on using the changeset viewer.