테스트 사이트 - 개발 중인 베타 버전입니다

그누4 login.php에서 로그인박스 위치 이동하려면 어떻게 해야 하나요? 채택완료

지지배이배 8년 전 조회 7,077

개초보 질문좀 할게요..

 

사이트를 하나 만들어보려고 하는데요

 

사진처럼 로그인박스가 위에 있는걸

 

아래쪽으로 옮기고 싶은데

 

어딜 만져야 되는지 잘 모르겠습니다.

 

이것저것 만져보고 헤매다가 염치불구하고 질문드립니다.

 

어디를 고쳐야 저 밑으로 내려갈까요? 답변주시면 감사하겠습니다.

 

https://sir.kr/bbs/view_image.php?fn=%2Fdata%2Feditor%2F1703%2F9d198475b8df2878bf92947f8863739b_1488966896_5262.jpg" target="_blank" class="view_image" style="color: rgb(0, 0, 0);">https://sir.kr/data/editor/1703/thumb-9d198475b8df2878bf92947f8863739b_1488966896_5262_650x418.jpg" alt="9d198475b8df2878bf92947f8863739b_1488966" style="margin: 0px; padding: 0px; border: 0px; vertical-align: middle; max-width: 100%;">
 

 

 

 

 

 

 

include_once("./_common.php");

 

//추천코드가 있는지 확인하고 없으면 가입할 수 없습니다.

if( $config[cf_code_time] )

{

if( $regcode != "")

{

//$time = $config[cf_code_time]/24;

$t1 = $config[cf_code_time] * 3600;

 

//$sql = "select *, count(*) as cnt from $g4[code_table] where co_send ='$regcode' and  now() <= date_add(co_send_datetime,interval $time day)  ";

$sql = "select *, count(co_id) as cnt from $g4[code_table] where co_send ='$regcode'";

$result = sql_fetch($sql);

 

if($config[cf_code_time] && strtotime($result[co_send_datetime]) + $t1 < $g4[server_time])

alert("유효기간이 지난 추천코드 입니다.", "/login.php");

 

//싱글코드 사용옵션이 있으면 주문수를 확인한다

if( $result[cnt] > 1  && $config[cf_code_single] )

alert("이미 사용된 추천코드 입니다.");

 

if( $result[co_send] == $regcode )

goto_url("$g4[bbs_path]/register_form.php?regcode=$regcode");

}

}

?>

홈페이지

 

   

 

 

   

 

     

       

   

 

   

   

 

     

   

     

 

   

 

 

   

 

     

       

     

     

       

     

   

     

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

답변 1개

채택된 답변
+20 포인트
8년 전

head.php 로그인 부분 코드를 잘라내서 tail.php 에 붙여 넣어주시면 됩니다. 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

지지배이배
8년 전
어느부분을 tail로 옮겨야 하는 건가요? 잘몰라서요. ㅠ


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

function get_time() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
$start = get_time();

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/connect.lib.php");

include_once "$g4[path]/msg_alert.php";
?>
<link type="text/css" href="<?=$g4[path]?>/top_css/lrtk.css" rel="stylesheet" />
<script type="text/javascript" src="<?=$g4[path]?>/top_js/jquery.js"></script>
<script type="text/javascript" src="<?=$g4[path]?>/top_js/js.js"></script>
<style type="text/css">
<!--
body {
background-color: #000000;
font-size:12px;
}
span.nottxt{
display:block;
width:700px;
height:20px;
line-height:20px;
white-space:nowrap;
overflow:hidden;
}
-->

</style>
<div style="margin:0 auto;width:1200px;">
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>
<BODY style="BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: center top" leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<!-- top start --
<div id="tbox">
<a id="pinglun" href="<?=$g4[path]?>/bbs/write.php?bo_table=b10"></a>
<a id="xiangguan" href="<?=$g4[path]?>/bbs/betting.php?mode=betting"></a>
<a id="gotop" href="javascript:void(0)"></a>
</div>
<!-- top end -->
<table width="1180" height="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="<?=$g4[path]?>/main_image/main_bg.jpg" style="background-repeat:repeat-x"><table width="1176" height="165" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="1176" height="91" border="0" cellpadding="0" cellspacing="0" background="<?=$g4[path]?>/main_image/main_image/totomenu_13.jpg" style="background-repeat:repeat-x">
<tr>
<td valign="top"><table width="1176" height="173" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="62" valign="top"><table width="100" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=a40"><img src="<?=$g4[path]?>/main_image/totomenu_02.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=a20"><img src="<?=$g4[path]?>/main_image/totomenu_03.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=a30"><img src="<?=$g4[path]?>/main_image/totomenu_04.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=e10"><img src="<?=$g4[path]?>/main_image/totomenu_05.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/history.php"><img src="<?=$g4[path]?>/main_image/totomenu_06.png" alt="" border="0"></a></td>
</tr>
</table></td>
<td width="185" rowspan="2" valign="top" style="CURSOR: pointer" onClick="location='/'"><!--<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="175" height="143">
<param name="movie" value="<?=$g4[path]?>/p8.swf">
<param name="quality" value="high">
<PARAM NAME=wmode value=transparent>
<embed src="<?=$g4[path]?>/p8.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="175" height="143"></embed>
</object>--></td>
<td align="right" valign="top" style="padding-right:40px; font-weight:bold;"><table width="100" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=z30"><img src="<?=$g4[path]?>/main_image/totomenu_08.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=z30"><img src="<?=$g4[path]?>/main_image/totomenu_09.png" alt="" border="0"></a></td>
<td><a href="<?=$g4[path]?>/bbs/board.php?bo_table=z10"><img src="<?=$g4[path]?>/main_image/totomenu_10.png" alt="" border="0"></a></td>
<td style="padding-right:20px;"><a href="<?=$g4[path]?>/guide.php"><img src="<?=$g4[path]?>/main_image/totomenu_11.png" alt="" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="500" height="69" valign="top" style="padding-top:10px;"><table width="491" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="16" valign="top"

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

답변을 작성하려면 로그인이 필요합니다.

로그인