Phoenix Treatment Centers

Platinum Listings'; while ($tempnodeobject = db_fetch_object($result)) { $nodeobject = node_load(array('nid'=>$tempnodeobject->nid)); //print "
" . print_r($nodeobject, TRUE) . "
"; $imagepath = 'treatment center'; if($nodeobject->field_address2[0]['value']){ $address2 = ' ' . $nodeobject->field_address2[0]['value']; }else{ $address2 = ''; } print '
' . l($nodeobject->title, $nodeobject->path) . '
' . l($imagepath, $nodeobject->path, array('html' => TRUE)) . '

' . $nodeobject->field_overview[0]['value'] . ' ' . l('Complete Details', $nodeobject->path) . '

' . $nodeobject->field_address1[0]['value'] . ' ' . $address2 . '
' . $nodeobject->field_city[0]['value'] . ', ' . $nodeobject->field_state[0]['value'] . ', ' . $nodeobject->field_postal_code[0]['value'] . '
' . $nodeobject->field_phone[0]['value'] . '
'; } $result = db_query('SELECT nid FROM {content_type_treatment_center} WHERE field_listing_type_value = "Gold" AND field_state_value = "AZ" AND field_city_value = "Phoenix"'); //print '

Gold Listings

'; while ($tempnodeobject = db_fetch_object($result)) { $nodeobject = node_load(array('nid'=>$tempnodeobject->nid)); //print "
" . print_r($nodeobject, TRUE) . "
"; $imagepath = 'treatment center'; if($nodeobject->field_address2[0]['value']){ $address2 = ' ' . $nodeobject->field_address2[0]['value']; }else{ $address2 = ''; } print '
' . l($nodeobject->title, $nodeobject->path) . '
' . l($imagepath, $nodeobject->path, array('html' => TRUE)) . '

' . $nodeobject->field_overview[0]['value'] . ' ' . l('Complete Details', $nodeobject->path) . '

' . $nodeobject->field_address1[0]['value'] . ' ' . $address2 . '
' . $nodeobject->field_city[0]['value'] . ', ' . $nodeobject->field_state[0]['value'] . ', ' . $nodeobject->field_postal_code[0]['value'] . '
' . $nodeobject->field_phone[0]['value'] . '
'; } $result = db_query('SELECT nid FROM {content_type_treatment_center} WHERE field_listing_type_value = "Silver" AND field_state_value = "AZ" AND field_city_value = "Phoenix"') ; //print '

Silver Listings

'; while ($tempnodeobject = db_fetch_object($result)) { $nodeobject = node_load(array('nid'=>$tempnodeobject->nid)); if($nodeobject->field_address2[0]['value']){ $address2 = ' ' . $nodeobject->field_address2[0]['value']; }else{ $address2 = ''; } print '
' . l($nodeobject->title, $nodeobject->path) . '

' . $nodeobject->field_overview[0]['value'] . ' ' . l('Complete Details', $nodeobject->path) . '

' . $nodeobject->field_address1[0]['value'] . ' ' . $address2 . '
' . $nodeobject->field_city[0]['value'] . ', ' . $nodeobject->field_state[0]['value'] . ', ' . $nodeobject->field_postal_code[0]['value'] . '
' . $nodeobject->field_phone[0]['value'] . '
'; //print "
" . print_r($nodeobject, TRUE) . "
"; } $result = db_query('SELECT nid FROM {content_type_treatment_center} WHERE field_listing_type_value NOT IN ("Platinum", "Gold", "Silver") AND field_state_value = "AZ" AND field_city_value = "Phoenix"') ; print '
'; while ($tempnodeobject = db_fetch_object($result)) { $nodeobject = node_load(array('nid'=>$tempnodeobject->nid)); if($nodeobject->field_address2[0]['value']){ $address2 = $nodeobject->field_address2[0]['value']; }else{ $address2 = ''; } print '
' . $nodeobject->title . '
' . $nodeobject->field_address1[0]['value'] . ' ' . $address2 . '
' . $nodeobject->field_city[0]['value'] . ', ' . $nodeobject->field_state[0]['value'] . ', ' . $nodeobject->field_postal_code[0]['value'] . '

'; //print "
" . print_r($nodeobject, TRUE) . "
"; } print '
'; ?>

disclaimer

Call now for immediate help: (844) 630-4673