| @@ 1907-1922 (lines=16) @@ | ||
| 1904 | * @param $info |
|
| 1905 | * @return string |
|
| 1906 | */ |
|
| 1907 | public function packingHtmlSelect($info) |
|
| 1908 | { |
|
| 1909 | $ret = ''; |
|
| 1910 | $ret .= '<div class="oledrion_htmlform">'; |
|
| 1911 | $ret .= '<img class="oledrion_htmlimage" src="' . $info['packing_image_url'] . '" alt="' . $info['packing_title'] . '">'; |
|
| 1912 | $ret .= '<h3>' . $info['packing_title'] . '</h3>'; |
|
| 1913 | if ($info['packing_price'] > 0) { |
|
| 1914 | $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . $info['packing_price_fordisplay'] . '</p>'; |
|
| 1915 | } else { |
|
| 1916 | $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . _OLEDRION_FREE . '</p>'; |
|
| 1917 | } |
|
| 1918 | $ret .= '<p>' . $info['packing_description'] . '</p>'; |
|
| 1919 | $ret .= '</div>'; |
|
| 1920 | ||
| 1921 | return $ret; |
|
| 1922 | } |
|
| 1923 | ||
| 1924 | /** |
|
| 1925 | * @param $info |
|
| @@ 2050-2065 (lines=16) @@ | ||
| 2047 | * @param $info |
|
| 2048 | * @return string |
|
| 2049 | */ |
|
| 2050 | public static function packingHtmlSelect($info) |
|
| 2051 | { |
|
| 2052 | $ret = ''; |
|
| 2053 | $ret .= '<div class="oledrion_htmlform">'; |
|
| 2054 | $ret .= '<img class="oledrion_htmlimage" src="' . $info['packing_image_url'] . '" alt="' . $info['packing_title'] . '">'; |
|
| 2055 | $ret .= '<h3>' . $info['packing_title'] . '</h3>'; |
|
| 2056 | if ($info['packing_price'] > 0) { |
|
| 2057 | $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . $info['packing_price_fordisplay'] . '</p>'; |
|
| 2058 | } else { |
|
| 2059 | $ret .= '<p><span class="bold">' . _OLEDRION_PRICE . '</span> : ' . _OLEDRION_FREE . '</p>'; |
|
| 2060 | } |
|
| 2061 | $ret .= '<p>' . $info['packing_description'] . '</p>'; |
|
| 2062 | $ret .= '</div>'; |
|
| 2063 | ||
| 2064 | return $ret; |
|
| 2065 | } |
|
| 2066 | ||
| 2067 | /** |
|
| 2068 | * @param $info |
|