Code Duplication    Length = 5-5 lines in 2 locations

class/oledrion_utils.php 2 locations

@@ 1912-1916 (lines=5) @@
1909
        $ret .= '<div class="oledrion_htmlform">';
1910
        $ret .= '<img class="oledrion_htmlimage" src="' . $info['packing_image_url'] . '" alt="' . $info['packing_title'] . '" />';
1911
        $ret .= '<h3>' . $info['packing_title'] . '</h3>';
1912
        if ($info['packing_price'] > 0) {
1913
            $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . $info['packing_price_fordisplay'] . '</p>';
1914
        } else {
1915
            $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . _OLEDRION_FREE . '</p>';
1916
        }
1917
        $ret .= '<p>' . $info['packing_description'] . '</p>';
1918
        $ret .= '</div>';
1919
@@ 1933-1937 (lines=5) @@
1930
        $ret .= '<div class="oledrion_htmlform">';
1931
        $ret .= '<img class="oledrion_htmlimage" src="' . $info['delivery_image_url'] . '" alt="' . $info['delivery_title'] . '" />';
1932
        $ret .= '<h3>' . $info['delivery_title'] . '</h3>';
1933
        if ($info['delivery_price'] > 0) {
1934
            $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . $info['delivery_price_fordisplay'] . '</p>';
1935
        } else {
1936
            $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . _OLEDRION_FREE . '</p>';
1937
        }
1938
        $ret .= '<p><span class="bold">' . _OLEDRION_DELIVERY_TIME . '</span> : ' . $info['delivery_time'] . _OLEDRION_DELIVERY_DAY . '</p>';
1939
        $ret .= '<p>' . $info['delivery_description'] . '</p>';
1940
        $ret .= '</div>';