示例#1
0
</div>
<div class="row">
    <div style="text-align: center;">
        <p>
            <img src="http://api.mcstats.org/signature/1.5/all+servers.png" />
        </p>
';
}
echo '
        <p>
            So donate today. Give as little as a dollar, or as much as you want, or don\'t donate at all &mdash; the decision is yours and yours alone.
        </p>
    </div>
</div>

<div class="row">
    <div style="text-align: center;">
        <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
            <input type="hidden" name="cmd" value="_s-xclick">
            <input type="hidden" name="hosted_button_id" value="UWDNQHSKFZX4U">
            <input type="hidden" name="amount" value="100">
            <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" style="height: 47px; width: 147px;" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
            <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
        </form>
    </div>
</div>
<br/>

';
send_footer();
示例#2
0
/**
 * Row Export
 */
function export_row_items(&$exportPlugin, $page_title, $include_header, $export_columns, $s_item_type, $owner_id)
{
    $iiresults = fetch_export_item_instance_rs($s_item_type, $owner_id);
    if ($iiresults) {
        send_header($exportPlugin, $page_title);
        if ($include_header == 'Y') {
            if (method_exists($exportPlugin, 'prompt_header')) {
                $row = get_header_row('prompt', $export_columns, $s_item_type);
                if (is_not_empty_array($row)) {
                    send_data($exportPlugin->prompt_header($row));
                }
            } else {
                if (method_exists($exportPlugin, 'data_header')) {
                    $row = get_header_row('data', $export_columns, $s_item_type);
                    if (is_not_empty_array($row)) {
                        send_data($exportPlugin->data_header());
                    }
                }
            }
        }
        $item_instance_r2 = NULL;
        while ($item_instance_r = db_fetch_assoc($iiresults)) {
            $row = get_item_row($export_columns, strlen($s_item_type) == 0, $item_instance_r['item_id'], $item_instance_r['instance_no'], $item_instance_r['owner_id'], $item_instance_r['s_item_type'], $item_instance_r['title'], $item_instance_r['borrow_duration'], $item_instance_r['s_status_type'], $item_instance_r['status_comment']);
            if (is_not_empty_array($row)) {
                send_data($exportPlugin->item_row($row));
            }
            $item_instance_r2 = $item_instance_r;
        }
        db_free_result($iiresults);
        if (method_exists($exportPlugin, 'close')) {
            send_data($exportPlugin->close());
        }
        send_footer($exportPlugin);
        return TRUE;
    } else {
        return FALSE;
    }
}