填写表单,提交后打印
<?php$fk_hm = $_POST["fk_hm"]
$sk_hm = $_POST["sk_hm"]
$fk_zh = $_POST["fk_zh"]
$sk_zh = $_POST["sk_zh"]
$fk_yh = $_POST["fk_yh"]
$sk_yh = $_POST["sk_yh"]
?>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="icbc.css"/>
<title></title>
</head>
<body>
<div id="container">
<table width="642">
<tr>
<td align="center" colspan="2"><font face="黑体" size="5">中国工商银行</font>&nbsp&nbsp&nbsp网上银行电子回单</td>
</tr>
<tr align="center">
<td align="center" colspan="2"><IMG SRC="https://corporbank.icbc.com.cn/ebankc/images/blackdot.gif" WIDTH="500" HEIGHT="2" BORDER=0 alt=""></td>
</tr>
<tr>
<td heigth="1" colspan="2">&nbsp</td>
</tr>
<tr>
<td>电子回单号码:<?php echo $_POST[huidan_num]?></td>
<td align="left"> 打印日期:<?php echo $_POST[dyrq] ?></td>
</tr>
</table>
<table width="600" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr height="80" align="center">
<td>
<table width="600" align="center" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr><td width=25 height=40 rowspan=3 align=center valign=middle>付款人</td>
<td width=75 height=20 align=center valign=middle>户 名</td>
<td width=200 height=20 align=left valign=middle>
<?php echo wordwrap($fk_hm,30)?>
&nbsp</td><td width=25 height=40 rowspan=3 align=center valign=middle>收款人</td>
<td width=75 height=20 align=center valign=middle>户 名</td>
<td width=200 height=20 align=left valign=middle>
<?php echo wordwrap($_POST[sk_hm],30)?>
&nbsp</td></tr><tr><td width=75 height=20 align=center valign=middle>账 号</td>
<td width=200 height=20 align=left valign=middle>
<?php echo $_POST[fk_zh]?>
&nbsp</td><td width=75 height=20 align=center valign=middle>账 号</td>
<td width=200 height=20 align=left valign=middle>
<?php echo $_POST[sk_zh]?>
&nbsp</td></tr><tr><td width=75 height=20 align=center valign=middle>开户银行</td>
<td width=200 height=20 align=left valign=middle>
<?php echo $_POST[fk_yh]?>
&nbsp</td><td width=75 height=20 align=center valign=middle>开户银行</td>
<td width=200 height=20 align=left valign=middle>
<?php echo $_POST[sk_yh]?>
&nbsp</td></tr><tr><td height=20 colspan=2 align=center valign=middle>金 额</td>
<td colspan=4 align=left valign=middle><?php echo $_POST["jin_e"]?>&nbsp</td></tr>
<tr><td height=20 colspan=2 align=center valign=middle>摘 要</td>
<td align=left valign=middle>
<?php echo $_POST[zhaiyao]?>
&nbsp</td><td colspan=2 align=center valign=middle>业务(产品)种类</td>
<td align=left valign=middle><?php echo $_POST[zhonglei]?>&nbsp</td></tr>
<tr><td height=20 colspan=2 align=center valign=middle>用 途</td>
<td colspan=4 align=left valign=middle><?php echo $_POST[yongtu]?>&nbsp</td></tr>
<tr><td height=20 colspan=2 align=center valign=middle>交易流水号</td>
<td align=left valign=middle>
<?php echo $_POST[liushui]?>
&nbsp</td><td colspan=2 align=center valign=middle>时间戳</td>
<td align=left valign=middle><?php echo $_POST[sjc]?>&nbsp</td></tr>
<tr><td height=100 colspan=2 rowspan=2 align=center valign=middle><img src="/images/tuzhang.gif"></td>
<td height=80 colspan=4 align=left valign=top>
<div id="bz"><?php echo wordwrap( $_POST[beizhu],50)?></div>
<div id="ew"> <img src="/images/123.jpg"/></div>
</td>
</tr><tr><td height=20 colspan=4 align=left valign=middle>验证码:<b><?php echo $_POST[yzm]?></b></td></tr>
<df><table width=600 border=1 cellspacing=0 cellpadding=0 bordercolorlight=#000000 bordercolordark=#FFFFFF>
<tr><td height=20 width=75 align=center valign=middle>记账网点</td>
<td height=20 width=125 align=left valign=middle>
<?php echo $_POST[wangdian]?>
&nbsp</td><td height=20 width=75 align=center valign=middle>记账柜员</td>
<td height=20 width=125 align=left valign=middle>
<?php echo $_POST[guiyuan]?>
&nbsp</td><td height=20 width=75 align=center valign=middle>记账日期</td>
<td height=20 width=125 align=left valign=middle><?php echo $_POST[riqi]?>&nbsp</td></tr></table></tr>
</table>
</td>
</tr>
</table>
<table width="642">
<tr><td><IMG SRC="https://corporbank.icbc.com.cn/ebankc/images/blackdot.gif" WIDTH="642" HEIGHT="1" BORDER=0 ></td></tr>
<tr>
<td>重要提示:</td>
</tr>
<tr>
<td>1.如果您是收款方,请到工行网站www.icbc.com.cn电子回单验证处进行回单验证。</td>
</tr>
<tr>
<td>2.本回单不作为收款方发货依据,并请勿重复记账。</td>
</tr>
<tr>
<td>3.您可以选择发送邮件,将此电子回单发送给指定的接收人。</td>
</tr>
</table>
</div>
</body>
</html>
前端时间刚写的,刚好100多行,给你了!
<?phpfor($i = 1 $i <= 100 $i++){
if($i%5 == 0 && $i%3 == 0){
echo('abcde ')
}elseif($i%3 == 0){
echo('fizz ')
}elseif($i%5 == 0){
echo('bizz ')
}else{
echo($i . ' ')
}
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)