showcrawllog.ctp.php (seopanel.v.4.7.0) | : | showcrawllog.ctp.php (seopanel.v.4.8.0) | ||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
// find search engine info | // find search engine info | |||
if (preg_match("/^\d+$/", $logInfo['subject'])) { | if (preg_match("/^\d+$/", $logInfo['subject'])) { | |||
$seCtrler = new SearchEngineController(); | $seCtrler = new SearchEngineController(); | |||
$seInfo = $seCtrler->__getsearchEngineInfo($logInfo['subject']); | $seInfo = $seCtrler->__getsearchEngineInfo($logInfo['subject']); | |||
$logInfo['subject'] = $seInfo['domain']; | $logInfo['subject'] = $seInfo['domain']; | |||
} | } | |||
} | } | |||
?> | ?> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list"> | <table class="list"> | |||
<tr class="listHead"> | <tr class="listHead"> | |||
<td class="left" width='30%'><?php echo $spTextLog['Crawl Log Det | <td width='30%'><?php echo $spTextLog['Crawl Log Details']?></td> | |||
ails']?></td> | <td> </td> | |||
<td class="right"> </td> | ||||
</tr> | </tr> | |||
<tr class="white_row"> | <tr> | |||
<td class="td_left_col"><?php echo $spText['label']['Report Type' | <td><?php echo $spText['label']['Report Type']?>:</td> | |||
]?>:</td> | <td><?php echo $logInfo['crawl_type']?></td> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_type']?></td> | </tr> | |||
</tr> | <tr> | |||
<tr class="blue_row"> | <td><?php echo $spText['label']['Reference']?>:</td> | |||
<td class="td_left_col"><?php echo $spText['label']['Reference']? | <td><?php echo $logInfo['ref_id']?></td> | |||
>:</td> | </tr> | |||
<td class="td_right_col"><?php echo $logInfo['ref_id']?></td> | <tr> | |||
</tr> | <td><?php echo $spText['label']['Subject']?>:</td> | |||
<tr class="white_row"> | <td><?php echo $logInfo['subject']?></td> | |||
<td class="td_left_col"><?php echo $spText['label']['Subject']?>: | </tr> | |||
</td> | <tr> | |||
<td class="td_right_col"><?php echo $logInfo['subject']?></td> | <td><?php echo $spText['common']['Url']?>:</td> | |||
</tr> | <td><?php echo $logInfo['crawl_link']?></td> | |||
<tr class="blue_row"> | </tr> | |||
<td class="td_left_col"><?php echo $spText['common']['Url']?>:</t | <tr> | |||
d> | <td><?php echo $spText['label']['Referer']?>:</td> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_link']?></td> | <td><?php echo $logInfo['crawl_referer']?></td> | |||
</tr> | </tr> | |||
<tr class="white_row"> | <tr> | |||
<td class="td_left_col"><?php echo $spText['label']['Referer']?>: | <td><?php echo $spText['label']['Cookie']?>:</td> | |||
</td> | <td><?php echo $logInfo['crawl_cookie']?></td> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_referer']?></ | </tr> | |||
td> | <tr> | |||
</tr> | <td><?php echo $spTextLog['Post Fields']?>:</td> | |||
<tr class="blue_row"> | <td><?php echo $logInfo['crawl_post_fields']?></td> | |||
<td class="td_left_col"><?php echo $spText['label']['Cookie']?>:< | </tr> | |||
/td> | <tr> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_cookie']?></t | <td><?php echo $spText['label']['User agent']?>:</td> | |||
d> | <td><?php echo $logInfo['crawl_useragent']?></td> | |||
</tr> | </tr> | |||
<tr class="white_row"> | <tr> | |||
<td class="td_left_col"><?php echo $spTextLog['Post Fields']?>:</ | <td><?php echo $spText['label']['Proxy']?>:</td> | |||
td> | <td><?php echo !empty($logInfo['proxy_id']) ? $logInfo['proxy_id' | |||
<td class="td_right_col"><?php echo $logInfo['crawl_post_fields'] | ] : ""?></td> | |||
?></td> | </tr> | |||
</tr> | <tr> | |||
<tr class="blue_row"> | <td><?php echo $spText['common']['Details']?>:</td> | |||
<td class="td_left_col"><?php echo $spText['label']['User agent'] | <td><?php echo $logInfo['log_message']?></td> | |||
?>:</td> | </tr> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_useragent']?> | <tr> | |||
</td> | <td><?php echo $spText['common']['Status']?>:</td> | |||
</tr> | <td> | |||
<tr class="white_row"> | ||||
<td class="td_left_col"><?php echo $spText['label']['Proxy']?>:</ | ||||
td> | ||||
<td class="td_right_col"><?php echo $logInfo['proxy_id']?></td> | ||||
</tr> | ||||
<tr class="blue_row"> | ||||
<td class="td_left_col"><?php echo $spText['common']['Details']?> | ||||
:</td> | ||||
<td class="td_right_col"><?php echo $logInfo['log_message']?></td | ||||
> | ||||
</tr> | ||||
<tr class="white_row"> | ||||
<td class="td_left_col"><?php echo $spText['common']['Status']?>: | ||||
</td> | ||||
<td class="td_right_col"> | ||||
<?php | <?php | |||
if ($logInfo['crawl_status']) { | if ($logInfo['crawl_status']) { | |||
echo "<b class='success'>{$spText['label']['Succe ss']}</b>"; | echo "<b class='success'>{$spText['label']['Succe ss']}</b>"; | |||
} else { | } else { | |||
echo "<b class='error'>{$spText['label']['Fail']} </b>"; | echo "<b class='error'>{$spText['label']['Fail']} </b>"; | |||
} | } | |||
?> | ?> | |||
</td> | </td> | |||
</tr> | </tr> | |||
<tr class="blue_row"> | <tr> | |||
<td class="td_left_col"><?php echo $spText['label']['Updated']?>: | <td><?php echo $spText['label']['Updated']?>:</td> | |||
</td> | <td><?php echo $logInfo['crawl_time']?></td> | |||
<td class="td_right_col"><?php echo $logInfo['crawl_time']?></td> | ||||
</tr> | ||||
<tr class="white_row"> | ||||
<td class="tab_left_bot_noborder"></td> | ||||
<td class="tab_right_bot"></td> | ||||
</tr> | ||||
<tr class="listBot"> | ||||
<td class="left" colspan="1"></td> | ||||
<td class="right"></td> | ||||
</tr> | </tr> | |||
</table> | </table> | |||
<br><br> | <br><br> | |||
End of changes. 4 change blocks. | ||||
75 lines changed or deleted | 50 lines changed or added |