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/clients_purchasehistory.php

    r204 r205  
    123123                           <label for="status">type</label><br /> 
    124124                           <select name="status" id="status"> 
    125                                         <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected"?>>Orders/Invoices</option> 
    126                                         <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected"?>>Invoices</option> 
    127                                         <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected"?>>Orders</option> 
     125                                        <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected=\"selected\""?>>Orders/Invoices</option> 
     126                                        <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected=\"selected\""?>>Invoices</option> 
     127                                        <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected=\"selected\""?>>Orders</option> 
    128128                           </select>                                                             
    129129                        </p> 
     
    145145        <table border="0" cellpadding="0" cellspacing="0" class="querytable"> 
    146146                <tr> 
    147                         <th align="left" nowrap class="queryheader" colspan="4">invoice</th> 
    148                         <th align="left" nowrap class="queryheader" colspan="3">product</th>             
    149                         <th align="left" nowrap class="queryheader" colspan="2">line item</th> 
     147                        <th align="left" nowrap="nowrap" class="queryheader" colspan="4">invoice</th> 
     148                        <th align="left" nowrap="nowrap" class="queryheader" colspan="3">product</th>            
     149                        <th align="left" nowrap="nowrap" class="queryheader" colspan="2">line item</th> 
    150150                </tr> 
    151151                <tr> 
    152                         <th align="center" nowrap class="queryheader" colspan=2>id</th> 
    153                         <th align="left" nowrap class="queryheader">type</th> 
    154                         <th align="left" nowrap class="queryheader">date</th> 
    155                         <th nowrap class="queryheader" align="left">part num. </th> 
     152                        <th align="center" nowrap="nowrap" class="queryheader" colspan="2">id</th> 
     153                        <th align="left" nowrap="nowrap" class="queryheader">type</th> 
     154                        <th align="left" nowrap="nowrap" class="queryheader">date</th> 
     155                        <th nowrap="nowrap" class="queryheader" align="left">part num. </th> 
    156156                        <th width="100%" class="queryheader" align="left">name</th> 
    157                         <th align="right" nowrap class="queryheader">price</th> 
    158                         <th align="center" nowrap class="queryheader">qty.</th> 
    159                         <th align="right" nowrap class="queryheader">ext.</th> 
     157                        <th align="right" nowrap="nowrap" class="queryheader">price</th> 
     158                        <th align="center" nowrap="nowrap" class="queryheader">qty.</th> 
     159                        <th align="right" nowrap="nowrap" class="queryheader">ext.</th> 
    160160                </tr> 
    161161    <?php  
     
    168168        <tr class="row<?php echo $row?>"> 
    169169                <td > 
    170                         <button type="button" class="invisibleButtons" onClick="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button> 
     170                        <button type="button" class="invisibleButtons" onclick="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button> 
    171171                </td> 
    172                 <td align="left" nowrap><?php echo $therecord["id"]?$therecord["id"]:"&nbsp;" ?></td> 
    173                 <td align="left" nowrap><?php echo $therecord["type"]?$therecord["type"]:"&nbsp;" ?></td> 
    174                 <td align="left" nowrap><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):"&nbsp;" ?></td> 
    175                 <td nowrap><?php echo $therecord["partnumber"]?></td> 
     172                <td align="left" nowrap="nowrap"><?php echo $therecord["id"]?$therecord["id"]:"&nbsp;" ?></td> 
     173                <td align="left" nowrap="nowrap"><?php echo $therecord["type"]?$therecord["type"]:"&nbsp;" ?></td> 
     174                <td align="left" nowrap="nowrap"><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):"&nbsp;" ?></td> 
     175                <td nowrap="nowrap"><?php echo $therecord["partnumber"]?></td> 
    176176                <td ><?php echo $therecord["partname"]?></td> 
    177                 <td align="right" nowrap><?php echo "\$".number_format($therecord["price"],2)?></td> 
    178                 <td align="center" nowrap><?php echo $therecord["qty"]?></td> 
    179                 <td align="right" nowrap><?php echo "\$".number_format($therecord["extended"],2)?></td> 
     177                <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 
     178                <td align="center" nowrap="nowrap"><?php echo $therecord["qty"]?></td> 
     179                <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 
    180180        </tr> 
    181181    <?php }//end while ?> 
     
    184184        <?php }?>        
    185185        <tr> 
    186          <td align="center" class="queryfooter" colspan=2>&nbsp;</td> 
     186         <td align="center" class="queryfooter" colspan="2">&nbsp;</td> 
    187187         <td align="center" class="queryfooter">&nbsp;</td> 
    188188         <td align="center" class="queryfooter">&nbsp;</td> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.