Welcome $_SESSION[firstname] $_SESSION[lastname]"; } else { $title = "Please Sign In"; } ?> <? echo $title; ?>
Logged in as . Click here to sign out
Sorry, your input does not match our records."; echo "

Click here to try again.

"; echo "

Click here to retrieve your password.

"; } else { //found the record //lets record the sessions... echo "

Successfully logged in. Welcome back $firstname $lastname

\n"; if ($user_type == 'admin') { //means they are admin echo "Go to Admin Home Page
\n"; echo "Click here to review new reseller submissions
"; echo "Click here to review new partner submissions"; echo "

Stats:

"; echo "Last Login: $user_lastlogin
"; echo "Total Logins: $user_logins
"; echo "

Status as of now is as follows:

"; //get the overall status of resellers include("../scripts/connect_db.php"); $sql = "select count(*) as count from register"; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_array($result,MYSQL_ASSOC); echo "

Total Number of Resellers Enrolled: $row[count]"; //get sales rep count $sql = "select count(*) as count from users where user_type = 'user'"; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_array($result,MYSQL_ASSOC); echo "

Total number of Approved: $row[count]"; //get cards sent //get categories $sql = "select count(*) as count from category"; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_array($result,MYSQL_ASSOC); echo "

Total categories set: $row[count]"; //get winning cards $sql = "select count(*) as count from coach"; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_array($result,MYSQL_ASSOC); echo "

Total number of partners: $row[count]"; //get winning card stats } elseif ($user_type == "user") { ?>

Welcome to the CRMA Preferred Partners Directory

CRMA is proud to bring you a great line up of business partners to help you in just about every aspect of your business. As a CRMA member you will have full access to work with these partners as you wish. You will get preferred pricing and in many cases a rebate check of purchases with participating partners, directly from CRMA.

It is all part of the CRMA benefits package. Our goal is to being you the best of the best business partners who will also offer their best deals to our members. Membership does have real benefits!

If you would like to access our preferred partners’ directory please login or sign up to become a CRMA member today. Membership is FREE!

Learn more or sign up to become a CRMA Preferred Partner

View Partner Directory

Get access to the partner directory

Sign up to become a
CRMA Member

Please Sign In

User ID
Password
 

© 2008 CRMA. All Rights Reserved Home | About CRMA | Become a Preferred Partner | Privacy