<?php require_once '../data/employer_data.php'; $parms = get_params(array('stfips' => '41', 'areatype' => '01', 'area' => '000000', 'naicsect' => '00', 'search' => '')); $glist = new EmployerDAO(); echo $glist->getEmployerIndustries($parms['stfips'], $parms['areatype'], $parms['area'], $parms['naicsect'], $parms['search']);
<?php require_once '../data/employer_data.php'; // Create parameterized query for empdb table $parms = get_params(array('stfips' => '41', 'areatype' => '04', 'area' => '000000', 'zipcode' => '', 'naicscode' => '000000', 'sizeclass' => '9', 'annsalrng' => 'X', 'search' => '', 'page' => '1', 'rows' => '25', 'sord' => 'asc', 'sidx' => 'name')); $empdao = new EmployerDAO(); header('Content-type: text/xml'); echo $empdao->getEmployerData($parms['stfips'], $parms['areatype'], $parms['area'], $parms['zipcode'], $parms['naicscode'], $parms['sizeclass'], $parms['annsalrng'], $parms['search'], $parms['page'], $parms['rows'], $parms['sord'], $parms['sidx']);
<?php require_once '../data/employer_data.php'; // Create parameterized query for empdb table $parms = get_params(array('latitude' => '41', 'longitude' => '04', 'miles' => '5', 'naicscode' => '000000', 'sizeclass' => '9', 'annsalrng' => 'X', 'search' => '', 'page' => '1', 'rows' => '25', 'sord' => 'asc', 'sidx' => 'name')); $empdao = new EmployerDAO(); header('Content-type: text/xml'); echo $empdao->getEmployerNearestData($parms['latitude'], $parms['longitude'], $parms['miles'], $parms['naicscode'], $parms['sizeclass'], $parms['annsalrng'], $parms['search'], $parms['page'], $parms['rows'], $parms['sord'], $parms['sidx']);
<?php require_once '../data/employer_data.php'; // Create parameterized query for empdb table $parms = get_params(array('uniqueid' => '41', 'printme' => 'n')); $empdao = new EmployerDAO(); header('Content-type: text/html'); $emprec = $empdao->getEmployerRecord($parms['uniqueid']); if ($parms['printme'] == 'y') { ?> <html> <head> <link type="text/css" href="layout.css" rel="stylesheet" /> </head> <body> <div class="wrap" style="width: 60%"> <h2>InfoGroup Employer Database</h2> <?php } foreach ($emprec as $row) { ?> <div> <strong><?php echo ucwords(strtolower($row['name'])); ?> </strong><br/> <?php echo htmlspecialchars(ucwords(strtolower($row['addressp'])));