{php}
$k1 = $i-1;
$filmtime = strtotime("+$k1 day");
$md = date("m-d",$filmtime);
$days = array('周日', '周一', '周二', '周三', '周四', '周五', '周六');
$todays = date('w',$filmtime);
$weekDays = $days[$todays];
// 假设我们只想显示未来三天的信息
$todayTimestamp = strtotime(date('Y-m-d'));
$futureThreeDaysTimestamp = $todayTimestamp + (3 * 24 * 60 * 60); // 3天后的时间戳
// 判断当前日期是否在未来三天内
$shouldDisplay = ($filmtime >= $todayTimestamp) && ($filmtime
{$md} {$weekDays}
{zanpian:soft weekday="{$key}" limit="1" by="soft_addtime" order="desc"}
{$zanpian.soft_name}
{/zanpian:soft}
{/if}
{/volist}