*    -status: The status of the subscription.
 *    -expiration: The expiration timestamp.
 *    -start_date: The start date timestamp.
 *    -current_payments: The current number of payments made.
 *    -next_payment: The next payment timestamp.
 *    -total_occurrences: The total number of payments expected, or 0 for unlimited.
 *    -payment_plan: The payment plan array.
 * @var $plan: The plan object.
 * @var $change_billing_url: The url for the page where the user can change their billing info.
 * @var $change_plan_url: The url for the page where the user can change their plan.
 * @var $cancel_url: The url for the page where the user can cancel their subscription.
 * @var $renew_url: The url for the page where the user can renew their subscription.
 * @var $history_url: The url for the page where the user can view their payments history for the subscription.
 */
// Detirmine the image for the subscription based on the plan name
$drupal_plan = get_plan_from_membersify_name($plan->name);
if ($drupal_plan->field_cta_image['und'][0]['uri']) {
    $image_path = file_create_url($drupal_plan->field_cta_image['und'][0]['uri']);
} else {
    $image_path = false;
}
?>
<!-- membersify-subscription template -->
<div class="membersify-subscription membersify-subscription-<?php 
print $subscription->status;
?>
">

  <div class="plan-box">
    <img src="<?php 
echo $image_path;
print t("Item");
?>
</th>
        <th class="line_total_header"><?php 
print t("Line Total");
?>
</th>
      </tr>
    </thead>

    <tbody>
      <?php 
foreach ($items as $item) {
    ?>
        <?php 
    $drupal_plan = get_plan_from_membersify_name($item['name']);
    ?>
        <tr class="membersify_item">
          <td>
            <div class='membersify_name'><?php 
    print $drupal_plan->name;
    ?>
</div>
            <!-- <div class='membersify_description'><?php 
    print $item['description'];
    ?>
</div> -->
          </td>
          <td><div class='membersify_price'><?php 
    print $item['price_string'];
    ?>