%%46^46F^46FB47A1%%MAIN0000.tpl.php 6.7 KB
<?php /* Smarty version 2.6.26, created on 2017-05-31 13:33:23
         compiled from MAIN0000.tpl */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="Microsoft FrontPage 4.0">
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<TITLE>め〜るNiポン!</TITLE>
<script>
<?php echo '
function ichiran(){
		document.frm.action="./ichiran.php";
		document.frm.submit();
}

function GmDisp(){
		document.frm.action = "MAIN0000.php";
		document.frm.method="POST";
		document.frm.submit();
		return;
}

function reload(strDate){
		document.frm.strMainDate.value=strDate;
		document.frm.action = "MAIN0000.php";
		document.frm.method="POST";
		document.frm.submit();
		return;
}

function kojin_send(strDate){
		document.frm.strMainDate.value=strDate;
		document.frm.action = "./kojin_tran/kojin_Tran.php";
		document.frm.method="POST";
		document.frm.submit();
	return;
}

function mail_send(strDate){
		document.frm.strMainDate.value=strDate;
		document.frm.action = "SEND0000.php";
		document.frm.method="POST";
		document.frm.submit();
		return;
}

function group_send(strDate){
		document.frm.strMainDate.value=strDate;
		document.frm.action = "./group_tran/group_Tran.php";
		document.frm.method="POST";
		document.frm.submit();
		return;
}

function Detail_Disp(mail_id,flg){
		document.frm.mail_id.value=mail_id;
		if(flg=="SC"){
			document.frm.action = "LIST2000.php";
		}else{
			if(flg=="QU"){
				document.frm.action = "LIST3000.php";
			}else{
				document.frm.action = "LIST1000.php";
			}
		}
		document.frm.method="POST";
		document.frm.submit();
		return;
}


'; ?>

</script>
</HEAD>
<BODY>
<form METHOD="POST" name="frm">
<!-- ヘッダー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- メニュー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'menu.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- カレンダー表示 -->
<TABLE class="headerTbr">
	<TR>
		<TD> <img src="img/icon_ikkatu.gif" alt="メール配信" width="22" height="22" border=0>&nbsp;メール配信</TD>
		<TD align=middle>
			<SELECT name="main_year" onChange=GmDisp()><?php echo $this->_tpl_vars['Year_Data']; ?>
</SELECT>
			<SELECT name=main_mon onChange=GmDisp()><?php echo $this->_tpl_vars['Month_Data']; ?>
</SELECT>
		</TD>
		<TD align=right><INPUT type=button value="<< 先月" onclick="return reload(<?php echo $this->_tpl_vars['Before_Month']; ?>
)"><INPUT type=submit value=" 今月 " onclick="return reload(<?php echo $this->_tpl_vars['Now_Month']; ?>
)"><INPUT type=submit value="来月 >>" onclick="return reload(<?php echo $this->_tpl_vars['Next_Month']; ?>
)"> </TD>
	</TR>
</TABLE>
<TABLE class="mainTbr">
	<TR>
		<TD align="middle" bgcolor="FDDFFD" height="30"></TD>
		<TD align="middle" bgcolor="#ffffe6" height="30"></TD>
		<TD align="middle" bgcolor="#ffffe6" height="30"></TD>
		<TD align="middle" bgcolor="#ffffe6" height="30"></TD>
		<TD align="middle" bgcolor="#ffffe6" height="30"></TD>
		<TD align="middle" bgcolor="#ffffe6" height="30"></TD>
		<TD align="middle" bgcolor="#CCF8FB" height="30"></TD>
	</TR>
	<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['strCalData']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['idx']['show'] = true;
$this->_sections['idx']['max'] = $this->_sections['idx']['loop'];
$this->_sections['idx']['step'] = 1;
$this->_sections['idx']['start'] = $this->_sections['idx']['step'] > 0 ? 0 : $this->_sections['idx']['loop']-1;
if ($this->_sections['idx']['show']) {
    $this->_sections['idx']['total'] = $this->_sections['idx']['loop'];
    if ($this->_sections['idx']['total'] == 0)
        $this->_sections['idx']['show'] = false;
} else
    $this->_sections['idx']['total'] = 0;
if ($this->_sections['idx']['show']):

            for ($this->_sections['idx']['index'] = $this->_sections['idx']['start'], $this->_sections['idx']['iteration'] = 1;
                 $this->_sections['idx']['iteration'] <= $this->_sections['idx']['total'];
                 $this->_sections['idx']['index'] += $this->_sections['idx']['step'], $this->_sections['idx']['iteration']++):
$this->_sections['idx']['rownum'] = $this->_sections['idx']['iteration'];
$this->_sections['idx']['index_prev'] = $this->_sections['idx']['index'] - $this->_sections['idx']['step'];
$this->_sections['idx']['index_next'] = $this->_sections['idx']['index'] + $this->_sections['idx']['step'];
$this->_sections['idx']['first']      = ($this->_sections['idx']['iteration'] == 1);
$this->_sections['idx']['last']       = ($this->_sections['idx']['iteration'] == $this->_sections['idx']['total']);
?>
		<TR>
			<TD width="15%" height="50" bgcolor="#FDDFFD"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][0]; ?>
</TD>
			<TD width="14%" height="50" bgcolor="#FFFFFF"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][1]; ?>
</TD>
			<TD width="14%" height="50" bgcolor="#FFFFFF"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][2]; ?>
</TD>
			<TD width="14%" height="50" bgcolor="#FFFFFF"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][3]; ?>
</TD>
			<TD width="14%" height="50" bgcolor="#FFFFFF"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][4]; ?>
</TD>
			<TD width="14%" height="50" bgcolor="#FFFFFF"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][5]; ?>
</TD>
			<TD width="15%" height="50" bgcolor="#CCF8FB"><?php echo $this->_tpl_vars['strCalData'][$this->_sections['idx']['index']][6]; ?>
</TD>
		</TR>
	<?php endfor; endif; ?>
</TABLE>
<TABLE class="underTbr">
	<TR>
	<td>
<address>
<a href="http://www.media-tek.co.jp/" target="_blank" title="メディアテック株式会社ホームページへ">Copyright (C) 2005-2010 Media Tech Inc. All rights reserved.</a>
</address>
	</td>
	</tr>
	</table>
<div id="footer">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'info.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</div>
<INPUT type="hidden" name="sYear"       value="2003">
<INPUT type="hidden" name="sMonth"      value="04">
<INPUT type="hidden" name="strMainDate" value="">
<INPUT type="hidden" name="mail_id" value="">
</div>
</form>
</BODY>
</HTML>