위
<form name=frm method=post action="<?=$g5['path']?>/bbs/write_update.php" onsubmit="return checkFrm(this);">
<input type="hidden" name="token" value=<?php echo get_write_token('free') ?>>
<input type=hidden name=bo_table value="free">
이 부분은 알려주신대로
<input type="hidden" name="token" value="<?php echo $token; ?>">
이래 수정.
customer1.php
인텍스는
저걸 어케 적용할까요.
<?php
define('_INDEX_', true);
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
include_once(G5_THEME_PATH.'/head.php');
?>
<!-- 홈 배너 -->
<section id="home" class="home_section">
<div class="background_bg"></div>
<div class="container">
<div class="home_content text-center">
<div class="blue_bg text-vertical-center"><img src="<?php echo G5_URL ?>/_img/ff.png" width="85%">
<!--<h3 class="title">언제든지 무엇이든지 물어보세요</h3>
<p class="description">간편 무료 상담<br>이제 다리 쭉~ 펴고 살 수 있습니다.<br>
1대1 비밀상담으로 전혀 기록에 남지 않습니다.<br>은행,카드,사채,대부 <모든 채무 조정 가능> 모든 재삽 압류 금지</p>-->
</div>
</div>
</div>
</section>
<script>
//IE8에서 background 100% 적용
$( function() {
$.backstretch("<?php echo G5_THEME_IMG_URL ?>/bg.jpg");
});
</script>
<!-- 무료상담신청 -->
<section id="request">
<div style="width:94%;margin:0 auto;"><img src="<?php echo G5_URL ?>/_img/request_t.png" width="100%"></div>
<? include_once("customer1.php"); ?>
</section>
<div style=""><img src="<?php echo G5_URL ?>/_img/ttt.png" width="100%"></div>
<div style="width:94%;margin:0 auto;padding:8px 0 8px 0;">
<?php echo latest("topicsm", 'free', 11, 2); ?>
</div>
뭐 이래 되어 있는데..
<? include_once("customer1.php"); ?>
이 부분이죠..?
기존엔
<? include_once("customer1.php"); ?>
<? include_once("customer2.php"); ?>
이래 두 개 썼는데 안먹히더라고요.
customer2.php 부분도 아래처럼 되어 있었고.
<form name=frm method=post action="<?=$g5['path']?>/bbs/write_update.php" onsubmit="return checkFrm(this);">
<input type="hidden" name="token" value=<?php echo get_write_token('free') ?>>
<input type=hidden name=bo_table value="free">