<div class="cc_hubadm_content">
    <div class="cc_hubadm_box cc_hubadm_full">
    <div class="cc_hubadm_boxtitle">Hub Page Setting</div>
    <form method="post" class="cc_hubopsform" action="<?php echo SITE_URL ?>/<?php echo $mloc ?>.php/HubOps/savepage">
           <table class="cc_hubadm_formtable">
               <tr>
                   <td>Hub Image:</td>
                   <td>
                       <input type="text" name="image" value="<?php echo $page->image; ?>" />
                       <br />(Full URL including http://)
                   </td></tr>
               <tr>
                   <td>Page Content:</td>
                   <td>
                       <textarea id="editor" name="pagecontent"><?php echo $page->pagecontent; ?></textarea>
                   </td></tr>
               <tr>
                   <td>Show Statistics:</td>
                   <td>
                       <input type="checkbox" name="showstats" id="showstats" value="1" <?php if(!isset($page->showstats) || $page->showstats == '1') { echo "checked"; } ?>>
                   </td></tr>
               <tr>
                   <td>Show Pilot List:</td>
                   <td>
                       <input type="checkbox" name="showpilots" id="showpilots" value="1" <?php if(!isset($page->showpilots) || $page->showpilots == '1') { echo "checked"; } ?>>
                   </td></tr>
               <tr><td></td><td>
                   <input type="hidden" name="hubcode" value="<?php echo $hub->icao; ?>" />
                   <input type="submit" value="Save Page" /></td></tr>
           </table>
        
    </form>
    </div>
</div>