liyaozhi
2025-10-28 9ad5fcb425da23ecc8f88a11604015d13c536bb7
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 '已关闭';
}