Results 1 to 2 of 2

Trivial Request

This is a discussion on Trivial Request within the Sitemap Features Archive forums, part of the vBulletin Links & Resources category; On the Bot Report, can all the number fields be Right Justified?...

  1. #1
    Senior Member Array
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    16 times

    Trivial Request

    On the Bot Report, can all the number fields be Right Justified?

  2. #2
    Senior Member Array
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    16 times
    For those that want to do it, all the changes are in index.php:

    Code:
    @@ -274,30 +274,30 @@
     		$stat = vbseo_get_datlog(VBSEO_DAT_FOLDER_BOT.$ll);
     		$datepart = str_replace('.log', '', $ll);
     ?>
     <tr class="<?=$ln%2?'altfirst':'altsecond'?>">
     	<td><?=$ln?></td>
     	<td><?=substr($datepart,0,4).'-'.substr($datepart,4,2).'-'.substr($datepart,6)?></td>
    -	<td><?=vbseo_val_show($stat['all']['total'])?></td>
    -	<td><?=vbseo_val_show($stat['all']['forumdisplay.php'])?></td>
    -	<td><?=vbseo_val_show($stat['all']['showthread.php'])?></td>
    -	<td><?=vbseo_val_show($stat['all']['showpost.php'])?></td>
    -	<td><?=vbseo_val_show($stat['all']['member.php'])?></td>
    -	<td><?=vbseo_val_show($stat['all']['total'] - (
    +	<td align="right"><?=vbseo_val_show($stat['all']['total'])?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['forumdisplay.php'])?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['showthread.php'])?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['showpost.php'])?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['member.php'])?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['total'] - (
     		$stat['all']['forumdisplay.php']+$stat['all']['showthread.php']+$stat['all']['showpost.php']+$stat['all']['member.php']
     ));?></td>
     <?
     	$mbots_tot = 0;
     	foreach($main_bots_list as $botname)
     	{
     		$bot_hits = $stat[$botname]['total']+0;
     		$mbots_tot += $bot_hits;
    -		echo "<td>".vbseo_val_show($bot_hits)."</td>\n";
    +		echo "<td align=\"right\">".vbseo_val_show($bot_hits)."</td>\n";
     	}
     ?>
    -	<td><?=vbseo_val_show($stat['all']['total'] - $mbots_tot)?></td>
    +	<td align="right"><?=vbseo_val_show($stat['all']['total'] - $mbots_tot)?></td>
     	<td>
     <a href="index.php?hitdetails=<?=$ll?>">View details</a>
     	</td>
     </tr>
     <?		
     	$pind = $stat['urls_no_tot'];
    @@ -331,15 +331,15 @@
     <?
     	$ln = 0;
     	foreach($pages as $pg=>$cnt)
     	{
     ?>
     <tr <?=$pg=='total' ? ' bgcolor="#ccccff"' : 'class="'.($ln%2?'altfirst':'altsecond').'"';?>>
    -	<td bgcolor="#ccccff"><?=$pg?></td>
    +	<td bgcolor="#ccccff" align="right"><?=$pg?></td>
     <? foreach($bots as $bot) echo "
    -	<td".($bot=='all' ? ' style="font-weight:bold"':'').">".vbseo_val_show($stat[$bot][$pg])."</td>";
    +	<td".($bot=='all' ? ' style="font-weight:bold"':'').' align="right">'.vbseo_val_show($stat[$bot][$pg])."</td>";
     ?>
     </tr>
     <?		
     	$pind = $stat['urls_no_tot'];
     	}
     ?>
    Last edited by Keith Cohen; 12-11-2005 at 04:56 PM.

Similar Threads

  1. GoogleGuy Says Request Re-Inclusion
    By Joe Ward in forum General Discussion
    Replies: 0
    Last Post: 04-28-2006, 04:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •