コード例 #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
ファイル: content.php プロジェクト: rexfleischer/web_dev
 <div id="text">
     FINE!!! LEAVE THEN <?php IsSetEcho($username); ?>! Have A Good Day
 </div>
コード例 #4
0
ファイル: list_users.php プロジェクト: rexfleischer/web_dev
<?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
ファイル: create.php プロジェクト: rexfleischer/web_dev
 <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
ファイル: infolist.php プロジェクト: rexfleischer/web_dev
                <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
ファイル: layout_1.php プロジェクト: rexfleischer/web_dev
 <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
ファイル: user_logs.php プロジェクト: rexfleischer/web_dev
<?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
ファイル: create_user.php プロジェクト: rexfleischer/web_dev
                        <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
ファイル: error.php プロジェクト: rexfleischer/web_dev
<html>
    <head>
        <title><?php IsSetEcho($header); ?></title>
    </head>
    <body>
        <h3><?php IsSetEcho($header); ?></h3>
        <p><?php IsSetEcho($content); ?></p>
    </body>
</html>
コード例 #12
0
ファイル: default.php プロジェクト: rexfleischer/web_dev
                <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
ファイル: userlogin.php プロジェクト: rexfleischer/web_dev
 <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>