diff --git a/src/system/archive/freelist.class.php b/src/system/archive/freelist.class.php index 158e5803..75f6a3e7 100755 --- a/src/system/archive/freelist.class.php +++ b/src/system/archive/freelist.class.php @@ -595,21 +595,20 @@ class FreeList } } $artlist .= $indtp->GetResult(); - } //if hasRow - else { + } else { $artlist .= ''; } if ($col > 1) { $artlist .= ""; } - } //Loop Col + } if ($col > 1) { $i += $col - 1; } if ($col > 1) { $artlist .= ""; } - } //Loop Line + } if ($col > 1) { $artlist .= ""; } diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 36624c62..285ba90d 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -1009,13 +1009,13 @@ class ListView } } $artlist .= $this->dtp2->GetResult(); - }//if hasRow - }//Loop Col + } + } if ($col > 1) { $i += $col - 1; $artlist .= ""; } - }//Loop Line + } $t3 = ExecTime(); $this->dsql->FreeResult('al'); return $artlist; diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index 31264144..61bee5d5 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -607,16 +607,15 @@ class SearchView } } $artlist .= $this->dtp2->GetResult(); - } //if hasRow - else { + } else { $artlist .= ''; } if ($col > 1) $artlist .= ""; - } //Loop Col + } if ($col > 1) { $artlist .= ""; } - } //Loop Line + } if ($col > 1) { $artlist .= ""; } diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index ef6180ff..bc756048 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -842,13 +842,13 @@ class SgListView } } $artlist .= $this->dtp2->GetResult(); - } //if hasRow - }//Loop Col + } + } if ($col > 1) { $i += $col - 1; $artlist .= ""; } - }//Loop Line + } $t3 = ExecTime(); $this->dsql->FreeResult('al'); return $artlist; diff --git a/src/system/archive/specview.class.php b/src/system/archive/specview.class.php index 70b072d5..61126bd1 100755 --- a/src/system/archive/specview.class.php +++ b/src/system/archive/specview.class.php @@ -403,18 +403,17 @@ class SpecView } } $artlist .= $this->dtp2->GetResult(); - }//if hasRow - else { + } else { $artlist .= ''; } if ($col > 1) { $artlist .= ""; } - }//Loop Col + } if ($col > 1) { $artlist .= ""; } - }//Loop Line + } if ($col > 1) { $artlist .= ""; } diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 03b4745d..ccaa4405 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -379,13 +379,13 @@ class TagList } } $artlist .= $this->dtp2->GetResult(); - }//if hasRow - }//Loop Col + } + } if ($col > 1) { $i += $col - 1; $artlist .= ""; } - }//Loop Line + } $this->dsql->FreeResult('al'); return $artlist; }