/[LeafOK_CVS]/fenglin/bbs/themes/default/post.view.php
ViewVC logotype

Diff of /fenglin/bbs/themes/default/post.view.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Mon Apr 7 14:25:44 2025 UTC Revision 1.8 by sysadm, Sat Apr 19 06:53:25 2025 UTC
# Line 9  Line 9 
9  <head>  <head>
10  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
11  <title>发表文章</title>  <title>发表文章</title>
12  <link rel="stylesheet" href="<? echo get_theme_view_file("css"); ?>" type="text/css">  <link rel="stylesheet" href="<? echo get_theme_file('css/default'); ?>" type="text/css">
13  <script type="text/javascript" src="../js/nw_open.js"></script>  <script type="text/javascript" src="<? echo get_theme_file('js/lml_assistant'); ?>"></script>
 <script type="text/javascript" src="../js/lml_assistant.js"></script>  
14  <script src="../js/polyfill.min.js"></script>  <script src="../js/polyfill.min.js"></script>
15  <script src="../js/axios.min.js"></script>  <script src="../js/axios.min.js"></script>
16  <script type="text/javascript">  <script type="text/javascript">
# Line 145  window.addEventListener("load", () => { Line 144  window.addEventListener("load", () => {
144  </head>  </head>
145  <body>  <body>
146  <center>  <center>
147  <table border="0" cellpadding="1" cellspacing="0" width="770">  <table border="0" cellpadding="1" cellspacing="0" width="1050">
148          <tr>          <tr>
149                  <td>                  <td>
150                          <a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>&gt;&gt;<a class="s2" href="bbs.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $result_set["data"]["section_title"]; ?></a>&gt;&gt;<?                          <a class="s2" href="main.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $BBS_name; ?></a>&gt;&gt;<a class="s2" href="list.php?sid=<? echo $result_set["data"]["sid"]; ?>"><? echo $result_set["data"]["section_title"]; ?></a>&gt;&gt;<?
151          if ($result_set["data"]["id"] == 0)          if ($result_set["data"]["id"] == 0)
152          {          {
153                  if ($result_set["data"]["reply_id"] > 0)                  if ($result_set["data"]["reply_id"] > 0)
# Line 169  window.addEventListener("load", () => { Line 168  window.addEventListener("load", () => {
168          </tr>          </tr>
169  </table>  </table>
170  <form method="POST" ENCTYPE="multipart/form-data" id="post_form" name="post_form" action="#">  <form method="POST" ENCTYPE="multipart/form-data" id="post_form" name="post_form" action="#">
171  <table border="0" cellpadding="5" cellspacing="0" width="770">  <table border="0" cellpadding="5" cellspacing="0" width="1050">
172          <tr>          <tr>
173                  <td colspan="2" align="center" style="color:red;">别忙着发贴,请先看一下<a class="s0" href="doc/management.xml" target=_blank>《论坛管理章程》</a>吧!<br>                  <td colspan="2" align="center" style="color:red;">别忙着发贴,请先看一下<a class="s0" href="doc/management.xml" target=_blank>《论坛管理章程》</a>吧!<br>
174                  (请对您的言论负责,遵守有关法律、法规,尊重网络道德)</td>                  (请对您的言论负责,遵守有关法律、法规,尊重网络道德)</td>
# Line 178  window.addEventListener("load", () => { Line 177  window.addEventListener("load", () => {
177                  <td colspan="2" align="center"><span id="err_msg_prompt" name="err_msg" style="color: red;"></span></td>                  <td colspan="2" align="center"><span id="err_msg_prompt" name="err_msg" style="color: red;"></span></td>
178          </tr>          </tr>
179          <tr>          <tr>
180                  <td width="10%" align="right">标题<span id="err_msg_title" name="err_msg" style="color: red;"></span></td>                  <td width="20%" align="right">标题<span id="err_msg_title" name="err_msg" style="color: red;"></span></td>
181                  <td width="90%">                  <td width="80%">
182                          <input type="text" name="textarea" id="textarea_title" size="80" <? echo ($result_set["data"]["id"] != 0 ? "readonly" : ""); ?> value="<? echo ($result_set["data"]["reply_id"] > 0 ? split_line(htmlspecialchars($result_set["data"]["title"], ENT_QUOTES | ENT_HTML401, 'UTF-8'), "Re: ", 80, 1) : htmlspecialchars($result_set["data"]["title"], ENT_QUOTES | ENT_HTML401, 'UTF-8')); ?>">                          <input type="text" name="textarea" id="textarea_title" size="90" <? echo ($result_set["data"]["id"] != 0 ? "readonly" : ""); ?> value="<? echo ($result_set["data"]["reply_id"] > 0 ? split_line(htmlspecialchars($result_set["data"]["title"], ENT_QUOTES | ENT_HTML401, 'UTF-8'), "Re: ", 80, 1) : htmlspecialchars($result_set["data"]["title"], ENT_QUOTES | ENT_HTML401, 'UTF-8')); ?>">
183  <?  <?
184          if ($result_set["data"]["id"] == 0 && $result_set["data"]["reply_id"] == 0)          if ($result_set["data"]["id"] == 0 && $result_set["data"]["reply_id"] == 0)
185          {          {
# Line 193  window.addEventListener("load", () => { Line 192  window.addEventListener("load", () => {
192          <tr>          <tr>
193                  <td align="right">正文<span id="err_msg_content" name="err_msg" style="color: red;"></span></td>                  <td align="right">正文<span id="err_msg_content" name="err_msg" style="color: red;"></span></td>
194                  <td>                  <td>
195                          <textarea name="textarea" id="textarea_content" cols="80" rows="25"><?                          <textarea name="textarea" id="textarea_content" cols="90" rows="25"><?
196  if ($result_set["data"]["reply_id"] == 0)  if ($result_set["data"]["reply_id"] == 0)
197  {  {
198          echo htmlspecialchars($result_set["data"]["content"], ENT_HTML401, 'UTF-8');          echo htmlspecialchars($result_set["data"]["content"], ENT_HTML401, 'UTF-8');
# Line 212  else if ($quote) Line 211  else if ($quote)
211                  </td>                  </td>
212          </tr>          </tr>
213          <tr>          <tr>
214                  <td align="right"><a class="s0" href="doc/lml.htm" target=_blank>LML</a>助手</td>                  <td align="right"><a class="s0" href="lml.htm" target=_blank>LML</a>助手</td>
215                  <td>                  <td>
216                          <INPUT type="button" value="B" onclick="b_bold(content)" style="font-weight:bold; width:25px;">                          <INPUT type="button" value="B" onclick="b_bold(textarea_content)" style="font-weight:bold; width:25px;">
217                          <INPUT type="button" value="I" onclick="b_italic(content)" style="font-style:italic; width:25px;">                          <INPUT type="button" value="I" onclick="b_italic(textarea_content)" style="font-style:italic; width:25px;">
218                          <INPUT type="button" value="U" onclick="b_underline(content)" style="text-decoration:underline; width:25px;">                          <INPUT type="button" value="U" onclick="b_underline(textarea_content)" style="text-decoration:underline; width:25px;">
219                          <INPUT type="button" value="[" onclick="b_left(content)" style="width:20px;">                          <INPUT type="button" value="[" onclick="b_left(textarea_content)" style="width:20px;">
220                          <INPUT type="button" value="]" onclick="b_right(content)" style="width:20px;">                          <INPUT type="button" value="]" onclick="b_right(textarea_content)" style="width:20px;">
221                          <INPUT type="button" value="Aa" onclick="b_size(content)" style="width:30px;">                          <INPUT type="button" value="Aa" onclick="b_size(textarea_content)" style="width:30px;">
222                          <INPUT type="button" value="A" onclick="b_color(content)" style="font-weight:bold; color:red; width:25px;">                          <INPUT type="button" value="A" onclick="b_color(textarea_content)" style="font-weight:bold; color:red; width:25px;">
223                          <INPUT type="button" value="@" onclick="b_email(content)" style="width:25px;">                          <INPUT type="button" value="@" onclick="b_email(textarea_content)" style="width:25px;">
224                          <INPUT type="button" value="Link" onclick="b_link(content)" style="text-decoration:underline; color:blue; width:40px;">                          <INPUT type="button" value="Link" onclick="b_link(textarea_content)" style="text-decoration:underline; color:blue; width:40px;">
225                          <INPUT type="button" value="主题" onclick="b_article(content)" style="text-decoration:underline; color:green; width:40px;">                          <INPUT type="button" value="主题" onclick="b_article(textarea_content)" style="text-decoration:underline; color:green; width:40px;">
226                          <INPUT type="button" value="图片" onclick="b_image(content)" style="width:40px;">                          <INPUT type="button" value="图片" onclick="b_image(textarea_content)" style="width:40px;">
227                          <INPUT type="button" value="字幕" onclick="b_marquee(content)" style="width:40px;">                          <INPUT type="button" value="字幕" onclick="b_marquee(textarea_content)" style="width:40px;">
228                  </td>                  </td>
229          </tr>          </tr>
230          <tr>          <tr>
# Line 234  else if ($quote) Line 233  else if ($quote)
233                          单个文件大小不能超过<? echo $BBS_upload_size_limit; ?>M,                          单个文件大小不能超过<? echo $BBS_upload_size_limit; ?>M,
234                          单次上传不超过<? echo $BBS_upload_count_limit; ?>个文件<br />                          单次上传不超过<? echo $BBS_upload_count_limit; ?>个文件<br />
235                          文件类型限于BMP,GIF,JPEG,PNG,TIFF,TXT,ZIP,RAR<br />                          文件类型限于BMP,GIF,JPEG,PNG,TIFF,TXT,ZIP,RAR<br />
236                          <INPUT TYPE=FILE SIZE=40 name="attachment[]" id="attachment" multiple>                          <INPUT TYPE="file" size="40" name="attachment[]" id="attachment" multiple>
237  <?  <?
238          if ($result_set["data"]["id"] != 0) // Modify article          if ($result_set["data"]["id"] != 0) // Modify article
239          {          {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1