session_start(); if (!isset($_COOKIE['userid'])) { header("Location:login.php?error=login"); } else { include_once "includes/functions.inc.php"; include_once "lib/functions.php"; $expire=time()+60*60; setcookie("userloggedin", $_COOKIE['userloggedin'], $expire); //JANZTER $_SESSION['userID']= $_COOKIE['userid']; //->> //INITIALIZE all user data $userID = $_COOKIE['userid']; $pinArray = getUserPIN($userID); $fullname = getFullName($pinArray[0]); if (isset($_GET['DBG'])) { error_reporting(E_ALL); ini_set('display_errors','On'); print_r($pinArray); } $balance = getpinbalanceforweb($pinArray[0]); } ?>
Welcome to Tawag Philippines Portal |
|||||||||||||||||||||||||
Welcome to TawagPhilippines - Web Access PIN: Phone: |
Change Password | ||||||||||||||||||||||||
Current Balance : | |||||||||||||||||||||||||
if (isset($_GET['newpin'])) {
$pin = $_GET['newpin'];
echo "Your Tawag Philippines PIN has been successfully created! What would you like to do?
if ($pinArray[0]!="") {
?>
To get a Tawag Philippines PIN, a long distance service that allows you to call the Philippines and other countries from the U.S. and Canada, click here: "; echo ""; } ?> |
|||||||||||||||||||||||||
if (isset($_GET['buyLoad']) && !isset($_GET['buyNewPin'])) { include_once "web_recharge_form.php"; } if (isset($_GET['viewHistory'])) { include_once "getUserHistory.php"; } if (isset($_GET['viewcdr'])) { include_once "CallRecord.php"; } if (isset($_GET['changePassword'])) { include_once "changePassword.php"; } if (isset($_GET['buyNewPin'])) { include_once "buyNewPin_form.php"; } if (isset($_GET['profile'])) { include_once "profile.php"; } if (isset($_GET['regPhone'])) { include_once "regPhoneForm.php"; } if (isset($_GET['eload'])) { include_once "eload/main.php"; } ?> | |||||||||||||||||||||||||
Customer Support Team |