本文整理汇总了PHP中Securimage::show_html方法的典型用法代码示例。如果您正苦于以下问题:PHP Securimage::show_html方法的具体用法?PHP Securimage::show_html怎么用?PHP Securimage::show_html使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Securimage
的用法示例。
在下文中一共展示了Securimage::show_html方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: unserialize
}
$first = true;
unset($ERR);
if (empty($_POST['action'])) {
$action = 'first';
}
$query = "SELECT * FROM " . $DBPrefix . "gateways LIMIT 1";
$db->direct_query($query);
$gateway_data = $db->result();
// Retrieve users signup settings
$MANDATORY_FIELDS = unserialize($system->SETTINGS['mandatory_fields']);
$DISPLAYED_FIELDS = unserialize($system->SETTINGS['displayed_feilds']);
$spam_html = '';
if ($system->SETTINGS['spam_register'] == 1) {
$resp = new Securimage();
$spam_html = $resp->show_html();
}
// missing check bools
$missing = array();
$missing['birthday'] = $missing['address'] = $missing['city'] = $missing['prov'] = $missing['country'] = $missing['zip'] = $missing['tel'] = $missing['paypal'] = $missing['authnet'] = $missing['worldpay'] = $missing['toocheckout'] = $missing['moneybookers'] = $missing['name'] = $missing['nick'] = $missing['password'] = $missing['repeat_password'] = $missing['email'] = false;
if (isset($_POST['action']) && $_POST['action'] == 'first') {
if (!isset($_POST['terms_check'])) {
$ERR = $ERR_078;
}
if (empty($_POST['TPL_name'])) {
$missing['name'] = true;
}
if (empty($_POST['TPL_nick'])) {
$missing['nick'] = true;
}
if (empty($_POST['TPL_password'])) {