66 |
foreach ($result[0] as $key => $value) { |
foreach ($result[0] as $key => $value) { |
67 |
$structinfo[$key] = new XML_RPC_Value($value,"string"); |
$structinfo[$key] = new XML_RPC_Value($value,"string"); |
68 |
} |
} |
69 |
foreach ($result[1] as $key => $value) { |
|
70 |
$structcontent[$key] = new XML_RPC_Value($value,"struct"); |
#foreach ($result[1] as $key => $value) { |
71 |
} |
#$structcontent[$key] = new XML_RPC_Value($value,"struct"); |
72 |
|
# } |
73 |
|
|
74 |
|
foreach ($result[1] as $key => $value) { |
75 |
|
$cdata = array(); |
76 |
|
foreach($value as $item => $data) { |
77 |
|
$cdata[$item] = new XML_RPC_Value($data,"string"); |
78 |
|
} |
79 |
|
$structcontent[$key] = new XML_RPC_Value($cdata,"struct"); |
80 |
|
} |
81 |
|
|
82 |
foreach ($result[2] as $key => $value) { |
foreach ($result[2] as $key => $value) { |
83 |
$structfields[$key] = new XML_RPC_Value($value,"string"); |
$structfields[$key] = new XML_RPC_Value($value,"string"); |
84 |
} |
} |