migrate to new git
This commit is contained in:
134
web/admin/follower/print_bk.aspx
Normal file
134
web/admin/follower/print_bk.aspx
Normal file
@@ -0,0 +1,134 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="print.aspx.cs" Inherits="admin_follower_print_" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>列印信眾資料</title>
|
||||
<script src="https://code.jquery.com/jquery-3.6.2.min.js"></script>
|
||||
<link href="~/js/bootstrap5/bootstrap.min.css" rel="stylesheet" />
|
||||
<style>
|
||||
body {
|
||||
padding: 5mm;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
size: landscape
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="docs">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-auto">
|
||||
<table style="repeat-header: yes; repeat-footer: yes;" id="content">
|
||||
<thead>
|
||||
<tr>
|
||||
<asp:Literal ID="footer" runat="server"></asp:Literal>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<asp:Repeater ID="Repeater1" runat="server">
|
||||
<ItemTemplate>
|
||||
<tr>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">信眾姓名:</label></td>
|
||||
<td colspan="5">
|
||||
<%# Eval("u_name") %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputEmail1" class="form-label mb-0">信眾編號:</label></td>
|
||||
<td>
|
||||
<%# Eval("f_number") %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">性別:</label></td>
|
||||
<td>
|
||||
<%# Eval("sex") %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">血型:</label></td>
|
||||
<td>
|
||||
<%# Eval("blood") %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">生日:</label></td>
|
||||
<td>
|
||||
<%# Eval("birthday") != null? Convert.ToDateTime( Eval("birthday")).ToString("yyyy/MM/dd") : "" %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">聯絡電話:</label></td>
|
||||
<td>
|
||||
<%# encrypt.DecryptAutoKey( Eval("phone")?.ToString()) %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">手機號碼:</label></td>
|
||||
<td>
|
||||
<%# encrypt.DecryptAutoKey( Eval("cellphone")?.ToString()) %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">緊急連絡人:</label></td>
|
||||
<td>
|
||||
<%# Eval("contactor") %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">緊急連絡電話:</label></td>
|
||||
<td>
|
||||
<%# encrypt.DecryptAutoKey( Eval("contactor_phone")?.ToString()) %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">身分別:</label></td>
|
||||
<td>
|
||||
<%# Eval("u_name") %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">皈依道場:</label></td>
|
||||
<td>
|
||||
<%# Eval("refuge_area") %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">皈依法名:</label></td>
|
||||
<td>
|
||||
<%# Eval("refuge_name") %>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<label for="exampleInputPassword1" class="form-label mb-0">皈依日期:</label></td>
|
||||
<td>
|
||||
<%# Eval("refugedate") != null? Convert.ToDateTime( Eval("refugedate")).ToString("yyyy/MM/dd") : "" %>
|
||||
</td>
|
||||
</tr>
|
||||
<%--<tr>
|
||||
<td>
|
||||
<div style="page-break-after: always;"></div>
|
||||
</td>
|
||||
</tr>--%>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<script src="print.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
//window.print();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user