/var/www/hkosl.com/innoutstorage/webadmin/output_account_receivable_report_index.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
    
require_once("check_login.php");
?>

<!DOCTYPE HTML>
<html>
<head>
    <?php require_once("html_head.php"); ?>
</head>

<body>

<table width="1000" height="600" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="200" align="left" valign="top">
            <table width="200" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td height="70" align="left" valign="middle">&nbsp;</td>
                </tr>
                <tr>
                    <td width="200" align="left" valign="top"><!-- Main Menu -->
                        <?php require("menu.php"); ?><!-- End Main Menu --></td>
                </tr>
            </table>
        </td>
        <td width="800" align="left" valign="top">

            <form action="output_account_receivable_report.php" method="post" name="modifyform" enctype="multipart/form-data">
                <input type="hidden" name="siteinfoid" value="1"/>
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="70" align="right" valign="middle" class="icontxt">

                        </td>
                    </tr>

                    <tr>
                        <td>
                            <span style="float:left;" class="pagetitletxt">&nbsp;&nbsp;
                                <b><img src="images/iconList.jpg" width="48" height="48" align="absmiddle"/>每月應收款項報表</b>
                            </span>

                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="left" valign="middle" class="msg"><?php if (isset($_GET["msg"])) echo $_GET['msg']; ?></td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle"><!-- Content -->
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">

                                <tr>
                                    <td width="100" align="right" valign="top" class='content'>年份</td>
                                    <td class='content' valign="top">:&nbsp;</td>
                                    <td class='content'>
                                        <select name="year" style="width: 60px;">
                                            <?php
                                                $start_from 
2015;
                                                
$cureent_year date("Y");

                                                for(
$i $cureent_year$i >= $start_from$i--){
                                                    echo 
'<option value="'.$i.'">'.$i.'</option>';
                                                }
                                            
?>
                                        </select>
                                        <br/><br/></td>
                                </tr>

                                <tr>
                                    <td width="100" align="right" valign="top" class='content'>月份</td>
                                    <td class='content' valign="top">:&nbsp;</td>
                                    <td class='content'>
                                        <select name="month" style="width: 60px;">
                                            <?php
                                                
for($i 1$i <= 12$i++){
                                                    echo 
'<option value="'.$i.'">'.$i.'</option>';
                                                }
                                            
?>
                                        </select>
                                        <br/><br/></td>
                                </tr>

                                <tr>
                                    <td width="100" align="right" valign="top" class='content'></td>
                                    <td class='content' valign="top">&nbsp;</td>
                                    <td class='content'>
                                        <button type="submit">匯出</button>
                                        <br/><br/></td>
                                </tr>



                            </table>
                            <!-- End Content --></td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle">&nbsp;</td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>
</table>
</body>
</html>