@@ -28,22 +28,22 @@ |
||
28 | 28 | |
29 | 29 | if (!empty($_POST)) |
30 | 30 | { |
31 | - foreach ( $_POST as $key => $value ) |
|
32 | - { |
|
33 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
34 | - continue; |
|
31 | + foreach ( $_POST as $key => $value ) |
|
32 | + { |
|
33 | + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
34 | + continue; |
|
35 | 35 | |
36 | - if ( get_magic_quotes_gpc() ) |
|
37 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
38 | - else |
|
39 | - $value = htmlspecialchars( (string)$value ); |
|
36 | + if ( get_magic_quotes_gpc() ) |
|
37 | + $value = htmlspecialchars( stripslashes((string)$value) ); |
|
38 | + else |
|
39 | + $value = htmlspecialchars( (string)$value ); |
|
40 | 40 | ?> |
41 | 41 | <tr> |
42 | 42 | <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
43 | 43 | <td><pre class="samples"><?php echo $value; ?></pre></td> |
44 | 44 | </tr> |
45 | 45 | <?php |
46 | - } |
|
46 | + } |
|
47 | 47 | } |
48 | 48 | ?> |
49 | 49 | </table> |
@@ -28,18 +28,18 @@ |
||
28 | 28 | |
29 | 29 | if (!empty($_POST)) |
30 | 30 | { |
31 | - foreach ( $_POST as $key => $value ) |
|
31 | + foreach ($_POST as $key => $value) |
|
32 | 32 | { |
33 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
33 | + if ((!is_string($value) && !is_numeric($value)) || !is_string($key)) |
|
34 | 34 | continue; |
35 | 35 | |
36 | - if ( get_magic_quotes_gpc() ) |
|
37 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
36 | + if (get_magic_quotes_gpc()) |
|
37 | + $value = htmlspecialchars(stripslashes((string) $value)); |
|
38 | 38 | else |
39 | - $value = htmlspecialchars( (string)$value ); |
|
39 | + $value = htmlspecialchars((string) $value); |
|
40 | 40 | ?> |
41 | 41 | <tr> |
42 | - <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
|
42 | + <th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th> |
|
43 | 43 | <td><pre class="samples"><?php echo $value; ?></pre></td> |
44 | 44 | </tr> |
45 | 45 | <?php |
@@ -26,18 +26,18 @@ |
||
26 | 26 | </thead> |
27 | 27 | <?php |
28 | 28 | |
29 | -if (!empty($_POST)) |
|
30 | -{ |
|
31 | - foreach ( $_POST as $key => $value ) |
|
32 | - { |
|
33 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
34 | - continue; |
|
29 | +if (!empty($_POST)) { |
|
30 | + foreach ( $_POST as $key => $value ) { |
|
31 | + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) { |
|
32 | + continue; |
|
33 | + } |
|
35 | 34 | |
36 | - if ( get_magic_quotes_gpc() ) |
|
37 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
38 | - else |
|
39 | - $value = htmlspecialchars( (string)$value ); |
|
40 | -?> |
|
35 | + if ( get_magic_quotes_gpc() ) { |
|
36 | + $value = htmlspecialchars( stripslashes((string)$value) ); |
|
37 | + } else { |
|
38 | + $value = htmlspecialchars( (string)$value ); |
|
39 | + } |
|
40 | + ?> |
|
41 | 41 | <tr> |
42 | 42 | <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
43 | 43 | <td><pre class="samples"><?php echo $value; ?></pre></td> |