本文整理汇总了PHP中oledrion_utils::packingHtmlSelect方法的典型用法代码示例。如果您正苦于以下问题:PHP oledrion_utils::packingHtmlSelect方法的具体用法?PHP oledrion_utils::packingHtmlSelect怎么用?PHP oledrion_utils::packingHtmlSelect使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类oledrion_utils
的用法示例。
在下文中一共展示了oledrion_utils::packingHtmlSelect方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
}
// Check checkout level
if ($checkout_level == 1) {
oledrion_utils::redirect(_OLEDRION_FINAL_CHECKOUT, OLEDRION_URL . 'checkout.php?op=confirm&commend_id=' . $commend_id, 1);
} elseif ($checkout_level == 2) {
oledrion_utils::redirect(_OLEDRION_SELECT_LOCATION, OLEDRION_URL . 'checkout.php?op=location&commend_id=' . $commend_id, 1);
}
listCart();
$packings = $h_oledrion_packing->getPacking();
$sform = new XoopsThemeForm(_OLEDRION_PACKING_FORM, "informationfrm", OLEDRION_URL . 'checkout.php', 'post');
$sform->addElement(new XoopsFormHidden('op', 'save'));
$sform->addElement(new XoopsFormHidden('action', 'packing'));
$sform->addElement(new XoopsFormHidden('commend_id', $commend_id));
$packingSelect = new XoopsFormRadio(_OLEDRION_SELECT_PACKING, 'packing_id', '');
foreach ($packings as $packing) {
$packingSelect->addOption($packing['packing_id'], oledrion_utils::packingHtmlSelect($packing));
}
$sform->addElement($packingSelect, true);
$sform->addElement(new XoopsFormButton('', 'post', _OLEDRION_SAVE_NEXT, 'submit'));
$sform = oledrion_utils::formMarkRequiredFields($sform);
$xoopsTpl->assign('form', $sform->render());
// texte à afficher
$registry = new oledrion_registryfile();
$text = $registry->getfile(OLEDRION_TEXTFILE6);
$xoopsTpl->assign('text', xoops_trim($text));
break;
case 'location':
if ($h_oledrion_caddy->isCartEmpty()) {
oledrion_utils::redirect(_OLEDRION_CART_IS_EMPTY, OLEDRION_URL, 4);
}
if ($commend_id == 0) {