newmemberBar();
begin_html2("edit", "Subscriptions Department - Subscribe to Gear Technology magazine","Sign up for a FREE subscription to GEAR TECHNOLOGY","subscribe, subscriptions, magazine, e-mail, newsletters","full","","");
//check for login
if(isset($_GET['page'])) { $promo = $_GET['page']; }
if(isset($_SESSION['email']) && $_SESSION['email'] > "") {
$email=$_SESSION['email'];
$arev=$_SESSION['arev'];
}else{
//check for cookie
if(isset($_COOKIE['Login'])) {
list($username, $cookie) = @unserialize($_COOKIE['Login']);
if ($username && $cookie) {
$dbh = pdo_connect('member');
try{
$stmt=$dbh->prepare("SELECT * FROM member WHERE username = ? LIMIT 1");
$params=array($username);
$stmt->execute($params);
$result=$stmt->fetchALL(PDO::FETCH_ASSOC);
foreach ($result as $line) {
$email=$line['email'];
$arev=$line['subscriber_id'];
}
}catch (PDOException $e) {
print "Error!: " . $e->getMessage() . "
";
die();
}
}
}
}
?>
*We will use your e-mail address for customer service, renewals and delivery of the products you choose. If you prefer, you can Download a Printable Subscription Form to send via fax or mail.
Gear Technology, the Journal of Gear Manufacturing, is known as "The Gear Industry's Information Source." Since 1984, we've published the highest quality technical articles, industry news and product information related to gear manufacturing, design, inspection, processing and use.