Viewing file: _footer.inc.php (2.58 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? // uses $forum to determine selected forum if (isset($_GET['topicgroup'])) $forum = $_GET['topicgroup']; else $forum = "axmain"; ?>
<div id="footer"> <p id="copyright"> © Copyright - Brian Ritchie </p>
</div>
<div id="createTopicModal"> <div class="modalHeading"> <h2>Create Topic</h2> </div> <div class="modalBody" id="createTopicBody"> <? if (!logged_in()) { display_login_required('to create a topic'); } else { ?> <form method="post"> <table id="createTopicTable" cellpadding="0" cellspacing="0"> <tr> <td class="col1">Topic name:</td> <td class="col2"> <input id="topicInput" type="text" name="text" maxlength="50" value="" /> </td> </tr> <tr> <td class="col1">Create in: <? echo $forum; ?></td> <td class="col2"> <label><input type="radio" name="topicgroup" value="axmain"<? echo ($forum=='axmain')? ' checked="checked"': ''; ?> /> Muay Thai / Kickboxing Forum</label> <label><input type="radio" name="topicgroup" value="mma"<? echo ($forum=='mma')? ' checked="checked"': ''; ?> /> Mixed Martial Arts [MMA] Forum</label> <label><input type="radio" name="topicgroup" value="axsportscience"<? echo ($forum=='axsportscience')? ' checked="checked"': ''; ?> /> Fight Training and Sport Science Forum</label> <label><input type="radio" name="topicgroup" value="axofftopic"<? echo ($forum=='axofftopic')? ' checked="checked"': ''; ?> /> Off Topic Forum</label> </td> </tr>
<tr> <td class="col1"> </td> <td class="col2"> <input type="submit" name="action" value="Create topic!" /> </td> </tr> </table> </form> <? } ?> </div><!-- modal body --> </div><!-- createTopicModal -->
<div id="searchForumModal"> <div class="modalHeading"> <h2>Search Forum</h2> </div> <div class="modalBody" id="searchForumBody"> <form method="post"> <table cellpadding="0" cellspacing="0"> <caption>Search for keywords:</caption> <tr> <td class="col1"> <input type=text name="words" size="40" value="" /> </td> </tr> <tr> <td class="col1"> <input type="submit" name="action" value="Search topic titles" /> <input type="submit" name="action" value="Search messages" /> </td> </tr> </table> </form>
</div><!-- modal body --> </div><!-- searchProfiles -->
</div><!--begin --> <? //echo "<p align=center>Is <b>",substr(pg_result(pg_query($conn,'select current_timestamp;'),0,0),0,19),"</b> your local time? If not, click <a href=\"tzset\">here</a> to set your timezone!</p>"; ?> </body> </html>
|