아웃로그인에서 비번찾기등 새창으로 작동 되지 않음. 정보
아웃로그인에서 비번찾기등 새창으로 작동 되지 않음.관련링크
http://e6e3.com
101회 연결
본문
#1. 메뉴부분.php에 아웃로그인 <?=outlogin("xxxxx"); // 외부 로그인 ?>넣음.
#2. 메뉴 불러오는 .php에서 레이어 안쪽에서 <? include_once("$g4[path]/08_menu.php"); ?>
를 하였습니다.
질문
문제점이 뭐냐하면
지금상태에서는 아웃로그인 비번찾기 등 메모등 새창으로 작동 되지 않습니다.
그래서 여기저기를 살펴본 결과
<script language="javascript" src="<?=$g4[path]?>/js/common.js"></script>
를 메뉴부분.php쪽에 넣으니 작동은 되나
기존에 사용중이던 기능이 에러가 생겨요.ㅡ.ㅡ
지금 http://e6e3.com 접속하시면
새창이 작은상태에서 크게 리사이징이 됩니다.
이 기능이 오류가 생기면서 아웃로그인부분에 새창은 작동이 됩니다.
어디 부분에 오류가 있을까요?
그누보드 4.04.00 버전입니다.
테스트는 aaaaa , aaaaa
접속하시면 됩니다.
=======================================================
메뉴부분.php 소스
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("./_common.php");
$g4[title] = "8th_[e6e3]/[kimunan] 생각의 시각화 ";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
$_site_url = "http://www.e6e3.com/board/";
$_site_path = "/home1/e6e3/public_html/board/";
?>
<html>
<head>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: ;
}
-->
</style>
</head>
<table border="0" width="809">
<tr>
<td width="633" height="65" background="">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="636" height="73">
<param name="movie" value="<?=$_site_url?>/swf/08_menu_n.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<PARAM NAME="wmode" VALUE="opaque">
<embed width="650" height="73" src="<?=$_site_url?>/swf/08_menu_n.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></embed>
</object></td>
<td width="166" height="65"><?=outlogin("sz2010"); // 외부 로그인 ?></td>
</tr>
<tr>
<td height="10" background="" width="803" colspan="2">
</td>
</tr>
</table>
==============================================================
메뉴 불러오는 쪽 .php
<?
include_once("./_common.php");
$g4[title] = "8th_[e6e3]/[kimunan] 생각의 시각화 ";
include_once("$g4[path]/head.sub.php");
$_site_url = "http://www.e6e3.com/board/";
$_site_path = "/home1/e6e3/public_html/board/";
?>
<script src="http://e6e3.com/board/js/resizewin.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--
//
function win_open(width,height){
restage = new resizeWin(width,height);
restage.stayCentered();
restage.onResize()
}
//-->
</script>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<body background="<?=$_site_url?>images/sub_bg.jpg" style="background-color:transparent">
<table valign="top" width="100%" cellspacing="0" cellpadding="0" background="">
<tr>
<td width="0" height="40"></td>
<!-- 로고 -->
<td width="400" height="40" align="left">
</td>
<!-- 처음으로 버튼 -->
</tr>
</table>
<div id="layer_menu" style="width:900px; height:105px; position:absolute; left:0px; top:0px; z-index:1; " border="0">
<?
include_once("$g4[path]/08_menu.php");
?>
</div>
#2. 메뉴 불러오는 .php에서 레이어 안쪽에서 <? include_once("$g4[path]/08_menu.php"); ?>
를 하였습니다.
질문
문제점이 뭐냐하면
지금상태에서는 아웃로그인 비번찾기 등 메모등 새창으로 작동 되지 않습니다.
그래서 여기저기를 살펴본 결과
<script language="javascript" src="<?=$g4[path]?>/js/common.js"></script>
를 메뉴부분.php쪽에 넣으니 작동은 되나
기존에 사용중이던 기능이 에러가 생겨요.ㅡ.ㅡ
지금 http://e6e3.com 접속하시면
새창이 작은상태에서 크게 리사이징이 됩니다.
이 기능이 오류가 생기면서 아웃로그인부분에 새창은 작동이 됩니다.
어디 부분에 오류가 있을까요?
그누보드 4.04.00 버전입니다.
테스트는 aaaaa , aaaaa
접속하시면 됩니다.
=======================================================
메뉴부분.php 소스
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("./_common.php");
$g4[title] = "8th_[e6e3]/[kimunan] 생각의 시각화 ";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
$_site_url = "http://www.e6e3.com/board/";
$_site_path = "/home1/e6e3/public_html/board/";
?>
<html>
<head>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: ;
}
-->
</style>
</head>
<table border="0" width="809">
<tr>
<td width="633" height="65" background="">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="636" height="73">
<param name="movie" value="<?=$_site_url?>/swf/08_menu_n.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<PARAM NAME="wmode" VALUE="opaque">
<embed width="650" height="73" src="<?=$_site_url?>/swf/08_menu_n.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></embed>
</object></td>
<td width="166" height="65"><?=outlogin("sz2010"); // 외부 로그인 ?></td>
</tr>
<tr>
<td height="10" background="" width="803" colspan="2">
</td>
</tr>
</table>
==============================================================
메뉴 불러오는 쪽 .php
<?
include_once("./_common.php");
$g4[title] = "8th_[e6e3]/[kimunan] 생각의 시각화 ";
include_once("$g4[path]/head.sub.php");
$_site_url = "http://www.e6e3.com/board/";
$_site_path = "/home1/e6e3/public_html/board/";
?>
<script src="http://e6e3.com/board/js/resizewin.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--
//
function win_open(width,height){
restage = new resizeWin(width,height);
restage.stayCentered();
restage.onResize()
}
//-->
</script>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<body background="<?=$_site_url?>images/sub_bg.jpg" style="background-color:transparent">
<table valign="top" width="100%" cellspacing="0" cellpadding="0" background="">
<tr>
<td width="0" height="40"></td>
<!-- 로고 -->
<td width="400" height="40" align="left">
</td>
<!-- 처음으로 버튼 -->
</tr>
</table>
<div id="layer_menu" style="width:900px; height:105px; position:absolute; left:0px; top:0px; z-index:1; " border="0">
<?
include_once("$g4[path]/08_menu.php");
?>
</div>
댓글 전체
삽질 한달 했는데
드디어 자다가 생각나서 수정해보니 되더군요..ㅋㅋㅋ
결론
function win_open 여기에서
리사이징 부분과 아웃로그인 부분 새창에 중복으로 인하여
오류였어요.
이름을 다르게 하니 잘 되더군요.
(:]
드디어 자다가 생각나서 수정해보니 되더군요..ㅋㅋㅋ
결론
function win_open 여기에서
리사이징 부분과 아웃로그인 부분 새창에 중복으로 인하여
오류였어요.
이름을 다르게 하니 잘 되더군요.
(:]