include("BC.php"); ?>
$Edit=$_POST["Edit"]; $Signup=$_POST["Signup"]; $login=$_POST["login"]; $pass=$_POST["pass"]; $pass1=$_POST["pass1"]; $pass2=$_POST["pass2"]; $firstname=$_POST["firstname"]; $lastname=$_POST["lastname"]; $address=$_POST["address"]; $address2=$_POST["address2"]; $city=$_POST["city"]; $state=$_POST["state"]; $zip=$_POST["zip"]; $email=$_POST["email"]; $phone=$_POST["phone"]; $donation=$_POST["donation"]; $additional=$_POST["additional"]; $cardholder=$_POST["cardholder"]; $cc_type=$_POST["cc_type"]; $cc_number=$_POST["cc_number"]; $ccexp_month=$_POST["ccexp_month"]; $ccexp_year=$_POST["ccexp_year"]; $frompage=$_GET["frompage"]; ?>
$member_id=auth($session_id,$login,$pass,0); if ($member_id<1) {header("Location: http://www.blackcommentator.com/login2.php?login=$login&pass=$pass&frompage=".$_SERVER['PHP_SELF']);} ?>
if (!$Edit && !$Signup) { list($firstname,$lastname,$username,$password,$type,$address,$address2,$city,$state,$zip,$email,$phone,$active,$deactivationdate)=getmember($member_id); } ?>
if ($Edit && checkmemberedit($HTTP_POST_VARS)==0) { commitmemberedit($HTTP_POST_VARS); ?> } ?>
if (!$pass1) { $pass1=$pass2=field('member',$member_id,'password',0); } ?>
|
My
Account / Manage Your Subscription |
Home
|
|
if (field('member',$member_id,'active',0)!=1) { ?>
Your Account is Currently NOT
Active
Please click here
to subscribe
|
} else { ?>
Your
Account Is: |
|
ACTIVE |
Your Account
Expires: |
|
//convert deactivation date from db into a computation friendly date
//pgmod fix of error by changing month from 4,2 to 5,2 and day from 6,2 to 8,2
//which was how it was handled in bc.php
$deactivationyear = substr($memberinfo[13],0,4);
$deactivationmonth = substr($memberinfo[13],5,2);
$deactivationday = substr($memberinfo[13],8,2);
$deactivationdate = $deactivationmonth.'/'.$deactivationday.'/'.$deactivationyear;
$deactivationdate = $deactivationmonth.'/'.$deactivationday.'/'.$deactivationyear; ?>
$ddate=field('member',$member_id,'deactivationdate',0); print substr($ddate,5,2)."/".substr($ddate,8,2)."/".substr($ddate,0,4); ?>
|
|
|
|
You
may edit your account password and
contact information below:
|
} ?>
Your comments are always
welcome.
If you send us an e-Mail message
we may publish all or part of it, unless you tell
us it is not for publication. You may also request
that we withhold your name.
Thank you very much for your readership.
|
|