/*
Plugin Name: Mortgage Center
Plugin URI: http://wordpress.org/extend/plugins/mortgage-center/
Description: This plugin allows WordPress to load mortgage-related data from Zillow and Closing.com.
Version: 1.0
Author: Andrew Mattie
*/
/* Copyright 2009, Andrew Mattie
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
register_activation_hook(__FILE__, 'MortgageCenter::CreateOptions');
include('mortgage-center-states.php');
if(is_admin())
include('mortgage-center-admin.php');
else
include('mortgage-center-client.php');
class MortgageCenter {
static function CreateOptions() {
add_option('mortgage-center-url-slug', 'mortgage');
add_option('mortgage-center-calc-price', '300000');
add_option('mortgage-center-calc-down', '20');
add_option('mortgage-center-calc-zip', '98014');
add_option('mortgage-center-panels-to-display', array(
'rates' => '1',
'calculator' => '1',
'closing-costs' => '1',
'articles' => '1',
'news' => '1'
));
}
}
?>
mortgage, loans, fha, va, conventional, lender, real estate, tax credit | Mortgage West Dylan Cline