Ejemplo n.º 1
0
?>
">
          <?php 
echo $row_donation['campaign_name'];
?>
        </a>
      </dd>
      <dt class="unitx1">Status</dt>
      <dd><?php 
echo ucwords($row_donation['donation_status']);
?>
</dd>
      <dt class="unitx1">Amount</dt>
      <dd>
        <?php 
echo money_format("%n", $row_donation['donation_value']) . " " . donation_kind_text($row_donation['donation_is_cash']);
?>
      </dd>
      <dt class="unitx1">Pledged</dt>
      <dd><?php 
echo $row_donation['donation_pledge_date'] ? date("M j, Y", strtotime($row_donation['donation_pledge_date'])) : $na;
?>
</dd>
      <dt class="unitx1">Received</dt>
      <dd><?php 
echo $row_donation['donation_received_date'] ? date("M j, Y", strtotime($row_donation['donation_received_date'])) : $na;
?>
</dd>
      <dt class="unitx1">Description</dt>
      <dd style="white-space: pre-wrap" class="width1"><?php 
echo $row_donation['donation_description'] ? $row_donation['donation_description'] : $na;
Ejemplo n.º 2
0
">
            <?php 
                echo display_name($row_donations);
                ?>
          </a></td>
          <td><?php 
                echo ucwords($row_donations['donation_status']);
                ?>
</td>
          <td class="one-line"><?php 
                printf("\$%.2f", $row_donations['donation_value']);
                ?>
</td>
          <td class="one-line centre-cell">
            <?php 
                echo donation_kind_text($row_donations['donation_is_cash']);
                ?>
          </td>
          <td class="one-line">
            <?php 
                echo $row_donations['donation_pledge_date'] ? date("M j, Y", strtotime($row_donations['donation_pledge_date'])) : $na;
                ?>
 
          </td>
          <td class="one-line">
            <?php 
                echo $row_donations['donation_received_date'] ? date("M j, Y", strtotime($row_donations['donation_received_date'])) : $na;
                ?>
 
          </td>
        </tr>