phpBMS

Show
Ignore:
Timestamp:
03/26/07 16:50:25 (5 years ago)
Author:
brieb
Message:

Updated XHTML compliance

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/products_saleshistory.php

    r204 r205  
    116116                   <label for="status">type</label><br /> 
    117117                   <select name="status" id="status"> 
    118                                 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected"?>>Orders/Invoices</option> 
    119                                 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected"?>>Invoices</option> 
    120                                 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected"?>>Orders</option> 
     118                                <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected=\"selected\""?>>Orders/Invoices</option> 
     119                                <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected=\"selected\""?>>Invoices</option> 
     120                                <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected=\"selected\""?>>Orders</option> 
    121121                   </select>                                                             
    122122                </p> 
     
    138138   <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 
    139139        <tr> 
    140          <th align="center" nowrap class="queryheader">ID</th> 
    141          <th align="center" nowrap class="queryheader">Order Date</th> 
    142          <th nowrap class="queryheader" width="100%" align="left">Client</th> 
    143          <th align="center" nowrap class="queryheader">Qty.</th> 
    144          <th align="right" nowrap class="queryheader">Unit Cost</th> 
    145          <th align="right" nowrap class="queryheader">Cost Ext.</th> 
    146          <th align="right" nowrap class="queryheader">Unit Price</th> 
    147          <th align="right" nowrap class="queryheader">Price Ext.</th> 
     140         <th align="center" nowrap="nowrap" class="queryheader">ID</th> 
     141         <th align="center" nowrap="nowrap" class="queryheader">Order Date</th> 
     142         <th nowrap="nowrap" class="queryheader" width="100%" align="left">Client</th> 
     143         <th align="center" nowrap="nowrap" class="queryheader">Qty.</th> 
     144         <th align="right" nowrap="nowrap" class="queryheader">Unit Cost</th> 
     145         <th align="right" nowrap="nowrap" class="queryheader">Cost Ext.</th> 
     146         <th align="right" nowrap="nowrap" class="queryheader">Unit Price</th> 
     147         <th align="right" nowrap="nowrap" class="queryheader">Price Ext.</th> 
    148148        </tr> 
    149149    <?php        
     
    163163?> 
    164164        <tr class="row<?php echo $row?>"> 
    165          <td align="center" nowrap><?php echo $therecord["id"]?></td> 
    166          <td align="center" nowrap><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):"&nbsp;" ?></td> 
    167          <td nowrap><?php echo $therecord["client"]?></td> 
    168          <td align="center" nowrap><?php echo number_format($therecord["qty"],2)?></td> 
    169          <td align="right" nowrap><?php echo "\$".number_format($therecord["cost"],2)?></td> 
    170          <td align="right" nowrap><?php echo "\$".number_format($therecord["extendedcost"],2)?></td> 
    171          <td align="right" nowrap><?php echo "\$".number_format($therecord["price"],2)?></td> 
    172          <td align="right" nowrap><?php echo "\$".number_format($therecord["extended"],2)?></td> 
     165         <td align="center" nowrap="nowrap"><?php echo $therecord["id"]?></td> 
     166         <td align="center" nowrap="nowrap"><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):"&nbsp;" ?></td> 
     167         <td nowrap="nowrap"><?php echo $therecord["client"]?></td> 
     168         <td align="center" nowrap="nowrap"><?php echo number_format($therecord["qty"],2)?></td> 
     169         <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["cost"],2)?></td> 
     170         <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extendedcost"],2)?></td> 
     171         <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 
     172         <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 
    173173        </tr> 
    174174    <?php } if(!mysql_num_rows($queryresult)) {?> 
    175         <tr><td colspan="9" align=center style="padding:0px;"><div class="norecords">No Sales Data for Given Timeframe</div></td></tr> 
     175        <tr><td colspan="9" align="center" style="padding:0px;"><div class="norecords">No Sales Data for Given Timeframe</div></td></tr> 
    176176        <?php }?> 
    177177        <tr> 
     
    180180         <td class="queryfooter">&nbsp;</td> 
    181181         <td align="center" class="queryfooter"><?php echo number_format($totalquantity,2)?></td> 
    182          <td align="right" nowrap class="queryfooter">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td> 
     182         <td align="right" nowrap="nowrap" class="queryfooter">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td> 
    183183         <td align="right" class="queryfooter"><?php echo "\$".number_format($totalcostextended,2)?></td> 
    184          <td align="right" nowrap class="queryfooter">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td> 
     184         <td align="right" nowrap="nowrap" class="queryfooter">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td> 
    185185         <td align="right" class="queryfooter"><?php echo "\$".number_format($totalextended,2)?></td> 
    186186        </tr> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.