왕초보...도와주세요 고수님(도와주시면 김태희같은여친생김)

· 13년 전 · 559
1-1.gif
1-2.gif
어떤분이 해바리님 덕분에 로그인스킨때문에 레이어가 밀리는걸 확인했습니다

로그인후에는 제대로 위치하는데

로그인전에는 센터에있는 내용들이 로그인스킨 아래로 밀리네요..

로그인전 소스를 수정해야할것같은데

어디를 수정해야할지를 모르겠어요 ㅠㅠ

고수님들 도와주세용


<!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>
</head>

<body>
</body>
</html>
<?
/**
* Bechu-Outlogin Skin for Gnuboard4
*
* Copyright (c) 2008 Choi Jae-Young <www.miwit.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

if ($g4['https_url']) {
$outlogin_url = $_GET['url'];
if ($outlogin_url) {
if (preg_match("/^\.\.\//", $outlogin_url)) {
$outlogin_url = urlencode($g4[url]."/".preg_replace("/^\.\.\//", "", $outlogin_url));
}
else {
$purl = parse_url($g4[url]);
if ($purl[path]) {
$path = urlencode($purl[path]);
$urlencode = preg_replace("/".$path."/", "", $urlencode);
}
$outlogin_url = $g4[url].$urlencode;
}
}
else {
$outlogin_url = $g4[url];
}
}
else {
$outlogin_url = $urlencode;
}
?>

<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value="<?=$url?>">
<div id="loginon">
<div class="table">
<div class="table1">
<div class="text"><font color="#D3D3D3">보안접속 <font color="8BAEFF">ON</font>&nbsp;&nbsp;<font color="828687">|</font>&nbsp;&nbsp;<font color="#D3D3D3">키보드보안</div>
<div class="click"><input type="checkbox" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }"></div>
<div class="ID"><input name="mb_id" type="text" class=ed size="12" maxlength="20" style="width:115px; height:22px; border:1px solid #4A4E4F; background-color:#5c6061;"></div>
<div class="PW"><input name="mb_password" type="password" class=ed size="12" maxlength="20" style="width:115px; height:22px; border:1px solid #4A4E4F; background-color:#5c6061;"></div>
<div class="img"><input type="image" src="<?=$outlogin_skin_path?>/img/login_button.gif"></div>
<div class="text1"><a href="<?=$g4[bbs_path]?>/register.php"><font color="#D3D3D3">회원가입</font></a> <font color="828687">|</font> <a href="javascript:win_password_lost();"><font color="#D3D3D3">아이디/비밀번호찾기</font></a> </div>
<div class="MM"></div>
<div class="MM1"></div>
<div class="text6"><font color="#8BAEFF">▶</font><b>공지</b>&nbsp;&nbsp;리뉴얼 안내</div>
</form>
</div>
</div>


<!-- 로그인 전 외부로그인 끝 -->

<script type="text/javascript">
document.getElementById("mb_id").onfocus = function() { mw_outlogin_focus_id(this); }
document.getElementById("mb_id").onblur = function() { mw_outlogin_blur_id(this); }
document.getElementById("mb_password").onfocus = function() { mw_outlogin_focus_pw(this); }
document.getElementById("mb_password").onblur = function() { mw_outlogin_blur_pw(this); }
document.getElementById("mb_password").onblur = function() { mw_outlogin_blur_pw(this); }
document.getElementById("auto_login").onclick = function() { mw_outlogin_auto(this); }

function mw_outlogin_focus_id(obj) {
if (obj.value == "아이디") {
obj.value = "";
}
//obj.style.border = "1px solid #bebebe";
obj.style.border = "1px solid #4a4e4f";
}
function mw_outlogin_blur_id(obj) {
if (obj.value == "") {
obj.value = "아이디";
}
obj.style.border = "1px solid #4a4e4f";
}
function mw_outlogin_focus_pw(obj) {
if (obj.value == "") {
obj.style.background = "#5c6061";
}
//obj.style.border = "1px solid #bebebe";
obj.style.border = "1px solid #4a4e4f";
}
function mw_outlogin_blur_pw(obj) {
if (obj.value == "") {
obj.style.background = "url(<?=$outlogin_skin_path?>/img/outlogin_pw.gif) no-repeat";
}
obj.style.border = "1px solid #4a4e4f";
}
function mw_outlogin_auto(obj) {
if (obj.checked) {
if (confirm("자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?")) {
obj.checked = true;
} else {
obj.checked = false;
}
}
}
function flogin_submit(f)
{
if (!f.mb_id.value) {
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return;
}
if (!f.mb_password.value) {
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return;
}

<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
f.submit();
}

function useLevel(levelno) {
if (levelno == 1) {
document.getElementById("lv1_img").src="<?=$outlogin_skin_path?>/img/btn_1_on.gif";
document.getElementById("lv2_img").src="<?=$outlogin_skin_path?>/img/btn_2_off.gif";
document.getElementById("lv3_img").src="<?=$outlogin_skin_path?>/img/btn_3_off.gif";
document.getElementById("login_level").innerHTML = "<B><img src=<?=$outlogin_skin_path?>/img/h_security1.gif></B>";

} else if (levelno == 2) {
document.getElementById("lv1_img").src="<?=$outlogin_skin_path?>/img/btn_1_off.gif";
document.getElementById("lv2_img").src="<?=$outlogin_skin_path?>/img/btn_2_on.gif";
document.getElementById("lv3_img").src="<?=$outlogin_skin_path?>/img/btn_3_off.gif";
document.getElementById("login_level").innerHTML = "<B><img src=<?=$outlogin_skin_path?>/img/h_security2.gif></B>";

} else if (levelno == 3) {
document.getElementById("lv2_img").src="<?=$outlogin_skin_path?>/img/btn_2_off.gif";
document.getElementById("lv3_img").src="<?=$outlogin_skin_path?>/img/btn_3_on.gif";
document.getElementById("login_level").innerHTML = "<B><img src=<?=$outlogin_skin_path?>/img/h_security3.gif></B>";
}
}


function loginIp(id)
{
if (id == 'On') {
document.getElementById("login_ip").innerHTML = "<a href=\"javascript:loginIp('Off');\" class='ip_type1 bold' style='font-size:8pt;color:#00a8fe; font-family:tahoma;'><B>ON</a></B>";
} else {
document.getElementById("login_ip").innerHTML = "<a href=\"javascript:loginIp('On');\" class='' style='font-size:8pt;color:#00a8fe; font-family:tahoma;'><B>OFF</a></B>";
}
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
<style>
#loginon .table { border:1px solid #44474B; width:192px; height:114px;}
#loginon .table1 { border:1px solid #818586; width:193px; height:115px; background-color:#717576;}
#loginon .text {
position: absolute;
margin: 5px 0 0 10px;
color: ffffff;
font-size: 11px;
color: C9C9C9;
font-style: 돋움;
}
#loginon .click { position:absolute; margin:2px 0 0 160px; border:0px;}
#loginon .ID { position:absolute; margin:23px 0 0 2px;}
#loginon .PW { position:absolute; margin:46px 0 0 2px; }
#loginon .img { position:absolute; margin:23px 0 0 122px; }
#loginon .text1 { position:absolute; margin:78px 0 0 6px; color:#D3D3D3; font-family: 돋움; font-size:11px;}
#loginon .MM { position:absolute; margin:78px 0 0 6px; border-bottom:1px solid #595B5C; width:174px; }
#loginon .MM1 { position:absolute; margin:79px 0 0 6px; border-bottom:1px solid #828687; width:175px; }
#loginon .text6 {
position: absolute;
margin: 97px 0 0 6px;
color: #D3D3D3;
font-size: 11px;
font-family: 돋움;
}

#loginon .dasdassda { position:absolute; margin:50px 0 0 28px; }
</style>

이게 outlogin.skin.1.php 입니다 ㅠㅠ

첨부파일

1-1.gif (140.4 KB)
0회 2012-06-07 11:47
1-2.gif (153.6 KB)
0회 2012-06-07 11:47
|

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고