약관출력...<?=get_text($config[cf_stipulation])?> > 그누4 사전

그누4 사전

프로그램 소스코드에는 알쏭달쏭한 변수들이 많이 있지만 어디에서 사용하는것인지 모를때가 있습니다.
바로 이럴때 여러 회원님들이 쉽게 풀이해서 올려주신 내용을 참고하는곳이랍니다.

약관출력...<?=get_text($config[cf_stipulation])?> 정보

약관출력...<?=get_text($config[cf_stipulation])?>

본문

$config[cf_stipulation]

회원가입 모듈의 register.skin.php(member skin)에 위치해 있으며 관리자일반설정의 약관을 받아와서 출력합니다.
만일 회원가입 모듈을 벗어난 일반php에서 약관을 출력하고 싶다면...

 register.skin.php의 textarea 테이블도 같이 끌어와서  불러오면...
-----------------------------------------------------------------------------------------------------------------------------------------
<?
include_once("./_common.php");

$g4[title] = "이용약관";
include_once("./_head.php");
?>

<!-- 약관출력시작 -->
      <table style="border-collapse:collapse;" cellpadding="0" cellspacing="0"  >
        <tr><td height="230" align="center"><textarea rows=15 readonly style="width:100%; border-width:1; border-color:rgb(204,204,204); border-style:solid; padding:20;"><?=get_text($config[cf_stipulation])?></textarea></td></tr>
      </table>
 <!-- 약관출력끝 -->

<?
include_once("./_tail.php");
?>
-----------------------------------------------------------------------------------------------------------------------------------------
이런식이 되겠죠 ...

댓글 전체

전체 61 |RSS
그누4 사전 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT