인덱스 크기조절 질문입니다. 정보
인덱스 크기조절 질문입니다.본문
http://kowii.cafe24.com/gnuboard4
이고요.
인덱스 크기가 변경이 안되어서 이래저래 찔러보는데 영 안되네요.
보드를 오른쪽으로 좀더 늘리고자 합니다.
잠시만 도와주시면 감사드리겠습니다.
head.php 원문입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
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");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = "80%";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- 상단 배경 시작 -->
<style type="text/css">
body {
background-color: #333;
background-image: url(http://kowii.cafe24.com/gnuboard4/images/bg.png);
background-repeat: repeat;
}
</style>
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td>
<!-- <table width="100%" height="52" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?=$g4['path']?>/img/top_img.gif" width="100%" height="52"></td>
</tr>
</table>--></td>
</tr>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" bgcolor="#1F231F" align="center" cellspacing="0" cellpadding="0" background="http://kowii.cafe24.com/gnuboard4/images/bg.png">
<tr>
<td width="0" height="0"></td>
<!-- 로고 -->
<td width="220"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/images/M_logo.png" width="180" height="80" border="0"></a></td>
<td> </td>
<td width="390" align="right">
<table align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 처음으로 버튼 -->
<td width="78"> </td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"> </td>
<td width="78"> </td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"> </td>
<td width="78"> </td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"> </td>
</tr>
</table></td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<script type="text/javascript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<table width="80%" border=0 cellpadding=0 cellspacing=0 align="center" bgcolor="#090B09">
<tr>
<td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/top_navi.swf", "ids", 650, 58, "transparent"));</script></td>
</tr>
</table>
<table width="80%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="15%"></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=0></td>
<!-- 중간 -->
<td width="80%" valign=top>
---------------index.php원문입니다.-----------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row['bo_table'], 10, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
이고요.
인덱스 크기가 변경이 안되어서 이래저래 찔러보는데 영 안되네요.
보드를 오른쪽으로 좀더 늘리고자 합니다.
잠시만 도와주시면 감사드리겠습니다.
head.php 원문입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
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");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = "80%";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- 상단 배경 시작 -->
<style type="text/css">
body {
background-color: #333;
background-image: url(http://kowii.cafe24.com/gnuboard4/images/bg.png);
background-repeat: repeat;
}
</style>
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td>
<!-- <table width="100%" height="52" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?=$g4['path']?>/img/top_img.gif" width="100%" height="52"></td>
</tr>
</table>--></td>
</tr>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" bgcolor="#1F231F" align="center" cellspacing="0" cellpadding="0" background="http://kowii.cafe24.com/gnuboard4/images/bg.png">
<tr>
<td width="0" height="0"></td>
<!-- 로고 -->
<td width="220"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/images/M_logo.png" width="180" height="80" border="0"></a></td>
<td> </td>
<td width="390" align="right">
<table align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 처음으로 버튼 -->
<td width="78"> </td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"> </td>
<td width="78"> </td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"> </td>
<td width="78"> </td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"> </td>
</tr>
</table></td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<script type="text/javascript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<table width="80%" border=0 cellpadding=0 cellspacing=0 align="center" bgcolor="#090B09">
<tr>
<td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/top_navi.swf", "ids", 650, 58, "transparent"));</script></td>
</tr>
</table>
<table width="80%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="15%"></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=0></td>
<!-- 중간 -->
<td width="80%" valign=top>
---------------index.php원문입니다.-----------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row['bo_table'], 10, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
댓글 전체
테이블 전체 크기는 $table_width = "80%";
정의 되어 있고 게시판 크기는 게시판 관리에 가셔서 바꾸시면 됩니다.
정의 되어 있고 게시판 크기는 게시판 관리에 가셔서 바꾸시면 됩니다.
감사합니다 ^^