$_GET['position']); //to know all parameters use: print_r($_SERVER); $teste = $_SERVER["SCRIPT_NAME"]; //also PHP_SELF $positionAux = "/index.html"; //echo "$teste"; //$teste="/links/ARTE_CULTURA/FILOSOFIA/index.html"; //if you do not use links if( $urlDirectory == "/links") $positionAux = substr($teste, 6); else $positionAux = $teste; $param = array('position' => $positionAux); /* Create a new client by providing the endpoint to the * constructor. */ $client = new soapclientRui($url); //$client->debub_flag = 1; /* Call the directoryPage() function, passing the parameter list. */ $response = $client->call('directoryPage', $param); /* handle any SOAP faults. */ if ($client->fault) { echo "FAULT:

Code: {$client->faultcode}
"; echo "String: {$client->faultstring}"; } else { } $iPosition= $response['iPosition']; $uRecordsInPage = $response['uRecordsInPage']; $records = $response['records']; $sections = $response['sections']; $iNumberOfSections = $response['iNumberOfSections']; $subSections = $response['subSections']; $iNumberOfSubSections = $response['iNumberOfSubSections']; $nextPages = $response['nextPages']; $iNumberOfRecords = $response['iNumberOfRecords']; $cpLinkCountryUrl = $response['cpLinkCountryUrl']; $cpLinkCountryName = $response['cpLinkCountryName']; ?> NGET - <? if (count($sections) >=4) { if ($sections[count($sections)-1]['cpSectionName'] == "Acre" || $sections[count($sections)-1]['cpSectionName'] == "Pará") print $sections[count($sections)-2]['cpSectionName']." > "; } if (count($sections) >= 2) { echo $sections[count($sections)-1]['cpSectionName']; } ?>

NGET Brasil
Diretório
Ajuda
Páginas do Tipo: Html Imagens
Brasil: > Veja esta seção em Portugal:
SubSeções

"; // parse the subSections[] array and extract the necessary information for($i=0; $i < (count($subSections)); $i++) { if(($i!=0)&&($i%3)==0) { print"\n"; } ?>

Links Patrocinados
\n"; print "\n"; print "\n"; print "\n"; print " \n"; } ?> NGet
Páginas

"; // parse the $records[] array and extract the necessary information foreach ($records as $i) { /* $cpTitleModified = $i['cpTitle']; //$cpTitleModified = htmlentities($cpTitleModified); //transforma & em & e ú em ú tambem $cpTitleModified = preg_replace('/&([a-zA-Z])(cedil|uml|acute|grave|circ|tilde);/','$1',$cpTitleModified); //transforma ú em u $cpTitleModified = preg_replace('/&#?[a-zA-Z0-9]+;/', '_', $cpTitleModified); $cpTitleModified = preg_replace('/_+/', '_', $cpTitleModified); //$cpTitleModified = html_entity_decode($cpTitleModified); //transforma & de volta a & $firstLetter = substr($cpTitleModified, 0, 1); //$cpTitleModified = "a__b___c_d_i%&"; $cpTitleModified = preg_replace('/[^a-zA-Z0-9]/', '_', $cpTitleModified); $cpTitleModified = preg_replace('/_+/', '_', $cpTitleModified); */ ?>  

">    " style="text-decoration:none">[+ Info]

*/ print "
"; } // if ($iNumberOfRecords != 0) ?> 1) { print "
"; // parse the $nextPages[] array and extract the necessary information for($i=0; $i < (count($nextPages)); $i++) { if($i == 0) echo "

MAIS PÁGINAS DE RESULTADOS:
\n"; if($i==$iPosition) { echo $nextPages[$i]['cpNextPageElements']; ?>   

"; } // if (count($nextPages) > 1) } // if ($iNumberOfRecords != 0) ?> 10 && !(strstr($teste,"Sexua"))&& !(strstr($teste,"COMERCIO_INDUSTRIA/Tabac/"))&& !(strstr($teste,"HACKERS"))&& !(strstr($teste,"VINICULTURA"))&& !(strstr($teste,"Bebid/DIR2/")) ) { echo "\n"; echo "

\n"; echo "\n"; echo "\n"; echo "
Links Patrocinados
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "\n"; } ?>  

 


Mapa, Informação, Ajuda, Comentários

Copyright NetINDEX 1997-2014 v513_r - a0406

Países: Brasil, México