liyaozhi
2025-11-27 d729c91f610c8902fcec2444df6cac7b1c2e1002
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
// 应用公共文件
 
function is_expire_status($end_date){
    $new = date('Y-m-d H:i:s');
    if($end_date < $new){
        return '已过期';
    }
    return '未过期';
}
function status($s){
    if($s == 1){
        return '正常使用';
    }
    return '已关闭';
}