[클럽]커버스토리 등록추가하였을 때 바뀌지 않는 버그 정보
[클럽]커버스토리 등록추가하였을 때 바뀌지 않는 버그
관련링크
            
            http://www.sir.co.kr
            44회 연결
        
            본문
            
            
                        cb_list.php에서 아래의 내용을 수정하세요
///////수정전
$cs = sql_fetch(" select cs_img from $nc[tbl_coverstory] where cb_id = '$row[cb_id]' ");
$image = "./images/cover.jpg";
if ( file_exists("./data/$row[cb_id]/$cs[cs_img]") && $cs[cs_img] ) {
$image = "./data/$row[cb_id]/". urlencode($cs[cs_img]);
}
///////수정후
$cs = sql_fetch(" select cs_img from $nc[tbl_coverstory] where cb_id = '$row[cb_id]' and cs_use = 'Y' order by cb_id desc");
$image = "./images/cover.jpg";
if ( file_exists("./data/$row[cb_id]/$cs[cs_img]") && $cs[cs_img] ) {
$image = "./data/$row[cb_id]/". urlencode($cs[cs_img]);
}
                
                
                ///////수정전
$cs = sql_fetch(" select cs_img from $nc[tbl_coverstory] where cb_id = '$row[cb_id]' ");
$image = "./images/cover.jpg";
if ( file_exists("./data/$row[cb_id]/$cs[cs_img]") && $cs[cs_img] ) {
$image = "./data/$row[cb_id]/". urlencode($cs[cs_img]);
}
///////수정후
$cs = sql_fetch(" select cs_img from $nc[tbl_coverstory] where cb_id = '$row[cb_id]' and cs_use = 'Y' order by cb_id desc");
$image = "./images/cover.jpg";
if ( file_exists("./data/$row[cb_id]/$cs[cs_img]") && $cs[cs_img] ) {
$image = "./data/$row[cb_id]/". urlencode($cs[cs_img]);
}
                        
                추천
                
0
                
    0
댓글 1개

                
                    감사합니다.