本文整理匯總了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'])) {