로그인, 로그아웃
본문
홈페이지에 로그인 기능을 넣어야 하는데요...
로그인 후에는 로그아웃으로 그러니까 head.php에 있는 기능을 그대로 쓰고 싶습니다.
어떻게 하면 좋을까요?
메뉴 맨 우측에 넣고 싶습니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>와글와글플레이월드-찾아가는 체험학습, 다락원, 다락원자연숲학교, 욧술책상,학예발표회의상대여,코딩, 모블로, 큐배토, 숲속애벌레놀이터, 오감퍼포먼스</title>
<style type="text/css">
body {
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#apDiv1 {
position: absolute;
left: 210px;
top: 75px;
width: 272px;
height: 25px;
z-index: 1;
visibility: hidden;
}
#apDiv2 {
position: absolute;
left: 266px;
top: 75px;
width: 1032px;
height: 53px;
z-index: 2;
visibility: hidden;
}
#apDiv3 {
position: absolute;
left: 445px;
top: 75px;
width: 408px;
height: 27px;
z-index: 3;
visibility: hidden;
}
#apDiv4 {
position: absolute;
left: 451px;
top: 75px;
width: 403px;
height: 25px;
z-index: 4;
visibility: hidden;
}
#apDiv5 {
position: absolute;
left: 469px;
top: 75px;
width: 922px;
height: 26px;
z-index: 5;
visibility: hidden;
}
#apDiv6 {
position: absolute;
left: 848px;
top: 75px;
width: 144px;
height: 25px;
z-index: 6;
visibility: hidden;
}
#apDiv7 {
position: absolute;
left: 768px;
top: 75px;
width: 109px;
height: 26px;
z-index: 7;
visibility: hidden;
}
#apDiv8 {
position: absolute;
left: 1145px;
top: 75px;
width: 114px;
height: 26px;
z-index: 8;
visibility: hidden;
}
#apDiv9 {
position: absolute;
left: 1081px;
top: 75px;
width: 352px;
height: 39px;
z-index: 9;
visibility: hidden;
}
#apDiv10 {
position: absolute;
left: 1203px;
top: 75px;
width: 267px;
height: 25px;
z-index: 10;
visibility: hidden;
}
</style>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
</script>
</head>
<body onload="MM_preloadImages('wappleimg/sub2/tbtn1o.gif','wappleimg/sub2/tbtn2o.gif','wappleimg/sub2/tbtn3o.gif','wappleimg/sub2/tbtn4o.gif','wappleimg/sub2/tbtn5o.gif','wappleimg/sub2/tbtn6o.gif','wappleimg/sub2/tbtn7o.gif','wappleimg/sub2/tbtn8o.gif','wappleimg/sub2/tbtn9o.gif','wappleimg/sub2/tbtn10o.gif','wappleimg/sub2/tbtn11o.gif')">
<div id="apDiv1">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p1-1.html"><img src="wappleimg/sub2/tbtns1-1.gif" width="60" height="25" border="0"/></a></td>
<td><a href="../../p1-2.html"><img src="wappleimg/sub2/tbtns1-2.gif" width="61" height="25" border="0"/></a></td>
<td><a href="../../p1-3.html"><img src="wappleimg/sub2/tbtns1-3.gif" width="49" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=bodo"><img src="wappleimg/180521/tbtns1-4.gif" width="60" height="25" border="0"/></a></td>
<td><a href="../../p1-5.html"><img src="wappleimg/sub2/tbtns1-5.gif" width="65" height="25" border="0"/></a></td>
</tr>
</table>
</div>
<div id="apDiv2">
<table width="986" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p2-1.html"><img src="wappleimg/sub2/tbtns2-1.gif" width="121" height="25" /></a></td>
<td><a href="../../p2-2.html"><img src="wappleimg/sub2/tbtns2-2.gif" width="114" height="25" /></a></td>
<td><a href="../../p2-3.html"><img src="wappleimg/sub2/tbtns2-3.gif" width="93" height="25" /></a></td>
<td><a href="../../p2-4.html"><img src="wappleimg/sub2/tbtns2-4.gif" width="80" height="25" /></a></td>
<td><a href="../../p2-5.html"><img src="wappleimg/sub2/tbtns2-5.gif" width="81" height="25" /></a></td>
<td><a href="../../p2-6.html"><img src="wappleimg/sub2/tbtns2-6.gif" width="79" height="25" /></a></td>
<td><a href="../../p2-7.html"><img src="wappleimg/sub2/tbtns2-7.gif" width="80" height="25" /></a></td>
<td><a href="../../p2-8.html"><img src="wappleimg/180521/tbtns2-8.gif" width="110" height="25" /></a></td>
<td><a href="../../p2-82.html"><img src="wappleimg/180521/tbtns2-9.gif" width="115" height="25" /></a></td>
<td><a href="../../p2-9.html"><img src="wappleimg/sub2/tbtns2-9.gif" width="119" height="25" /></a></td>
<td><a href="../../bbs/board.php?bo_table=englishcamp"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="../../bbs/board.php?bo_table=englishcamp"><img src="wappleimg/180521/tbtns2-10.gif" width="120" height="25" /></a></td>
<td><a href="../../p2-10.html"><img src="wappleimg/sub2/tbtns2-10.gif" width="148" height="25" border="0"/></a></td>
<td><a href="../../p2-11.html"><img src="wappleimg/sub2/tbtns2-11.gif" width="99" height="25" border="0"/></a></td>
<td><a href="../../p2-12.html"><img src="wappleimg/sub2/tbtns2-12.gif" width="115" height="25" border="0"/></a></td>
<td><a href="../../p2-13.html"><img src="wappleimg/sub2/tbtns2-13.gif" width="79" height="25" border="0"/></a></td>
<td><a href="../../p2-14.html"><img src="wappleimg/sub2/tbtns2-14.gif" width="82" height="25" border="0"/></a></td>
<td><a href="../../p2-15.html"><img src="wappleimg/sub2/tbtns2-15.gif" width="101" height="25" border="0"/></a></td>
<td><a href="../../p2-16.html"><img src="wappleimg/sub2/tbtns2-16.gif" width="80" height="25" border="0"/></a></td>
<td><a href="../../p2-17.html"><img src="wappleimg/sub2/tbtns2-17.gif" width="104" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=inquiry01"><img src="wappleimg/sub2/tbtns2-18.gif" width="142" height="25" border="0"/></a></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="apDiv3">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p3-1.html"><img src="wappleimg/sub2/tbtns3-1.gif" width="125" height="25" border="0"/></a></td>
<td><a href="../../p3-2.html"><img src="wappleimg/sub2/tbtns3-2.gif" width="100" height="25" border="0"/></a></td>
<td><a href="../../p3-3.html"><img src="wappleimg/sub2/tbtns3-3.gif" width="97" height="25" border="0"/></a></td>
<td><a href="../..//bbs/board.php?bo_table=inquiry05"><img src="wappleimg/sub2/tbtns3-4.gif" width="91" height="25" border="0"/></a></td>
</tr>
</table>
</div>
<div id="apDiv4">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p4-1.html"><img src="wappleimg/sub2/tbtns4-1.gif" width="50" height="25" border="0"/></a></td>
<td><a href="../../p4-2.html"><img src="wappleimg/sub2/tbtns4-2.gif" width="94" height="25" border="0"/></a></td>
<td><a href="../../p4-3.html"><img src="wappleimg/sub2/tbtns4-3.gif" width="66" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=coding"><img src="wappleimg/sub2/tbtns4-4.gif" width="114" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=coding2"><img src="wappleimg/sub2/tbtns4-5.gif" width="112" height="25" border="0"/></a></td>
</tr>
</table>
</div>
<div id="apDiv5">
<table width="841" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p5-1.html"><img src="wappleimg/sub2/tbtns5-1.gif" width="69" height="25" border="0"/></a></td>
<td><a href="../../p5-2.html"><img src="wappleimg/sub2/tbtns5-2.gif" width="123" height="25" border="0" /></a></td>
<td><a href="../../bbs/board.php?bo_table=photo02"><img src="wappleimg/sub2/tbtns5-3.gif" width="72" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=inquiry03"><img src="wappleimg/sub2/tbtns5-4.gif" width="103" height="25" border="0" /></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p5-3.html"><img src="wappleimg/sub2/tbtns5-5.gif" width="52" height="25" border="0" /></a></td>
<td><a href="../../p5-4.html"><img src="wappleimg/sub2/tbtns5-6.gif" width="102" height="25" border="0"/></a></td>
<td><a href="../../p5-5.html"><img src="wappleimg/sub2/tbtns5-7.gif" width="124" height="25" border="0"/></a></td>
<td><a href="../../p5-6.html"><img src="wappleimg/sub2/tbtns5-8.gif" width="109" height="25" border="0"/></a></td>
<td><a href="../../p5-7.html"><img src="wappleimg/sub2/tbtns5-9.gif" width="87" height="25" border="0"/></a></td>
<td><a href="../../p5-9.html"><img src="wappleimg/sub2/tbtns4-13.gif" width="88" height="25" border="0"/></a></td>
<td><a href="../../p5-8.html"><img src="wappleimg/sub2/tbtns5-10.gif" width="97" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=photo03"><img src="wappleimg/sub2/tbtns5-11.gif" width="74" height="25" align="baseline" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=inquiry06"><img src="wappleimg/sub2/tbtns5-12.gif" width="106" height="25" border="0"/></a></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="apDiv6">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p7-1.html"><img src="wappleimg/sub2/tbtns6-1.gif" width="123" height="25" border="0"/></a></td>
</tr>
</table>
</div>
<div id="apDiv7">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p8-1.html"><img src="wappleimg/tbtns7-1.gif" width="85" height="25" /></a></td>
<td><a href="../../p8-2.html"><img src="wappleimg/tbtns7-2.gif" width="110" height="25" /></a></td>
<td><a href="../../p8-3.html"><img src="wappleimg/tbtns7-3.gif" width="115" height="25" /></a></td>
<td><a href="../../bbs/board.php?bo_table=yostudy"><img src="wappleimg/tbtns7-4.gif" width="115" height="25" /></a></td>
<td><a href="../../bbs/board.php?bo_table=yoonline"><img src="wappleimg/tbtns7-5.gif" width="115" height="25" /></a></td>
</tr>
</table>
</div>
<div id="apDiv8">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../bbs/board.php?bo_table=dress"><img src="wappleimg/sub2/tbtns8-1.gif" width="69" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=dress2"><img src="wappleimg/sub2/tbtns8-2.gif" width="42" height="25" border="0"/></a></td>
</tr>
</table>
</div>
<div id="apDiv10">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../bbs/board.php?bo_table=qna"><img src="wappleimg/sub2/tbtns10-1.gif" width="61" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=inquiry04"><img src="wappleimg/sub2/tbtns10-2.gif" width="145" height="25" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=notice"><img src="wappleimg/180521/tbtns11-3.gif" width="60" height="25" /></a></td>
</tr>
</table>
</div>
<table background="wappleimg/sub2/bg_topmenu.gif"width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="1350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="211"><a href="../../index.htm"><img src="wappleimg/sub2/logo_sub.gif" width="211" height="90" border="0"/></a></td>
<td width="1139" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="wappleimg/sub2/cell_topmenu01.gif" width="50" height="35" border="0"/></td>
</tr>
<tr>
<td><table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="../../p1-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image54','','wappleimg/sub2/tbtn1o.gif',1)"><img src="wappleimg/sub2/tbtn1-1.gif" width="50" height="40" id="Image54" onmouseover="MM_showHideLayers('apDiv1','','show','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p2-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image55','','wappleimg/sub2/tbtn2o.gif',1)"><img src="wappleimg/sub2/tbtn2.gif" width="193" height="40" id="Image55" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','show','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p3-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image56','','wappleimg/sub2/tbtn3o.gif',1)"><img src="wappleimg/sub2/tbtn3.gif" width="107" height="40" id="Image56" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','show','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p4-1.html" onmouseover="MM_swapImage('Image57','','wappleimg/sub2/tbtn4o.gif',1)" onmouseout="MM_swapImgRestore()"><img src="wappleimg/sub2/tbtn4.gif" name="Image57" width="51" height="40" id="Image57" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','show','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p5-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image58','','wappleimg/sub2/tbtn5o.gif',1)"><img src="wappleimg/sub2/tbtn5.gif" width="159" height="40" id="Image58" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','show','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="http://focam.co.kr" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image59','','wappleimg/sub2/tbtn6o.gif',1)"><img src="wappleimg/sub2/tbtn6.gif" width="70" height="40" id="Image59" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p7-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image60','','wappleimg/sub2/tbtn7o.gif',1)"><img src="wappleimg/sub2/tbtn7.gif" name="Image60" width="141" height="40" id="Image60" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','show','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../p8-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image61','','wappleimg/sub2/tbtn8o.gif',1)"><img src="wappleimg/sub2/tbtn8.gif" name="Image61" width="86" height="40" id="Image61" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','show','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=dress" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image62','','wappleimg/sub2/tbtn9o.gif',1)"><img src="wappleimg/sub2/tbtn9.gif" width="176" height="40" id="Image62" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','show','apDiv10','','hide')" border="0"/></a></td>
<td><a href="http://wappleshop.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image63','','wappleimg/sub2/tbtn10o.gif',1)"><img src="wappleimg/sub2/tbtn10.gif" name="Image63" width="70" height="40" id="Image63" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','hide')" border="0"/></a></td>
<td><a href="../../bbs/board.php?bo_table=qna" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image64','','wappleimg/sub2/tbtn11o.gif',1)"><img src="wappleimg/sub2/tbtn11.gif" name="Image64" width="89" height="40" id="Image64" onmouseover="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide','apDiv3','','hide','apDiv4','','hide','apDiv5','','hide','apDiv6','','hide','apDiv7','','hide','apDiv8','','hide','apDiv10','','show')" border="0"/></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="wappleimg/sub2/cell_topmenu02.gif" width="50" height="15" border="0"/></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
답변을 작성하시기 전에 로그인 해주세요.