|
@@ 133-136 (lines=4) @@
|
| 130 |
|
$tblTmp = $h_oledrion_products->getLowStocks(0, $itemsCount); |
| 131 |
|
echo "<table border='0' cellpadding='2' cellspacing='2' width='100%'>"; |
| 132 |
|
echo "<tr><th align='center'>" . _OLEDRION_TITLE . "</th><th align='center'>" . _OLEDRION_STOCK_QUANTITY . "</th></tr>\n"; |
| 133 |
|
foreach ($tblTmp as $item) { |
| 134 |
|
$link = "<a href='" . OLEDRION_URL . 'product.php?product_id=' . $item->getVar('product_id') . "'>" . $item->getVar('product_title') . '</a>'; |
| 135 |
|
echo '<tr><td>' . $link . "</td><td align='right'>" . $item->getVar('product_stock') . '</td></tr>'; |
| 136 |
|
} |
| 137 |
|
echo '</table>'; |
| 138 |
|
echo '</td></tr>'; |
| 139 |
|
|
|
@@ 167-170 (lines=4) @@
|
| 164 |
|
echo "</td><td valign='top' width='50%' align='center'><b>" . _MI_OLEDRION_BNAME2 . '</b>'; |
| 165 |
|
echo "<table border='0' cellpadding='2' cellspacing='2' width='100%'>"; |
| 166 |
|
echo "<tr><th align='center'>" . _OLEDRION_TITLE . "</th><th align='center'>" . _OLEDRION_HITS . "</th></tr>\n"; |
| 167 |
|
foreach ($tblTmp as $item) { |
| 168 |
|
$link = "<a href='" . OLEDRION_URL . 'product.php?product_id=' . $item->getVar('product_id') . "'>" . $item->getVar('product_title') . '</a>'; |
| 169 |
|
echo '<tr><td>' . $link . "</td><td align='right'>" . $item->getVar('product_hits') . '</td></tr>'; |
| 170 |
|
} |
| 171 |
|
echo '</table>'; |
| 172 |
|
echo '</td></tr>'; |
| 173 |
|
|