Exemple #1
0
<?php

$Data = GetReport($Post['ID']);
$Stacktrace = GetStacktrace($Post['ID']);
$Extensions = GetExtensionMapping();
?>
<TABLE>
<TR><TH COLSPAN="2">Crash report details</TH></TR>
<TR><TD>File</TD><TD><A HREF="?DownloadFile&NoHTML=1&File=<?php 
echo $Data['filename'];
?>
">Download</A></TD></TR>
<TR><TD>Buildserv command:</TD><TD>!translate file=http://<?php 
echo $Global['BaseURL'] . (substr($Global['BaseURL'], -1) != "/" ? "/" : "");
?>
?Infolog&NoHTML=1&ID=<?php 
echo $Post['ID'];
?>
</TD></TR>
<?php 
if (is_array($Stacktrace)) {
    ?>
<TR><TH CLASS="Sub" COLSPAN="2">Stacktrace</TH></TR>
<TR><TD CLASS="NoPad" COLSPAN="2"><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TH CLASS="SubSub">Order</TH>
<TH CLASS="SubSub">File</TH>
<TH CLASS="SubSub">Function</TH>
<TH CLASS="SubSub">File</TH>
</TR>
<?php 
Exemple #2
0
<?php

$Data = GetReport($Post['ID']);
echo "[0] " . $Data['spring'], " has crashed.\n";
$Data = GetStacktrace($Post['ID']);
foreach ($Data as $Row) {
    echo $Row['raw'], "\n";
}