本文整理汇总了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%">