';
@@ -102,7 +102,7 @@ while ($ank = dbassoc($q)) {
}
// 浏览器
if (user_access('user_show_ua') && $ank['ua'] != NULL)
- echo '浏览器:' . $ank['ua'] . ' ';
+ echo '浏览器:' . $ank['ua_name'] . ' ';
if (user_access('user_show_ip') && opsos($ank['ip']))
echo 'IP:' . opsos($ank['ip']) . ' ';
if (user_access('user_show_ip') && opsos($ank['ip_cl']))
--
Gitee
From a5bcf82bc6900c8f6b3a25111214dcd36b3a9c59 Mon Sep 17 00:00:00 2001
From: Mike Wang
Date: Sun, 25 Feb 2024 14:22:30 +0800
Subject: [PATCH 06/10] =?UTF-8?q?=3F=E5=92=8C=E8=AE=B8=E5=8F=AF=E8=AF=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--
Gitee
From e482d9aa0f595b3614a80f7a976156d0d8822d53 Mon Sep 17 00:00:00 2001
From: Mike Wang
Date: Sun, 25 Feb 2024 06:24:46 +0000
Subject: [PATCH 07/10] =?UTF-8?q?=E8=AE=B8=E5=8F=AF=E8=AF=81=20**=E9=80=9A?=
=?UTF-8?q?=E4=B9=89=E5=AF=B9=20DCMS=20=E8=AE=B8=E5=8F=AF=E8=AF=81?=
=?UTF-8?q?=E7=9A=84=E5=88=86=E6=9E=90=EF=BC=9A**?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 对于 OSI 开源定义:这份许可证没有明确指出允许对软件进行修改和再分发的自由,并且第 5 条似乎限制了基于软件衍生作品的商业化,这可能不符合 OSI 的开源定义,因为它并未保证自由再分发和使用的权利。
- 对于自由软件基金会的“自由软件”定义:同样地,这份许可证没有充分保障“四大自由”,特别是它没有明确授权用户自由地分发软件副本以及修改并发布改进版软件,同时第 5 条的禁止销售自定义功能和单独代码的规定也不符合自由软件的精神。因此,这份许可证很可能不符合自由软件基金会对于自由软件的要求。
Signed-off-by: Mike Wang
---
LICENSE | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7ddcda3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,33 @@
+本中英文对照版许可证内容由仓库持有人使用阿里云计算有限公司开发的通义大语言模型进行翻译,特此声明该译文仅供参考,并不保证与原始俄文文本在任何细节上完全一致。如需准确引用或执行相关法律权利义务,请以 DCMS 官方网站上发布的原始俄文版本为准。
+
+This bilingual version of the license terms has been translated by the repository holder using the Tongyi Big Language Model developed by Alibaba Cloud Computing Co., Ltd. It is hereby declared that this translation is for reference purposes only and does not guarantee complete correspondence with the original Russian text in every detail. For accurate citation or execution of related legal rights and obligations, please refer to the official Russian version as published on the DCMS website.
+
+
+安装并使用本 DCMS-Social CMS 引擎,用户明确表示同意以下许可条款:
+
+1. 免责声明:鉴于本软件产品系免费提供,软件分发者不承担任何因使用本软件所导致的直接或间接损失、损害赔偿请求,此规定包括但不限于黑客攻击、垃圾邮件等问题。
+
+2. 技术支持与问题解决:关于本引擎的所有安装和配置问题,用户须仅通过官方指定论坛(http://dcms-social.ru/forum/)寻求解决方案。
+
+3. 版权保留义务:用户在使用本引擎时,必须在所有涉及本软件代码及页面中完整保留对作者、官方网站及引擎名称的适当版权声明。
+
+4. 引用规则:当用户在第三方论坛提及本引擎时,应当参考或提及官方网站地址(http://dcms-social.ru)。
+
+5. 禁止商业化行为:严禁用户将本引擎包含的自定义功能或独立代码片段用于商业销售。
+
+6. 违约处理:若用户违反本协议任一条款,软件著作权人有权要求相关服务器(托管服务提供商)删除由用户部署的所有引擎文件。如用户未及时执行上述删除要求,著作权人保留在适用法律框架下采取其他救济措施的权利,具体措施视具体情况而定。
+
+
+Upon installation and use of the DCMS-Social CMS Engine, the user explicitly agrees to the following licensing terms:
+
+1. Disclaimer of Liability: Given that this software product is distributed free of charge, the distributor shall not be liable for any direct or indirect losses, damages, or claims arising from its usage, which extends to instances such as hacking attacks and spam activities.
+
+2. Technical Support and Troubleshooting: For all issues related to the installation and configuration of the engine, users are required to seek resolutions exclusively through the officially designated forum at http://dcms-social.ru/forum/.
+
+3. Attribution Obligation: Users must retain complete and proper copyright notices pertaining to the author, official website, and engine name within all code and pages involving the use of this software.
+
+4. Citation Requirement: When referring to the engine on third-party forums, users should reference or cite the official website address (http://dcms-social.ru).
+
+5. Prohibition of Commercialization: The sale of customized features or standalone code segments of the engine is strictly prohibited.
+
+6. Breach Handling: In case of violation of any term of this agreement by the user, the copyright owner reserves the right to request the removal of all engine files deployed by the user from the relevant server (web hosting provider). If the user fails to comply with said deletion request promptly, the copyright owner retains the right under applicable law to pursue other remedies, the specifics of which will depend on the circumstances at hand.
\ No newline at end of file
--
Gitee
From b9bd4a90eaaae9e214870877772af734622c80d7 Mon Sep 17 00:00:00 2001
From: Mike Wang
Date: Sun, 25 Feb 2024 15:31:43 +0800
Subject: [PATCH 08/10] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BC=98=E5=8C=96=20Pa?=
=?UTF-8?q?rt=203?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
photo/inc/gallery_act.php | 8 ++++----
photo/inc/gallery_form.php | 12 ++++++------
photo/inc/gallery_show_act.php | 10 +++++-----
photo/inc/gallery_show_form.php | 22 +++++++++++-----------
photo/inc/gallery_show_photo_act.php | 8 ++++----
photo/inc/user_gallery.php | 4 ++--
photo/inc/user_show_photo.php | 4 ++--
user/gift/categories.php | 20 ++++++++++----------
user/gift/create.php | 14 +++++++-------
user/gift/gift.php | 2 +-
user/gift/index.php | 2 +-
user/money/index.php | 6 +++---
user/money/liders.php | 14 +++++++-------
user/money/money.php | 2 +-
user/money/plus5.php | 4 ++--
user/money/translate.php | 8 ++++----
user/status/index.php | 6 +++---
17 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/photo/inc/gallery_act.php b/photo/inc/gallery_act.php
index dd93607..0d69083 100644
--- a/photo/inc/gallery_act.php
+++ b/photo/inc/gallery_act.php
@@ -4,13 +4,13 @@ if (isset($user) && $user['id'] == $ank['id'])
if (isset($_GET['act']) && $_GET['act']=='create' && isset($_GET['ok']) && isset($_POST['name']) && isset($_POST['opis']))
{
$name = my_esc($_POST['name']);
- if (strlen2($name) < 3)$err = '短标题';
- if (strlen2($name) > 32)$err = '标题不得超过 32 个字符';
+ if (strlen2($name) < 3)$err = '标题太短了!要大于 3 字节!';
+ if (strlen2($name) > 32)$err = '标题不得超过 32 个字节';
@$pass = my_esc($pass);
$privat = intval($_POST['privat']);
$privat_komm = intval($_POST['privat_komm']);
$msg = $_POST['opis'];
- if (strlen2($msg) > 256)$err = '描述长度超过 256 个字符的限制';
+ if (strlen2($msg) > 256)$err = '描述长度超过 256 个字节的限制';
$msg = my_esc($msg);
if (dbresult(dbquery("SELECT COUNT(*) FROM `gallery` WHERE `id_user` = '$ank[id]' AND `name` = '$name'"),0) != 0)
$err = '具有此名称的相册已存在';
@@ -18,7 +18,7 @@ if (isset($user) && $user['id'] == $ank['id'])
{
dbquery("INSERT INTO `gallery` (`opis`, `time_create`, `id_user`, `name`, `time`, `pass`, `privat`, `privat_komm`) values('$msg', '$time', '$ank[id]', '$name', '$time', '$pass', '$privat', '$privat_komm')");
$gallery_id = dbinsertid();
- $_SESSION['message'] = '成功创建相册';
+ $_SESSION['message'] = '相册已成功创建';
header("Location: /photo/$ank[id]/$gallery_id/");
exit;
}
diff --git a/photo/inc/gallery_form.php b/photo/inc/gallery_form.php
index 83e56a1..d2a99a3 100644
--- a/photo/inc/gallery_form.php
+++ b/photo/inc/gallery_form.php
@@ -12,18 +12,18 @@ if (isset($user) && $user['id'] == $ank['id'])
- 网站上发布的照片不得:
- * 违反现行法律、荣誉和尊严、权利和受法律保护的第三方利益,助长宗教、种族或种族不和,包含暴力或不人道对待动物的场面等;
+ 在网站上发布的照片不得:
+ * 违反现行法律、荣誉和尊严、权利和受法律保护的第三方利益,助长宗教、民族或种族不和,包含暴力或不人道对待动物的场面等;
* 淫秽或冒犯性;
* 包含麻醉药品广告;
* 侵犯未成年人的权利;
diff --git a/photo/inc/gallery_show_photo_act.php b/photo/inc/gallery_show_photo_act.php
index b2c76cf..f750bf3 100644
--- a/photo/inc/gallery_show_photo_act.php
+++ b/photo/inc/gallery_show_photo_act.php
@@ -17,7 +17,7 @@ if (isset($_GET['act']) && $_GET['act'] == 'avatar') {
dbquery("UPDATE `gallery_photo` SET `avatar` = '0' WHERE `id_user` = '$user[id]'");
dbquery("UPDATE `gallery_photo` SET `avatar` = '1' WHERE `id` = '$photo[id]' LIMIT 1");
dbquery("INSERT INTO `stena` (`id_user`,`id_stena`,`time`,`info`,`info_1`,`type`) values('" . $user['id'] . "','" . $user['id'] . "','" . $time . "','новый аватар','" . $photo['id'] . "','photo')");
- $_SESSION['message'] = '照片已成功安装在主照片上!';
+ $_SESSION['message'] = '已成功将照片设置为头像!';
}
header("Location: ?");
exit;
@@ -45,11 +45,11 @@ if ((user_access('photo_photo_edit') || isset($user) && $user['id'] == $ank['id'
$name = esc(stripcslashes(htmlspecialchars($_POST['name'])), 1);
$mat = antimat($name);
if ($mat) $err = '标题中存在禁止的字符';
- if (strlen2($name) < 3) $err = '短标题';
- if (strlen2($name) > 32) $err = '标题不得超过 32 个字符';
+ if (strlen2($name) < 3) $err = '标题太短了!要大于 3 字节!';
+ if (strlen2($name) > 32) $err = '标题不得超过 32 个字节';
$name = my_esc($name);
$msg = $_POST['opis'];
- if (strlen2($msg) > 1024) $err = '描述长度超过 1024 个字符的限制';
+ if (strlen2($msg) > 1024) $err = '描述长度超过 1024 个字节的限制';
$msg = my_esc($msg);
if (isset($_POST['metka']) && $_POST['metka'] == 1) $metka = 1;
else $metka = 0;
diff --git a/photo/inc/user_gallery.php b/photo/inc/user_gallery.php
index 0e223bb..b0e85a2 100644
--- a/photo/inc/user_gallery.php
+++ b/photo/inc/user_gallery.php
@@ -17,7 +17,7 @@ if (dbresult(dbquery("SELECT COUNT(*) FROM `ban` WHERE `razdel` = 'photo' AND `i
exit;
}
//网页标题
-$set['title'] = $ank['nick'] . ' - 相片册';
+$set['title'] = $ank['nick'] . ' - 相册';
// Это при создании нового альбома
include 'inc/gallery_act.php';
include_once '../sys/inc/thead.php';
@@ -39,7 +39,7 @@ $start = $set['p_str'] * $page - $set['p_str'];
echo '
';
if ($k_post == 0) {
echo '
';
- echo '无相册';
+ echo '目前该用户没有相册。';
echo '
';
}
$q = dbquery("SELECT * FROM `gallery` WHERE `id_user` = '$ank[id]' ORDER BY `time` DESC LIMIT $start, $set[p_str]");
diff --git a/photo/inc/user_show_photo.php b/photo/inc/user_show_photo.php
index 4d41547..676a1d4 100644
--- a/photo/inc/user_show_photo.php
+++ b/photo/inc/user_show_photo.php
@@ -148,7 +148,7 @@ if (isset($_POST['msg']) && isset($user)) {
}
if ((user_access('photo_komm_del') || $ank['id'] == $user['id']) && isset($_GET['delete']) && dbresult(dbquery("SELECT COUNT(*) FROM `gallery_komm` WHERE `id`='" . intval($_GET['delete']) . "' AND `id_photo`='$photo[id]' LIMIT 1"), 0) != 0) {
dbquery("DELETE FROM `gallery_komm` WHERE `id`='" . intval($_GET['delete']) . "' LIMIT 1");
- admin_log('照片廊', '照片', "删除照片上的评论 [url=/user/info.php?id=$ank[id]]" . user::nick($ank['id'], 1, 0, 0) . "[/url]");
+ admin_log('相册', '照片', "删除照片上的评论 [url=/user/info.php?id=$ank[id]]" . user::nick($ank['id'], 1, 0, 0) . "[/url]");
$_SESSION['message'] = '评论成功删除';
header("Location: ?page=" . intval($_GET['page']));
exit;
@@ -292,7 +292,7 @@ if (!isset($block_photo)) {
echo '';
if ($k_post == 0) {
echo '