Forums</a> </div> <div id="contentfrm"> <table> <tbody> <tr> <td width="4%"></td> <td width="45%" class="title"></td> <td width="10%" class="title num">Threads</td> <td width="10%" class="title num">Posts</td> <td width="26%" class="title">Last Post</td> </tr> <?php //retrieve our categories foreach ($forum_index->retrieveCategories($rank) as $category) { echo '<tr><td class="groupname" colspan="5">' . $category['title'] . '</td></tr>'; foreach ($forum_index->retrieveSubForums($category['id']) as $s_forum) { if ($forum->canView($s_forum['id'], $rank)) { //retrieve the forum's statistics $statistics = $forum_index->retrieveFStatistics($s_forum['id']); //get appropriate icon for the section if ($s_forum['type'] > 3) { $icon = $s_forum['type'] == 4 ? '<img src="../img/forum/icons/mod.png" border="0" alt="">' : '<img src="../img/forum/icons/a_mod.png" border="0" alt="">'; } else { $icon = $forum->getIcon($s_forum['icon']); } ?> <tr class="border item"> <td class="icon lefttd"><a href="viewforum.php?forum=<?php
"><?php echo $details['sticky'] == 1 ? 'Unstick' : 'Sticky'; ?> </a> <?php } ?> <form action="action.php" method="GET"> <input type="hidden" name="action" value="3"> <input type="hidden" name="threads" value="<?php echo $i; ?> "> <select name="moveto"> <?php $categories = $forum_index->retrieveCategories(); foreach ($categories as $category) { $listing = $forum_index->retrieveSubForums($category['id']); echo '<option disabled="disabled">' . $category['title'] . '</option>'; foreach ($listing as $list_f) { echo '<option value="' . $list_f['id'] . '">' . $list_f['title'] . '</option>'; } } ?> </select> <input type="submit" value="Move"> </form> </div> <?php }
<br/> <div class="frame wide_e"> <div style="text-align: justify"> <center> <div id="compact"> <form action="search.php" method="POST"> <table cellpadding="3"> <tr> <td align="left"> Select Location </td> <td align="left"> <select name="forum"> <option value="all" selected="selected">All</option> <?php $categories = $forum_index->retrieveCategories($rank); foreach ($categories as $category) { $forums = $forum_index->retrieveSubForums($category['id']); echo '<option disabled="disabled">' . $category['title'] . '</option>'; foreach ($forums as $forum) { echo '<option value="' . $forum['id'] . '">' . $forum['title'] . '</option>'; } } ?> </select> </td> </tr> <tr> <td align="left"> Search Terms </td>