lib/shop.lib.php
**************
list($it_id, $simg) = explode("_", $img);
$sql = " select it_name from $g4[yc4_item_table] where it_id = '$it_id' ";
$row = sql_fetch($sql);
$full_img = "$g4[path]/data/item/$img";
if (file_exists($full_img) && $img)
{
if (!$width)
{
$size = getimagesize($full_img);
$width = $size[0];
$height = $size[1];
}
$str = "<img id='$img' src='$g4[path]/data/item/$img' width='$width' height='$height' border='0' alt='$row[it_name]'>";
}
**************
list($it_id, $simg) = explode("_", $img);
$sql = " select it_name from $g4[yc4_item_table] where it_id = '$it_id' ";
$row = sql_fetch($sql);
$full_img = "$g4[path]/data/item/$img";
if (file_exists($full_img) && $img)
{
if (!$width)
{
$size = getimagesize($full_img);
$width = $size[0];
$height = $size[1];
}
$str = "<img id='$img' src='$g4[path]/data/item/$img' width='$width' height='$height' border='0' alt='$row[it_name]'>";
}
게시글 목록
| 번호 | 제목 |
|---|---|
| 1440 | |
| 1434 | |
| 1433 | |
| 1428 | |
| 1421 | |
| 1397 | |
| 1396 | |
| 1388 | |
| 1379 | |
| 1378 | |
| 1377 | |
| 1367 | |
| 1365 | |
| 1362 | |
| 1348 | |
| 1343 | |
| 1335 | |
| 1318 | |
| 1311 | |
| 1310 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기