| 1 |
<? |
<?php |
| 2 |
// Prevent load standalone |
// Prevent load standalone |
| 3 |
if (!isset($result_set)) |
if (!isset($result_set)) |
| 4 |
{ |
{ |
| 33 |
} |
} |
| 34 |
TD.content_normal |
TD.content_normal |
| 35 |
{ |
{ |
| 36 |
font-size: 14px; |
font-size: 16px; |
| 37 |
} |
} |
| 38 |
TD.content_deleted |
TD.content_deleted |
| 39 |
{ |
{ |
| 40 |
font-size: 14px; |
font-size: 16px; |
| 41 |
text-decoration: line-through; |
text-decoration: line-through; |
| 42 |
} |
} |
| 43 |
</style> |
</style> |
|
<script type="text/javascript" src="/js/nw_open.js"></script> |
|
| 44 |
<script type="text/javascript" src="../js/img_adjust.js"></script> |
<script type="text/javascript" src="../js/img_adjust.js"></script> |
| 45 |
<script src="../js/polyfill.min.js"></script> |
<script src="../js/polyfill.min.js"></script> |
| 46 |
<script src="../js/axios.min.js"></script> |
<script src="../js/axios.min.js"></script> |
| 110 |
function article_op(op_type, id, set, confirm = false) |
function article_op(op_type, id, set, confirm = false) |
| 111 |
{ |
{ |
| 112 |
var opService = new Map([ |
var opService = new Map([ |
| 113 |
["delete", "delete.php"], |
["delete", "article_service_del.php"], |
| 114 |
["restore", "restore.php"], |
["restore", "restore.php"], |
| 115 |
["excerption", "set_excerption.php"], |
["excerption", "set_excerption.php"], |
| 116 |
["ontop", "set_ontop.php"], |
["ontop", "set_ontop.php"], |
| 268 |
}); |
}); |
| 269 |
|
|
| 270 |
</script> |
</script> |
| 271 |
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3013347141025996" crossorigin="anonymous"> |
| 272 |
|
</script> |
| 273 |
</head> |
</head> |
| 274 |
<body> |
<body> |
| 275 |
<a name="top"></a> |
<a name="top"></a> |
| 276 |
<center> |
<center> |
| 277 |
<span id="err_msg_prompt" name="err_msg" style="color: red;"></span> |
<span id="err_msg_prompt" name="err_msg" style="color: red;"></span> |
| 278 |
<table cols="2" border="0" cellpadding="0" cellspacing="0" width="770"> |
<table cols="2" border="0" cellpadding="0" cellspacing="0" width="1050"> |
| 279 |
<tr> |
<tr> |
| 280 |
<td width="50%"> |
<td width="50%"> |
| 281 |
<a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>>><a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $result_set["data"]["section_title"]; ?></a>>><a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>&ex=<? echo ($result_set["data"]["ex"]); ?>"><? echo ($result_set["data"]["ex"] ? "文摘区" : "讨论区"); ?></a> |
<a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>>><a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $result_set["data"]["section_title"]; ?></a>>><a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>&ex=<? echo ($result_set["data"]["ex"]); ?>"><? echo ($result_set["data"]["ex"] ? "文摘区" : "讨论区"); ?></a> |
| 325 |
?> |
?> |
| 326 |
</td> |
</td> |
| 327 |
</tr> |
</tr> |
| 328 |
<tr bgcolor="#d0d3F0" height="20"> |
<tr bgcolor="#d0d3F0" height="25"> |
| 329 |
<td colspan="2" align="center" class="title"> |
<td colspan="2" align="center" class="title"> |
| 330 |
[<? echo $result_set["data"]["id"]; ?>] 主题: <? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?> |
[<? echo $result_set["data"]["id"]; ?>] 主题: <? echo htmlspecialchars($result_set["data"]["title"], ENT_HTML401, 'UTF-8'); ?> |
| 331 |
</td> |
</td> |
| 336 |
{ |
{ |
| 337 |
$color_index = ($color_index + 1) % count($color); |
$color_index = ($color_index + 1) % count($color); |
| 338 |
|
|
| 339 |
|
$user_viewable = (isset($result_set["data"]["author_list"][$article["uid"]])); |
| 340 |
|
|
| 341 |
if ($article["tid"] != 0) |
if ($article["tid"] != 0) |
| 342 |
{ |
{ |
| 343 |
?> |
?> |
| 344 |
<a name="<? echo $article["aid"]; ?>"></a> |
<a name="<? echo $article["aid"]; ?>"></a> |
| 345 |
<table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="0" width="770"> |
<table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="0" width="1050"> |
| 346 |
<tr height="1" bgcolor="#202020"> |
<tr height="1" bgcolor="#202020"> |
| 347 |
<td colspan="3"> |
<td colspan="3"> |
| 348 |
</td> |
</td> |
| 351 |
<? |
<? |
| 352 |
} |
} |
| 353 |
?> |
?> |
| 354 |
<table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="10" width="770"> |
<table bgcolor="<? echo $color[$color_index]; ?>" border="0" cellpadding="0" cellspacing="10" width="1050"> |
| 355 |
<tr> |
<tr> |
| 356 |
<td width="20%"> |
<td width="20%"> |
| 357 |
</td> |
</td> |
| 358 |
<td width="75%"> |
<td width="75%"> |
| 359 |
<? |
<? |
|
if ($_SESSION["BBS_uid"] > 0 && $_SESSION["BBS_uid"] != $article["uid"]) |
|
|
{ |
|
|
?> |
|
|
<img src="images/profile.gif" width="16" height="16"><a class="s4" href="show_profile.php?uid=<? echo $article["uid"]; ?>" target=_blank title="查看作者资料">资料</a> |
|
|
<? |
|
|
} |
|
| 360 |
if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG) && $_SESSION["BBS_uid"] != $article["uid"]) |
if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG) && $_SESSION["BBS_uid"] != $article["uid"]) |
| 361 |
{ |
{ |
| 362 |
?> |
?> |
| 363 |
<img src="images/mail.gif" width="16" height="16"><a class="s4" href="" onclick="return NW_open('send_msg.php?uid=<? echo $article["uid"]; ?>', 'send_msg', 500, 300);" title="给作者发消息">消息</a> |
<img src="images/mail.gif" width="16" height="16"><a class="s4" href="read_msg.php?sent=1&uid=<? echo $article["uid"]; ?>" target=_blank title="给作者发消息">消息</a> |
| 364 |
<? |
<? |
| 365 |
} |
} |
| 366 |
if ($article["visible"]) |
if ($article["visible"]) |
| 431 |
</tr> |
</tr> |
| 432 |
<tr> |
<tr> |
| 433 |
<td width="20%" align="center"> |
<td width="20%" align="center"> |
| 434 |
作者: <a class="s2" href="show_profile.php?uid=<? echo $article["uid"]; ?>" target=_blank title="查看用户资料"><? echo htmlspecialchars($article["username"], ENT_HTML401, 'UTF-8'); ?></a> |
作者: <a class="s2" href="show_profile.php?uid=<? echo $article["uid"]; ?>" onclick='return <? echo ($user_viewable ? "true" : "false"); ?>' target=_blank title="查看用户资料"><? echo htmlspecialchars($article["username"], ENT_HTML401, 'UTF-8'); ?></a> |
| 435 |
</td> |
</td> |
| 436 |
<td width="75%" class="body"> |
<td width="75%" class="body"> |
| 437 |
<span style="color:#606060;">标题:</span> |
<span style="color:#606060;">标题:</span> |
| 446 |
</tr> |
</tr> |
| 447 |
<tr> |
<tr> |
| 448 |
<td align="center"> |
<td align="center"> |
| 449 |
昵称: <span style="color:#909090;"><? echo htmlspecialchars($article["nickname"], ENT_HTML401, 'UTF-8'); ?></span> |
昵称: <span style="color: #909090;"><? echo htmlspecialchars($article["nickname"], ENT_HTML401, 'UTF-8'); ?></span> |
| 450 |
</td> |
</td> |
| 451 |
<td class="body"> |
<td class="body"> |
| 452 |
<span style="color:#606060;">来自:</span> <span style="color:#909090; "><? echo $article["sub_ip"]; ?></span> |
<span style="color:#606060;">来自:</span> <span style="color: #909090; "><? echo $article["sub_ip"]; ?></span> |
| 453 |
</td> |
</td> |
| 454 |
<td> |
<td> |
| 455 |
</td> |
</td> |
| 459 |
经验值: <span style="color:red;"><? echo $article["exp"]; ?></span> |
经验值: <span style="color:red;"><? echo $article["exp"]; ?></span> |
| 460 |
</td> |
</td> |
| 461 |
<td class="body"> |
<td class="body"> |
| 462 |
<span style="color:#606060;">发贴时间:</span> <span style="color:#909090; "><? echo $article["sub_dt"]->format("Y年m月d日 H:i:s (\U\T\C P)"); ?></span> |
<span style="color:#606060;">发贴时间:</span> <span style="color: #909090; "><? echo $article["sub_dt"]->format("Y年m月d日 H:i:s (\U\T\C P)"); ?></span> |
| 463 |
</td> |
</td> |
| 464 |
<td> |
<td> |
| 465 |
</td> |
</td> |
| 466 |
</tr> |
</tr> |
| 467 |
<tr> |
<tr> |
| 468 |
<td align="center"> |
<td align="center"> |
| 469 |
等级: <span style="color:#909090;"><? echo user_level($article["exp"]); ?></span> |
等级: <span style="color: #909090;"><? echo user_level($article["exp"]); ?></span> |
| 470 |
</td> |
</td> |
| 471 |
<td class="body"> |
<td class="body"> |
| 472 |
<span style="color:#606060;">长度:</span> <span style="color:#909090; "><? echo $article["length"]; ?>字</span> |
<span style="color:#606060;">长度:</span> <span style="color: #909090; "><? echo $article["length"]; ?>字</span> |
| 473 |
</td> |
</td> |
| 474 |
<td> |
<td> |
| 475 |
</td> |
</td> |
| 477 |
<tr height="2"> |
<tr height="2"> |
| 478 |
<td> |
<td> |
| 479 |
</td> |
</td> |
| 480 |
<td style="background-color:#909090;"> |
<td style="background-color: #909090;"> |
| 481 |
</td> |
</td> |
| 482 |
<td> |
<td> |
| 483 |
</td> |
</td> |
| 487 |
<img src="<? echo $article["photo_path"]; ?>" border="0"> |
<img src="<? echo $article["photo_path"]; ?>" border="0"> |
| 488 |
</td> |
</td> |
| 489 |
<td id="content_<? echo $article["aid"]; ?>" class="<? echo ($article["visible"] ? "content_normal" : "content_deleted"); ?>"> |
<td id="content_<? echo $article["aid"]; ?>" class="<? echo ($article["visible"] ? "content_normal" : "content_deleted"); ?>"> |
| 490 |
<? echo LML(htmlspecialchars((isset($article["content"]) ? $article["content"] : ""), ENT_HTML401, 'UTF-8'), true); ?> |
<pre><? echo LML(htmlspecialchars((isset($article["content"]) ? $article["content"] : ""), ENT_HTML401, 'UTF-8'), true, true, 80); ?></pre> |
| 491 |
</td> |
</td> |
| 492 |
<td> |
<td> |
| 493 |
</td> |
</td> |
| 522 |
case "tif": |
case "tif": |
| 523 |
case "tiff": |
case "tiff": |
| 524 |
?> |
?> |
| 525 |
<img onmousewheel="return bbs_img_zoom(event, this)" src="dl_file.php?aid=<? echo $attachment["aid"]; ?>"> |
<br /><img onmousewheel="return bbs_img_zoom(event, this)" src="dl_file.php?aid=<? echo $attachment["aid"]; ?>"> |
| 526 |
<? |
<? |
| 527 |
break; |
break; |
| 528 |
} |
} |
| 549 |
<? |
<? |
| 550 |
} |
} |
| 551 |
?> |
?> |
| 552 |
<table cols="3" border="0" cellpadding="5" cellspacing="0" width="770"> |
<table cols="3" border="0" cellpadding="5" cellspacing="0" width="1050"> |
| 553 |
<tr bgcolor="#d0d3F0" height="10"> |
<tr bgcolor="#d0d3F0" height="10"> |
| 554 |
<td colspan="3"> |
<td colspan="3"> |
| 555 |
</td> |
</td> |
| 556 |
</tr> |
</tr> |
| 557 |
<tr> |
<tr> |
| 558 |
<td width="40%" style="color:#909090"> |
<td width="40%" style="color: #909090"> |
| 559 |
<form action="view_article.php" method="get" id="change_page" name="change_page"> |
<form action="view_article.php" method="get" id="change_page" name="change_page"> |
| 560 |
<input type="hidden" id="id" name="id" value="<? echo $result_set["data"]["id"]; ?>"> |
<input type="hidden" id="id" name="id" value="<? echo $result_set["data"]["id"]; ?>"> |
| 561 |
<input type="hidden" id="ex" name="ex" value="<? echo $result_set["data"]["ex"]; ?>"> |
<input type="hidden" id="ex" name="ex" value="<? echo $result_set["data"]["ex"]; ?>"> |
| 572 |
if ($result_set["data"]["page"] > 1) |
if ($result_set["data"]["page"] > 1) |
| 573 |
{ |
{ |
| 574 |
?> |
?> |
| 575 |
<a class="s8" title="首页" href="" onclick="return ch_page(1);"><font face=webdings>9</font></a> |
<a class="s8" title="首页" href="" onclick="return ch_page(1);">|◀</a> |
| 576 |
<a class="s8" title="上一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] - 1); ?>);"><font face=webdings>7</font></a> |
<a class="s8" title="上一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] - 1); ?>);">◀</a> |
| 577 |
<? |
<? |
| 578 |
} |
} |
| 579 |
else |
else |
| 580 |
{ |
{ |
| 581 |
?> |
?> |
| 582 |
<font face=webdings>9 7</font> |
|◀ ◀ |
| 583 |
<? |
<? |
| 584 |
} |
} |
| 585 |
?> |
?> |
| 588 |
if ($result_set["data"]["page"] < $result_set["data"]["page_total"]) |
if ($result_set["data"]["page"] < $result_set["data"]["page_total"]) |
| 589 |
{ |
{ |
| 590 |
?> |
?> |
| 591 |
<a class="s8" title="下一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] + 1); ?>);"><font face=webdings>8</font></a> |
<a class="s8" title="下一页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page"] + 1); ?>);">▶</a> |
| 592 |
<a class="s8" title="尾页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page_total"]); ?>);"><font face=webdings>:</font></a> |
<a class="s8" title="尾页" href="" onclick="return ch_page(<? echo ($result_set["data"]["page_total"]); ?>);">▶|</a> |
| 593 |
<? |
<? |
| 594 |
} |
} |
| 595 |
else |
else |
| 596 |
{ |
{ |
| 597 |
?> |
?> |
| 598 |
<font face=webdings>8 :</font> |
▶ ▶| |
| 599 |
<? |
<? |
| 600 |
} |
} |
| 601 |
?> |
?> |
| 627 |
<? |
<? |
| 628 |
include "./foot.inc.php"; |
include "./foot.inc.php"; |
| 629 |
?> |
?> |
|
|
|
|
<center> |
|
|
<script type="text/javascript"> |
|
|
google_ad_client = "ca-pub-3013347141025996"; |
|
|
google_ad_slot = "7389632330"; |
|
|
google_ad_width = 728; |
|
|
google_ad_height = 90; |
|
|
</script> |
|
|
<!-- fenglin_bbs_footer --> |
|
|
<script type="text/javascript" |
|
|
src="//pagead2.googlesyndication.com/pagead/show_ads.js"> |
|
|
</script> |
|
|
</center> |
|
|
|
|
| 630 |
</body> |
</body> |
| 631 |
</html> |
</html> |