쇼핑몰관리자: 쇼핑몰현황 작업 중 empty_table -> empty_data 로 수정

This commit is contained in:
whitedot
2013-11-25 15:50:23 +09:00
parent 976f5f6030
commit ef73d7d3d8
29 changed files with 89 additions and 87 deletions

View File

@ -96,7 +96,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<?php
}
if ($i == 0) {
echo '<tr><td colspan="8" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="8" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

@ -206,7 +206,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</td>
</tr>
<?php }
if ($i == 0) echo "<tr><td colspan=\"7\" class=\"empty_table\">자료가 한 건도 없습니다.</td></tr>\n";
if ($i == 0) echo "<tr><td colspan=\"7\" class=\"empty_data\">자료가 한 건도 없습니다.</td></tr>\n";
?>
</tbody>
</table>

View File

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

View File

@ -150,7 +150,7 @@ $colspan = 8;
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="'.$colspan.'" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -67,7 +67,7 @@ $qstr1 = 'mb_name='.$_GET['mb_name'];
}
if($i ==0)
echo '<tr><td colspan="3" class="empty_table">검색된 자료가 없습니다.</td></tr>';
echo '<tr><td colspan="3" class="empty_data">검색된 자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -95,7 +95,7 @@ $qstr1 = 'sch_target='.$_GET['sch_target'].'&amp;sch_word='.$_GET['sch_word'];
}
if($i ==0)
echo '<tr><td colspan="3" class="empty_table">검색된 자료가 없습니다.</td></tr>';
echo '<tr><td colspan="3" class="empty_data">검색된 자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -77,7 +77,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="4" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

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

View File

@ -162,7 +162,7 @@ function get_max_value($arr)
<?php
foreach($y_val as $val) {
?>
<li><?php echo number_format($val); ?></li>
<li><span></span><?php echo number_format($val); ?></li>
<?php
}
?>
@ -176,8 +176,12 @@ function get_max_value($arr)
$li_bg = 'bg'.($i%2);
?>
<li class="<?php echo $li_bg; ?>" style="z-index:<?php echo $k; ?>">
<div class="graph order" title="<?php echo $order_title; ?>"></div>
<div class="graph cancel" title="<?php echo $cancel_title; ?>"></div>
<div class="graph order" title="<?php echo $order_title; ?>">
</div>
<div class="graph cancel" title="<?php echo $cancel_title; ?>">
</div>
</li>
<?php
}
@ -310,46 +314,35 @@ function get_max_value($arr)
<h2>1:1문의</h2>
<?php echo $pg_anchor; ?>
<div class="tbl_head01 tbl_wrap">
<table>
<caption>1:1문의 목록</caption>
<thead>
<tr>
<th scope="col">분류</th>
<th scope="col">제목</th>
<th scope="col">작성자</th>
<th scope="col">보기</th>
</tr>
</thead>
<tbody>
<?php
$sql = " select * from {$g5['qa_content_table']}
where qa_status = '0'
and qa_type = '0'
order by qa_num
limit $max_limit ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
$row1 = sql_fetch($sql1);
<div class="ul_wrap ul_01">
<ul>
<?php
$sql = " select * from {$g5['qa_content_table']}
where qa_status = '0'
and qa_type = '0'
order by qa_num
limit $max_limit ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
$row1 = sql_fetch($sql1);
$name = get_sideview($row['mb_id'], get_text($row['qa_name']), $row1['mb_email'], $row1['mb_homepage']);
?>
<tr>
<td class="td_categorysmall"><?php echo get_text($row['qa_category']); ?></td>
<td class="td_name"><?php echo $name; ?></td>
<td><?php echo cut_str($row['qa_subject'],40); ?></td>
<td class="td_mngsmall"><a href="<?php echo G5_BBS_URL; ?>/qaview.php?qa_id=<?php echo $row['qa_id']; ?>" target="_blank">보기</a></td>
</tr>
<?php
}
$name = get_sideview($row['mb_id'], get_text($row['qa_name']), $row1['mb_email'], $row1['mb_homepage']);
?>
<li>
<?php echo get_text($row['qa_category']); ?>
<?php echo cut_str($row['qa_subject'],40); ?>
<?php echo $name; ?>
<a href="<?php echo G5_BBS_URL; ?>/qaview.php?qa_id=<?php echo $row['qa_id']; ?>" target="_blank">보기</a>
</li>
<?php
}
if ($i == 0)
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
if ($i == 0)
echo '<li class="empty_data">자료가 없습니다.</li>';
?>
</ul>
</div>
<div class="btn_list03 btn_list">
@ -388,13 +381,13 @@ function get_max_value($arr)
<tr>
<td class="td_name"><?php echo $name; ?></td>
<td><?php echo cut_str($row['iq_subject'],40); ?></td>
<td class="td_mng"><a href="./itemqaform.php?w=u&amp;iq_id=<?php echo $row['iq_id']; ?>">수정</a></td>
<td class="td_mngsmall"><a href="./itemqaform.php?w=u&amp;iq_id=<?php echo $row['iq_id']; ?>">수정</a></td>
</tr>
<?php
}
if ($i == 0)
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="3" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
@ -440,7 +433,7 @@ function get_max_value($arr)
</tr>
<?php
}
if ($i == 0) echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
if ($i == 0) echo '<tr><td colspan="3" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
@ -503,7 +496,7 @@ function get_max_value($arr)
$val_cnt ++;
?>
<tr>
<th scope="row" id="th_val_<?php echo $val_cnt; ?>"><?php echo $val; ?></th>
<th scope="row" id="th_val_<?php echo $val_cnt; ?>" class="td_category"><?php echo $val; ?></th>
<?php
foreach($info_key as $date)
{
@ -539,13 +532,12 @@ $(function() {
$(this)
.attr("title", "")
.parent()
.append("<div id=\"price_tooltip\"><div></div></div>");
$("#price_tooltip")
.find("div")
.html(title)
.end()
.css({ left: left+"px", bottom: bottom+"px" })
// .css({ left: left+"px", bottom: bottom+"px" })
.show(200);
},
function() {
@ -667,7 +659,7 @@ function graph_draw()
</tr>
<?php
}
if ($i == 0) echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
if ($i == 0) echo '<tr><td colspan="5" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
@ -730,7 +722,7 @@ function graph_draw()
</tr>
<?php
}
if ($i == 0) echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
if ($i == 0) echo '<tr><td colspan="5" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -70,7 +70,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="5" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

@ -170,7 +170,7 @@ if (isset($ev_set)) {
}
if ($i == 0)
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="4" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -48,7 +48,7 @@ include_once(G5_PATH.'/head.sub.php');
<?php
}
if ($i == 0)
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="3" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -206,7 +206,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<?php
}
if ($i == 0)
echo '<tr><td colspan="10" class="empty_table">자료가 한건도 없습니다.</td></tr>';
echo '<tr><td colspan="10" class="empty_data">자료가 한건도 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -152,7 +152,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<?php
}
if ($i == 0) {
echo '<tr><td colspan="6" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
echo '<tr><td colspan="6" class="empty_data"><span>자료가 없습니다.</span></td></tr>';
}
?>
</tbody>

View File

@ -145,7 +145,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
}
if ($i == 0) {
echo '<tr><td colspan="11" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="11" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

@ -171,7 +171,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<?php
}
if (!$i)
echo '<tr><td colspan="8" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
echo '<tr><td colspan="8" class="empty_data"><span>자료가 없습니다.</span></td></tr>';
?>
</tbody>
</table>

View File

@ -163,7 +163,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
}
if (!$i)
echo '<tr><td colspan="8" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
echo '<tr><td colspan="8" class="empty_data"><span>자료가 없습니다.</span></td></tr>';
?>
</tbody>
</table>

View File

@ -162,7 +162,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
}
if ($i == 0) {
echo '<tr><td colspan="7" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="7" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

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

View File

@ -189,7 +189,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<?php
}
if (!$i)
echo '<tr><td colspan="8" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
echo '<tr><td colspan="8" class="empty_data"><span>자료가 없습니다.</span></td></tr>';
?>
</tbody>
</table>

View File

@ -401,7 +401,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
}
mysql_free_result($result);
if ($i == 0)
echo '<tr><td colspan="12" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="12" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
<tfoot>

View File

@ -137,7 +137,7 @@ $colspan = 10;
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="'.$colspan.'" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -101,7 +101,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="9" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="9" class="empty_data">자료가 없습니다.</td></tr>';
} else {
print_line($save);
}

View File

@ -102,7 +102,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="9" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="9" class="empty_data">자료가 없습니다.</td></tr>';
} else {
print_line($save);
}

View File

@ -84,7 +84,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="9" class="empty_table">자료가 없습니다</td></tr>';
echo '<tr><td colspan="9" class="empty_data">자료가 없습니다</td></tr>';
}
?>
</tbody>

View File

@ -96,7 +96,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
echo '<tr><td colspan="9" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="9" class="empty_data">자료가 없습니다.</td></tr>';
} else {
print_line($save);
}

View File

@ -73,7 +73,7 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
}
if ($i == 0)
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="4" class="empty_data">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -116,7 +116,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
}
if ($i == 0) {
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
echo '<tr><td colspan="3" class="empty_data">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

@ -256,7 +256,6 @@ tfoot th {}
tfoot td {font-weight:bold;text-align:center}
.tbl_wrap {margin:0 0 10px;padding:0 20px}
.tbl_wrap td.empty_table {padding:100px 0;text-align:center}
/* thead 한 줄 테이블 */
.tbl_head01 {}
@ -278,6 +277,14 @@ tfoot td {font-weight:bold;text-align:center}
.tbl_head02 tbody th {}
.tbl_head02 tbody td {padding:7px 5px;line-height:1.4em;word-break:break-all}
/* UL */
.ul_wrap {}
.ul_01 {}
/* 자료 없는 목록 */
.empty_data {padding:100px 0;text-align:center}
/* 폼 테이블 */
.tbl_frm01 th {padding:0;border-top:1px solid #ececec;border-bottom:1px solid #ececec;text-align:left}
.tbl_frm01 td {padding:10px 5px;border-right:0;border-left:0}
@ -432,22 +439,25 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
#anc_sidx_ord {float:left;width:66%}
#sidx_graph {position:relative}
#sidx_graph_price {position:absolute;top:15px;left:20px;margin:0;padding:0;width:12%;list-style:none}
#sidx_graph_price li {font-family:tahoma;text-align:right}
#sidx_graph_area {position:absolute;top:5px;left:15%;margin:0;padding:0;width:85%;height:260px;border-left:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;list-style:none}
#sidx_graph_area li {float:left;position:relative;margin:0 1% 0 0;width:13%;height:100%}
#sidx_graph_area .graph {position:absolute;bottom:0;width:45%;height:0}
#sidx_graph_area .order {background:#a0ca30;left:0}
#sidx_graph_area .cancel {background-color:#ff8db6;left:47%}
#sidx_graph_area #price_tooltip {display:none;position:absolute;bottom:0;left:0;background-color:#fff;border:1px solid gray}
#sidx_graph_price li {position:relative;padding:0 10% 0 0;height:48px;font-family:tahoma;text-align:right}
#sidx_graph_price li span {position:absolute;top:7px;right:-10%;width:10px;height:1px;background:#e9e9e9}
#sidx_graph_area {position:absolute;top:5px;left:15%;margin:0;padding:0;width:85%;height:260px;border:1px solid #e9e9e9;list-style:none}
#sidx_graph_area li {position:relative;float:left;padding:0 1% 0 0;width:13%;height:100%}
#sidx_graph_area .graph {position:absolute;bottom:0;width:40%;height:0}
#sidx_graph_area .order {background:#a0ca30;left:7%}
#sidx_graph_area .cancel {background:#ff8db6;right:7%}
#sidx_graph_area #price_tooltip {display:none;position:absolute;top:5px;left:5px;background-color:#fff;border:1px solid gray}
#sidx_graph_area #price_tooltip div {white-space:nowrap}
#sidx_graph_date {position:absolute;top:280px;left:15%;margin:0;padding:0;width:85%;list-style:none}
#sidx_graph_date li {position:relative;float:left;margin:0 1% 0 0;width:13%;font-family:tahoma;text-align:center}
#sidx_graph_date {position:absolute;top:280px;left:15%;margin:0;padding:0;width:85%;border:1px solid #fff;list-style:none}
#sidx_graph_date li {position:relative;float:left;width:14%;font-family:tahoma;text-align:center}
#sidx_graph_date li span {position:absolute;top:-19px;right:0;width:1px;height:10px;background:#e9e9e9}
#sidx_stat {float:right;width:32%}
#sidx_stat h2 {padding:0 20px 0 0}
#sidx_stat .tbl_wrap {padding:0 20px 0 0}
#anc_sidx_settle table {text-align:center}
/* idx 1:1문의/상품문의/사용후기 */
.sidx_cs section {float:left;margin:0 2% 0 0;width:32%}
.sidx_cs #anc_sidx_ps {margin:0}
@ -635,7 +645,7 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
.srel .srel_pad {display:block;height:30px}
/* 쿠폰관리 */
.scp_new_win .empty_table {padding:30px 0}
.scp_new_win .empty_data {padding:30px 0}
#scp_list_find {margin:10px 20px;padding:20px;border:1px solid #e9e9e9;background:#fff}
#scp_list_find .btn_frmline {line-height:1.5em !important}