本文整理匯總了PHP中payed::getSuccessInfo方法的典型用法代碼示例。如果您正苦於以下問題:PHP payed::getSuccessInfo方法的具體用法?PHP payed::getSuccessInfo怎麽用?PHP payed::getSuccessInfo使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類payed
的用法示例。
在下文中一共展示了payed::getSuccessInfo方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: header
$prices = $prof->GetProPrice(true);
// текущая сумма оплаты
$cost = $prices[$oppro] * $mnth;
if ($ok) {
payed::UpdateProUsers();
// PRO для работтодателя
if (is_emp()) {
header("Location: /payed-emp/pro_payed.php?months={$mnth}");
exit;
// тестовый PRO
} elseif ($oppro == 47 || $oppro == 114) {
header("Location: /payed/pro_test_payed.php");
exit;
// PRO для фрилансера
} else {
if ($oppro == 76) {
$params = "weeks={$mnth}&cost={$cost}";
} else {
// срок PRO (месяцев)
$periods = array('48' => 1, '49' => 3, '50' => 6, '51' => 12);
$months = $periods[$oppro];
$params = "months={$months}&cost={$cost}";
}
header("Location: /payed/pro_payed.php?{$params}");
exit;
}
}
$prof->getSuccessInfo($data);
$header = "../header.php";
$footer = "../footer.html";
include "../template.php";