'dbe3cde4055ae710d272b5f81b191f22' ); //url-ify the data for the POST $fields_string = ""; foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string,'&'); //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_POST,count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //execute post $response = curl_exec($ch); //close connection curl_close($ch); $xml = XML_unserialize($response); // default names $current = ""; $currentName = ""; $currentDescription = ""; if ($_GET['id'] == NULL) $current = $xml['rsp']['albums']['album'][0]['id']; else $current = $_GET['id']; // build the list of links $links = ""; $menubreak = 0; foreach ($xml['rsp']['albums']['album'] as $album) { $links = $links . "" . $album['name']. ""; $menubreak = $menubreak + 1; if ($album['id'] == $current){ $currentName = $album['name']; $currentDescription = $album['description']; } if ($menubreak == 2){ $menubreak = 0; $links = $links . ""; } } //echo $xml['rsp']['albums']['album'][0]['id']; //var_dump($xml); //echo "data:" . $response; //phpinfo(); ?> Cabinets at Danada: Our Gallery - Libraries
Cabinets at Danada
Library
Cabinets at Danada create libraries that are unique and sophisticated. We customize bookshelves, cabinets, and built-in coffered ceilings and wainscoting with amazing detail.
Kitchen Dining/Bar
Library Specialty
Bath
KITCHEN AND BATH BLOG LOCATIONS HAVLICEK BUILDERS PRIVACY POLICY WEBSITE MANGEMENT