| 227 | | $additional .= $result['keyword']."=".$result['data']."\n"; |
|---|
| | 229 | if ($ver12) { |
|---|
| | 230 | $additional .= $result['keyword']."=".$result['data']."\n"; |
|---|
| | 231 | } else { |
|---|
| | 232 | $option = $result['data']; |
|---|
| | 233 | switch ($result['keyword']) { |
|---|
| | 234 | case 'notransfer': |
|---|
| | 235 | if (strtolower($option) == 'yes') { |
|---|
| | 236 | $additional .= "transfer=no\n"; |
|---|
| | 237 | } else if (strtolower($option) == 'no') { |
|---|
| | 238 | $additional .= "transfer=yes\n"; |
|---|
| | 239 | } else if (strtolower($option) == 'mediaonly') { |
|---|
| | 240 | $additional .= "transfer=mediaonly\n"; |
|---|
| | 241 | } else { |
|---|
| | 242 | $additional .= $result['keyword']."=$option\n"; |
|---|
| | 243 | } |
|---|
| | 244 | break; |
|---|
| | 245 | default: |
|---|
| | 246 | $additional .= $result['keyword']."=$option\n"; |
|---|
| | 247 | } |
|---|
| | 248 | } |
|---|
| 248 | | foreach ($options as $option) { |
|---|
| 249 | | $output .= $result2['keyword']."=$option\n"; |
|---|
| | 269 | if ($ver12) { |
|---|
| | 270 | foreach ($options as $option) { |
|---|
| | 271 | $output .= $result2['keyword']."=$option\n"; |
|---|
| | 272 | } |
|---|
| | 273 | } else { |
|---|
| | 274 | foreach ($options as $option) { |
|---|
| | 275 | switch ($result2['keyword']) { |
|---|
| | 276 | case 'notransfer': |
|---|
| | 277 | if (strtolower($option) == 'yes') { |
|---|
| | 278 | $output .= "transfer=no\n"; |
|---|
| | 279 | } else if (strtolower($option) == 'no') { |
|---|
| | 280 | $output .= "transfer=yes\n"; |
|---|
| | 281 | } else if (strtolower($option) == 'mediaonly') { |
|---|
| | 282 | $output .= "transfer=mediaonly\n"; |
|---|
| | 283 | } else { |
|---|
| | 284 | $output .= $result2['keyword']."=$option\n"; |
|---|
| | 285 | } |
|---|
| | 286 | break; |
|---|
| | 287 | default: |
|---|
| | 288 | $output .= $result2['keyword']."=$option\n"; |
|---|
| | 289 | } |
|---|
| | 290 | } |
|---|