Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table width="800" border="0">
- <form name="form1" method="post" action"pm_inbox.php">
- <tr>
- <td width="41" align="center">#</td>
- <td width="490">Title:</td>
- <td width="255">From:</td>
- </tr>
- <?php
- while($rows=mysql_fetch_array($result)) {
- ?>
- <?php if ($rows['viewed'] == 0) { //show messages in bold ?>
- <tr>
- <td width="41" align="center"><input type="checkbox" id="checkbox[]" value"<?php echo $rows['id']; ?>" /></td>
- <td width="490"><a href="pm_view_in.php?in=<?php echo $rows['id']; ?>"><b><?php echo $rows['title']; ?></b></a></td>
- <td width="255"><?php echo $rows['from_username']; ?></td>
- </tr>
- <?php } else if ($rows['viewed'] == 1) { ?>
- <tr>
- <td width="41" align="center"><input type="checkbox" id="checkbox[]" value"<?php echo $rows['id']; ?>" /></td>
- <td width="490"><a href="pm_view_in.php?in=<?php echo $rows['id']; ?>"><?php echo $rows['title']; ?></a></td>
- <td width="255"><?php echo $rows['from_username']; ?></td>
- </tr>
- <?php } ?>
- <?php } ?>
- <tr>
- <td coldspan="3" align="center"><?php if ($inboxMessages > 0) { ?><input type="submit" name="delete" id="delete" value="Delete Selected Messages" /><?php } else { print "There are no messages in your Inbox"; } ?></td>
- </table>
Add Comment
Please, Sign In to add comment