Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<table width="600" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;">
|
||||
<tr>
|
||||
<td width="101" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><?php echo html_escape(element('site_title', $emailform)); ?></td>
|
||||
<td width="497" style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br />이것은 메일발송테스트를 통해 발송된 이메일입니다
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;">
|
||||
<td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">
|
||||
<p>안녕하세요,</p>
|
||||
<p>이 메일을 받으셨다면 메일 서버는 정상적으로 작동하고 있는 것입니다.</p>
|
||||
<p>감사합니다.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
54
application/views/admin/basic/config/testemail/index.php
Normal file
54
application/views/admin/basic/config/testemail/index.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<div class="box">
|
||||
<div class="box-table">
|
||||
|
||||
<?php
|
||||
echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>');
|
||||
echo show_alert_message(element('alert_message', $view), '<div class="alert alert-auto-close alert-dismissible alert-info"><button type="button" class="close alertclose" >×</button>', '</div>');
|
||||
$attributes = array('class' => 'form-horizontal', 'name' => 'fadminwrite', 'id' => 'fadminwrite');
|
||||
echo form_open(current_full_url(), $attributes);
|
||||
?>
|
||||
<div class="alert alert-info">
|
||||
현재 메일이 정상적으로 발송되고 있는지 테스트할 수 있는 페이지입니다 <br />
|
||||
아래 입력란에 받는분 이메일 주소를 입력후에 <br />
|
||||
테스트 메일을 발송해주세요. <br />
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-striped">
|
||||
<colgroup>
|
||||
<col class="col-md-2">
|
||||
<col class="col-md-10">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td ><div class="pull-right">보내는 메일 주소</div></td>
|
||||
<td><?php echo html_escape(element('webmaster_email', element('data', $view))); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="pull-right">보내는 메일 이름</div></td>
|
||||
<td><?php echo html_escape(element('webmaster_name', element('data', $view))); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="pull-right">받는 메일 주소</div></td>
|
||||
<td><input type="email" name="recv_email" class="form-control" value="<?php echo set_value('recv_email', element('webmaster_email', element('data', $view))); ?>" /> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="btn-group pull-right" role="group" aria-label="...">
|
||||
<button type="submit" class="btn btn-success btn-sm">테스트 메일 보내기</button>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(function() {
|
||||
$('#fadminwrite').validate({
|
||||
rules: {
|
||||
recv_email: {required:true, email:true}
|
||||
}
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
Reference in New Issue
Block a user