/[cvs]/nfo/site/htdocs/netfraggle.php
ViewVC logotype

Diff of /nfo/site/htdocs/netfraggle.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by xabbu, Wed Sep 15 16:39:06 2004 UTC revision 1.13 by xabbu, Mon Sep 20 23:38:14 2004 UTC
# Line 64  function nfo_query($params) { Line 64  function nfo_query($params) {
64    $structfields = array();    $structfields = array();
65        
66    foreach ($result[0] as $key => $value) {    foreach ($result[0] as $key => $value) {
67     $structinfo[$key] = new XML_RPC_Value($value,"string");     if ($key == 'all'){
68      }      $datall = array();
69          foreach ($result[0][$key] as $keyall => $valall) {
70      
71        if ($keyall == 'fieldlist'){
72             $datall2 = array();
73            foreach ($result[0][$key][$keyall] as $fieldkey => $fieldval){
74              $datall2 = new XML_RPC_Value($fieldval,"string");
75            }
76            $datall[$keyall] = new XML_RPC_Value($datall2,"struct");
77        }else{
78            if($keyall == 'with'){
79             // DO nothing yet
80            }else{
81             $datall[$keyall] = new XML_RPC_Value($valall,"string");
82              }
83             }
84            }
85        $structinfo[$key] = new XML_RPC_Value($datall,"struct");
86        }else{
87           $structinfo[$key] = new XML_RPC_Value($value,"string");
88         }
89       }
90      
91     #foreach ($result[1] as $key => $value)  {     #foreach ($result[1] as $key => $value)  {
92     #$structcontent[$key] = new XML_RPC_Value($value,"struct");     #$structcontent[$key] = new XML_RPC_Value($value,"struct");
93     # }     # }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed