本文整理匯總了PHP中vmCommonHTML::getInfoField方法的典型用法代碼示例。如果您正苦於以下問題:PHP vmCommonHTML::getInfoField方法的具體用法?PHP vmCommonHTML::getInfoField怎麽用?PHP vmCommonHTML::getInfoField使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類vmCommonHTML
的用法示例。
在下文中一共展示了vmCommonHTML::getInfoField方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
?>
</td>
</tr>
</table>
<?php
if ($db->f("order_status") == "P") {
// Copy the db object to prevent it gets altered
$db_temp = ps_DB::_clone($db);
/** Start printing out HTML Form code (Payment Extra Info) **/
?>
<table width="100%">
<tr>
<td width="100%" align="center">
<?php
@(include CLASSPATH . "payment/" . $dbpm->f("payment_class") . ".cfg.php");
echo DEBUG ? vmCommonHTML::getInfoField('Beginning to parse the payment extra info code...') : '';
// Here's the place where the Payment Extra Form Code is included
// Thanks to Steve for this solution (why make it complicated...?)
if (eval('?>' . $dbpm->f("payment_extrainfo") . '<?php ') === false) {
echo vmCommonHTML::getErrorField("Error: The code of the payment method " . $dbpm->f('payment_method_name') . ' (' . $dbpm->f('payment_method_code') . ') ' . 'contains a Parse Error!<br />Please correct that first');
}
?>
</td>
</tr>
</table>
<?php
$db = $db_temp;
}
// END printing out HTML Form code (Payment Extra Info)
?>
<table border="0" cellspacing="0" cellpadding="2" width="100%">