|
@@ 404-408 (lines=5) @@
|
| 401 |
|
global $xoopsDB, $xoopsModule; |
| 402 |
|
if (!strpos(_XD_FB_CODE4RESULTS_MARKER, $content)) { |
| 403 |
|
$content = str_replace(_XD_FB_CODE4RESULTS_INSERT, _XD_FB_CODE4RESULTS . "\n\n" . _XD_FB_CODE4RESULTS_INSERT, $content); |
| 404 |
|
if (!strpos(_XD_FB_CODE4STARTUP, $content)) { |
| 405 |
|
$content = str_replace(_XD_FB_CODE4STARTUP_INSERT, "\\0\n\n" . _XD_FB_CODE4STARTUP . "\n", $content); |
| 406 |
|
} else { |
| 407 |
|
redirect_header('main.php', 3, _MD_ERRORQUIZFILE); |
| 408 |
|
} |
| 409 |
|
if (!strpos(_XD_FB_CODE4SEND, $content)) { |
| 410 |
|
$content = str_replace(_XD_FB_CODE4SEND_INSERT, "\\0\n\n" . _XD_FB_CODE4SEND, $content); |
| 411 |
|
} else { |
|
@@ 409-413 (lines=5) @@
|
| 406 |
|
} else { |
| 407 |
|
redirect_header('main.php', 3, _MD_ERRORQUIZFILE); |
| 408 |
|
} |
| 409 |
|
if (!strpos(_XD_FB_CODE4SEND, $content)) { |
| 410 |
|
$content = str_replace(_XD_FB_CODE4SEND_INSERT, "\\0\n\n" . _XD_FB_CODE4SEND, $content); |
| 411 |
|
} else { |
| 412 |
|
redirect_header('main.php', 3, _MD_ERRORQUIZFILE); |
| 413 |
|
} |
| 414 |
|
} |
| 415 |
|
|
| 416 |
|
$content = str_replace('toLocaleString', 'toGMTString', $content); |