| 99 |
font-size: 16px; |
font-size: 16px; |
| 100 |
text-decoration: line-through; |
text-decoration: line-through; |
| 101 |
} |
} |
| 102 |
|
IMG.auto_adjust |
| 103 |
|
{ |
| 104 |
|
display: none; |
| 105 |
|
} |
| 106 |
</style> |
</style> |
|
<script type="text/javascript" src="../js/img_adjust.js"></script> |
|
| 107 |
<script src="../js/polyfill.min.js"></script> |
<script src="../js/polyfill.min.js"></script> |
| 108 |
<script src="../js/axios.min.js"></script> |
<script src="../js/axios.min.js"></script> |
| 109 |
|
<script src="../js/jquery.min.js"></script> |
| 110 |
<script type="text/javascript"> |
<script type="text/javascript"> |
| 111 |
function ch_page(page) |
function ch_page(page) |
| 112 |
{ |
{ |
| 311 |
baseURL: document.location.protocol + '//' + document.location.hostname + (document.location.port=='' ? '' : (':' + document.location.port)) + '/bbs/', |
baseURL: document.location.protocol + '//' + document.location.hostname + (document.location.port=='' ? '' : (':' + document.location.port)) + '/bbs/', |
| 312 |
}); |
}); |
| 313 |
|
|
| 314 |
window.addEventListener("load", () => { |
$(document).ready(function() { |
| 315 |
var s = document.getElementById("ex_dir"); |
$("#ex_dir").on("change", function(e) { |
| 316 |
if (s) |
set_ex_dir($("#ex_dir").find(":selected").val()); |
| 317 |
{ |
}); |
|
s.addEventListener("change", (e) => { |
|
|
set_ex_dir(s.value); |
|
|
}); |
|
|
} |
|
| 318 |
|
|
| 319 |
var f = document.getElementById("move_article"); |
$("#move_article").on("submit", (e) => { |
| 320 |
if (f) |
e.preventDefault(); |
| 321 |
{ |
if ($("#move_article").find("#sid").find(":selected").val() > 0) |
| 322 |
f.addEventListener("submit", (e) => { |
{ |
| 323 |
e.preventDefault(); |
move_article($("#move_article").find("#sid").find(":selected").val()); |
| 324 |
move_article(f.sid.value); |
} |
| 325 |
}); |
}); |
|
} |
|
|
}); |
|
| 326 |
|
|
| 327 |
|
$("img[class=auto_adjust]").on("load", function() { |
| 328 |
|
if ($(this).width() > {$BBS_img_max_width}) |
| 329 |
|
{ |
| 330 |
|
$(this).width({$BBS_img_max_width}); |
| 331 |
|
} |
| 332 |
|
$(this).show(); |
| 333 |
|
}) |
| 334 |
|
.on("mousewheel", function(e) { |
| 335 |
|
var zoom = parseFloat($(this).css("zoom")); |
| 336 |
|
zoom *= (1 + e.originalEvent.wheelDelta / 1000); |
| 337 |
|
if (zoom > 0) |
| 338 |
|
{ |
| 339 |
|
$(this).css("zoom", zoom); |
| 340 |
|
} |
| 341 |
|
}); |
| 342 |
|
}); |
| 343 |
</script> |
</script> |
| 344 |
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3013347141025996" crossorigin="anonymous"> |
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3013347141025996" crossorigin="anonymous"> |
| 345 |
</script> |
</script> |
| 432 |
<a class="s4" id="unset_ontop_{$article['aid']}" style="display: {$unset_ontop_display}" href="" onclick="return article_op('ontop', {$article['aid']}, 0)" title="取消置顶">取消置顶</a> |
<a class="s4" id="unset_ontop_{$article['aid']}" style="display: {$unset_ontop_display}" href="" onclick="return article_op('ontop', {$article['aid']}, 0)" title="取消置顶">取消置顶</a> |
| 433 |
HTML; |
HTML; |
| 434 |
} |
} |
| 435 |
if ($article["tid"] == 0 && $_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_POST) && |
if ($article["tid"] == 0 && $_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_POST) && |
| 436 |
($_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_MAN_S) || $_SESSION["BBS_uid"] == $article["uid"])) |
($_SESSION["BBS_priv"]->checkpriv($result_set["data"]["sid"], S_MAN_S) || $_SESSION["BBS_uid"] == $article["uid"])) |
| 437 |
{ |
{ |
| 438 |
$set_lock_display = ($article["lock"] ? "none" : "inline"); |
$set_lock_display = ($article["lock"] ? "none" : "inline"); |
| 467 |
$nickname = htmlspecialchars($article["nickname"], ENT_HTML401, 'UTF-8'); |
$nickname = htmlspecialchars($article["nickname"], ENT_HTML401, 'UTF-8'); |
| 468 |
$title_f = split_line(htmlspecialchars($article["title"], ENT_HTML401, 'UTF-8'), "", 65, 2, "<br />"); |
$title_f = split_line(htmlspecialchars($article["title"], ENT_HTML401, 'UTF-8'), "", 65, 2, "<br />"); |
| 469 |
$title_class = ($article["visible"] ? "title_normal" : "title_deleted"); |
$title_class = ($article["visible"] ? "title_normal" : "title_deleted"); |
| 470 |
$content_f = LML(htmlspecialchars((isset($article["content"]) ? $article["content"] : ""), ENT_HTML401, 'UTF-8'), true, true, 80); |
$content_f = LML(htmlspecialchars($article["content"], ENT_HTML401, 'UTF-8'), true, true, 80); |
| 471 |
$content_class = ($article["visible"] ? "content_normal" : "content_deleted"); |
$content_class = ($article["visible"] ? "content_normal" : "content_deleted"); |
| 472 |
|
|
| 473 |
$transship_info = ""; |
$transship_info = ""; |
| 519 |
case "tiff": |
case "tiff": |
| 520 |
$atta_list .= <<<HTML |
$atta_list .= <<<HTML |
| 521 |
<br /> |
<br /> |
| 522 |
<img onmousewheel="return bbs_img_zoom(event, this)" src="dl_file.php?aid={$attachment['aid']}"> |
<img class="auto_adjust" src="dl_file.php?aid={$attachment['aid']}"> |
| 523 |
HTML; |
HTML; |
| 524 |
break; |
break; |
| 525 |
} |
} |
| 547 |
作者: <a class="s2" href="view_user.php?uid={$article['uid']}" onclick='return {$user_viewable}' target=_blank title="查看用户资料">{$username}</a> |
作者: <a class="s2" href="view_user.php?uid={$article['uid']}" onclick='return {$user_viewable}' target=_blank title="查看用户资料">{$username}</a> |
| 548 |
</td> |
</td> |
| 549 |
<td width="75%" class="body"> |
<td width="75%" class="body"> |
| 550 |
<span style="color:#606060;">标题:</span> |
<span style="color: #606060">标题:</span> |
| 551 |
<img src="images/expression/{$article['icon']}.gif"> |
<img src="images/expression/{$article['icon']}.gif"> |
| 552 |
<span id="title_{$article['aid']}" class="{$title_class}"> |
<span id="title_{$article['aid']}" class="{$title_class}"> |
| 553 |
{$title_f} |
{$title_f} |
| 559 |
</tr> |
</tr> |
| 560 |
<tr> |
<tr> |
| 561 |
<td align="center"> |
<td align="center"> |
| 562 |
昵称: <span style="color: #909090;">{$nickname}</span> |
昵称: <span style="color: #909090">{$nickname}</span> |
| 563 |
</td> |
</td> |
| 564 |
<td class="body"> |
<td class="body"> |
| 565 |
<span style="color:#606060;">来自:</span> <span style="color: #909090; ">{$article["sub_ip"]}</span> |
<span style="color: #606060">来自:</span> <span style="color: #909090">{$article["sub_ip"]}</span> |
| 566 |
</td> |
</td> |
| 567 |
<td> |
<td> |
| 568 |
</td> |
</td> |
| 572 |
经验值: <span style="color:red;">{$article["exp"]}</span> |
经验值: <span style="color:red;">{$article["exp"]}</span> |
| 573 |
</td> |
</td> |
| 574 |
<td class="body"> |
<td class="body"> |
| 575 |
<span style="color:#606060;">发贴时间:</span> <span style="color: #909090; ">{$article["sub_dt"]->format("Y年m月d日 H:i:s (\U\T\C P)")}</span> |
<span style="color: #606060">发贴时间:</span> <span style="color: #909090">{$article["sub_dt"]->format("Y年m月d日 H:i:s (\U\T\C P)")}</span> |
| 576 |
</td> |
</td> |
| 577 |
<td> |
<td> |
| 578 |
</td> |
</td> |
| 579 |
</tr> |
</tr> |
| 580 |
<tr> |
<tr> |
| 581 |
<td align="center"> |
<td align="center"> |
| 582 |
等级: <span style="color: #909090;">{$level}</span> |
等级: <span style="color: #909090">{$level}</span> |
| 583 |
</td> |
</td> |
| 584 |
<td class="body"> |
<td class="body"> |
| 585 |
<span style="color:#606060;">长度:</span> <span style="color: #909090; ">{$article["length"]}字</span> |
<span style="color: #606060">长度:</span> <span style="color: #909090">{$article["length"]}字</span> |
| 586 |
</td> |
</td> |
| 587 |
<td> |
<td> |
| 588 |
</td> |
</td> |
| 590 |
<tr height="2"> |
<tr height="2"> |
| 591 |
<td> |
<td> |
| 592 |
</td> |
</td> |
| 593 |
<td style="background-color: #909090;"> |
<td style="background-color: #909090"> |
| 594 |
</td> |
</td> |
| 595 |
<td> |
<td> |
| 596 |
</td> |
</td> |
| 608 |
<tr> |
<tr> |
| 609 |
<td> |
<td> |
| 610 |
</td> |
</td> |
| 611 |
<td style="color:#000000; "> |
<td style="color: #000000"> |
| 612 |
========== * * * * * ========== |
========== * * * * * ========== |
| 613 |
<br /> |
<br /> |
| 614 |
{$atta_list} |
{$atta_list} |
| 715 |
</body> |
</body> |
| 716 |
</html> |
</html> |
| 717 |
HTML; |
HTML; |
|
?> |
|