Free Software Applications from experienced programmers '; //closes
icon; /*if (!$user->discount_code && !$user->membership){ //get offers for full priced MLB Premium Membership //select 1109 $query2 = "SELECT * FROM `memberships` where `subscription_number`='1109'"; $result2 = $dbi->query($query2); $obj2=mysqli_fetch_object($result2); $packagename = $obj2->name; $price = $obj2->price; $button_code = $obj2->button_code; $replace = ' '; $button_code = str_replace("",$replace,$button_code); $seasonlong_full = $price." ".$button_code; unset($obj2); //select 1209 $query2 = "SELECT * FROM `memberships` where `subscription_number`='1209'"; $result2 = $dbi->query($query2); $obj2=mysqli_fetch_object($result2); $packagename = $obj2->name; $price = $obj2->price; $button_code = $obj2->button_code; $replace = ' '; $button_code = str_replace("",$replace,$button_code); $monthly_full = $price." ".$button_code; unset($obj2); //select 1309 order by price DESC $query2 = "SELECT * FROM `memberships` where `subscription_number`='1309'"; $result2 = $dbi->query($query2); $obj2=mysqli_fetch_object($result2); $packagename = $obj2->name; $price = $obj2->price; $button_code = $obj2->button_code; $replace = ' '; $button_code = str_replace("",$replace,$button_code); $daypass_full = $price." ".$button_code; unset($obj2); } else if ($user->discount_code){ //deal with discount code entered here <-------------------------------------------- Evaluate this ASAP } else { //thank you for your continued support for DFS sheets }*/ //var_dump($user->membership); if (!$user->membership){$user->membership="Basic membership";$user->renewal_date="N/A";} if ($user->icon){ $user_image = "
"; } else { $user_image = '
'; } $dev_section = "

Are You A Developer Interested in Contributing?

Interested in setting up a Developer Account with TheFreeSoftwareCenter.com? user_id})&body=Tell us a little bit about your company and add a link to your website: \">Email our team today for more information and an application!

Developers get maximum exposure with a listing in our Developer directory as well as the ability to monitize software listings via affiliate links as well as paid support programs!
"; if ($user->admin == 1){ $dev_section = "

Account Admin Panel

"; } else if ($user->DeveloperID>0){ $dev_section = "

Developer Account Admin Panel

"; } $downloads_section = "

Your Recent Software Downloads

"; $rating_script=""; if ($user->load_download_history()){ foreach ($user->download_history_array as $this_download){ $t_id = $this_download["package_id"]; $tmp_pkg = new Pkg($dbi, $t_id); //if ratings exist, check them $this_rating = 0; $rating_display = ""; if ($tmp_pkg->load_rating_arrays()){ if (isset($tmp_pkg->RatingArray[$user->user_id])){ $this_rating = $tmp_pkg->RatingArray[$user->user_id]["rating"]; } //$cumulative_ratings = display_rating("3.50"); //$cumulative_reviews = display_reviews(); $rating_display = "You rated it: ".display_rating($this_rating); } //if it has been rated, display it //if it has been reviewed, display it //if not, give the option to rate or review if ($this_rating==0 && $tmp_pkg->PkgActive < 1){ $rating_display = "Rating Unavailable for this package."; } else if ($this_rating==0){ $rating_display = 'Rate it: '; //this isn't working at all $rating_script .= ''; } $downloads_section .= "
{$tmp_pkg->PackageName} Version: {$this_download["version"]}
$rating_display
"; } } else { $downloads_section.= "

";} $content .= "

Username: {$user->user_name}

$user_image
Account Information:
{$user->first_name} {$user->last_name}
Member Since: {$user->signup_date}

Email: {$user->email}
Phone: {$user->phone_number}
Membership Information
Membership: {$user->membership}
Expires: {$user->renewal_date}

Community Reputation Points: [{$user->reputation}]
Contact A Team Member
$dev_section $downloads_section

Premium Membership Options Coming Soon!

"; //if (!$signup_verified){srreplace()} //add modals for replacing / updating membership data or photos $member_modal = << EOT; //enctype="multipart/form-data" //

} //otherwise clear session and show login form else { $content .= $body_login_form; } $content .= "
"; $_POST = array(); //echo $logged.$user1name.$user_id; $header = get_header(); $footer = get_footer(); //////////////////////////// //SCRIPT TO SHOW PASSWORD // //////////////////////////// $test_footer = <<