아래의 소스에서 날짜부분을 나오지않게하려면 어디를 지워야 할까요 채택완료
// 선택옵션으로 인해 셀합치기가 가변적으로 변함 $colspan = 2;
if ($is_checkbox) $colspan++;
$download_excel_href = $board_skin_url.'/download_excel.php?bo_table='.$bo_table; if (isset($sca) && $sca) $download_excel_href .= '&sca='.$sca; if (isset($wr_1_1) && $wr_1_1) $download_excel_href .= '&wr_1_1='.$wr_1_1; if (isset($wr_1_2) && $wr_1_2) $download_excel_href .= '&wr_1_2='.$wr_1_2; if (isset($wr_1_3) && $wr_1_3) $download_excel_href .= '&wr_1_3='.$wr_1_3; if (isset($from_date) && $from_date) $download_excel_href .= '&from_date='.$from_date; if (isset($to_date) && $to_date) $download_excel_href .= '&to_date='.$to_date;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php'); ?>
답변 1개
if (isset($from_date) && $from_date) $download_excel_href .= '&from_date='.$from_date;
if (isset($to_date) && $to_date) $download_excel_href .= '&to_date='.$to_date;
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
$(function(){
$("#from_date, #to_date").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99", maxDate: "+0d" });
});
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인