쇼핑몰관리 : #25 #27 #28 #29 #30 PHP 코딩 수정

This commit is contained in:
rollydream
2013-04-04 09:59:21 +09:00
parent 59e1a930bf
commit 9c31a66867
5 changed files with 9 additions and 8 deletions

View File

@ -92,7 +92,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
}
if ($i == 0) {
echo "<tr><td colspan=\"8\" class=\"banner_center\"><span>자료가 한건도 없습니다.</span></td></tr>\n";
echo '<tr><td colspan="8" class="banner_center"><span>자료가 한건도 없습니다.</span></td></tr>';
}
?>
</tbody>

View File

@ -67,7 +67,7 @@ $result = sql_query($sql);
<?
}
if ($i == 0) {
echo "<tr><td colspan=\"3\" class=\"content_center\"><span>자료가 한건도 없습니다.</span></td></tr>\n";
echo '<tr><td colspan="3" class="content_center"><span>자료가 한건도 없습니다.</span></td></tr>';
}
?>
</tbody>

View File

@ -31,10 +31,10 @@ $result = sql_query($sql);
.faq_center{text-align:center}
</style>
<section id="faq_box" class="cbox">
<section class="cbox">
<h2>FAQ관리</h2>
<?=$pg_anchor?>
<p><a href="<?=$_SERVER['PHP_SELF']?>">처음</a><span>건수 <? echo $total_count ?></span></p>
<p id="faq_box"><a href="<?=$_SERVER['PHP_SELF']?>">처음</a><span>건수 <? echo $total_count ?></span></p>
<div id="btn_add">
<a href="./faqmasterform.php">FAQ추가</a>
</div>
@ -80,8 +80,9 @@ $result = sql_query($sql);
<?
}
if ($i == 0)
echo "<tr><td colspan=\"5\" class=\"faq_center\"><span>자료가 한건도 없습니다.</span></td></tr>\n";
if ($i == 0){
echo '<tr><td colspan="5" class="faq_center"><span class="faq_center">자료가 한건도 없습니다.</span></td></tr>';
}
?>
</tbody>
</table>

View File

@ -72,7 +72,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="5" class="itemevent_center"><span>자료가 한건도 없습니다.</span></td></tr>PHP_EOL';
echo '<tr><td colspan="5" class="itemevent_center"><span>자료가 한건도 없습니다.</span></td></tr>';
}
?>
</tbody>

View File

@ -80,7 +80,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="10" class="newwin_center"><span>자료가 한건도 없습니다.</span></td></tr>PHP_EOL';
echo '<tr><td colspan="10" class="newwin_center"><span>자료가 한건도 없습니다.</span></td></tr>';
}
?>
</tbody>