コード例 #1
0
    ?>

									</p>

									<p>

										<b>Valid Until:</b>

										<?php 
    if ($fldSubscribe == '2') {
        //Trial Time Left
        $time_left = $func->GetAprilTrialTimeLeft($fldAddDate);
    } else {
        if ($fldSubscribe == '1') {
            //Subscription Time Left
            $time_left = $func->GetSubscriptionTimeLeft($fldLastPaymentDate);
        } else {
            if ($fldSubscribe == '0') {
                //Inactive Time Left
                $time_left = "0 Days";
            }
        }
    }
    echo $time_left;
    ?>

									</p>

									<br />

									<br />
コード例 #2
0
    }
    ?>

									<p>
										<b>Type:</b><?php 
    echo $SubscriptionType;
    ?>

									</p>
									<p>
										<b>Status:</b><?php 
    echo $SubscriptionStatus;
    ?>

									</p>
									<p>
										<b>Valid Until:</b>
										<?php 
    if ($fldSubscribe == '2') {
        //Trial Time Left
        $time_left = $func->GetTrialTimeLeft($fldAddDate);
    } else {
        if ($fldSubscribe == '1') {
            //Subscription Time Left
            $time_left = $func->GetSubscriptionTimeLeft();
        } else {
            if ($fldSubscribe == '0') {
                //Inactive Time Left
                $time_left = "0 Days";
            }
        }