CSW Account Management

Sign-up now and get rid of comment SPAM on your site. Sign-up!

'; include_once "../libs/headfoot.php"; include_once "../libs/login.php"; include_once "../libs/lang-data.php"; echo $header; ?>
isLoggedIn()): ?>

You must login in order to access your account.

Inside you get access to your account info, billing info and statistics. Also, you can change your billing plan if you wish to do so.

In order to login, you must have an active account. You can sign-up for one here.

Account info


getApiKey(); $db = new ezSQL_pdo('mysql:host='.DB_HOST.';dbname='.DB_NAME,DB_USER, DB_PASS); $ret = $db->get_results("select * from api_keys where api_key='{$key}'"); if ($db->num_rows > 0) { echo "Name: ".$ret[0]->name."
"; echo "Email: ".$ret[0]->email."
"; echo "Phone: ".$ret[0]->phone."
"; echo "Country: ".array_search($ret[0]->country, $country_codes)."
"; echo "Language: ".array_search($ret[0]->language, $lang_codes)."
"; echo "Active: ".$ret[0]->date_created."

"; echo "API Key: ".$ret[0]->api_key."
"; echo "Website: ".$ret[0]->site."

"; $ret2 = $db->get_results("select * from subscriptions left join api_keys on subscriptions.id_key=api_keys.id where api_keys.api_key='{$key}'"); if ($db->num_rows > 0) { if ($ret2[0]->item_number != 10) { echo "Plan type: ".$ret2[0]->item_name."
"; echo "Valid from: ".$ret2[0]->subscr_date."
"; //echo "Valid until: ".$ret2[0]->end_date."
"; } else { echo "Plan type: CSW Basic Subscription
"; } } else { echo "Plan type: CSW Basic Subscription
"; } echo "

Edit info

"; } else { echo ('Error accessing account information.'); } ?> getApiKey(); $db = new ezSQL_pdo('mysql:host='.DB_HOST.';dbname='.DB_NAME,DB_USER, DB_PASS); $ret = $db->get_results("select * from api_keys where api_key='{$key}'"); ?>

Edit account info

getApiKey(); $db = new ezSQL_pdo('mysql:host='.DB_HOST.';dbname='.DB_NAME,DB_USER, DB_PASS); $ret = $db->query("update api_keys set name='".addslashes($_POST["name"])."', email='".addslashes($_POST["email"])."', phone='".addslashes($_POST["phone"])."', country='".addslashes($_POST["country"])."', language='".addslashes($_POST["language"])."' where api_key='{$key}'"); echo "

Edit account info


Modifications saved."; echo ""; endif; endif; endif; ?>