01
=$edit['id']?'修改舞台':'新增舞台'?>
02
資料列表
=count($stages)?> 筆| 順序 | 日期/縮圖 | 電視台/舞台 | 狀態 | 操作 |
|---|---|---|---|---|
| =e((string)$row['sort_order'])?> | ![]() | =e($row['station'])?> · =e($row['program'])?>=e($row['title'])?> | =$row['is_visible']?'顯示':'隱藏'?> | 修改 |
'','stage_date'=>'','youtube_id'=>'','station'=>'','program'=>'','title'=>'','note'=>'','sort_order'=>0,'is_visible'=>1]; if (isset($_GET['edit'])) { $stmt = $pdo->prepare('SELECT * FROM stages WHERE id = ?'); $stmt->execute([(int)$_GET['edit']]); $edit = $stmt->fetch() ?: $edit; } $stages = $pdo->query('SELECT * FROM stages ORDER BY sort_order ASC, stage_date ASC, id ASC')->fetchAll(); ?>
THREE WORDS · 10TH
| 順序 | 日期/縮圖 | 電視台/舞台 | 狀態 | 操作 |
|---|---|---|---|---|
| =e((string)$row['sort_order'])?> | ![]() | =e($row['station'])?> · =e($row['program'])?>=e($row['title'])?> | =$row['is_visible']?'顯示':'隱藏'?> | 修改 |