웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
내 홈피도 채널을?! #1
2003.03.31 23:39
제가 전에 올렸던 NZEO 채널 흉내내기 를 했었는데,
'착한마음'님이 코멘트로 새로 올려주시더라구요.
그래서 다시 올립니다.
먼저 계정에 index.html 파일을 밑의 함수처럼 올리고,
'channel'폴더를 새로 만듭니다.
<?
switch($channel)
{
case "community":
include "channel/community.php";
break;
case "zeroboard":
include "channel/zeroboard.php";
break;
case "pds":
include "channel/pds.php";
break;
default:
include "index_1.html"; // index
}
?>
default:
include "index_1.html";
은 홈피 메인이고,
case "community":
include "channel/community.php";
break;
은 채널입니다.
(역시 'channel' 폴더안에 community.php등등 파일을 올려야져.)
계속...
'착한마음'님이 코멘트로 새로 올려주시더라구요.
그래서 다시 올립니다.
먼저 계정에 index.html 파일을 밑의 함수처럼 올리고,
'channel'폴더를 새로 만듭니다.
<?
switch($channel)
{
case "community":
include "channel/community.php";
break;
case "zeroboard":
include "channel/zeroboard.php";
break;
case "pds":
include "channel/pds.php";
break;
default:
include "index_1.html"; // index
}
?>
default:
include "index_1.html";
은 홈피 메인이고,
case "community":
include "channel/community.php";
break;
은 채널입니다.
(역시 'channel' 폴더안에 community.php등등 파일을 올려야져.)
계속...