Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php
2
if ($completed == 1) {
3
    $submitLink = scriptAJAXLinkHref('siteauditor.php', 'content', "sec=viewreports&project_id=$projectId", $spText['label']['Click Here']);
4
    showSuccessMsg($spTextSA['Completed project execution']."! $submitLink ".$spTextSA['to view the reports'], false);
5
} elseif ($completed == -1) {
6
    echo showErrorMsg($errorMsg, false);
7
} else {
8
    if ($projectInfo['check_pr'] || $projectInfo['check_backlinks'] || $projectInfo['check_indexed']) {
9
        if (SA_CRAWL_DELAY_TIME < 10) {
10
            $delay = 10 * 1000;
11
        } else {
12
            $delay = SA_CRAWL_DELAY_TIME * 1000;
13
        }
14
    } else {
15
        $delay = 2 * 1000;
16
    }
17
    echo "<b>'$crawledUrl' {$spTextSA['crawledsuccesssfullywaitfornext']} ".($delay/1000)." seconds</b>";
18
    ?>
19
	<script>
20
 		setTimeout('scriptDoLoad(\'siteauditor.php?sec=runproject&project_id=<?php echo $projectId?>\', \'subcontmed\')', <?php echo $delay?>);
21
    </script>
22
	<?php
23
}
24
?>
25