상품 구매후기(사용후기) 최근게시글
영카트5 사용후기를 최근게시글로 가져오는 소스
<div style="padding:15px 0 0 0;"><a href="<?php echo G5_SHOP_URL; ?>/itemuselist.php"><img src="/v5/img/review_title.jpg" border="0" /></a></div>
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<table style="padding-top:13px;" border="0" width="350" cellpadding="0" cellspacing="0">
<?php
$sql = "select * from ".$g5[g5_shop_item_use_table]." where is_confirm = 1 order by is_id desc limit 6 ";
$result = sql_query($sql) or die(sql_error());
for($i=0 ; $row=sql_fetch_array($result); $i++)
{
$sql2 = " select * from ".$g5[g5_shop_item_table]." where it_id = '".$row[it_id]."' ";
$row2 = sql_fetch($sql2);
$sql3 = " select * from ".$g5[member_table]." where mb_id = '".$row[mb_id]."' ";
$row3 = sql_fetch($sql3);
$star = get_star($row[is_score]);
$it_href = G5_SHOP_URL."/item.php?it_id=".$row['it_id']."";
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
echo "<tr><td width='50'><a href='".$it_href."'>".get_itemuselist_thumbnail($row['it_id'], $row['is_content'], 50, 50)."</td>";
echo "<td style='padding-left:7px;'><a href='".$it_href."'><b>".$row2[it_name]."</b><br>
<font color=#3366cc>".cut_str($row[is_subject],30,"...")."</font></a></td>";
echo "<td align=right>".$row3[mb_name]."<br><img src='shop/img".$cart_skin."/s_star".$star.".png'></td>";
echo "</tr><tr><td height='1' bgcolor='#cfcfcf' colspan='3'</td></tr>";
}
?>
</table>
영카트4 사용후기를 최근게시글로 가져오는 소스
<div style="padding:15px 0 0 0;"><a href="<?php echo $g4['paht'];?>/shop/itemps.all3.php"><img src="/v5/img/main/review_title.jpg" border="0" /></a></div>
<table style="padding-top:20px;" border="0" width="350" cellpadding="0" cellspacing="0">
<?php
$sql = "select * from ".$g4[yc4_item_ps_table]." where is_confirm = 1 order by is_id desc limit 5 ";
$result = mysql_query($sql) or die(mysql_error());
for($i=0 ; $row=mysql_fetch_array($result); $i++)
{
$sql2 = " select * from ".$g4[yc4_item_table]." where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
$sql3 = " select * from ".$g4[member_table]." where mb_id = '$row[mb_id]' ";
$row3 = sql_fetch($sql3);
$star = get_star($row[is_score]);
echo "<tr><td width='50'><img src='".$g4['path']."/data/item/".$row[it_id]."_s' width='40'>";
echo "<td><a href='".$g4['path']."/shop/itemps.all3.php'><b>".$row2[it_name]."</b><br>
<font color=#3366cc>".cut_str($row[is_subject],30,"...")."</font></a></td>";
echo "<td align='right'>".$row3[mb_name]."<br><img src='".$g4['path']."/shop/img".$cart_skin."/star".$star.".gif' border=0></td>";
echo "</tr><tr><td height='1' bgcolor='#cfcfcf' colspan='3'</td></tr>";
}
?></table>
<div style="padding:15px 0 0 0;"><a href="<?php echo G5_SHOP_URL; ?>/itemuselist.php"><img src="/v5/img/review_title.jpg" border="0" /></a></div>
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<table style="padding-top:13px;" border="0" width="350" cellpadding="0" cellspacing="0">
<?php
$sql = "select * from ".$g5[g5_shop_item_use_table]." where is_confirm = 1 order by is_id desc limit 6 ";
$result = sql_query($sql) or die(sql_error());
for($i=0 ; $row=sql_fetch_array($result); $i++)
{
$sql2 = " select * from ".$g5[g5_shop_item_table]." where it_id = '".$row[it_id]."' ";
$row2 = sql_fetch($sql2);
$sql3 = " select * from ".$g5[member_table]." where mb_id = '".$row[mb_id]."' ";
$row3 = sql_fetch($sql3);
$star = get_star($row[is_score]);
$it_href = G5_SHOP_URL."/item.php?it_id=".$row['it_id']."";
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
echo "<tr><td width='50'><a href='".$it_href."'>".get_itemuselist_thumbnail($row['it_id'], $row['is_content'], 50, 50)."</td>";
echo "<td style='padding-left:7px;'><a href='".$it_href."'><b>".$row2[it_name]."</b><br>
<font color=#3366cc>".cut_str($row[is_subject],30,"...")."</font></a></td>";
echo "<td align=right>".$row3[mb_name]."<br><img src='shop/img".$cart_skin."/s_star".$star.".png'></td>";
echo "</tr><tr><td height='1' bgcolor='#cfcfcf' colspan='3'</td></tr>";
}
?>
</table>
영카트4 사용후기를 최근게시글로 가져오는 소스
<div style="padding:15px 0 0 0;"><a href="<?php echo $g4['paht'];?>/shop/itemps.all3.php"><img src="/v5/img/main/review_title.jpg" border="0" /></a></div>
<table style="padding-top:20px;" border="0" width="350" cellpadding="0" cellspacing="0">
<?php
$sql = "select * from ".$g4[yc4_item_ps_table]." where is_confirm = 1 order by is_id desc limit 5 ";
$result = mysql_query($sql) or die(mysql_error());
for($i=0 ; $row=mysql_fetch_array($result); $i++)
{
$sql2 = " select * from ".$g4[yc4_item_table]." where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);
$sql3 = " select * from ".$g4[member_table]." where mb_id = '$row[mb_id]' ";
$row3 = sql_fetch($sql3);
$star = get_star($row[is_score]);
echo "<tr><td width='50'><img src='".$g4['path']."/data/item/".$row[it_id]."_s' width='40'>";
echo "<td><a href='".$g4['path']."/shop/itemps.all3.php'><b>".$row2[it_name]."</b><br>
<font color=#3366cc>".cut_str($row[is_subject],30,"...")."</font></a></td>";
echo "<td align='right'>".$row3[mb_name]."<br><img src='".$g4['path']."/shop/img".$cart_skin."/star".$star.".gif' border=0></td>";
echo "</tr><tr><td height='1' bgcolor='#cfcfcf' colspan='3'</td></tr>";
}
?></table>
댓글 6개
9년 전
감사합니다.
9년 전
오 감사합니다. !!
9년 전
감사합니다. ^^
8년 전
정말 감사드립니다. 모바일 용에 쓰면 딱이네요. :)
8년 전
감사합니다. 사용중 문제 또는 개선사항 있으면 알려주세요
7년 전
잘 사용하겠습니다.감사합니다.
게시판 목록
영카트5 팁자료실
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 371 |
이로홀딩스
|
2년 전 | 1556 | |
| 370 |
페이투페이
|
2년 전 | 1557 | |
| 369 | 2년 전 | 1306 | ||
| 368 | 2년 전 | 1720 | ||
| 367 | 2년 전 | 2063 | ||
| 366 | 2년 전 | 2280 | ||
| 365 | 2년 전 | 2081 | ||
| 364 | 2년 전 | 1609 | ||
| 363 | 3년 전 | 1351 | ||
| 362 | 3년 전 | 3122 | ||
| 361 | 3년 전 | 1924 | ||
| 360 |
|
3년 전 | 2676 | |
| 359 | 3년 전 | 2431 | ||
| 358 | 3년 전 | 1593 | ||
| 357 |
welcome
|
3년 전 | 1321 | |
| 356 | 3년 전 | 1634 | ||
| 355 | 3년 전 | 1899 | ||
| 354 | 3년 전 | 1565 | ||
| 353 | 3년 전 | 1273 | ||
| 352 | 3년 전 | 1323 | ||
| 351 | 3년 전 | 1432 | ||
| 350 | 3년 전 | 2520 | ||
| 349 | 3년 전 | 1677 | ||
| 348 | 3년 전 | 3277 | ||
| 347 | 4년 전 | 4076 | ||
| 346 | 4년 전 | 2826 | ||
| 345 | 4년 전 | 4496 | ||
| 344 |
별지기천사
|
4년 전 | 3991 | |
| 343 | 4년 전 | 3413 | ||
| 342 | 4년 전 | 2029 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기