|
From: <vv...@us...> - 2012-04-17 21:56:51
|
Revision: 5259
http://web-erp.svn.sourceforge.net/web-erp/?rev=5259&view=rev
Author: vvs2012
Date: 2012-04-17 21:56:45 +0000 (Tue, 17 Apr 2012)
Log Message:
-----------
xhtml
Modified Paths:
--------------
trunk/SelectCustomer.php
trunk/SelectSupplier.php
Modified: trunk/SelectCustomer.php
===================================================================
--- trunk/SelectCustomer.php 2012-04-17 12:27:33 UTC (rev 5258)
+++ trunk/SelectCustomer.php 2012-04-17 21:56:45 UTC (rev 5259)
@@ -556,7 +556,6 @@
AND type !=12";
$Total1Result = DB_query($SQL, $db);
$row = DB_fetch_array($Total1Result);
- echo '<tr><td colspan="2">';
echo '<table width="45%" cellpadding="4">';
echo '<tr><th style="width:33%" colspan="3">' . _('Customer Data') . '</th></tr>';
echo '<tr><td valign="top" class="select">'; /* Customer Data */
@@ -597,19 +596,16 @@
<td class="select"><b>' . $CustomerTypeName . '</b></td>
<td class="select"></td>
</tr>';
- echo '</th>
- </tr>
- </table>';
+ echo '</table>';
}
// Customer Contacts
- echo '<tr><td colspan="2">';
$sql = "SELECT * FROM custcontacts
WHERE debtorno='" . $_SESSION['CustomerID'] . "'
ORDER BY contid";
$result = DB_query($sql, $db);
if (DB_num_rows($result) <> 0) {
- echo '<table width="45%">';
- echo '<br /><th colspan="7"><img src="' . $rootpath . '/css/' . $theme . '/images/group_add.png" title="' . _('Customer Contacts') . '" alt="" />' . ' ' . _('Customer Contacts') . '</th>';
+ echo '<br /><div class="centre"><img src="' . $rootpath . '/css/' . $theme . '/images/group_add.png" title="' . _('Customer Contacts') . '" alt="" />' . ' ' . _('Customer Contacts') . '</div>';
+ echo '<br /><table width="45%">';
echo '<tr>
<th>' . _('Name') . '</th>
<th>' . _('Role') . '</th>
@@ -632,7 +628,7 @@
echo '<td>' . $myrow[2] . '</td>
<td>' . $myrow[3] . '</td>
<td>' . $myrow[4] . '</td>
- <td><a href=mailto:' . $myrow[6] . '>' . $myrow[6] . '</a></td>
+ <td><a href="mailto:' . $myrow[6] . '">' . $myrow[6] . '</a></td>
<td>' . $myrow[5] . '</td>
<td><a href="AddCustomerContacts.php?Id=' . $myrow[0] . '&DebtorNo=' . $myrow[1] . '">' . _('Edit') . '</a></td>
<td><a href="AddCustomerContacts.php?Id=' . $myrow[0] . '&DebtorNo=' . $myrow[1] . '&delete=1">' . _('Delete') . '</a></td>
@@ -645,7 +641,6 @@
}
}
// Customer Notes
- echo '<tr><td colspan="2">';
$sql = "SELECT * FROM custnotes
WHERE debtorno='" . $_SESSION['CustomerID'] . "'
ORDER BY date DESC";
@@ -686,7 +681,6 @@
}
}
// Custome Type Notes
- echo '<tr><td colspan="2">';
$sql = "SELECT * FROM debtortypenotes
WHERE typeid='" . $CustomerType . "'
ORDER BY date DESC";
Modified: trunk/SelectSupplier.php
===================================================================
--- trunk/SelectSupplier.php 2012-04-17 12:27:33 UTC (rev 5258)
+++ trunk/SelectSupplier.php 2012-04-17 21:56:45 UTC (rev 5259)
@@ -350,7 +350,6 @@
$Total1Result = DB_query($SQL, $db);
$row = DB_fetch_array($Total1Result);
echo '<br />';
- echo '<tr><td colspan="2">';
echo '<table width="45%" cellpadding="4">';
echo '<tr><th style="width:33%" colspan="2">' . _('Supplier Data') . '</th></tr>';
echo '<tr><td valign="top" class="select">'; /* Supplier Data */
@@ -375,9 +374,7 @@
<td valign="top" class="select">'._('Total Spend with this Supplier:') . '</td>
<td valign="top" class="select"> <b>' . locale_number_format($row['total'], $myrow['currdecimalplaces']) . '</b></td>
</tr>';
- echo '</th>
- </tr>
- </table>';
+ echo '</table>';
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|