공통: 상품목록 sct_img, sct_txt, sct_id div 로 변경

This commit is contained in:
whitedot
2014-03-03 13:56:24 +09:00
parent 5b7b5dd312
commit b949e7432e
14 changed files with 80 additions and 74 deletions

View File

@ -21,7 +21,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_img\">\n";
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_img) {
@ -29,7 +29,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_icon) {
@ -37,11 +37,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_it_id) {
echo "<span class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</span>\n";
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
}
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n";
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_name) {
@ -49,7 +49,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_basic && $row['it_basic']) {

View File

@ -21,7 +21,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_img\">\n";
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_img) {
@ -29,7 +29,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_icon) {
@ -37,11 +37,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_it_id) {
echo "<span class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</span>\n";
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
}
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n";
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_name) {
@ -49,7 +49,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_basic && $row['it_basic']) {

View File

@ -21,7 +21,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_img\">\n";
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_img) {
@ -29,7 +29,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_icon) {
@ -37,11 +37,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_it_id) {
echo "<span class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</span>\n";
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
}
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n";
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
}
if ($this->view_it_name) {
@ -49,7 +49,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
}
if ($this->href) {
echo "</a>\n";
echo "</a></div>\n";
}
if ($this->view_it_basic && $row['it_basic']) {