No Category
This commit is contained in:
parent
f027dade8f
commit
16ab6ce800
@ -1186,13 +1186,22 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
|
|
||||||
<div class="row2<?php if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
<div class="row2<?php if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
||||||
print 'withhead';
|
print 'withhead';
|
||||||
} ?>">
|
} ?>"
|
||||||
|
<?php
|
||||||
|
if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
||||||
|
print '';
|
||||||
|
}
|
||||||
|
?>>
|
||||||
|
|
||||||
<!-- Show categories -->
|
<!-- Show categories -->
|
||||||
<div class="div4">
|
<?php
|
||||||
<?php
|
if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
||||||
$count = 0;
|
print '<div class="div4" style= "display: none;">';
|
||||||
while ($count < $MAXCATEG) {
|
} else {
|
||||||
|
print '<div class="div4">';
|
||||||
|
}
|
||||||
|
$count = 0;
|
||||||
|
while ($count < $MAXCATEG) {
|
||||||
?>
|
?>
|
||||||
<div class="wrapper" <?php if ($count == ($MAXCATEG - 2)) {
|
<div class="wrapper" <?php if ($count == ($MAXCATEG - 2)) {
|
||||||
echo 'onclick="MoreCategories(\'less\');"';
|
echo 'onclick="MoreCategories(\'less\');"';
|
||||||
@ -1228,12 +1237,19 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Show product -->
|
<!-- Show product -->
|
||||||
<div class="div5">
|
<div class="div5"<?php if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
||||||
|
print ' style="width:100%;"';
|
||||||
|
} ?>>
|
||||||
<?php
|
<?php
|
||||||
$count = 0;
|
$count = 0;
|
||||||
while ($count < $MAXPRODUCT) {
|
while ($count < $MAXPRODUCT) {
|
||||||
?>
|
if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
||||||
<div class="wrapper2" id='prodiv<?php echo $count; ?>' <?php if ($count == ($MAXPRODUCT - 2)) {
|
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
||||||
|
} else {
|
||||||
|
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<?php if ($count == ($MAXPRODUCT - 2)) {
|
||||||
?> onclick="MoreProducts('less');" <?php
|
?> onclick="MoreProducts('less');" <?php
|
||||||
} if ($count == ($MAXPRODUCT - 1)) {
|
} if ($count == ($MAXPRODUCT - 1)) {
|
||||||
?> onclick="MoreProducts('more');" <?php
|
?> onclick="MoreProducts('more');" <?php
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user