// customlist.php - ./04/2006 - /phpApps/customlist/ - Displays Custom List of Current User and
// test Urban Inst: 520880375
session_start();
require_once('Bootstrap.php');
$bootstrap = Bootstrap::create();
include($bootstrap->libraryDirectory.'settings.php');
include($bootstrap->libraryDirectory.'head.php');
include($bootstrap->libraryDirectory.'datacon.php');
require($bootstrap->libraryDirectory.'proclib.php');
$maxRecs = 650;
$action = '';
$gEin = getVal('ein','','get');
$gAction = getVal('a', '', 'get');
$gBmfOnly = getVal('bmf','', 'get');
$getVal = getVal('gQry','', 'get');
$debug = getVal('debug','0', 'get');
$filers = getVal('filers','0', 'get');
// passed from nteeSearch
$nteeFilter = getVal('ntee','','get');
$bmfOnly = $gBmfOnly;
// confirm that action should be run:
// $getInput = getVal('getInput','0','post');
$liveNtee = getVal('liventee','1','get');
$liveNteeSearch == 0;
if ($getInput == '1'){
// $q = $HTTP_POST_VARS['q'];
$ein = $HTTP_POST_VARS['ein'];
$orgname = $HTTP_POST_VARS['orgname'];
$state = $HTTP_POST_VARS['state'];
$ntee = strtoupper($HTTP_POST_VARS['ntee']);
$latest = $HTTP_POST_VARS['latest'];
$bmfOnly = $HTTP_POST_VARS['bmfOnly'];
$irsType = $HTTP_POST_VARS['irsType'];
$filers = $HTTP_POST_VARS['filers'];
$orgSearchType = $HTTP_POST_VARS['orgSearchType'];
$freeform = $HTTP_POST_VARS['freeform'];
$orderBy = $HTTP_POST_VARS['orderBy'];
}
$start = date('m/d/Y H:i:s');
$startTime = time();
/***********************************************************/
/* new server: */
/***********************************************************/
if ($gBmfOnly == 1 or $bmfOnly == 1) {
$debug = 0;
}
$debug = 0;
// echo "user: $gUser
";
if ($gUser == 'tpollak'){
$debug = 0;
}
$title = 'NCCS - Custom List Management';
$eonUser = checkUserAccessRights($gUser,'EON',0); // 1=yes
echo "