<?php 
/*
##################################################################
#                       PHP 4&5 MySQL 4&5                        #
##################################################################
#           Copyright (c) 2004-2008 Armia Systems Inc            #
##################################################################
#               This file is part of Cybermatch site             #
##################################################################
#    Developed By: simi (simi@armia.com)                         #

##################################################################
#               Developed On:   03-04-2008                       #
##################################################################
#               Modified By:                                     #
##################################################################
#               Modified On:                                     #
##################################################################
# This script may not be distributed, sold, given away for free  #
# to third party, or used as a part of any internet services 	 #
# such as webdesign etc.                                         #
##################################################################
*/
require_once ("../config.inc.php");
require_once ("../includes/userlogincheck.mobile.inc.php");
require_once ("../includes/mysql_mobile.inc.php");
require_once ("../classes/misc.class.php");
require_once ("../classes/userside.class.php");

$message	= "";
$script		= "";
$mail		= "";
$product	= isset($_REQUEST['product'])	?	trim($_REQUEST['product'])	:	"0";

if (!$objDB) {
	$message	= "Unable to Locate Database Server.";
} else {
	$objM		= new misc($objDB);
	$objU		= new userside($objDB);	
	$script		= $objM->get_script($message);
	$message	= $objM->remove_script($message);
}
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>Cybermatch</title>
<link href="images/mobile.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div xmlns="http://www.w3.org/1999/xhtml">
<?php include_once('title.inc.php');?>
<div>&nbsp;</div>
    <div>
         <div><i>+</i> <a href="index.php">Home</a></div>
         <div><i>+</i> <a href="search.php">Search</a></div>
         <div><i>+</i> <a href="dashbox.php">Dashbox</a></div>
         <div><i>+</i> <a href="logout.php">Logout</a></div>
    </div>
<div>&nbsp;</div>
<div class="message"> <?php echo $message?></div>
<div>&nbsp;</div>
<div class="message"><strong>Success</strong></div><div>&nbsp;</div>
You have successfully subscribed <?php echo $objU->get_product($product)?>
by paying an amount of $<?php echo $objU->get_amount($product)?>.</div>
<?php include_once('footer.inc.php');?>