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]'>";
}
게시글 목록
| 번호 | 제목 |
|---|---|
| 1534 | |
| 1526 | |
| 1518 | |
| 1516 | |
| 1515 | |
| 1501 | |
| 1498 | |
| 1496 | |
| 1491 | |
| 1488 | |
| 1487 | |
| 1481 | |
| 1473 | |
| 1472 | |
| 1466 | |
| 1462 | |
| 1450 | |
| 1449 | |
| 1447 | |
| 1446 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기