예제 #1
0
if ($mesg) print '<tr><td align="center" colspan="2"><br><div class="warning">'.$mesg.'</div></td></tr>'."\n";

print '</table>'."\n";
print "\n";

if ($found && ! $error)	// We are in a management option and no error
{
	print '<br><input class="button" type="submit" name="dopayment" value="'.$langs->trans("PayBoxDoPayment").'">';
	//print '<tr><td align="center" colspan="2">'.$langs->trans("YouWillBeRedirectedOnPayBox").'...</td></tr>';
}
else
{
	dol_print_error_email();
}

print '</td></tr>'."\n";

print '</table>'."\n";
print '</form>'."\n";
print '</center>'."\n";
print '<br>';


html_print_paybox_footer($mysoc,$langs);

$db->close();

llxFooterPayBox('$Date: 2011/07/31 23:23:21 $ - $Revision: 1.61 $');
?>
예제 #2
0
    $var = !$var;
    print '<tr class="CTableRow' . ($var ? '1' : '2') . '"><td class="CTableRow' . ($var ? '1' : '2') . '">' . $langs->trans("YourEMail");
    $email = $member->email;
    $email = GETPOST("email") ? GETPOST("email") : (isValidEmail($email) ? $email : '');
    if (empty($email)) {
        print ' (' . $langs->trans("ToComplete") . ')';
    }
    print '</td><td class="CTableRow' . ($var ? '1' : '2') . '"><input class="flat" type="text" name="email" size="48" value="' . $email . '"></td></tr>' . "\n";
}
if (!$found && !$mesg) {
    $mesg = $langs->trans("ErrorBadParameters");
}
if ($mesg) {
    print '<tr><td align="center" colspan="2"><br><div class="warning">' . $mesg . '</div></td></tr>' . "\n";
}
print '</table>' . "\n";
print "\n";
if ($found && !$error) {
    print '<br><input class="button" type="submit" name="dopayment" value="' . $langs->trans("PayBoxDoPayment") . '">';
    //print '<tr><td align="center" colspan="2">'.$langs->trans("YouWillBeRedirectedOnPayBox").'...</td></tr>';
} else {
    dol_print_error_email('ERRORNEWPAYMENTPAYBOX');
}
print '</td></tr>' . "\n";
print '</table>' . "\n";
print '</form>' . "\n";
print '</div>' . "\n";
print '<br>';
html_print_paybox_footer($mysoc, $langs);
llxFooterPayBox();
$db->close();