示例#1
0
?>
 />
			<input type='hidden' id='mm-has_trial_val' value='<?php 
echo $product->hasTrial() ? '1' : '0';
?>
' />
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<div id='mm_has_trial_row' style='display:none;'>
				<p style="margin:5px 0px 0px 0px;">
					Trial Price 
					<input type='text' id='mm-trial_amount' value='<?php 
echo $product->getTrialAmount(false);
?>
'  style='margin-left: 10px; width: 125px;' <?php 
echo $hasBeenPurchased ? "disabled" : "";
?>
/> <?php 
echo MM_CurrencyUtil::getActiveCurrency();
?>
				</p>
				<p style="margin:5px 0px 5px 0px;">
					Trial Period
					<input type='text' id='mm-trial_duration' value='<?php 
echo $product->getTrialDuration();
?>
'  style='margin-left: 10px; width: 50px;' <?php 
echo $hasBeenPurchased ? "disabled" : "";