@@ -595,21 +595,20 @@ class FreeList | |||||
} | } | ||||
} | } | ||||
$artlist .= $indtp->GetResult(); | $artlist .= $indtp->GetResult(); | ||||
} //if hasRow | |||||
else { | |||||
} else { | |||||
$artlist .= ''; | $artlist .= ''; | ||||
} | } | ||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</td>"; | $artlist .= "</td>"; | ||||
} | } | ||||
} //Loop Col | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$i += $col - 1; | $i += $col - 1; | ||||
} | } | ||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</tr>"; | $artlist .= "</tr>"; | ||||
} | } | ||||
} //Loop Line | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</table>"; | $artlist .= "</table>"; | ||||
} | } | ||||
@@ -1009,13 +1009,13 @@ class ListView | |||||
} | } | ||||
} | } | ||||
$artlist .= $this->dtp2->GetResult(); | $artlist .= $this->dtp2->GetResult(); | ||||
}//if hasRow | |||||
}//Loop Col | |||||
} | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$i += $col - 1; | $i += $col - 1; | ||||
$artlist .= "</div>"; | $artlist .= "</div>"; | ||||
} | } | ||||
}//Loop Line | |||||
} | |||||
$t3 = ExecTime(); | $t3 = ExecTime(); | ||||
$this->dsql->FreeResult('al'); | $this->dsql->FreeResult('al'); | ||||
return $artlist; | return $artlist; | ||||
@@ -607,16 +607,15 @@ class SearchView | |||||
} | } | ||||
} | } | ||||
$artlist .= $this->dtp2->GetResult(); | $artlist .= $this->dtp2->GetResult(); | ||||
} //if hasRow | |||||
else { | |||||
} else { | |||||
$artlist .= ''; | $artlist .= ''; | ||||
} | } | ||||
if ($col > 1) $artlist .= "</td>"; | if ($col > 1) $artlist .= "</td>"; | ||||
} //Loop Col | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</tr>"; | $artlist .= "</tr>"; | ||||
} | } | ||||
} //Loop Line | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</table>"; | $artlist .= "</table>"; | ||||
} | } | ||||
@@ -842,13 +842,13 @@ class SgListView | |||||
} | } | ||||
} | } | ||||
$artlist .= $this->dtp2->GetResult(); | $artlist .= $this->dtp2->GetResult(); | ||||
} //if hasRow | |||||
}//Loop Col | |||||
} | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$i += $col - 1; | $i += $col - 1; | ||||
$artlist .= "</div>"; | $artlist .= "</div>"; | ||||
} | } | ||||
}//Loop Line | |||||
} | |||||
$t3 = ExecTime(); | $t3 = ExecTime(); | ||||
$this->dsql->FreeResult('al'); | $this->dsql->FreeResult('al'); | ||||
return $artlist; | return $artlist; | ||||
@@ -403,18 +403,17 @@ class SpecView | |||||
} | } | ||||
} | } | ||||
$artlist .= $this->dtp2->GetResult(); | $artlist .= $this->dtp2->GetResult(); | ||||
}//if hasRow | |||||
else { | |||||
} else { | |||||
$artlist .= ''; | $artlist .= ''; | ||||
} | } | ||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</td>"; | $artlist .= "</td>"; | ||||
} | } | ||||
}//Loop Col | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</tr>"; | $artlist .= "</tr>"; | ||||
} | } | ||||
}//Loop Line | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$artlist .= "</table>"; | $artlist .= "</table>"; | ||||
} | } | ||||
@@ -379,13 +379,13 @@ class TagList | |||||
} | } | ||||
} | } | ||||
$artlist .= $this->dtp2->GetResult(); | $artlist .= $this->dtp2->GetResult(); | ||||
}//if hasRow | |||||
}//Loop Col | |||||
} | |||||
} | |||||
if ($col > 1) { | if ($col > 1) { | ||||
$i += $col - 1; | $i += $col - 1; | ||||
$artlist .= "</div>"; | $artlist .= "</div>"; | ||||
} | } | ||||
}//Loop Line | |||||
} | |||||
$this->dsql->FreeResult('al'); | $this->dsql->FreeResult('al'); | ||||
return $artlist; | return $artlist; | ||||
} | } | ||||