コード例 #1
0
    ?>
">Approve Message</a>
                                &middot;
                                <a href="/reported.php?action=delete-objects&reportID=<?php 
    echo $message['reportID'];
    ?>
">Delete Message</a>
                            </span>
                        <?php 
}
?>
                        <div class="clear"></div>
                    </div>
                    <div class="row message-body">
                        <?php 
echo render_enter_to_br($message['body']);
?>
                    </div>
                </div>
                <?php 
if ($msgType != 'reported') {
    ?>
                    <div class="btn-row">
                        <?php 
    if ($message['sender'] != $userID) {
        ?>
                            <input type="button" class="redButton" value="Reply" id="reply-message"
                                data-id="<?php 
        echo $message['messageID'];
        ?>
" style="margin-right:5px;"/>
コード例 #2
0
    $paramAction = get_secure_string($_REQUEST['action']);
}
$pageIns = new BuckysPage();
$pageFollowerIns = new BuckysPageFollower();
//Capture Ajax requests (such as save title, ... here)
if (is_numeric($userID)) {
    switch ($paramAction) {
        //============ Update About Content By Ajax =================//
        case 'updateAbout':
            $paramPageID = get_secure_integer($_REQUEST['pageID']);
            $paramContent = get_secure_string($_REQUEST['content']);
            $pageData = $pageIns->getPageByID($paramPageID);
            if ($pageData && $pageData['userID'] == $userID) {
                $data['about'] = $paramContent;
                $pageIns->updateData($paramPageID, $data);
                echo json_encode(['success' => 1, 'msg' => MSG_CONTENT_UPDATED_SUCCESS, 'content' => $paramContent, 'content_display' => render_enter_to_br($paramContent)]);
            } else {
                if (empty($pageData)) {
                    //No such page exists
                    echo json_encode(['success' => 0, 'msg' => MSG_NO_SUCH_PAGE]);
                } else {
                    //You don't have permission to update content
                    echo json_encode(['success' => 0, 'msg' => MSG_NO_PERMISSION_TO_EDIT_PAGE]);
                }
            }
            exit;
            //=============== Update Page Title by Ajax ===================//
        //=============== Update Page Title by Ajax ===================//
        case 'updatePageTitle':
            $paramPageID = get_secure_integer($_REQUEST['pageID']);
            $paramContent = get_secure_string($_REQUEST['content']);
コード例 #3
0
                <div>
                    <input type="button" id="btn_buy_now" class="red-btn" value="Buy" style="margin-right: 5px;"/>
                    <input type="button" id="btn_cancel_buy" class="gray-btn" value="Cancel"/>
                </div>
            </div>
        <?php 
}
?>

        <div class="clear"></div>

        <div class="shop-view-description">
            <div><span class="titles">Description:</span></div>
            <div class="d">
                <?php 
echo render_enter_to_br($productData['description']);
?>
            </div>

            <div <?php 
echo $productData['isDownloadable'] ? 'style="display: none"' : '';
?>
>
                <span class="titles">Return Policy:</span></div>
            <div class="d" <?php 
echo $productData['isDownloadable'] ? 'style="display: none"' : '';
?>
>
                <?php 
echo $productData['returnPolicy'];
?>
コード例 #4
0
                <div>
                    <input type="button" id="make_an_offer_btn" class="blue-btn" value="Offer Item"/> <input
                        type="button" id="cancel_an_offer_btn" class="light-gray-btn" value="Cancel"/>
                </div>
            </div>
        <?php 
}
?>

        <div class="clear"></div>

        <div class="trade-view-description">
            <div><span class="titles">Description:</span></div>
            <div class="d">
                <?php 
echo render_enter_to_br($itemData['description']);
?>
            </div>

            <div><span class="titles">Items Wanted:</span></div>
            <div class="d">
                <?php 
echo $itemData['itemWanted'];
?>
            </div>
        </div>

        <div>
            <br/><br/>
            <!-- Begin DigiCert site seal HTML and JavaScript -->
            <div id="DigiCertClickID_05D1VcQp" data-language="en_US">
コード例 #5
0
    ?>
<a href="javascript:void(0)" class="edit-info" id="edit_about_btn">(edit)</a><?php 
}
?>
</h3> -->
        <h4>About <?php 
if ($view['isMyPage']) {
    ?>
                <a href="javascript:void(0)" class="edit-info" id="edit_about_btn">(edit)</a><?php 
}
?>
 </h4>

        <div class="page-about-content">
            <div id="about_text_display"><?php 
echo render_enter_to_br($pageData['about']);
?>
</div>
            <div class="about-text-edit-panel">
                <textarea id="about_text_input" class="about-textarea"
                    maxlength="5000"><?php 
echo $pageData['about'];
?>
</textarea> <input type="button" value="Save"
                    id="save_about_text" class="redButton">
            </div>
        </div>
    </div>

    <div class="page-link-sidebox info-box">
        <!-- <h3>Links <?php