comparison index.php @ 23:6d959c2ed416

index.php: don't display redundant LastMod
author paulo@twcdns.fastsearch.net
date Mon, 24 Jan 2011 00:02:19 -0800
parents 561c0b0f3234
children 92e7bc3c5755
comparison
equal deleted inserted replaced
0:157f599474b5 1:3fd1e35892c8
35 echo '<A HREF="'.$row['URL'].'">'.$row['Title'].'</A>'; 35 echo '<A HREF="'.$row['URL'].'">'.$row['Title'].'</A>';
36 echo '</DT>'."\n"; 36 echo '</DT>'."\n";
37 echo '<DD>'; 37 echo '<DD>';
38 echo '<DIV CLASS="index_date">'; 38 echo '<DIV CLASS="index_date">';
39 echo 'First added: '.$row['FirstMod'].' '.'<BR>'; 39 echo 'First added: '.$row['FirstMod'].' '.'<BR>';
40 echo 'Last modified: '.$row['LastMod']; 40 if (($row['LastMod'] != '') && ($row['LastMod'] != $row['FirstMod']))
41 echo 'Last modified: '.$row['LastMod'];
41 echo '</DIV>'; 42 echo '</DIV>';
42 echo '</DD>'."\n"; 43 echo '</DD>'."\n";
43 } 44 }
44 45
45 mysql_free_result($results); 46 mysql_free_result($results);