아웃로그인 위치설정 문제...
본문
안녕하세요.
아웃로그인을 div 안에 넣고 만들었는데요. 안에 들어가지 않네요.
test.html 소스
<?
$g5_path="./";
include_once("./common.php");
include_once("./head.sub.php");
include_once("./lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
$g5_path="./";
include_once("./common.php");
include_once("./head.sub.php");
include_once("./lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("hangyeong"); // hangyeong 스킨으로 아웃로그인을 출력합니다.
if ($config['cf_include_head']) {
if (!@include_once($config['cf_include_head'])) {
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (!@include_once($config['cf_include_head'])) {
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/head.php');
return;
}
?>
include_once(G5_MOBILE_PATH.'/head.php');
return;
}
?>
<!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>Untitled Document</title>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.login {
height: 50px;
width: 500px;
float: left;
background-color: #333;
text-align: center;
}
</style>
</head>
<body>
<div class="login"><?php echo outlogin('hangyeong'); // 외부 로그인 ?></div>
</body>
</html>
<div class="login"><?php echo outlogin('hangyeong'); // 외부 로그인 ?></div>
</body>
</html>
무엇이 문제인가요? 도움 부탁드려요
답변을 작성하시기 전에 로그인 해주세요.