⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ubbcode.htm

📁 1、改进了数据库的md5加密算法。 2、可自主设置每页显示的页数。 3、加强了回复功能
💻 HTM
字号:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>什么是UBB代码</title><link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.style1 {font-size: 12px}
-->
</style></head>
<body>
<p align="center"><font size="2">什么是UBB代码?</font></p>
<div align="center"> 
  <table border="2" cellpadding="25" cellspacing="0" width="100%" bordercolor="#C0C0C0" bgcolor="#E4E4E4">
    <tr> 
      <td width="100%"><span class="style1">  UBB代码是HTML的一个变种。你也许已经对它很熟悉了。一般情况下,如果允许你用HTML,也就可以使用UBB代码。即使你的讨论区不能让你使用HTML,你也可以使用UBB代码。 
        由于要求使用的编码很少,即使可以使用HTML,可能也想使用UBB代码,因为代码错误的可能性大大减小了。&nbsp;<br>
        <br>
        当前 UBB 代码:&nbsp;<br>
         
        </span>
        <div align="center" class="style1"> 
          <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
            <tr> 
              <td width="100%" bgcolor="#B5BA9C">URL 超级链接&nbsp;</td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#FFFFF7">在你的信息里加入超级链接,只要按下列方式套入就可以了(UBB代码是<font color="#FF0000">红字</font>).&nbsp;<br>                <br>
                直接输入http://www.ultimatebb.com,系统将自动创建链接&nbsp;<br>
                或者&nbsp;<br>                <br>
                <font color="#FF0000">[url]</font>http://www.ultimatebb.com<font color="#FF0000">[/url]&nbsp;</font><br>
                或者&nbsp;<br>                <br>
                <font color="#FF0000">[url=http://www.ultimatebb.com]</font>UltimateBB.com<font color="#FF0000">[/url]&nbsp;<br>
                </font> 按上例套入,UBB代码会自动对URL产生链接,并保证当用户点击新的窗口时这个链接是打开着的。注意URL的"http://"这一部分是随意的。&nbsp;<br>                </td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#B5BA9C">Email 超级链接&nbsp;</td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#FFFFF7">在你的信息里加入电子邮件的超级链接,只要按照下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>)&nbsp;<br>                <br>                <br>
                <font color="#FF0000">[email]</font>ted@prime-web.com<font color="#FF0000">[/email]&nbsp;<br>
                </font> 按上例套入,UBB代码会对电子邮件自动产生链接。&nbsp;</td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#B5BA9C">粗体与斜体&nbsp;</td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#FFFFF7">你可以使用 <font color="#FF0000"> 
                [b]</font> <font color="#FF0000"> [/b]</font> 
                或 <font color="#FF0000"> [i]</font> <font color="#FF0000"> 
                [/i]</font> 这些标志以达到在贴子中使用粗体或斜体的效果.&nbsp;<br>                <br>
                你好, <font color="#FF0000">[b]</font><b>James</b><font color="#FF0000">[/b]</font><br>
                你好, <font color="#FF0000">[i]</font><i>Mary</i><font color="#FF0000">[/i]&nbsp;</font></td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#B5BA9C">列表</td>
            </tr>
            <tr> 
              <td width="100%" bgcolor="#FFFFF7">在你的信息里加入列表,只要按照下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>)&nbsp;<br>
  无序列表:&nbsp;<br>                <br>
                <font color="#FF0000"> [list]</font>&nbsp;<br>
                <font color="#FF0000"> [*]</font> This is the first bulleted item.<br>
                <font color="#FF0000"> [*]</font> This is the second bulleted 
                item.<br>
                <font color="#FF0000"> [/list]</font><br>                <br>
                效果:&nbsp;<br>
                <ul>
                  <li> This is the first bulleted item.</li>
                  <li> This is the second bulleted item.</li>
                </ul>
                <p>请注意不要漏掉 [/list] .&nbsp;<br>
  有序列表也非常简单只要用 [LIST=A] 或者 [LIST=1]就可以了. [List=A]将产生从A到Z的列表. [List=1]则产生数字列表.&nbsp;<br>
                  <br>
                  例如:&nbsp;<br>
                  <br>
                  <font color="#FF0000"> [list=A]&nbsp;</font><br>
                  <font color="#FF0000"> [*]</font> This is the first bulleted 
                  item.<br>
                  <font color="#FF0000"> [*]</font> This is the second bulleted 
                  item.<br>
                  <font color="#FF0000"> [/list]</font><br>
                  <br>
                  效果:&nbsp;<br>
                <ol type=A>
                  <li>This is the first bulleted item.</li>
                  <li>This is the second bulleted item.</li>
                </ol>
              </td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%" bgcolor="#B5BA9C">加入图片</td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%">在你的信息里加入图象,只要按下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>).&nbsp;<br>                <br>
                <font color="#FF0000">[img]</font>http://www.prime-web.com/Ultimate20/tline.gif<font color="#FF0000">[/img]&nbsp;</font><br>
                在上例中,UBB代码会自动让图象在你的信息里显示。注意:URL的"http://"这一部分要求在[img]后套入。还要注意:一些UBB讨论区可能会禁止使用[img]标签,阻止图形的显示。&nbsp;<br>                </td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%" bgcolor="#B5BA9C">引用信息</td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%">引用一些人的帖子,只要剪切和拷贝然后按下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>)).&nbsp;<br>                <br>
                <font color="#FF0000">[QUOTE]</font>Ask not what your country 
                can do for you....<br>
                ask what you can do for your country.<font color="#FF0000">[/QUOTE]</font>&nbsp;<br>
                在上例中,UBB代码会自动加重你引用的文字。&nbsp;</td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%" bgcolor="#B5BA9C">保持格式</td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%">如果希望贴入源代码或字符图,可以这样贴: (UBB代码是<font color="#FF0000">红字</font>))&nbsp;<br>
                源代码字符:<br>
                <font color="#FF0000">[CODE]</font>#!/usr/bin/perl&nbsp;<br>                <br>
                print "Content-type: text/html\n\n";&nbsp;<br>
                print "Hello World!"; <font color="#FF0000"> [/CODE]&nbsp;</font><br>                <br>
                字符图:&nbsp;<br>                <br>
                <div align=center><font color="#FF0000">[code]</font><br>
                  **<br>
                  *<br>
                  * * *<br>
                  <font color="#FF0000">[/code]</font><br>
                  在上例中,UBB代码会保持格式。&nbsp; </div>
              </td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%" bgcolor="#B5BA9C">彩色文字&nbsp;</td>
            </tr>
            <tr bgcolor="#FFFFF7"> 
              <td width="100%"><font color="#FF0000">[color=red]</font>彩色文字<font color="#FF0000">[/color]</font><br>
  以上的"red"可以是:<br>
                <div align="center"> 
                  <table width="50%" border="1" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="22" width="31%" align="center">Black</td>
                      <td height="22" width="35%" align="center">#000000</td>
                      <td height="22" width="34%" align="center">黑色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Silver</td>
                      <td width="35%" align="center">#C0C0C0</td>
                      <td width="34%" align="center">银色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Gray</td>
                      <td width="35%" align="center">#808080</td>
                      <td width="34%" align="center">灰色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">White</td>
                      <td width="35%" align="center">#FFFFFF</td>
                      <td width="34%" align="center">白色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Maroon</td>
                      <td width="35%" align="center">#800000</td>
                      <td width="34%" align="center">茶色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Red</td>
                      <td width="35%" align="center">#FF0000</td>
                      <td width="34%" align="center">红色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Purple</td>
                      <td width="35%" align="center">#800080</td>
                      <td width="34%" align="center">紫色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Fuchsia</td>
                      <td width="35%" align="center">#FF00FF</td>
                      <td width="34%" align="center">紫红</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Green</td>
                      <td width="35%" align="center">#008000</td>
                      <td width="34%" align="center">绿色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Lime</td>
                      <td width="35%" align="center">#00FF00</td>
                      <td width="34%" align="center">亮绿</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Olive</td>
                      <td width="35%" align="center">#808000</td>
                      <td width="34%" align="center">橄榄</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Yellow</td>
                      <td width="35%" align="center">#FFFF00</td>
                      <td width="34%" align="center">黄色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Navy</td>
                      <td width="35%" align="center">#000080</td>
                      <td width="34%" align="center">深蓝</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Blue</td>
                      <td width="35%" align="center">#0000FF</td>
                      <td width="34%" align="center">蓝色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Teal</td>
                      <td width="35%" align="center">#008080</td>
                      <td width="34%" align="center">青色</td>
                    </tr>
                    <tr> 
                      <td width="31%" align="center">Aqua</td>
                      <td width="35%" align="center">#00FFFF</td>
                      <td width="34%" align="center">浅绿</td>
                    </tr>
                  </table>
                  <br>
                  </div>
              </td>
            </tr>
          </table>
        </div>
        <p class="style1"><font color="#FF0000">特别注意:&nbsp;</font><br>
          你不可以同时使用HTML和UBB代码的同一种功能。并且注意UBB代码不对大小写敏感。所以你可以用<font color="#FF0000">[URL]</font> 
          或 <font color="#FF0000"> [url]</font>&nbsp;<br>
          <br>
          不正确的UBB代码使用:&nbsp;<br>
          <br>
          <font color="#FF0000"> [url]</font> www.chinacpu.com <font color="#FF0000"> 
          [/url]</font> - 不要在括号和你输入的文字之间有空格&nbsp;<br>
          <br>
          <font color="#FF0000">[email]</font>webmaster@chinacpu.com<font color="#FF0000">[email]</font> 
          - 在结束时,不要忘了在括号内加入斜杠<font color="#FF0000">[/email]</font>&nbsp; 
      </td>
    </tr>
  </table>
</div>
<font size="2"> 
<!--#include file="about.asp" -->
</font> 
</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -