Skip to content

Commit

Permalink
style:优化音乐页的注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zzyh1145 committed Oct 2, 2024
1 parent 1b6d9a4 commit bd19d89
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions user/music/index.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
<?php
/*
=======================================
Музыка юзеров для Dcms-Social
Автор: Искатель
---------------------------------------
此脚本在许可下被破坏
DCMS-Social 引擎。
使用时,指定引用到
网址 http://dcms-social.ru
---------------------------------------
接点
ICQ:587863132
http://dcms-social.ru
=======================================
*/
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
Expand All @@ -23,7 +8,7 @@
include_once '../../sys/inc/ipua.php';
include_once '../../sys/inc/fnc.php';
include_once '../../sys/inc/user.php';
/* Бан пользователя */
/* 用户封禁 */
if (dbresult(dbquery("SELECT COUNT(*) FROM `ban` WHERE `razdel` = 'files' AND `id_user` = '$user[id]' AND (`time` > '$time' OR `view` = '0' OR `navsegda` = '1')"), 0) != 0) {
header('Location: /user/ban.php?' . SID);
exit;
Expand All @@ -35,7 +20,7 @@
echo "你的播放列表还没有歌曲=)";
exit;
}
// Определяем id автора плейлиста
// 播放列表作者的 ID
$ank = user::get_user($ank['id']);
if (!$ank) {
header("Location: /index.php?" . SID);
Expand Down

0 comments on commit bd19d89

Please sign in to comment.