| 48 |
|
|
| 49 |
function section_setting(f) |
function section_setting(f) |
| 50 |
{ |
{ |
| 51 |
instance.post('section_setting_service.php', { |
instance.post('section_service_setting.php', { |
| 52 |
sid: <?= $result_set["data"]["sid"]; ?>, |
sid: <?= $result_set["data"]["sid"]; ?>, |
| 53 |
sname: f.sname.value, |
sname: f.sname.value, |
| 54 |
title: f.title.value, |
title: f.title.value, |
| 143 |
|
|
| 144 |
function master_op(f, op, username) |
function master_op(f, op, username) |
| 145 |
{ |
{ |
| 146 |
instance.post('section_master_service.php', { |
instance.post('section_service_master.php', { |
| 147 |
sid: <?= $result_set["data"]["sid"]; ?>, |
sid: <?= $result_set["data"]["sid"]; ?>, |
| 148 |
op: op, |
op: op, |
| 149 |
username: (username != null ? username : f.master_username.value), |
username: (username != null ? username : f.master_username.value), |
| 412 |
?> |
?> |
| 413 |
<p> |
<p> |
| 414 |
<?= ($section_master["major"] ? "正版主" : "副版主"); ?> |
<?= ($section_master["major"] ? "正版主" : "副版主"); ?> |
| 415 |
<a class="s3" href="show_profile.php?uid=<?= $section_master['uid']; ?>" target=_blank><?= $section_master["username"]; ?></a> |
<a class="s3" href="view_user.php?uid=<?= $section_master['uid']; ?>" target=_blank><?= $section_master["username"]; ?></a> |
| 416 |
<?= (new DateTimeImmutable($section_master["begin_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>--<?= (new DateTimeImmutable($section_master["end_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?> |
<?= (new DateTimeImmutable($section_master["begin_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>--<?= (new DateTimeImmutable($section_master["end_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?> |
| 417 |
<?php |
<?php |
| 418 |
if ($_SESSION["BBS_priv"]->checkpriv($sid, S_ADMIN) || $section_master["major"] == 0) |
if ($_SESSION["BBS_priv"]->checkpriv($sid, S_ADMIN) || $section_master["major"] == 0) |