示例#1
0
<?php
IsSetEcho($message);
if($message_list == null)
{ ?>

        <h3>Sent Messages</h3>
        <div class="text">
            there are no messages to list
        </div>
<?php }
else
{ ?>

<h3>Sent Messages</h3>

<form action="<?php echo buildurl(BN_URL_PAGE_ADMIN,
        array(ACTION => ACTION.ACTION_DELETE."sentmessages")); ?>" method="post">
    <table>
        <?php foreach($message_list as $list_obj){ ?>
            <tr>
            <td>
                <input type="checkbox" name="<?php echo DBMessage::MESSAGE_ID; ?>[]" value="<?php echo $list_obj[DBMessage::MESSAGE_ID]; ?>" />
            </td>
            <td>
                <a href="<?php echo buildurl(BN_URL_PAGE_ADMIN,
                        array(ACTION => ACTION_READ."message", DBMessage::MESSAGE_ID => $list_obj[DBMessage::MESSAGE_ID])); ?>">
                    <i><?php echo $list_obj[DBMessage::TITLE]; ?></i>
                    At
                    <?php echo $list_obj[DBMessage::TIME_SENT]; ?>
                </a>
            </td>
示例#2
0
             <?php } ?>
             
         </table>
         <?php } else { ?>
         
         root <input type="hidden" name="position" value="0" />
         <?php } ?>
         
     </td>
 </tr>
 <tr>
     <td>
         Page Title:
     </td>
     <td>
         <input type="text" name="<?php echo PAGETITLE; ?>" value="<?php IsSetEcho($data[PAGETITLE]); ?>" />
     </td>
 </tr>
 <tr>
     <td>
         Conversation Type:
     </td>
     <td>
         <select name="<?php echo PAGETYPE; ?>" >
             <?php $selected = isset($data[PAGETYPE]) ? $data[PAGETYPE] : BN_PAGETHREADTYPE_NONE; ?>
             <option value="<?php echo BN_PAGETHREADTYPE_NONE; ?>" <?php if ($selected == BN_PAGETHREADTYPE_NONE) echo "selected=\"selected\""; ?> >None</option>
             <option value="<?php echo BN_PAGETHREADTYPE_SINGLE; ?>" <?php if ($selected == BN_PAGETHREADTYPE_SINGLE) echo "selected=\"selected\""; ?> >Single</option>
             <option value="<?php echo BN_PAGETHREADTYPE_MULTI; ?>" <?php if ($selected == BN_PAGETHREADTYPE_MULTI) echo "selected=\"selected\""; ?> >Threaded</option>
         </select>
     </td>
 </tr>
示例#3
0
 <div id="text">
     FINE!!! LEAVE THEN <?php IsSetEcho($username); ?>! Have A Good Day
 </div>
示例#4
0
<?php IsSetEcho($message); ?>

<?php
if (is_array($user_list))
{
?>

<h3>User List</h3>

<table>
    <tr >
        <td class="width_150">
            Username
        </td>
        <td class="width_150">
            Created When
        </td>
        <td class="width_150">
            Last Updated
        </td>
        <td class="width_100">
            Details
        </td>
        <td class="width_100">
            Logs
        </td>
    </tr>

    <?php foreach($user_list as $user) { ?>
    <tr>
示例#5
0
 <h4><?php IsSetEcho($message); ?></h4>
 <div class="form_setup">
     <table>
         <form method="post" action="<?php echo buildurl(BN_URL_PAGE_USERMANUAL, array(ACTION => ACTION.ACTION_CREATE)); ?>" >
             <tr>
                 <td>
                     Title:
                 </td>
                 <td>
                     <input tabindex="1" class="form_input_text" type="text" name="<?php echo USERMANUAL_TITLE; ?>" value="<?php IsSetEcho($title); ?>" />
                 </td>
             </tr>
             <tr>
                 <td>
                     Rank:
                 </td>
                 <td>
                     <input tabindex="2" class="form_input_text" type="text" name="<?php echo USERMANUAL_RANK; ?>" value="<?php IsSetEcho($rank); ?>" />
                 </td>
             </tr>
             <tr>
                 <td></td>
                 <td>
                     <input tabindex="3" class="form_input_submit" type="submit" value="Create" />
                 </td>
             </tr>
         </form>
     </table>
 </div>
示例#6
0
                <td class="width_150">Write</td>
                <td class="width_150">Delete</td>
            </tr>
            <?php foreach($pagelist as $value) { ?>
            <tr>
                <form action="<?php echo buildurl(BN_URL_PAGE_USERMANUAL, array(ACTION => ACTION.ACTION_UPDATE)); ?>" method="post">
                    <input type="hidden" name="<?php echo USERMANUAL_PAGEID; ?>" value="<?php echo $value[USERMANUAL_PAGEID]; ?>" />
                    <td>
                        <input type="text" name="<?php echo USERMANUAL_TITLE; ?>" value="<?php echo $value[USERMANUAL_TITLE]; ?>" />
                    </td>
                    <td>
                        <input type="text" name="<?php echo USERMANUAL_RANK; ?>" value="<?php echo $value[USERMANUAL_RANK]; ?>" />
                    </td>
                    <td>
                        <input type="submit" value="Update" />
                    </td>
                    <td>
                        <a href="<?php echo buildurl(BN_URL_PAGE_USERMANUAL, array(ACTION => ACTION_WRITE,USERMANUAL_PAGEID => $value[USERMANUAL_PAGEID]))?>">Write</a>
                    </td>
                </form>
                <form action="<?php echo buildurl(BN_URL_PAGE_USERMANUAL, array(ACTION => ACTION.ACTION_DELETE)); ?>" method="post">
                    <input type="hidden" name="<?php echo USERMANUAL_PAGEID; ?>" value="<?php echo $value[USERMANUAL_PAGEID]; ?>" />
                    <td>
                        <input type="submit" value="Delete" />
                    </td>
                </form>
            </tr>
            <?php } ?>
        </table>
<?php } else { IsSetEcho($pagelist); }?>
示例#7
0
 <div id="<?php IsSetEcho($menuid); ?>" class="_mch1_m_container">
     <div class="_mch1_m_upper">
         <?php if(isset($title)){?>
         <span class="text"><?php echo $title; ?></span>
         <?php } ?>
     </div>
     <div class="_mch1_m_middle">
         <?php
         IsSetEcho($content);
         ?>
     </div>
     <div class="_mch1_m_lower">
     </div>
 </div>
示例#8
0
<?php IsSetEcho($message); ?>

<h3><?php IsSetEcho($username); ?>'s Logs</h3>

<?php
if (is_array($user_logs))
{
?>

<form method="post" action="<?php echo buildurl(BN_URL_PAGE_ADMIN, array(ACTION => ACTION.ACTION_LOG.ACTION_DELETE."users", "start" => $start, "amount" => $amount, USERS_USERID => $user_id)); ?>" >

    <table>
        <tr >
            <td class="width_50">
                
            </td>
            <td class="width_100">
                Number
            </td>
            <td class="width_150">
                Logged At
            </td>
            <td>
                message
            </td>
        </tr>

        <?php $counter = $start + 1; foreach($user_logs as $user) { ?>
        <tr>
            <td>
示例#9
0
        <link href="<?php echo BN_URL_CSS; ?>/form/BasicTextEditor.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo BN_URL_JAVASCRIPT; ?>/form/BasicTextEditor.js" ></script>
        <fieldset id="BasicTextEditor">
            <legend id="BasicTextEditor"><?php IsSetEcho($title); ?></legend>
            <button onclick="wrapText('b'); return false;" id="BasicTextEditor">
                <img alt="bold" src="<?php echo BN_URL_ASSETS; ?>/form/BasicTextEditor/bold.png" />
            </button>
            <button onclick="wrapText('i'); return false;" value="italic" id="BasicTextEditor">
                <img alt="italic" src="<?php echo BN_URL_ASSETS; ?>/form/BasicTextEditor/italic.png" />
            </button>
            <button onclick="wrapText('u'); return false;" value="underline" id="BasicTextEditor">
                <img alt="underline" src="<?php echo BN_URL_ASSETS; ?>/form/BasicTextEditor/underline.png" />
            </button>
            <button onclick="insertText('br'); return false;" value="linebreak" id="BasicTextEditor">
                <img alt="linebreak" src="<?php echo BN_URL_ASSETS; ?>/form/BasicTextEditor/linebreak.png" />
            </button>
            <textarea id="BasicTextEditor_target" name="<?php IsSetEcho($name) ?>" cols="80" rows="20"><?php IsSetEcho($content); ?></textarea>
            <?php if (isset($submit)){ ?>
            <input type="submit" value="<?php echo $submit; ?>" />
            <?php } ?>
        </fieldset>
示例#10
0
                        <input type="checkbox" name="<?php echo USERS_ISLOGGED; ?>" value="1" <?php if($user_data[USERS_ISLOGGED]){ echo "checked=\"checked\""; } ?> />
                    </td>
                </tr>
                <tr>
                    <td>
                        Is Active:
                    </td>
                    <td>
                        <input type="checkbox" name="<?php echo USERS_ISACTIVE; ?>" value="1" <?php if($user_data[USERS_ISACTIVE]){ echo "checked=\"checked\""; } ?> />
                    </td>
                </tr>
                <tr>
                    <td>
                        Is Permissioned:
                    </td>
                    <td>
                        <input type="checkbox" name="<?php echo USERS_ISPERMISSIONED; ?>" value="1" <?php if($user_data[USERS_ISPERMISSIONED]){ echo "checked=\"checked\""; } ?> />
                    </td>
                </tr>
                <tr>
                    <td>
                        Notes:
                    </td>
                    <td>
                        <input type="text" name="<?php echo USERS_MASTERNOTES; ?>" value="<?php IsSetEcho($user_data[USERS_MASTERNOTES], ""); ?>" />
                    </td>
                </tr>
            </table>
            <input type="submit" value="Create" />
        </form>
示例#11
0
<html>
    <head>
        <title><?php IsSetEcho($header); ?></title>
    </head>
    <body>
        <h3><?php IsSetEcho($header); ?></h3>
        <p><?php IsSetEcho($content); ?></p>
    </body>
</html>
示例#12
0
                <li><a href="<?php echo BN_URL_PAGE_LOGIN; ?>">LOGIN</a></li><?php } ?>

            </ul>
        </div>
    </div>

<!-- End Section -->



<!-- Begin This Page Content -->

    <div id="_pagecontent">

<?php IsSetEcho($main_content); ?>

    </div>

<!-- End Section -->



<!-- Begin Footer Layout -->

    <div class="full_width background_color_accent">
        <div class="main_width_center" id="_footercontent">
            This Site Is Owned By The Boyd's Family, And Was Created By R And L
        </div>
    </div>
示例#13
0
        <link href="<?php echo BN_URL_CSS; ?>/content/BasicTextViewer.css" rel="stylesheet" type="text/css" />
        <fieldset class="basictextviewer">
            <legend><?php if (isset($title)){ echo "<h3>$title</h3>"; } ?></legend>
            <fieldset class="basictextviewer_inner">
                <?php IsSetEcho($content); ?>
            </fieldset>
        </fieldset>
        
示例#14
0
 <div class="login_form">
     <form action="<?php echo buildurl(BN_URL_PAGE_LOGIN, array(ACTION => ACTION_ATTEMPT)) ?>" method="post">
         <table class="login_form_table">
             <caption><?php IsSetEcho($message); ?></caption>
             <tr>
                 <td>
                     Login Name:
                 </td>
                 <td>
                     <input tabindex="1" class="login_form_input_text" type="text" name="<?php echo USERS_USERNAME; ?>" value="<?php IsSetEcho($username); ?>" />
                 </td>
             </tr>
             <tr>
                 <td>
                     Login Pass:
                 </td>
                 <td>
                     <input tabindex="2" class="login_form_input_text" type="password" name="<?php echo USERS_PASSWORD; ?>" />
                 </td>
             </tr>
             <tr>
                 <td></td>
                 <td>
                     <input tabindex="3" class="login_form_input_submit" type="submit" value="Login" />
                 </td>
             </tr>
         </table>
     </form>
 </div>