<div class="wrap"><?php 
if(isset($_GET['subpage'])){
include('admin/'.$_GET['subpage'].'.php');
} else {
?>
<h2>userchat Management</h2>
<br /><br />
<h3 class="title">Click a link to begin the management</h3>
<ol>
<li><a href="admin.php?page=manage_userchat.php&subpage=recent_msgs">View recent messages</a></li>
<li><a href="admin.php?page=manage_userchat.php&subpage=single_deleted">View single side deleted messages</a></li>
<li><a href="admin.php?page=manage_userchat.php&subpage=full_deleted">View completely deleted messages</a></li>
<li><a href="admin.php?page=manage_userchat.php&subpage=user_msgs">View messages by user</a></li>
<li><a href="admin.php?page=manage_userchat.php&subpage=uploads">View file uploads</a></li>
</ol>

<table class="widefat fixed" cellspacing="0">
    <thead>
    <tr>

            <th id="cb" class="manage-column column-cb check-column" scope="col"></th>
            <th id="columnname" class="manage-column column-columnname" scope="col"></th>
            <th id="columnname" class="manage-column column-columnname num" scope="col"></th>

    </tr>
    </thead>

    <tfoot>
    <tr>

            <th class="manage-column column-cb check-column" scope="col"></th>
            <th class="manage-column column-columnname" scope="col"></th>
            <th class="manage-column column-columnname num" scope="col"></th>

    </tr>
    </tfoot>

    <tbody>
        <tr class="alternate">
            <th class="check-column" scope="row"></th>
            <td class="column-columnname"></td>
            <td class="column-columnname"></td>
        </tr>
        <tr>
            <th class="check-column" scope="row"></th>
            <td class="column-columnname"></td>
            <td class="column-columnname"></td>
        </tr>
        <tr class="alternate" valign="top"> // this row contains actions
            <th class="check-column" scope="row"></th>
            <td class="column-columnname">
                <div class="row-actions">
                    <span><a href="#">Action</a> |</span>
                    <span><a href="#">Action</a></span>
                </div>
            </td>
            <td class="column-columnname"></td>
        </tr>
        <tr valign="top"> // this row contains actions
            <th class="check-column" scope="row"></th>
            <td class="column-columnname">
                <div class="row-actions">
                    <span><a href="#">Action</a> |</span>
                    <span><a href="#">Action</a></span>
                </div>
            </td>
            <td class="column-columnname"></td>
        </tr>
    </tbody>
</table>



<?php } ?></div>