mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1379 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5670726210
commit
d0b03467f9
7 changed files with 81 additions and 7 deletions
|
|
@ -25,7 +25,6 @@
|
|||
<action name="dispMemberAdminInfo" type="view" standalone="true" />
|
||||
<action name="dispMemberAdminInsertJoinForm" type="view" standalone="true" />
|
||||
<action name="dispMemberAdminDeniedIDList" type="view" standalone="true" />
|
||||
<action name="dispMemberAdminMailing" type="view" standalone="true" />
|
||||
|
||||
<action name="getMemberMenu" type="model" standalone="true" />
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@
|
|||
$lang->default_group_2 = "정회원";
|
||||
$lang->admin_group = "관리그룹";
|
||||
|
||||
$lang->send_start_date = "발송 시작일";
|
||||
$lang->send_finish_date = "발송 완료일";
|
||||
$lang->sended_count = "발송 대상자";
|
||||
|
||||
$lang->remember_user_id = '아이디 저장';
|
||||
|
||||
$lang->already_logged = '이미 로그인되어 있습니다';
|
||||
|
|
|
|||
|
|
@ -74,9 +74,13 @@
|
|||
|
||||
// 관리자 정보 세팅
|
||||
$admin_info = Context::gets('user_id','password','nick_name','user_name', 'email_address');
|
||||
if($admin_info->user_id) {
|
||||
// 관리자 정보 입력
|
||||
$oMemberController->insertAdmin($admin_info);
|
||||
|
||||
// 관리자 정보 입력
|
||||
$oMemberController->insertAdmin($admin_info);
|
||||
// 로그인 처리시킴
|
||||
$output = $oMemberController->doLogin($admin_info->user_id);
|
||||
}
|
||||
|
||||
// 금지 아이디 등록 (기본 + 모듈명)
|
||||
$oModuleModel = &getModel('module');
|
||||
|
|
@ -91,10 +95,6 @@
|
|||
$oMemberController->insertDeniedID('ftp','');
|
||||
$oMemberController->insertDeniedID('http','');
|
||||
|
||||
// 로그인 처리시킴
|
||||
$output = $oMemberController->doLogin($admin_info->user_id);
|
||||
if(!$output) return $output;
|
||||
|
||||
// member 에서 사용할 cache디렉토리 생성
|
||||
FileHandler::makeDir('./files/member_extra_info/attach/image_name');
|
||||
FileHandler::makeDir('./files/member_extra_info/attach/image_mark');
|
||||
|
|
|
|||
|
|
@ -513,5 +513,6 @@
|
|||
|
||||
$this->setTemplateFile('denied_id_list');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
10
modules/member/schemas/member_mailing.xml
Normal file
10
modules/member/schemas/member_mailing.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<table name="member_mailing">
|
||||
<column name="mailing_srl" type="number" size="11" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="title" type="varchar" size="255" notnull="notnull" />
|
||||
<column name="content" type="text" notnull="notnull" />
|
||||
<column name="regdate" type="date" index="idx_regdate" />
|
||||
<column name="send_start_date" type="date" />
|
||||
<column name="send_finish_date" type="date" />
|
||||
<column name="sended_count" type="number" size="11" default="0" notnull="notnull" />
|
||||
<column name="list_order" type="number" size="11" notnull="notnull" index="idx_list_order" />
|
||||
</table>
|
||||
59
modules/member/tpl/mailing_list.html
Normal file
59
modules/member/tpl/mailing_list.html
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<!--#include("header.html")-->
|
||||
<!--%import("filter/insert_denied_id.xml")-->
|
||||
<!--%import("filter/update_denied_id.xml")-->
|
||||
|
||||
<!-- 정보 -->
|
||||
<div>
|
||||
{number_format($total_count)},
|
||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||
</div>
|
||||
|
||||
<!-- 목록 -->
|
||||
<div>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<th>{$lang->no}</th>
|
||||
<th>{$lang->title}</th>
|
||||
<th>{$lang->regdate}</th>
|
||||
<th>{$lang->send_start_date}</th>
|
||||
<th>{$lang->send_finish_date}</th>
|
||||
<th>{$lang->sended_count}</th>
|
||||
<th>{$lang->cmd_send}</th>
|
||||
</tr>
|
||||
<!--@foreach($member_list as $no => $val)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<td><a href="#" onclick="location.href='{getUrl('act','dispMemberAdminInsertMailing','mailing_srl',$val->mailing_srl)}';return false;">{$val->title}</a></td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td>{zdate($val->send_start_date,"Y-m-d")}</td>
|
||||
<td>{zdate($val->send_finish_date,"Y-m-d")}</td>
|
||||
<td>{number_format($val->sended_count)}</td>
|
||||
<td>
|
||||
<!--@if(!$val->send_finish_date)-->
|
||||
<a href="#">{$lang->cmd_send}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div>
|
||||
<a href="{getUrl('page','','mailing_srl','')}">[{$lang->first_page}]</a>
|
||||
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
{$page_no}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'mailing_srl','')}">[{$page_no}]</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'mailing_srl','')}">[{$lang->last_page}]</a>
|
||||
</div>
|
||||
|
||||
<!-- 작성 버튼 -->
|
||||
<div>
|
||||
[<a href="#" onclick="location.href='{getUrl('act','dispMemberAdminInsertMailing')}';return false;">{$lang->cmd_make}</a>]
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue