Esempio n. 1
0
if (isset($_GET['date_from'])) {
    echo $_GET['date_from'];
}
?>
" /></p>
                <p><label>To Date <small>(YYYY-MM-DD)</small></label><input type="text" id="date_to" name="date_to" class="text date_input" value="<?php 
if (isset($_GET['date_to'])) {
    echo $_GET['date_to'];
}
?>
" /></p>
                 <p><label>Payment Status</label>
                   <select id="country" name="status_id">
                        <option value=""> -- View All -- </option>
                        <?php 
echo clsDonationStatus::Instance()->Combo($_GET['status_id']);
?>
                    </select>
                    
                </p>   
                <p><label>Order By</label>
                    <select name='order_by' id='order_by' class="select">      
                        <?php 
echo clsArray::arrayToComboOptions(modDonations::OrderFields(), $_GET['order_by']);
?>

                    </select> 
                    
                </p>   
                <p><label>Order Direction</label>
    echo (int) $request_data['donation_id'];
    ?>
" />
    <input type="hidden" name="is_pop" value="<?php 
    echo (int) $is_pop;
    ?>
" />
    <input type="hidden" name="action" value="update_status" />
 <table width="100%" cellpadding="0" cellspacing="0" class="tbl" style="margin-top:20px;">   
     <tr class="tbltoprow">
        <td colspan="2">Update Payment Status</td>
    </tr>
     <tr class="datarow_even">
          <td width="20%"><label>Select Status</label></td>
          <td width="80%">
              <select name="payment_status">
                  <?php 
    echo clsDonationStatus::Instance()->Combo($request_data['status_id']);
    ?>
              </select>
              <br /><small>Once Status marked as 'Complete' - Action can't be undone!</small>
              <br /><small>On every status update - Date will be captured.</small>
          </td>
    </tr> 
    <tr class="datarow_odd">
        <td colspan="2"> <input name="btn" type="submit" value="Update Status" class="btn" /> </td>
    </tr>
 </table> 
</form>
<?php 
}