Пример #1
0
<br><span class="orange bold">Message sent to new client.</span><?php 
    }
    ?>
</div><p>
<?php 
}
if ($_GET["cmd"] == "quickadd") {
    $first_name = $_POST['first_name'];
    $m_i = $_POST['m_i'];
    $last_name = $_POST['last_name'];
    $p1 = $_POST['p1'];
    $p2 = $_POST['p2'];
    $p3 = $_POST['p3'];
    $phone = "{$p1}-{$p2}-{$p3}";
    $email = $_POST['email'];
    $password = chaos(7);
    $balance = $_POST['balance'];
    if ($_POST['cid']) {
        $cid = $_POST['cid'];
    } else {
        $cid = rand(1000, 9999);
    }
    $print = $_POST['print'];
    $send = $_POST['send'];
    if ($send) {
        $to = $email;
        $recipient = $email;
        $from = '*****@*****.**';
        $from_name = 'BenFund Registration Service';
        $subject = 'Your New BenFund Account Information.';
        $html_message_text = '<span style="font-size: 20pt; color: #484848; text-decoration: none; font-weight: bolder; text-align: left; clear: both;">New Account Information</span><hr>With BenFund you can begin paying your account online with three simple steps.<p><span style="font-size: 16pt; color: #484848; text-decoration: none; font-weight: bold; clear: both;">Step 1.</span><br><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Go to </span><span style="font-size: 14pt; color: #0000CC; text-decoration: none; font-weight: bold;">www.BenFund.com</span><br><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Click on the "Login" link in the orange box on the left.</span><p><span style="font-size: 16pt; color: #484848; text-decoration: none; font-weight: bold; clear: both;">Step 2.</span><br><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Login with the Following Information:</span><br><br><div style="margin-left: 10px; padding: 6px; border: 1px solid #2C2C2C; background: #E8E8E8; width: 200px;"><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Client Number:</span><br><span style="font-size: 14pt; color: #0000CC; text-decoration: none; font-weight: bold;">' . $mid . '-' . $cid . '</span><br><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Password:</span><br><span style="font-size: 14pt; color: #0000CC; text-decoration: none; font-weight: bold;">' . $password . '</span><p></div><br><span style="font-size: 16pt; color: #484848; text-decoration: none; font-weight: bold; clear: both;">Step 3.</span><br><span style="font-size: 14pt; color: #484848; text-decoration: none; font-weight: bold;">Complete our Simple Online Registration.</span><p>';
Пример #2
0
<?php

session_start();
if (!isset($_SESSION[valid_client])) {
    $_SESSION['error'] = "This script sucks. <br>Please try again<br>";
    header('Location:../login.php');
}
$page_title = "Search Transactions";
require "../../includes/globals.php";
require $ROOT . "/functions/common.php";
include $ROOT . "/includes/lang/" . $m_type . ".php";
require $ROOT . "functions/user_info.php";
$error = '<font color="#0000FF"><strong>You must be logged in to view this page</strong></font>';
$rand = chaos(6);
////////////////////////////
//COLLECT SEARCH VARIABLES//
////////////////////////////
$srch_type = $_POST['srch_type'];
$srch_field = $_POST['srch_field'];
$srch_cat = $_POST['srch_cat'];
$srch_stat = $_POST['srch_stat'];
$srch_dispute = $_POST['srch_dispute'];
$srch_date_mm1 = $_POST['srch_date_mm1'];
$srch_date_dd1 = $_POST['srch_date_dd1'];
$srch_date_yy1 = $_POST['srch_date_yy1'];
$srch_date_mm2 = $_POST['srch_date_mm2'];
$srch_date_dd2 = $_POST['srch_date_dd2'];
$srch_date_yy2 = $_POST['srch_date_yy2'];
/////////////////////////
//ASSEMBLE SEARCH QUERY//
/////////////////////////