소개
주요기능
스킨기능
알림기능
분류기능
편집기기능
데모보기
메뉴관리
페이지관리
팝업창관리
배너관리
지도관리
이웃관리
게시판관리
사진관리
폼메일관리
접속통계관리
설문조사관리
댓글관리
QR코드관리
사용자
관리자
회원관리
PC용 웹메신저
모바일용 웹메신저
메신저 관리
관리자관리
초기환경설정
계정초기화
솔루션초기화
스킨만들기
홈페이지 만들기
게시판 만들기
사진앨범 만들기
폼메일 만들기
팝업/배너 만들기
회원관리하기
관리자 설정하기
HOME > 호스팅 > 아사프로2.0 > 만들기 > 스킨만들기 > 일정관리스킨
 
공통제작 방법게시판스킨사진관리스킨폼메일스킨설문조사스킨안내페이지스킨
관리자스킨관리자로그인스킨웹메일로그인스킨회원스킨일정관리스킨접속통계스킨
1. 디자인하기
▸ 새롭게 스킨을 제작하기 위해서 기존 샘플 포토샵 파일을 다운로드할 수 있습니다.
▸ 포토샵 사용법을 잘 모를 경우 http://center.asadal.com/web/photoshop/ 페이지에서 포토샵 사용법을 배울 수 있습니다.
(1) 일일일정
(2) 주간일정
(3) 월간일정
(4) 년간일정
(5) 일정추가
2. HTML 및 함수 사용하기
샘플로 제공되는 스킨의 HTML을 기본으로 새롭게 디자인한 것을 코딩합니다. HTML의 사용법을 잘 모를 경우 http://center.asadal.com/web/html/ HTML 강좌페이지를 참고하십시오.
(1) 일일일정 코딩하기

<style type="text/css">
    .calendarColor1{background:#E6EFFF;}
    .calendarColor2{background:#9AB6E4;}
</style>

<?php

$a
->setCadendar_d("시간::제목::유형||년::월::일::오전::오후::시");
?>
(2) 주간일정 코딩하기

<style type="text/css">
    .calendarColor1{background:#E6EFFF;}
    .calendarColor2{background:#9AB6E4;}
</style>

<?php

$a
->setCadendar_w("날자::시간::주간일정::유형||년::월::일::주차::오전::오후::시::일요일::월요일::화요일::수요일::목요일::금요일::토요일");
?>

(3) 월간일정 코딩하기

<style type="text/css">
    .calendarColor1{background:#E6EFFF;}
    .calendarColor2{background:#9AB6E4;}
</style>

<?php

$a
->setCadendar_m("일::월::화::수::목::금::토||년::월::일::전체::총::개");
?>


(4) 년간일정 코딩하기

<style type="text/css">
    .calendarColor1{background:#E6EFFF;}
    .calendarColor2{background:#9AB6E4;}
</style>

<?php

$a
->setCadendar_y("년||년::월::전체::총::개");
?>


(5) 일정추가 코딩하기
<table cellpadding="0" cellspacing="0" border="0" width="100%"  align="right"> 
    <tr >
        <td align="right">
        <div id="div_write1" style="display:none;text-align:right;">
            <input type="button" name="addsch" id="save" value="저장하기" onclick="javascript:schedule_add();">
            <!--input type="button" name="directory" id="save" value="목록으로" onclick="javascript:add_return_url();"-->
        </div>
        <div id="div_modify1" style="display:none">
            <input type="button" name="addsch" id="save" value="저장하기" onclick="javascript:schedule_modify();">
            <input type="button" name="del" id="del" value="삭제하기" onclick="javascript:schedule_delete('<?php $a->getGetData('no')?>');">
        </div>
        <?php $a->button_check_type('1')?>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" ><tr  height="40"><td></td></tr></table>
<table border="0" cellpadding="4" cellspacing="0" width="100%" bgcolor="#E6EFFF" align="center">
<tr>
    <td>
        <table border="0" cellpadding="4" cellspacing="1" width="100%" align="center" bgcolor="#9AB6E4">
        <form name="create_frm" method="post" target="" action="" enctype="multipart/form-data">
        <input type="hidden" name="control_action_url" value="<?php $a->getParmerArr('ASADAL_CONTROL_ACTION_URL')?>">
        <input type="hidden" name="action_url" value="<?php $a->getParmerArr('SCHEDULE_ACTION_URL')?>">
        <input type="hidden" name="schedule_no" value="<?php     $a->getGetData('no')?>">
        <input type="hidden" name="rtype" value="<?php    $a->getGetData('rtype'?>">
        <input type="hidden" name="flag1" value="<?php     $a->getGetData('flag1')?>">
        <input type="hidden" name="flag2" value="<?php     $a->getGetData('flag1')?>">
        <input type="hidden" name="mode_tmp" value="">
        <input type="hidden" name="flag" value="<?php      $a->getRequestData('flag')?>">
        <input type="hidden" name="repage" value="<?php $a->getRequestData('repage')?>">
        <input type="hidden" name="super_auth" value="<?=$super_auth?>">
        <input type='hidden' name='script_url' value='<?php $a->getScriptUrl();?>'>

        <tr bgcolor="#fffFFF" height="30">
            <td  bgcolor="#E6EFFF" align="center" width="60">제목<!-- 제목 --></td>
            <td><input type="text" name="title" id="title" value="<?php $a->getModifyData("title::$a->Calendar_type");?>" size="50"></td></tr>
        <tr bgcolor="#fffFFF" height="30">
            <td bgcolor="#E6EFFF" align="center">일정날짜<!-- 일정날짜 --></td>
            <td>
                <select id='period[start][year]' name='period[start][year]'></select>년
                <select id='period[start][month]' name='period[start][month]'></select>월
                <select id='period[start][day]' name='period[start][day]'></select>일        
                <select id='period_start_hour' name='period[start][hour]'>
                <?php $a->setTimeSelectBox("starthour::$a->Calendar_type");//0~23?></select>시
                <select id='period_start_minute' name='period[start][minute]'>
                <?php $a->setTimeSelectBox("startminute::$a->Calendar_type");//0~59?></select>분~
                <select id='period[end][year]' name='period[end][year]'></select>년
                <select id='period[end][month]' name='period[end][month]'></select>월
                <select id='period[end][day]' name='period[end][day]'></select>일
                <select id='period_end_hour' name='period[end][hour]'>
                <?php $a->setTimeSelectBox("endhour::$a->Calendar_type");//0~23?></select>시
                <select id='period_end_minute' name='period[end][minute]'>
                <?php $a->setTimeSelectBox("endminute::$a->Calendar_type");//0~59?></select>
            </td></tr>
            <?php
                $a
->setDateSelectBox("startYMD::$a->Calendar_type",$a->requestdata['date']);//start Y-m-d    
                
$a->setDateSelectBox("endYMD::$a->Calendar_type",$a->requestdata['date']);//end Y-m-d
            
?>
        <tr  <?php $a->display_checked("address_use")?> >
            <td bgcolor="#E6EFFF" align="center" height='30'>장소<!-- 장소 --></td>
            <td bgcolor="#ffffff">
            <input type="text" name="address" id="address" value="<?php $a->getModifyData("address::$a->Calendar_type");?>" size="70" maxlength="100">
            </td></tr>
        <tr bgcolor="#fffFFF" align="center" height="">
            <td bgcolor="#E6EFFF">공용/개인<!-- 공용/개인 --></td>
            <td align="left">
                <input type="radio" name="share" id="" value="Y" <? $a->modify_radio_checkd("share::Y::1")?>>공용일정&nbsp;&nbsp;
                <input type="radio" name="share" id="" value="N" <? $a->modify_radio_checkd("share::N")?>>개인일정
            </td></tr>
        <tr bgcolor="#fffFFF" align="center" height="">
            <td bgcolor="#E6EFFF">분류<!-- 분류 --></td>
            <td align="left">
                <input type="button"  value="분류선택" onclick="javascript:setCategory(this.form);">&nbsp;
                <input type='hidden' name='code' value='<?php $a->category_getModifycode("categoryArray::cate_code::$a->Calendar_type");?>'>
                <input type="hidden" name="category_cate_code" value="<?php $a->code();?>">
                <input type="text" name="cate_name" id="cate_name" value="<?php $a->category_getModifyname("categoryArray::cate_name::$a->Calendar_type");?>" readonly size='10' maxlength="50"></td></tr>
        <tr>
            <td bgcolor="#E6EFFF" align="center">유형<!-- 일정유형 --></td>
            <td bgcolor="#ffffff"><?php $a->getScheduleType();?>
            </td></tr>
        <tr <?php $a->display_checked('leader_use')?>>
            <td bgcolor="#E6EFFF" align="center" height='30'>책임자<!-- 책임자 --></td>
            <td bgcolor="#ffffff">
            <input type="text" name="leader" id="leader" value="<?php $a->getModifyData("leader::$a->Calendar_type");?>" size="30" maxlength="50">
            </td></tr>
        <tr <?php $a->display_checked('attender_use')?>>
            <td bgcolor="#E6EFFF" align="center" height='30'>참석자<!-- 참석자 --></td>
            <td bgcolor="#ffffff">
                <input type="text" name="attender" id="attender" value="<?php $a->getModifyData("attender::$a->Calendar_type");?>" size="70" maxlength="100">
            </td></tr>
        <tr <?php $a->display_checked('writer_use')?>>
            <td bgcolor="#E6EFFF" align="center" height='30'>작성자<!-- 작성자 --></td>
            <td bgcolor="#ffffff">
            <input type="text" name="writer_name" value="<?php $a->getModify_writer_name("writer_name::$a->Calendar_type");?>" class="">
            </td></tr>
        <tr>
            <td bgcolor="#E6EFFF" align="center">일정내용<!-- 일정내용 --></td>
            <td bgcolor="#ffffff" align="left">
            <script type="text/javascript" src="<?php $a->getAsaproCfg('MODULE::URL');?>/edit/js/asaEditor.js"></script>
            <?php $a->getAsaEdior("$a->Calendar_type::ko");//asaeditor type::language?></td></tr>
        <tr>
            <td bgcolor="#E6EFFF" align="center">반복설정<!-- 반복설정 --></td>
            <td bgcolor="#ffffff" align="left">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td>
                        <input type="radio" name="repeat_measure_use" id="repeat_no" value="n" onclick="javascript:form_hidden();" <?php $a->modify_repeated_checkd("repeat_measure::n::1")?>>반복안함&nbsp;&nbsp;
                        <input type="radio" name="repeat_measure_use" id="repeat_yes" value="e" onclick="javascript:show_form();" <?php $a->modify_repeated_checkd("repeat_measure::e")?>>반복
                    </td></tr>
                </table>
                
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td height="30">
                        <input type="radio" name="repeat_measure" id="repeat_date" value="d" <?php $a->radio_checkd("repeat_unit::d")?>>일&nbsp;&nbsp;
                        <input type="radio" name="repeat_measure" id="repeat_week" value="w" <?php $a->radio_checkd("repeat_unit::w")?> >주&nbsp;&nbsp;
                        <input type="radio" name="repeat_measure" id="repeat_month" value="m" <?php $a->radio_checkd("repeat_unit::m")?> >월&nbsp;&nbsp;
                        <input type="radio" name="repeat_measure" id="repeat_year" value="y" <?php $a->radio_checkd("repeat_unit::y")?> >년&nbsp;&nbsp;&nbsp;
                        반복주기<!-- 반복주기 -->: 
                        <input type="text" name="repeat_period" id="repeat_period" value="<?php $a->getModifyData("repeat_period::$a->Calendar_type");?>" size="10" maxlength="10">: 
                        <select id='repeat[end][year]' name='repeat[end][year]'></select>년
                        <select id='repeat[end][month]' name='repeat[end][month]'></select>월
                        <select id='repeat[end][day]' name='repeat[end][day]'></select>일까지    
                        <?php $a->setDateSelectBox("repeatendYMD::$a->Calendar_type");//end Y-m-d?>
                    </td></tr>
                </table>
            </td></tr>
        <tr>
            <td bgcolor="#E6EFFF" align="center">첨부파일<!-- 첨부파일 --></td>
            <td bgcolor="#ffffff" align="left">
                <!-- 파일 첨부 시작 -->
                <table border="0" cellpadding="5" cellspacing="0" width="100%">
                    <tr>
                        <td>
                        <input type="hidden" name="mode_file" value="ffff">
                        <input type="hidden" name="delIndex" value="">
                        <input type="hidden" name="file_code" value="<?php $a->set_file_code()?>">
                        <input type="hidden" name="schedule_no" value="<?php $a->getGetData('no')?>">
                        <input type="hidden" name="delValue" value="">
                        <input type="hidden" name="delName" value="">
                        <input type="hidden" name="fwValue" value="">
                        <input type="hidden" name="fwSize" value="">
                        <input type="hidden" name="file_limit" value="300*1024">
                        <input type="hidden" name="upload_filename" value="">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="70%">
                                        <input type="file" name="upFile" size="54" >
                                    </td>
                                    <td width="5"></td>
                                    <td>
                                    </td>
                                </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="1"></td>
                        </tr>
                        <tr>
                            <td>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="50%" >
                                        <img src="<?=$a->imagepath()?>/add.gif" border="0" valign="absmiddle" onclick="javascript:run_attach();" style="cursor:hand">
                                        <img src="<?=$a->imagepath()?>/del.gif" border="0" valign="absmiddle" onclick="javascript:del_attach();" style="cursor:hand">
                                    </td>
                                    <td width="5"></td>
                                    <td align="right">
                                        총 파일 크기<!-- 총 파일 크기 --> : <input type="text" name="file_Size" size="4" value="0" style="border:0px; text-align:right; size:8pt; font:Dotum; height:15px;" readOnly>KB / 제한된 크기<!-- 제한된 크기 --> : 300MB&nbsp;
                                    </td>
                                </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="1"></td>
                        </tr>
                        <tr>
                            <td>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td rowspan="2" nowrap width="100%" >
                                        <select name="file_list" size="10" style="width:100%;border:1px solid #000000">
                                        <option name="-1">---------------------------------첨부파일 목록<!-- 첨부파일 목록 -->----------------------------------</option>
                                        </select></script>
                                        <br>
                                        <?php $a->iframe();?>
                                    </td>
                                    <td>&nbsp;</td>
                                </tr>
                                </table>
                            </td>
                        </tr>
                        </table>
                        </td>
                    </tr>
                </table>
                <!-- 파일 첨부 끝 -->
            </td></tr>
            <!--  파일 내려받기  -->
            <!-- <div id="div_file" > -->
            <tr height="30" id="div_file" <?php $a->DownFileDisplay();?>>
            <td bgcolor="#E6EFFF" align="center">파일받기</td>
            <td bgcolor="#FFFFFF"><?php $a->showDownloadList();//download ?></td></tr>
        </form>
        </table>
    </td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" ><tr height="20"><td ></td></tr></table>
<table cellpadding="0" cellspacing="0" border="0" width="100%"  align="center"> 
<tr >
    <td align="center">
        <div id="div_write2" style="display:none;text-align:center;">
            <input type="button" name="addsch" id="save" value="저장하기" onclick="javascript:schedule_add();">
            <!--input type="button" name="directory" id="save" value="목록으로" onclick="javascript:add_return_url();"-->
        </div>
        <div id="div_modify2" style="display:none">
            <input type="button" name="addsch" id="save" value="저장하기" onclick="javascript:schedule_modify();">
            <input type="button" name="del" id="del" value="삭제하기" onclick="javascript:schedule_delete('<?php $a->getGetData('no')?>');">
        </div>
        <?php $a->button_check_type('2')?>
    </td>
</tr>
</table>
(6) 일정관리에서 사용할 수 있는 함수
공통 $a->getSchedulelist('type') (히든값)
$a->code() (히든값)
$a->getParmerArr('ASADAL_CONTROL_ACTION_URL') (히든값)
$a->imagepath() 이미지경로
$a->formDateSearchList() 날짜검색라이브러리
$a->radio_checkd('search_share::A') 체크(전체)
$a->radio_checkd('search_share::Y') 체크(공용일정)
$a->radio_checkd('search_share::N') 체크(개인일정)
$a->category_name() 분류text 값
$a->category_code() 분류(히든값)
$a->select_ManyType('전체','search_type') 유형출력
$a->radio_checkd('search_col::t') 체크(제목)
$a->radio_checkd('search_col::c') 체크(내용)
$a->radio_checkd('search_col::w') 체크(설명)
$a->is_selected('search_method::1') 체크(시작)
$a->is_selected('search_method::2') 체크(포함)
$a->is_selected('search_method::3') 체크(일치)
$a->getSchedulelist('flag') 검색 스크립함수 인자
$a->sub_type() (히든값)
$a->setTimeSelectBox('starthour::A') 시작(시)
$a->setTimeSelectBox('startminute::A') 시작(분)
$a->setTimeSelectBox('endhour::A') 끝(시)
$a->setTimeSelectBox('endminute::A') 끝(분)
$a->setDateSelectBox('startYMD::A') 시작시간
$a->setDateSelectBox('endYMD::A') 끝나는시간
$a->category_name() 분류text 값
$a->category_code() 분류(히든값)
$a->show_title_flag('1') ◀버튼
$a->show_title_flag() ▶버튼
$a->calendar() 작은달력
$a->schedule_print() 인쇄하기 함수
일일일정 $a->show_title("년::월::일::일정") 일일일정 큰 제목
$a->changeDate("년::월::일::일요일::월요일::화요일::수요일::목요일::금요일::토요일") 달력옆 작은 날짜
$a->daily_list("오전::오후::시::#E6EFFF") 일일일정내용
주간일정 $a->show_title("년::월::주차::일정") 주간일정 큰날짜
$a->changeDate("년::월::일::일요일::월요일::화요일::수요일::목요일::금요일::토요일") 달력옆 작은 날짜
$a->weekly_list("#E6EFFF::월::일::일요일::월요일::화요일::수요일::목요일::금요일::토요일") 주간일정내용
월간일정 $a->show_title("년::월::일정") 주간일정 큰날짜
$a->changeDate("년::월::일::일요일::월요일::화요일::수요일::목요일::금요일::토요일") 달력옆 작은 날짜
$a->getGlobalsData('sunday_color') 일요일 색상(홍색)
$a->getGlobalsData('saturday_color') 토요일 색상(청색)
$a->monthly_list("#E6EFFF::#E6FFFF") 월간일정 내용
년간일정 $a->show_title("년::일정") 주간일정 큰날짜
$a->changeDate("년::월::일::일요일::월요일::화요일::수요일::목요일::금요일::토요일") 달력옆 작은 날짜
$a->yearly_list('월::전체::#E6EFFF') 년간일정 내용
검색 $a->all_searchtop("년::월::일::일정") 검색날짜
$a->print_button() 검색인쇄하기 함수
$a->getGlobalsData('sunday_color') 일요일 색상(홍색)
$a->getGlobalsData('saturday_color') 토요일 색상(청색)
$a->search_list("#e6ffff::#ffffff") 검색한 내용
일정 추가 $a->getGetData('no') 삭제하기버튼을 클릭
할대 인자(히든값)
$a->button_check_type('1') 수정페이지 체크함수
$a->getParmerArr('SCHEDULE_ACTION_URL') (히든값)
$a->getGetData('rtype') (히든값)
$a->getGetData('flag1') (히든값)
$a->getRequestData('flag') (히든값)
$a->getRequestData('repage') (히든값)
$a->getScriptUrl() (히든값)
$a->getModifyData("title::$a->Calendar_type") 제목값
$a->setTimeSelectBox("starthour::$a->Calendar_type") 일정날짜 시작(시)
$a->setTimeSelectBox("startminute::$a->Calendar_type") 일정날짜 시작(분)
$a->setTimeSelectBox("endhour::$a->Calendar_type") 일정날짜 끝(시)
$a->setTimeSelectBox("endminute::$a->Calendar_type") 일정날짜 끝(분)
$a->setDateSelectBox("startYMD::$a->Calendar_type",$a->requestdata['date']) 시작 시간
$a->setDateSelectBox("endYMD::$a->Calendar_type",$a->requestdata['date']) 끝나는 시간
$a->display_checked("address_use") 장소출력체크
$a->getModifyData("address::$a->Calendar_type") 장소값
$a->modify_radio_checkd("share::Y::1") 공용일정체크
$a->modify_radio_checkd("share::N") 개인일정체크
$a->category_getModifycode("categoryArray::cate_code::$a->Calendar_type") 분류코드
$a->code() (히든값)
$a->getScheduleType() 유형값
$a->display_checked('leader_use') 책임자출력체크
$a->getModifyData("leader::$a->Calendar_type") 책임자값
$a->display_checked('attender_use') 참석자출력체크
$a->getModifyData("attender::$a->Calendar_type") 참석자값
$a->display_checked('writer_use') 작성자출력체크
$a->getModify_writer_name("writer_name::$a->Calendar_type") 작성자값
$a->getAsaproCfg('MODULE::URL') 모듈경로
$a->modify_repeated_checkd("repeat_measure::n::1") 반복안함체크
$a->modify_repeated_checkd("repeat_measure::e") 반복체크
$a->radio_checkd("repeat_unit::d") 일체크
$a->radio_checkd("repeat_unit::w") 주체크
$a->radio_checkd("repeat_unit::m") 달체크
$a->radio_checkd("repeat_unit::y") 년체크
$a->getModifyData("repeat_period::$a->Calendar_type") 반복주기값
$a->setDateSelectBox('repeatendYMD::$a->Calendar_type') 시간함수
$a->set_file_code() (히든값)
$a->imagepath() 이미지경로
$a->iframe() 첨부파일
$a->DownFileDisplay() 파일보이기
$a->showDownloadList() 다운파일리스트
$a->button_check_type('2') 수정페이지 체크함수

사이트명 : 나호스팅 | 회사명 : (주)아사달 | 대표이사 : 서창녕 | 대표전화 : 070-7510-3007 l 팩스번호 : 02-2026-2008
사업자등록번호 : 206-81-24351 I 법인등록번호 : 110111-1940504 | 통신판매업신고 : 제18-890호 | 벤처확인번호: 051134532200563
(우편번호 :153-803) 서울특별시 금천구 가산동 371-28번지 우림라이온스밸리 A동 8층 (주)아사달
Copyright ⓒ nahosting.co.kr All rights reserved.
Internet Explorer Google Chrome Mozilla Firefox
Apple Safari Opera browser
페이지 맨 위로 이동하기