$_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"; $positionAux = substr($teste, 6); $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']; $recordsBroken = $response['records_broken']; $sections = $response['sections']; $iNumberOfSections = $response['iNumberOfSections']; $subSections = $response['subSections']; $iNumberOfSubSections = $response['iNumberOfSubSections']; $nextPages = $response['nextPages']; $iNumberOfRecords = $response['iNumberOfRecords']; $iNumberOfRecordsBroken = $response['iNumberOfRecordsBroken']; $cpLinkCountryUrl = $response['cpLinkCountryUrl']; $cpLinkCountryName = $response['cpLinkCountryName']; ?> \n"; print "Your Site is indexing our site in an incorrect way. Please contact indexing@netindex.pt\n"; print "\n"; //print "vou-me embora"; return 1; } ?> NetINDEX - <? if (count($sections) >= 2) echo $sections[count($sections)-1]['cpSectionName']; ?>

NetINDEX
Directório
Ajuda
Portugal: >
SubSecçõ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) {// retirado /cgi-bin/r?url= ?> :
"; } // if ($iNumberOfRecords != 0) ?> "; print "
Páginas que já não funcionam. Dentro de algum tempo serão removidas definitivamente.

"; // parse the $recordsBroken[] array and extract the necessary information foreach ($recordsBroken as $i) { ?> :

"; } // if ($iNumberOfRecordsBroken != 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 || $iNumberOfRecordsBroken != 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 v430 M1219