관리자: 사이드뷰 작업 중
This commit is contained in:
@ -117,7 +117,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<tr>
|
||||
<td><?=$mb_id?></td>
|
||||
<td class="td_mbname"><?=$row['mb_name']?></td>
|
||||
<td class="td_mbnick"><?=$mb_nick?></td>
|
||||
<td class="td_mbnick"><div><?=$mb_nick?></div></td>
|
||||
<td class="td_num"><?=$row[mb_level]?></td>
|
||||
<td class="td_bignum"><a href="./point_list.php?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=number_format($row[mb_point])?></a></td>
|
||||
<td class="td_boolean"><?=$row[mb_mailling]?'예':'아니오';?></td>
|
||||
@ -217,7 +217,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<td class="td_category"><a href="<?=$g4['bbs_path']?>/new.php?gr_id=<?=$row['gr_id']?>"><?=cut_str($row['gr_subject'],10)?></a></td>
|
||||
<td class="td_category"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$row['bo_table']?>"><?=cut_str($row['bo_subject'],20)?></a></td>
|
||||
<td><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$row['bo_table']?>&wr_id=<?=$row2[wr_id]?><?=$comment_link?>"><?=$comment?><?=conv_subject($row2['wr_subject'], 100)?></a></td>
|
||||
<td class="td_mbname"><?=$name?></td>
|
||||
<td class="td_mbname"><div><?=$name?></div></td>
|
||||
<td class="td_time"><?=$datetime?></td>
|
||||
</tr>
|
||||
|
||||
@ -293,7 +293,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<tr>
|
||||
<td class="td_mbid"><a href="./point_list.php?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td class="td_mbname"><?=$row2['mb_name']?></td>
|
||||
<td class="td_mbnick"><?=$mb_nick?></td>
|
||||
<td class="td_mbnick"><div><?=$mb_nick?></div></td>
|
||||
<td class="td_time"><?=$row['po_datetime']?></td>
|
||||
<td><?=$link1.$row['po_content'].$link2?></td>
|
||||
<td class="td_bignum"><?=number_format($row[po_point])?></td>
|
||||
|
||||
@ -213,7 +213,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<span><?=$leave_msg?><?=$intercept_msg?></span>
|
||||
</td>
|
||||
<td class="td_mbname"><?=$row['mb_name']?></td>
|
||||
<td><?=$mb_nick?></td>
|
||||
<td class="td_mbnick"><div><?=$mb_nick?></div></td>
|
||||
<td><?=get_member_level_select("mb_level[$i]", 1, $member[mb_level], $row[mb_level])?></td>
|
||||
<td><a href="point_list.php?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=number_format($row[mb_point])?></a></td>
|
||||
<td><?=substr($row['mb_today_login'],2,8)?></td>
|
||||
|
||||
@ -153,11 +153,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
</td>
|
||||
<td class="td_mbid"><a href="?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td class="td_mbname"><?=$row2['mb_name']?></td>
|
||||
<td><?=$mb_nick?></td>
|
||||
<td class="td_mbnick"><div><?=$mb_nick?></div></td>
|
||||
<td><?=$row['po_datetime']?></td>
|
||||
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
|
||||
<td><?=number_format($row[po_point])?></td>
|
||||
<td><?=number_format($row2[mb_point])?></td>
|
||||
<td class="td_bignum"><?=number_format($row[po_point])?></td>
|
||||
<td class="td_bignum"><?=number_format($row2[mb_point])?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
@ -108,6 +108,8 @@ td {padding:10px}
|
||||
.td_num {width:60px;text-align:center}
|
||||
.td_bignum {width:120px;text-align:center}
|
||||
.td_mbid, .td_mbnick, .td_mbname {width:80px;text-align:center}
|
||||
.td_mbnick div, .td_mbname div {position:relative} /* 파이어폭스에서 사이드뷰 위치를 잡기 위함 */
|
||||
.td_mbnick #sideview, .td_mbname #sideview {position:absolute;top:20px;left:0}
|
||||
.td_time {width:150px;text-align:center}
|
||||
.td_boolean {width:50px;text-align:center}
|
||||
/* 인덱스 */
|
||||
|
||||
@ -41,7 +41,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
if (!this.isVisible)
|
||||
return "";
|
||||
|
||||
var str = "<tr height='19'><td id='sideViewRow_"+this.name+"'> <font color=gray>·</font> <span style='color: #A0A0A0; font-family: 돋움; font-size: 11px;'>"+this.onclickEvent+"</span></td></tr>";
|
||||
var str = "<li><span id=\"sideViewRow_"+this.name+"\">"+this.onclickEvent+"</span></li>";
|
||||
return str;
|
||||
}
|
||||
|
||||
@ -115,19 +115,19 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
var oBody = document.body;
|
||||
|
||||
if (oSideViewLayer == null) {
|
||||
oSideViewLayer = document.createElement("DIV");
|
||||
oSideViewLayer = document.createElement("div");
|
||||
oSideViewLayer.id = this.targetObj;
|
||||
oSideViewLayer.style.position = 'absolute';
|
||||
oSideViewLayer.style.position = "absolute";
|
||||
oBody.appendChild(oSideViewLayer);
|
||||
}
|
||||
oSideViewLayer.innerHTML = this.makeNameContextMenus();
|
||||
|
||||
if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
|
||||
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight;
|
||||
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight + "px";
|
||||
else
|
||||
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight;
|
||||
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + "px";
|
||||
|
||||
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14;
|
||||
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14 + "px";
|
||||
|
||||
divDisplay(this.targetObj, 'block');
|
||||
|
||||
@ -138,7 +138,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
{
|
||||
var oCurrentNode=oNode;
|
||||
var iTop=0;
|
||||
while(oCurrentNode.tagName!="BODY") {
|
||||
while(oCurrentNode.tagName!="body") {
|
||||
iTop+=oCurrentNode.offsetTop - oCurrentNode.scrollTop;
|
||||
oCurrentNode=oCurrentNode.offsetParent;
|
||||
}
|
||||
@ -150,7 +150,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
var oCurrentNode=oNode;
|
||||
var iLeft=0;
|
||||
iLeft+=oCurrentNode.offsetWidth;
|
||||
while(oCurrentNode.tagName!="BODY") {
|
||||
while(oCurrentNode.tagName!="body") {
|
||||
iLeft+=oCurrentNode.offsetLeft;
|
||||
oCurrentNode=oCurrentNode.offsetParent;
|
||||
}
|
||||
@ -160,8 +160,8 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
|
||||
function makeNameContextMenus()
|
||||
{
|
||||
var str = "<table border='0' cellpadding='0' cellspacing='0' width='90' style='border:1px solid #E0E0E0;' bgcolor='#F9FBFB'>";
|
||||
|
||||
var str = "<ul>";
|
||||
|
||||
var i=0;
|
||||
for (i=this.heads.length - 1; i >= 0; i--)
|
||||
str += this.heads[i].renderRow();
|
||||
@ -170,7 +170,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
for (j=0; j < this.tails.length; j++)
|
||||
str += this.tails[j].renderRow();
|
||||
|
||||
str += "</table>";
|
||||
str += "</ul>";
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user