Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo '<table>';
- while($rows = mysql_fetch_array( $notes ))
- {
- echo '<tr class="noteTr">
- <td class="noteFile">
- <a href="notes/' . $rows['thenote'] . '" class="notefilehref">' . $rows['thenote'] . '</a>
- </td>
- <td class="noteDate">
- ' . $rows['date'] . '
- </td>
- <td class="noteUsername">';
- $getName = mysql_query("SELECT username FROM bitfile_members WHERE username='$rows[username]'") or die(mysql_error());
- $Name = mysql_result($getName, 0);
- echo $Name;
- '</td>
- <td class="noteRows">
- ' . $rows['rows'] . '
- </td>
- <td class="noteRowsText">
- rows
- </td>';
- if(empty($rows['comment']))
- {
- echo '
- <td class="noteComment">
- <img src="gfx/red-button.jpg" class="noteImg">
- </td>';
- }
- else
- {
- echo '
- <td class="noteComment">
- <img src="gfx/green-button.jpg" class="noteImg">
- </td>';
- }
- echo '
- <td class="noteReport">
- <a href=""><img src="gfx/report.gif" class="noteImg_report" title="Report this note"></a>
- </td></tr>';
- }
- echo '</table>';
- ?>
Add Comment
Please, Sign In to add comment