주소를 list.skin에서 불러오기 정보
주소를 list.skin에서 불러오기본문
view.skin.php에서 상단과 출력 부분에 아래와 같이하면 주소가 출력이 잘 됩니다...
이것을 list.skin.php에서 보여질려면 어떻케해야하나요
도와주세요
//view.skin.php상단부분
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$ex13_filed = explode("|",$view[wr_5]); //주소부분
$add_no = $ex13_filed[0] ."-". $ex13_filed[1];
$add = $ex13_filed[2] ." ". $ex13_filed[3];
?>
//view.skin.php에서 출력부분 소스
<?
if($ex13_filed[0]) echo "{$add_no}";
if($ex13_filed[2]) echo " {$add}";
?>
이것을 list.skin.php에서 보여질려면 어떻케해야하나요
도와주세요
//view.skin.php상단부분
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$ex13_filed = explode("|",$view[wr_5]); //주소부분
$add_no = $ex13_filed[0] ."-". $ex13_filed[1];
$add = $ex13_filed[2] ." ". $ex13_filed[3];
?>
//view.skin.php에서 출력부분 소스
<?
if($ex13_filed[0]) echo "{$add_no}";
if($ex13_filed[2]) echo " {$add}";
?>
댓글 전체
list.skin.php 에서도 비슷합니다.
중간 리스트 부분에 for 문아래쪽에 넣으시면 됩니다.
for ($i=0; $i<count($list); $i++) {
$ex13_filed = explode("|",$list[$i][wr_5]);
$ext13_00 = $ex13_filed[0];
$ext13_01 = $ex13_filed[1];
$ext13_02 = $ex13_filed[2];
$ext13_03 = $ex13_filed[3];
넣어주시구요
출력은
<?=$ext13_03 ?>
이런식입니다.
중간 리스트 부분에 for 문아래쪽에 넣으시면 됩니다.
for ($i=0; $i<count($list); $i++) {
$ex13_filed = explode("|",$list[$i][wr_5]);
$ext13_00 = $ex13_filed[0];
$ext13_01 = $ex13_filed[1];
$ext13_02 = $ex13_filed[2];
$ext13_03 = $ex13_filed[3];
넣어주시구요
출력은
<?=$ext13_03 ?>
이런식입니다.
아 해결됫어요 감사합니다........
이미있느느것과 아래와 같이 합쳐서 해결도ㅒ어요 감사합니다....
<?
for ($i=0; $i<count($list); $i++) {
$bg = $i%2 ? 0 : 1;
$ex13_filed = explode("|",$list[$i][wr_5]);
$ext13_00 = $ex13_filed[0];
$ext13_01 = $ex13_filed[1];
$ext13_02 = $ex13_filed[2];
$ext13_03 = $ex13_filed[3];
?>
이미있느느것과 아래와 같이 합쳐서 해결도ㅒ어요 감사합니다....
<?
for ($i=0; $i<count($list); $i++) {
$bg = $i%2 ? 0 : 1;
$ex13_filed = explode("|",$list[$i][wr_5]);
$ext13_00 = $ex13_filed[0];
$ext13_01 = $ex13_filed[1];
$ext13_02 = $ex13_filed[2];
$ext13_03 = $ex13_filed[3];
?>