comparison index.php @ 48:50de1845520f

add first draft of index_app.py
author paulo
date Tue, 12 Mar 2013 01:43:17 -0700
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);