| @@ 611-634 (lines=24) @@ | ||
| 608 | } |
|
| 609 | sql_free_result($rs); |
|
| 610 | ||
| 611 | if ($group_line != '') { |
|
| 612 | $group_img = $cache_attrib_group; |
|
| 613 | $group_img = mb_ereg_replace('{color}', $rAttrGroup['color'], $group_img); |
|
| 614 | $group_img = mb_ereg_replace('{attribs}', $group_line, $group_img); |
|
| 615 | $group_img = mb_ereg_replace( |
|
| 616 | '{name}', |
|
| 617 | htmlspecialchars( |
|
| 618 | $rAttrGroup['name'], |
|
| 619 | ENT_COMPAT, |
|
| 620 | 'UTF-8' |
|
| 621 | ), |
|
| 622 | $group_img |
|
| 623 | ); |
|
| 624 | ||
| 625 | if ($bBeginLine == true) { |
|
| 626 | $cache_attrib_list .= '<div class="attribswide">'; |
|
| 627 | $bBeginLine = false; |
|
| 628 | } |
|
| 629 | ||
| 630 | $cache_attrib_list .= $group_img; |
|
| 631 | $nPrevLineAttrCount += $nLineAttrCount; |
|
| 632 | ||
| 633 | $nLineAttrCount = 0; |
|
| 634 | } |
|
| 635 | } |
|
| 636 | sql_free_result($rsAttrGroup); |
|
| 637 | if ($bBeginLine == false) { |
|
| @@ 815-834 (lines=20) @@ | ||
| 812 | } |
|
| 813 | sql_free_result($rs); |
|
| 814 | ||
| 815 | if ($group_line != '') { |
|
| 816 | $group_img = $cache_attrib_group; |
|
| 817 | $group_img = mb_ereg_replace('{color}', $rAttrGroup['color'], $group_img); |
|
| 818 | $group_img = mb_ereg_replace('{attribs}', $group_line, $group_img); |
|
| 819 | $group_img = mb_ereg_replace( |
|
| 820 | '{name}', |
|
| 821 | htmlspecialchars($rAttrGroup['name'], ENT_COMPAT, 'UTF-8'), |
|
| 822 | $group_img |
|
| 823 | ); |
|
| 824 | ||
| 825 | if ($bBeginLine == true) { |
|
| 826 | $cache_attrib_list .= '<div class="attribswide">'; |
|
| 827 | $bBeginLine = false; |
|
| 828 | } |
|
| 829 | ||
| 830 | $cache_attrib_list .= $group_img; |
|
| 831 | $nPrevLineAttrCount += $nLineAttrCount; |
|
| 832 | ||
| 833 | $nLineAttrCount = 0; |
|
| 834 | } |
|
| 835 | } |
|
| 836 | sql_free_result($rsAttrGroup); |
|
| 837 | if ($bBeginLine == false) { |
|
| @@ 2114-2133 (lines=20) @@ | ||
| 2111 | } |
|
| 2112 | sql_free_result($rs); |
|
| 2113 | ||
| 2114 | if ($group_line != '') { |
|
| 2115 | $group_img = $cache_attrib_group; |
|
| 2116 | $group_img = mb_ereg_replace('{color}', $rAttrGroup['color'], $group_img); |
|
| 2117 | $group_img = mb_ereg_replace('{attribs}', $group_line, $group_img); |
|
| 2118 | $group_img = mb_ereg_replace( |
|
| 2119 | '{name}', |
|
| 2120 | htmlspecialchars($rAttrGroup['name'], ENT_COMPAT, 'UTF-8'), |
|
| 2121 | $group_img |
|
| 2122 | ); |
|
| 2123 | ||
| 2124 | if ($bBeginLine2 == true) { |
|
| 2125 | $attributes_img2 .= '<div id="attribs2">'; |
|
| 2126 | $bBeginLine2 = false; |
|
| 2127 | } |
|
| 2128 | ||
| 2129 | $attributes_img2 .= $group_img; |
|
| 2130 | $nPrevLineAttrCount2 += $nLineAttrCount2; |
|
| 2131 | ||
| 2132 | $nLineAttrCount2 = 0; |
|
| 2133 | } |
|
| 2134 | } |
|
| 2135 | sql_free_result($rsAttrGroup); |
|
| 2136 | if ($bBeginLine2 == false) { |
|
| @@ 2222-2241 (lines=20) @@ | ||
| 2219 | } |
|
| 2220 | sql_free_result($rs); |
|
| 2221 | ||
| 2222 | if ($group_line != '') { |
|
| 2223 | $group_img = $cache_attrib_group; |
|
| 2224 | $group_img = mb_ereg_replace('{color}', $rAttrGroup['color'], $group_img); |
|
| 2225 | $group_img = mb_ereg_replace('{attribs}', $group_line, $group_img); |
|
| 2226 | $group_img = mb_ereg_replace( |
|
| 2227 | '{name}', |
|
| 2228 | htmlspecialchars($rAttrGroup['name'], ENT_COMPAT, 'UTF-8'), |
|
| 2229 | $group_img |
|
| 2230 | ); |
|
| 2231 | ||
| 2232 | if ($bBeginLine1 == true) { |
|
| 2233 | $attributes_img1 .= '<div id="attribs1">'; |
|
| 2234 | $bBeginLine1 = false; |
|
| 2235 | } |
|
| 2236 | ||
| 2237 | $attributes_img1 .= $group_img; |
|
| 2238 | $nPrevLineAttrCount1 += $nLineAttrCount1; |
|
| 2239 | ||
| 2240 | $nLineAttrCount1 = 0; |
|
| 2241 | } |
|
| 2242 | } |
|
| 2243 | sql_free_result($rsAttrGroup); |
|
| 2244 | if ($bBeginLine1 == false) { |
|