묻고답하기

<html>
   <head>
      <title></title>
      <META content="text/html; charset=euc-kr" http-equiv="Content-Type">
        <?
        $_zb_url = "http://www.shinebell.net/bbs/";
    $_zb_path = "/home/user1/shinebell/html/bbs/";
        include $_zb_path."outlogin.php";
        ?>
        
</HEAD>

<BODY leftmargin=0 topmargin=0 marginwidth="0" marginheight="0" background="" scroll="auto" >

<SCRIPT language=javascript>
if (document.all)    {n=0;ie=1;fShow="visible";fHide="hidden";}
if (document.layers) {n=1;ie=0;fShow="show";fHide="hide";}

//window.onerror=new Function("hideAll(); return true")
////////////////////////////////////////////////////////////////////////////
// Function Menu()                                                        //
////////////////////////////////////////////////////////////////////////////
rightX = 0;
var lastMenu=null;
function Menu()
{
        this.bgColor     = "#CCCCCC";
        this.subbgColor     = "#e8e8e8";
        
        this.addItem    = addItem;
        this.showMenu   = showMenu;
        this.mainPaneBorder = 0;  //*** 메인메뉴의 경계선을 지정(1)/미지정(현재값:0)합니다. 경계선의 값을 많이 주면 두꺼운 선이 됩니다.

        this.addSubItem = addSubItem;
        this.subMenuPaneBorder = 1;
        this.subMenuPaneWidth = 130;  //***부메뉴의 폭을 조정합니다.
        
   var lastMenu=null;
        rightY = 0;
        leftY = 0;
        leftX = 0;
// menubar TABLE
        HTMLstr = "<table width='+ '+ '300' cellspacing='0' cellpadding='0' border='"+this.mainPaneBorder+"'>n";
        HTMLstr += "<tr>";
        HTMLstr += "<!-- MAIN MENU STARTS -->n";
        HTMLstr += "<!-- MAIN_MENU -->n";
        HTMLstr += "<!-- MAIN MENU ENDS -->n";
        HTMLstr += "</tr>n";
        HTMLstr += "</table>n";
        
        HTMLstr += "n";
        HTMLstr += "<!-- SUB MENU STARTS -->n";
        HTMLstr += "<!-- SUB_MENU -->n";
        HTMLstr += "<!-- SUB MENU ENDS -->n";
        HTMLstr += "n";        

}

//function addItem(idItem, text, hint, location, altLocation)
function addItem(idItem, text, hint)
{
        var Lookup = "<!-- ITEM "+idItem+" -->";
        if (HTMLstr.indexOf(Lookup) != -1)
        {
                alert(idParent + " already exist");
                return;
        }
        var MENUitem = "";
        MENUitem += "n<!-- ITEM "+idItem+" -->n";



                //** 여기서 주 메뉴의 폭과 높이 배경 이미지를 바꾸어 줍니다.
        MENUitem += "<td align='center' class='menuitem' height='22' width='100' background='' >";
        
        if (ie)        MENUitem += "<div id='"+idItem+"' style='position:relative;'>";
                
        MENUitem += "<a ";
        if (hint != null) MENUitem += "title='"+hint+"' ";
        //if (altLocation != null)
        //        MENUitem += "href='"+altLocation+"' ";
        //else
        //        MENUitem += "href='.' ";
        MENUitem += "onmouseover="displaySubMenu('"+idItem+"')" ";
        MENUitem += ">";
        MENUitem += text;
        MENUitem += "</a>";
        if(ie)        MENUitem += "</div>";
        MENUitem += "</td>n";

        MENUitem += "<!-- END OF ITEM "+idItem+" -->nn";
        MENUitem += "<!-- MAIN_MENU -->n";
        
        HTMLstr = HTMLstr.replace("<!-- MAIN_MENU -->n", MENUitem);
}

function addSubItem(idParent, text, hint, loc)
{
        var MENUitem = "";

        Lookup = "<!-- ITEM "+idParent+" -->";
        if (HTMLstr.indexOf(Lookup) == -1)
        {
                alert(idParent + " not found");
                return;
        }

        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->";
        if (HTMLstr.indexOf(Lookup) == -1) {
                if (n){}
                if (ie) {
                        MENUitem += "n";
                        MENUitem += "<div id='"+idParent+"submenu' style='position:absolute; visibility: hidden; width:130;'>n";
// submenu border color
                        MENUitem += "<table border='+ '0'  bgcolor='#e8e8e8' cellpadding=3 cellspacing=0>n";
                        MENUitem += "<tr>n" ;
                        MENUitem += "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
                        MENUitem += "</td>n</tr>n" ;
                        MENUitem += "</table>n";
                        MENUitem += "</div>n";
                        MENUitem += "n";
                }
                MENUitem += "<!-- SUB_MENU -->n";
                HTMLstr = HTMLstr.replace("<!-- SUB_MENU -->n", MENUitem);
        }
        
        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
        MENUitem+="<tr>";
        if (ie) MENUitem = "<td><a href='"+loc+"'>"+text+"</a>   <br>n";
        MENUitem += Lookup;
        HTMLstr = HTMLstr.replace(Lookup, MENUitem);
}

function showMenu()
{        
        document.writeln(HTMLstr);
}

////////////////////////////////////////////////////////////////////////////
// Private declaration
function displaySubMenu(idMainMenu)
{
        
        var menu;
        var submenu;

        if (n){}
        else if (ie) {
                menu = eval(idMainMenu);
                submenu = eval(idMainMenu+"submenu.style");
                submenu.left = calculateSumOffset(menu, 'offsetLeft');
                submenu.top  = calculateSumOffset(menu, 'offsetTop') + 15;

          //***아래의 50(단위 픽셀)를 조정해 주면 부메뉴의 높이를 조정할 수 있습니다.
                submenu.visibility = fShow;

                if (lastMenu != null && lastMenu != submenu) hideAll();

                leftX  = document.all[idMainMenu+"submenu"].style.posLeft;
                rightX = leftX + document.all[idMainMenu+"submenu"].offsetWidth;
                leftY  = document.all[idMainMenu+"submenu"].style.posTop+
                        document.all[idMainMenu+"submenu"].offsetHeight;
                rightY = leftY;
                
        }
        lastMenu = submenu;
}

function hideAll()
{
        
        if (lastMenu != null) {
                lastMenu.visibility = fHide;
                lastMenu.left = 0;
        }
}

function calculateSumOffset(idItem, offsetName)
{
        var totalOffset = 0;
        var item = eval('idItem');
        do
        {
                totalOffset += eval('item.'+offsetName);
                item = eval('item.offsetParent');
        } while (item != null);
        return totalOffset;
}

function updateIt(e)
{
        if (ie)
        {
                var x = window.event.clientX;
                var y = window.event.clientY;
                if (x > rightX || x < leftX) hideAll();
                else if (y > rightY) hideAll();
        }
}
if (document.all)
{
        document.body.onclick=hideAll;
        document.body.onscroll=hideAll;
        document.body.onmousemove=updateIt;
}

</SCRIPT>

<SCRIPT language=javascript>
        
function makeTopmenu() {
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location);
// 주메뉴를 클릭하면 이동되는 페이지의 주소도 여기서 수정해 주어야 합니다.

        menu = new Menu();
   //주메뉴 시작
                
        addItem("study","STUDY","프로그래밍 언어.",null,null);
        addItem("board","BOARD","사진과 글..",null,null);
        addItem("familly","FAMILY","우리 가족",null,null);

        if (ie) {
        //부메뉴 시작
                        
        addSubItem("study","JAVA","사이트 새소식/공지 게시판","http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("study","CSS","CD 제작에 대한 의견게시판","http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("board","PICTURE",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("board","BULLET",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","SCHEDULE",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","MEMORY",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","BULLET",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","DOWNLOADS&REQUEST",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
}
        menu.showMenu();
}
</SCRIPT>
<A name=top></A>

<TABLE align="center" valign="top" border=0>

  <TABLE align="center" width=1000 cellSpacing=0 cellPadding=0 border=0>
  <TR align="left" height=45 width=1000>
    <TD style="vertical-align:TOP;" align="left" width=1000 bgcolor="red">
    <SCRIPT language=JavaScript>makeTopmenu();</SCRIPT>
        </TD>
  </TR>
  </TABLE>
  
  <TABLE align="center" width=1000 cellSpacing=0 cellPadding=0 border=0 height=500 >
  <TR align="center">
        <TD width="100" bgcolor="yellow">
        <? print_outlogin("default", 1, 10) ?>
        <br>
        좌측메뉴
        </TD>
        <TD style="vertical-align:TOP;" width="900" bgcolor="blue">
=========================================================================================
여기서 세션아이디 생성하는 부분이 어딘지 알고 싶습니다.

function addSubItem(idParent, text, hint, loc)
{
        var MENUitem = "";

        Lookup = "<!-- ITEM "+idParent+" -->";
        if (HTMLstr.indexOf(Lookup) == -1)
        {
                alert(idParent + " not found");
                return;
        }

        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->";
        if (HTMLstr.indexOf(Lookup) == -1) {
                if (n){}
                if (ie) {
                        MENUitem += "n";
                        MENUitem += "<div id='"+idParent+"submenu' style='position:absolute; visibility: hidden; width:130;'>n";
// submenu border color
                        MENUitem += "<table border='0'  bgcolor='#e8e8e8' cellpadding=3 cellspacing=0>n";
                        MENUitem += "<tr>n" ;
                        MENUitem += "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
                        MENUitem += "</td>n</tr>n" ;
                        MENUitem += "</table>n";
                        MENUitem += "</div>n";
                        MENUitem += "n";
                }
                MENUitem += "<!-- SUB_MENU -->n";
                HTMLstr = HTMLstr.replace("<!-- SUB_MENU -->n", MENUitem);
        }
        
        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
        MENUitem+="<tr>";
        if (ie) MENUitem = "<td><a href='"+loc+"?PHPSESSID=1cbf5e17e5d68e83e08955c0829985ab'>"+text+"</a>   <br>n";
        MENUitem += Lookup;
        HTMLstr = HTMLstr.replace(Lookup, MENUitem);
}
===============================================================================================
조위에 PHPSESSID가 웹상에서 소스보기하면 생성되는데...어디에서 영향을 받는겁니까?

저거땜에 보드 설치가 안되여 --;;;;;;

부탁드립니다
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
바보지기 아래 유부초밥님 노프레임 배경음악요? ^^ [2] 2007.08.10
vert 이 폰트가 무엇인지 T^T [4] 2007.08.10
네오미 제로보드 게시판의 날짜 필드값에 대해서... [2] 2007.08.10
응? 질문이 있습니다. [1] 2007.08.10
김종경 php 세션 아이디 생성 문제....  
정재헌 도대체 제로카운터는 어디에서 다운받아야 하나요? ㅠ.ㅠ [1] 2007.08.10
곽상율 저기 아웃로그인과 최근게시판기능이안되네여... [1] 2007.08.10
네오미 [질문]PHP에서 공백기호는 모죠? [2] 2007.08.10
튀는아이 데이터베이스에 저장된 게시물 갯수를 세는 방법좀 가르쳐주세여. [1] 2007.08.10
튀는아이 이 소스 어디가 잘못된것인지 보시고 가르쳐주세여. [5] 2007.08.10
김종경 php 세션 아이디 자동 생성 [5] 2007.08.10
붕붕이 그림을 클릭하지 못하게 하려면?? [1] 2007.08.10
튀는아이 행복한 고니님 질문 하나 더 할게여~ ;; [4] 2007.08.10
세죠위그이 도메인 포워딩 하는거 말인데요; [1] 2007.08.10
윤현태 포토샾에서 배경을 투명하게 저장할 수 있나요? [5] 2007.08.10
윤준영 메인 메뉴에서 마우스 같다 댔을때 세부 메뉴 나오게 하는 소스좀 ㅠ.ㅠ [2] 2007.08.10
김민정 제로보드에서 다운받아 어케 사용하나요? [1] 2007.08.10
존재의 가벼움 쪽지창을 메인으로 돌리려면.... [1] 2007.08.10
유혜선 저.. 이런이미지로 노프레임홈페이지를 만드려고하거든요 [2] file 2007.08.10
이현노 APM-4관련 질문 [2] 2007.08.10
신성남 노프레임에 관한 책은 없나요? [2] 2007.08.10
K-POP ★자바스크립트 고수분들 꼭 봐주세요~ 꼭 이여!★ [3] 2007.08.10
문성훈 [질문]포토샵 질문란이 없어서... [3] 2007.08.10
남현욱 php팁에 있던 내용인데요..자세한 설명부탁... [1] 2007.08.10
최대식 <긴급>저는 포토샵 왕초보 인데요... [5] 2007.08.10
taeho Mysql DB를 어디에 다가 놔야돼죠? [2] 2007.08.10
NZEO 위에보면 아이콘... [3] 2007.08.10
우리햇살 ms sql db백업 어떻게 받는지 아시는분? [1] 2007.08.10
조용필 관리자님 Quarxpress에 관한 스터디??  
붕붕이 다시 질문 - 그림을 클릭하지 않게 하려면...