Site Categories:\n"; getlinks(1); echo"

"; } } //$db_renew = new DB_BIG; /* if ($compact != "on") { if (strpos($page_sections, "links") !== FALSE) { if ($getsetting['Navigation'] =='1'){ eval("dooutput(\"".gettemplate(TEMPLATEDIR,"links_top")."\");"); getlinks(1); eval("dooutput(\"".gettemplate(TEMPLATEDIR,"links_end")."\");"); } } } */ //##################### registration page ####################### // as encrypted and set a session. if ($_POST['action'] == "renew" OR $_GET['action'] == "reg"){ //$email = trim(EscapeString($_POST['email'])); //if ($_POST['oldmem']){ // $_POST['pass'] = $userinfo['pass']; //} if (isset($_SESSION['username'])){ $_POST['username'] = $_SESSION['username']; $_POST['pass'] = $_SESSION['password']; } $renew = TRUE; if (!form_submit($_POST['kid']) AND !$_GET['action']){ $errmsg = "
Sorry the form that was submitted was invalid or has expired. Please Login again
"; } else { if ($_POST[SITE."key_coupon"]){ $errmsg = $GetSignup->CheckCouponPricing($_POST[SITE."key"],$_POST[SITE."key_coupon"]); } //if(!$_COOKIE["userid"] AND $_POST['oldmem']){ // $_POST['agr'] = 1; //if($GetSignup->Formcheck()){ // $errmsg = $GetSignup->_userValues['errmsg']; //} //} } if ($GetSignup->_userValues['BaRenewal']){ $pricing_template_ba = $GetSignup->GetSpecialPricing('title_boxedart-SPSPECIAL1.gif','ba'); } else { $pricing_template_ba = $GetSignup->GetBAPricingScheme(); if ($_SESSION['coupon_code']){ $pricing_template_ba = $GetSignup->GetCouponPricingScheme(SITE,$_SESSION['coupon_code']); } } //if ((!$_POST['bakey'] AND $_COOKIE['userid'] AND isset($_SESSION['username'])) OR $errmsg){ if ($errmsg){ //the submitted form was not correct, we error out here eval("\$content =\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_top2")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_membership")."\";"); //eval("\$content =\"".gettemplate(TEMPLATEDIR,"membership_renew")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } // end error section //print_r($_POST); $GetSignup->UserSignup($_POST["username"], $_POST['pass']); // print_r($GetSignup->_userValues); //$content .= "\n"; //print_r($_POST); if ($GetSignup->_userValues['nameTaken']){ $taken=TRUE; //$content .= "\n"; //$content .= "\n"; if (strtolower($GetSignup->_userValues['userID']) == EscapeString(strtolower($_POST["username"]))) { $errmsg .= "
I'm sorry, The username that you selected is currently in use, please select a new username to proceed.

If you are currently a Member and you forgot your username, then visit our Lookup Page
To look up your user name
"; } //$content .= "\n"; if ($GetSignup->_userValues['Email'] == EscapeString($email)){ //$content .= "\n"; $errmsg .= "
I'm sorry, The Email that you selected is currently in use, please select a new email to proceed.
"; } } elseif ($GetSignup->_userValues['errmsg']){ echo $GetSignup->_userValues['errmsg']; exit; } else { $taken = FALSE; } //*************** // if renewing ** //*************** if (isset($renew) AND !empty($renew)) { //$content .= "\n"; if(!$GetSignup->_userValues['id']){ $errmsg = "
Your username or password is incorrect. Please register a new account or use the password reminder tool.
"; $taken=TRUE; } /* //$content .= "\n"; $userinfo['".SITE."latest_term'] = $B2Gpricing['_time']; $renew_membership = TRUE; $taken=FALSE; $isrenew = "Thank you for renewing your Membership\n"; $mem_renew = "renew"; /*elseif (!$_POST['oldmem']){ //echo"set2"; //they renewed on top of the original membership $userinfo['userID'] = $GetSignup->_userValues['userID']; $content .= "\n"; //eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renewal")."\";"); eval("\$content .=\"".gettemplate(TEMPLATEDIR,"membership_renew")."\";"); eval("\$footer = \"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\");"); exit; */ // } if (!$GetSignup->_userValues['BaRenewal'] AND !$GetSignup->_userValues['B2gRenewal'] AND !$GetSignup->_userValues['SpRenewal'] AND !$_POST['oldmem'] and !$taken) { //$content .= "\n\n"; //they renewed to late so it will be an upgrade //$content .= "\n"; /* $userinfo['userID'] = $GetSignup->_userValues['userID']; eval("\$content .=\"".gettemplate(TEMPLATEDIR,"membership_renew")."\";"); eval("\$footer = \"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\");");*/ header("location: upgrade.php"); exit; } } // end renew check if ($taken){ // code below is for username taken //$content .= "\n"; eval("\$content =\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renewal")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } eval("\$content =\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); // if not taken show code below if ($GetSignup->_userValues['userID']){ $_POST['pass'] = $GetSignup->_userValues['pass']; $cmd = "_xclick-subscriptions"; //echo "set"; $db_pricing->pconnect(); if (!$_POST['no_x']){ if (!empty($_POST['b2gkey'])){ $B2Gpricing =$GetSignup->GET_Price($_POST['b2gkey']); $B2GUpdate = ",b2g_latest_term = '{$B2Gpricing['_time']}'"; } if (!empty($_POST['spkey'])){ $SPpricing =$GetSignup->GET_Price($_POST['spkey']); $SPUpdate = ",sp_latest_term = '{$SPpricing['_time']}'"; } if (!empty($_POST['tskey'])){ $TSpricing =$GetSignup->GET_Price($_POST['tskey']); $TSUpdate = ",ts_latest_term = '{$TSpricing['_time']}'"; } $PriceTemplate = $GetSignup->SaveUserPriceSelection($userinfo["id"],EscapeString($_POST['bakey']),EscapeString($_POST['spkey']),EscapeString($_POST['b2gkey']),EscapeString($_POST['tskey'])); } else { $_POST['spkey'] = ''; $_POST['b2gkey'] = ''; $_POST['tskey'] = ''; $PriceTemplate = $GetSignup->SaveUserPriceSelection($userinfo["id"],EscapeString($_POST['bakey']),'','',''); } $BApricing =$GetSignup->GET_Price($_POST['bakey']); if($_POST['b2gkey'] OR $_POST['spkey'] OR $_POST['tskey'] OR $_SESSION["membership"]){ $db_pricing->tquery("UPDATE trimember.allmember SET ba_latest_term = '{$BApricing['_time']}' $B2GUpdate $SPUpdate $TSUpdate WHERE id='{$userinfo['id']}' "); } // lets double check they sent at least something if (empty($_POST['b2gkey']) AND empty($_POST['spkey']) AND empty($_POST['bakey']) AND empty($_POST['tskey'])){ $errmsg = "
You do not have a price picked out.
"; eval("\$content .= \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_membership")."\";"); //eval("\$content =\"".gettemplate(TEMPLATEDIR,"membership_renew")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } // $content .= "\n"; //$content .= "\n"; // $content .= "\n"; // $content .= "\n"; // $content .= "\n"; if ($renew AND ($GetSignup->_userValues['BaRenewal'] OR $GetSignup->_userValues['B2gRenewal'] OR $GetSignup->_userValues['SpRenewal'] OR $GetSignup->_userValues['TsRenewal']) AND !$_POST['oldmem']) { // echo "set"; // possibility to renew all of them at once? if ($GetSignup->_userValues['BaRenewal'] OR $GetSignup->_userValues['B2gRenewal'] OR $GetSignup->_userValues['SpRenewal']) { // need to set a special price here that is made in the admin $Q = "SELECT uid,ba_price,sp_price,b2g_price,_time,timevar,sp_interval,b2g_interval,item_name,pricing_key,ba_interval,ts_interval,ts_price FROM user_pricing_plans where uid = '$PriceTemplate'"; $pricing = $db_pricing->triquery_first($Q); if ($pricing['uid']){ $total_price = $price = ($pricing['ba_price'] + $pricing['sp_price'] + $pricing['b2g_price']+ $pricing['ts_price']); $t3 = ucfirst($pricing['ba_interval']{0}); // change per site. must be the one for the site it is on. $p3 = $BApricing['_time']; // change per site. must be the one for the site it is on. $M_type = $t3.$p3; //$product_id = $pricing['twoCproductID']; $for = $pricing['item_name']; $pricekey = base64_encode($pricing['pricing_key'].":".$HCKey); } else { $content = "
I am sorry, that price is not offered anymore as a Renewal price. Please pick a new price
"; //$content .= "\n\n"; $userid = $GetSignup->_userValues['userID']; eval("\$content .= \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renewal")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } }elseif (!$GetSignup->_userValues['BaRenewal'] AND !$GetSignup->_userValues['B2gRenewal'] AND !$GetSignup->_userValues['SpRenewal'] AND !$GetSignup->_userValues['TsRenewal']) { //they renewed to late or they are a new member renewing on top of a old account $userinfo['userID'] = $GetSignup->_userValues['userID']; eval("\$content .= \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); eval("\$content .=\"".gettemplate(TEMPLATEDIR,"membership_renew")."\";"); //$content .= "\n\n"; eval("\$footer = \"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\");"); exit; } } elseif ($_POST['oldmem']){ // post oldmem means they picked a new price cause the membership expired. $PQ = "SELECT uid,ba_price,sp_price,b2g_price,_time,timevar,sp_interval,b2g_interval,item_name,pricing_key,ba_interval,ts_interval,ts_price FROM user_pricing_plans where uid = '$PriceTemplate'"; //$PQ = "select id,name,ba_price,sp_price,b2g_price,_time,notes,_interval,item_name,pricing_key from pricing_plans where active = '1' and timevar = '$membership' "; //echo $PQ; $pricing = $db_pricing->triquery_first($PQ); if ($pricing['uid']){ $total_price = $price = ($pricing['ba_price'] + $pricing['sp_price'] + $pricing['b2g_price']+ $pricing['ts_price']); $t3 = ucfirst($pricing['ba_interval']{0}); // change per site. must be the one for the site it is on. $p3 = $BApricing['_time']; // change per site. must be the one for the site it is on. $M_type = $t3.$p3; //$product_id = $pricing['twoCproductID']; $for = $pricing['item_name']; $pricekey = base64_encode($pricing['pricing_key'].":".$HCKey); } else { $errmsg .= "
I am sorry, that price is not offered anymore as a Renewal price. Please pick a new price
"; //$content .= "\n\n"; $userid = $GetSignup->_userValues['userID']; eval("\$content .= \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_membership")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } } else { $content .= "
I am sorry, that price is not offered anymore as a Renewal price. Please pick a new price
"; //$content .= "\n\n"; $userid = $GetSignup->_userValues['userID']; eval("\$content = \"".gettemplate(TEMPLATEDIR,"member_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_membership")."\";"); eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; } if (($GetSignup->_userValues['BaRenewal']) OR ($GetSignup->_userValues['SpRenewal']) OR ($GetSignup->_userValues['B2gRenewal']) OR ($GetSignup->_userValues['TsRenewal'])){ $renewID = $GetSignup->_userValues['payid']; $mem_renew = "renew"; } $id = $GetSignup->_userValues['id']."-".time(); $_SESSION['invoice'] = $GetSignup->_userValues['id']; //$id = $_SESSION['invoice'] = $oid; $userinfo['pass'] = $GetSignup->_userValues['pass']; $src = "1"; $sra = "1"; $ext = $_POST['ext']; $item = $GetSignup->_userValues['userID']; $paypal_from = FROM_PAYPAL; $hash2 = $price.":".$id.":".$item.":".$GetSignup->_userValues['pass'].":".$M_type; $v2_hash = md5($hash2); // hash for paypal $hashp = $price.":".$id.":".$item.":".$M_type; $vp_hash = $twocheckout_hash = md5($hashp); $renewID = $GetSignup->_userValues['payid']; $renew_input = "\n"; $content .="\n"; $content .=" $isrenew

\n"; $content .="\n"; $content .="\n"; $content .="  Complete and accurate information must be for account verifications

\n"; $content .="\n"; $content .="\n"; $content .=" \n"; if (is_array($BApricing)){ $content .="\n"; $content .=" \n"; $content .=" \n"; $content .="\n"; } if (is_array($SPpricing)){ $content .="\n"; $content .=" \n"; $content .=" \n"; $content .="\n"; } if (is_array($B2Gpricing)){ $content .="\n"; $content .=" \n"; $content .=" \n"; $content .="\n"; } if (is_array($TSpricing)){ $content .="\n"; $content .=" \n"; $content .=" \n"; $content .="\n"; } $content .=" \n"; $content .=" \n"; $content .=" \n"; $content .=" \n"; $content .="
BoxedArt {$BApricing['_time']} ".ucfirst($BApricing['ba_interval'])." {$BApricing['licensetype']} Membership: \${$pricing['ba_price']}
Stocked Photos {$SPpricing['_time']} ".ucfirst($SPpricing['sp_interval'])." Membership: \${$pricing['sp_price']}
Built2Go {$B2Gpricing['_time']} ".ucfirst($B2Gpricing['b2g_interval'])." Membership: \${$pricing['b2g_price']}
ThemeStock {$TSpricing['_time']} ".ucfirst($pricing['ts_interval'])." {$TSpricing['licensetype']} Membership (20% Off!): \${$pricing['ts_price']}
Grand Total:
\$".sprintf("%01.2f", ($pricing['ba_price'] + $pricing['sp_price'] + $pricing['ts_price'] + $pricing['b2g_price']))."
\n"; $content .="\n"; // paypal login $content .=" \n"; $content .=" \n"; $content .=" \n"; // //paypal $notify_url = ""; eval("\$content .=\"".gettemplate(TEMPLATEDIR."merchants/","api_yourpay")."\";"); if ((is_array($B2Gpricing)) OR (is_array($SPpricing)) OR (is_array($TSpricing))){ eval("\$content .=\"".gettemplate(TEMPLATEDIR."merchants/","paypal2")."\";"); } else { eval("\$content .=\"".gettemplate(TEMPLATEDIR."merchants/","paypal")."\";"); } //eval("\$content .=\"".gettemplate(TEMPLATEDIR."merchants/","worldpay")."\";"); eval("\$content .=\"".gettemplate(TEMPLATEDIR."merchants/","2c_single")."\";"); $content .=" \n"; // // 2checkout error // $content .=" \n"; // $content .=" \n"; $content .=" \n"; $content .=" \n"; $content .="\n"; $content .=" \n"; $content .=" \n"; $content .="
Our credit card processor (2checkout) may be down // temporarily. Please try your credit card on paypal in the meantime.Visa, Mastercard, and Amex Accepted on all payment systems
 
\n"; } $_SESSION['checkoutSpecial'] = ''; eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; }// end renewal section $url = substr($url_config, 1); eval("\$content =\"".gettemplate(TEMPLATEDIR,HEADER_FILE_SSL)."\";"); //################### start join section ########################## //print_r($_SESSION); $userid = $userinfo['userID']; //if ($getsetting['PromoPrice'] AND ($_SESSION['coupon_code'] != '')){ $GetSignup->UserSignup($_SESSION['username'], $_SESSION['password']); if(!$_COOKIE["userid"] OR !$_SESSION['username']){ if ($_GET['code'] != ''){ $pckey = SITE."key_coupon"; eval("\$coupon =\"".gettemplate(TEMPLATEDIR,"coupon")."\";"); $pricing_template_ba = $GetSignup->GetCouponPricingScheme(SITE,$_GET['code']); } //eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew_top")."\";"); eval("\$content .= \"".gettemplate(TEMPLATEDIR,"renew")."\";"); } else { if ($_SESSION['coupon_code']){ $pckey = SITE."key_coupon"; eval("\$coupon =\"".gettemplate(TEMPLATEDIR,"coupon")."\";"); $pricing_template_ba = $GetSignup->GetCouponPricingScheme(SITE,$_SESSION['coupon_code']); }elseif ($_GET['code'] != ''){ $pckey = SITE."key_coupon"; eval("\$coupon =\"".gettemplate(TEMPLATEDIR,"coupon")."\";"); $pricing_template_ba = $GetSignup->GetCouponPricingScheme(SITE,$_GET['code']); } elseif ($GetSignup->_userValues['BaRenewal']){ $pricing_template_ba = $GetSignup->GetSpecialPricing('title_boxedart-SPSPECIAL1.gif','ba'); } else { $pricing_template_ba = $GetSignup->GetBAPricingScheme($GetSignup->_userValues['bainternalcode']); } //} elseif ($getsetting['PromoPrice'] AND ($_GET['code'] != '')){ // $pckey = SITE."key_coupon"; // eval("\$coupon =\"".gettemplate(TEMPLATEDIR,"coupon")."\";"); //} else { // $GetSignup->UserSignup($_SESSION['username'], $_SESSION['password']); // $pricing_template_ba = $GetSignup->GetSpecialPricing('title_boxedart-SPSPECIAL1.gif','ba'); //} $userinfo['Email'] = $GetSignup->_userValues['Email']; $userinfo['phone'] = $GetSignup->_userValues['phone']; //echo $_SESSION['coupon_code']; //eval("\$content .=\"".gettemplate(TEMPLATEDIR,"renew_top2")."\";"); eval("\$content .=\"".gettemplate(TEMPLATEDIR,"renew_membership")."\";"); } eval("dooutput(\"".gettemplate(TEMPLATEDIR,FOOTER_FILE_SSL)."\");"); exit; ?>