diff --git a/shop/largeimage.php b/shop/largeimage.php
index 3d40da0ae..3ffefeb78 100644
--- a/shop/largeimage.php
+++ b/shop/largeimage.php
@@ -1,29 +1,33 @@
include_once("./_common.php");
-$sql = " select it_name from $g4[yc4_item_table] where it_id='$it_id' ";
+$sql = " select it_name, it_img1, it_img2, it_img3, it_img4, it_img5, it_img6, it_img7, it_img8, it_img9, it_img10
+ from $g4[yc4_item_table]
+ where it_id='$it_id' ";
$row = sql_fetch_array(sql_query($sql));
-$imagefile = "$g4[path]/data/item/$img";
+$imagefile = G4_DATA_PATH."/item/$img";
+$imagefile_url = G4_DATA_URL."/item/$img";
$size = getimagesize($imagefile);
-$g4[title] = "$row[it_name] ($it_id)";
-include_once("$g4[path]/head.sub.php");
+$g4['title'] = "{$row['it_name']} ($it_id)";
+include_once(G4_PATH.'/head.sub.php');
?>
![]() |
+ ![]() |
- for ($i=1; $i<=5; $i++)
+ for ($i=1; $i<=10; $i++)
{
- if (file_exists("$g4[path]/data/item/{$it_id}_l{$i}"))
- echo " |