Empty commit

This commit is contained in:
Git 2011-09-09 08:00:12 +00:00
parent 1c149769fe
commit 0b168c36b9
9 changed files with 31 additions and 14 deletions

View File

@ -440,7 +440,7 @@ public function query_table($Queries=false) {
list($SQL,$Time) = $Query; list($SQL,$Time) = $Query;
?> ?>
<tr valign="top"> <tr valign="top">
<td><?=str_replace("\t", '&nbsp;&nbsp;', nl2br(display_str($SQL)))?></td> <td class="query"><div><?=str_replace("\t", '&nbsp;&nbsp;', nl2br(display_str($SQL)))?></div></td>
<td class="rowa" style="width:130px;" align="left"><?=number_format($Time, 5)?> ms</td> <td class="rowa" style="width:130px;" align="left"><?=number_format($Time, 5)?> ms</td>
</tr> </tr>
<? <?

View File

@ -44,7 +44,7 @@
<table> <table>
<? <?
foreach($TorrentsInfo as $TorrentID => $Info) { foreach($TorrentsInfo as $TorrentID => $Info) {
list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]); list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $GroupVanityHouse, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]);
$DisplayName = ''; $DisplayName = '';
if(count($Artists)>0) { if(count($Artists)>0) {

View File

@ -44,7 +44,7 @@
<table> <table>
<? <?
foreach($TorrentsInfo as $TorrentID => $Info) { foreach($TorrentsInfo as $TorrentID => $Info) {
list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]); list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $GroupVanityHouse, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]);
$DisplayName = ''; $DisplayName = '';
if(count($Artists)>0) { if(count($Artists)>0) {

View File

@ -25,7 +25,7 @@
<? <?
$Results = $Results['matches']; $Results = $Results['matches'];
foreach ($Results as $GroupID=>$Group) { foreach ($Results as $GroupID=>$Group) {
list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $Torrents, $Artists) = array_values($Group); list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $GroupVanityHouse, $Torrents, $Artists) = array_values($Group);
$FlacID = $GroupIDs[$GroupID]['TorrentID']; $FlacID = $GroupIDs[$GroupID]['TorrentID'];
$DisplayName = ''; $DisplayName = '';

View File

@ -44,8 +44,7 @@
<table> <table>
<? <?
foreach($TorrentsInfo as $TorrentID => $Info) { foreach($TorrentsInfo as $TorrentID => $Info) {
list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]); list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TagList, $ReleaseType, $GroupVanityHouse, $Torrents, $Artists) = array_values($Results[$Info['GroupID']]);
$DisplayName = ''; $DisplayName = '';
if(count($Artists)>0) { if(count($Artists)>0) {
$DisplayName = display_artists(array('1'=>$Artists)); $DisplayName = display_artists(array('1'=>$Artists));

View File

@ -93,7 +93,7 @@
</tr> </tr>
<? <?
foreach($Results as $GroupID=>$Data) { foreach($Results as $GroupID=>$Data) {
list($Artists, $GroupCatalogueNumber, $GroupID2, $GroupName, $GroupRecordLabel, $ReleaseType, $TagList, $GroupVanityHouse, $Torrents, $GroupYear, $CategoryID, $FreeTorrent, $HasCue, $HasLog, $TotalLeechers, $LogScore, $ReleaseType, $ReleaseType, $TotalSeeders, $MaxSize, $TotalSnatched, $GroupTime) = array_values($Data); list($Artists, $GroupCatalogueNumber, $GroupID2, $GroupName, $GroupRecordLabel, $ReleaseType, $TagList, $Torrents, $GroupVanityHouse, $GroupYear, $CategoryID, $FreeTorrent, $HasCue, $HasLog, $TotalLeechers, $LogScore, $ReleaseType, $ReleaseType, $TotalSeeders, $MaxSize, $TotalSnatched, $GroupTime) = array_values($Data);
$DisplayName = ''; $DisplayName = '';
if(count($Artists)>0) { if(count($Artists)>0) {

View File

@ -6,11 +6,7 @@
show_header('Case Analysis'); show_header('Case Analysis');
?> ?>
<h2>Case Analysis (<a href="<?=display_str($Analysis['url'])?>"><?=$_GET['case']?></a>)</h2> <h2>Case Analysis (<a href="<?=display_str($Analysis['url'])?>"><?=$_GET['case']?></a>)</h2>
<table id="debug_report"> <pre id="#debug_report"><?=display_str($Analysis['message'])?></pre>
<tr>
<td align="left"><pre><?=display_str($Analysis['message'])?></pre></td>
</tr>
</table>
<? <?
$Debug->flag_table($Analysis['flags']); $Debug->flag_table($Analysis['flags']);
$Debug->include_table($Analysis['includes']); $Debug->include_table($Analysis['includes']);

View File

@ -430,7 +430,7 @@ function filelist($Str) {
| <a href="torrents.php?torrentid=<?=$TorrentID ?>" title="Permalink">PL</a> | <a href="torrents.php?torrentid=<?=$TorrentID ?>" title="Permalink">PL</a>
]</span> ]</span>
<a href="#" onclick="$('#torrent_<?=$TorrentID?>').toggle(); return false;">&raquo; <?=$ExtraInfo; ?></a> &raquo; <a href="#" onclick="$('#torrent_<?=$TorrentID?>').toggle(); return false;"><?=$ExtraInfo; ?></a>
</td> </td>
<td class="nobr"><?=get_size($Size)?></td> <td class="nobr"><?=get_size($Size)?></td>
<td><?=number_format($Snatched)?></td> <td><?=number_format($Snatched)?></td>

View File

@ -768,6 +768,14 @@ span.last_read a:hover {
padding: 15px; padding: 15px;
} }
body#forums table.forum_post td.body > div { /* Wide main column (forums) */
width: 787px;
}
table.forum_post td.body > div { /* Narrow main column (torrent comments, request comments) */
width: 522px;
}
.forum_post ul,.forum_post ol { .forum_post ul,.forum_post ol {
margin-left: 25px; margin-left: 25px;
} }
@ -1111,6 +1119,20 @@ div.pad ul,div.body ul,table.torrent_table blockquote>ul,div.pad ol,div.body ol
padding-left: 15px; padding-left: 15px;
} }
#debug_database pre,#debug_report pre { #debug_report {
white-space: pre-wrap; white-space: pre-wrap;
} }
#debug_database td.query {
padding: 0;
}
#debug_database td.query>div {
overflow: auto;
padding: 8px;
width: 796px;
}
.nobr {
white-space: nowrap;
}