Main functions:
1. almost all program codes can be highlighted in the following languages: actionscript, ADA, Apache Log, AppleScript, ASM, ASP, AutoIT, Backus-Naur form, Bash, BlitzBasic, C, C for Macs, C #, C ++, cad dcl, cadLisp, CFDG, CFDG, ColdFusion, CSS, Delphi, DIV, DOS, Eiffel, Fortran, Fortran, FreeBasic, GML, Groovy, HTML, Inno, IO, Java, Java 5, Javascript, LaTeX, Lisp, Lua, Microprocessor ASM, mIRC, MySQL, NSIS, Objective C, OCaml, OpenOffice BASIC, Oracle 8 SQL, Pascal, Perl, PHP, PL/SQL, Python, Q (ui Ckdeskbasic1_robots.txt, Ruby, SAS, Scheme, SDLBasic, Smalltalk, Smarty, SQL, T-SQL, TCL, thinBasic, Uno IDL, VB. NET, Visual BASIC, Visual Fox Pro, Winbatch, X ++, XML, Z80 ASM, and so on.
2. The code run box contains three functions: Copy code, run code, and save code.
Usage:
1. If you want to highlight a language code, you can use the following format:
[Merge Ge = html] Here is the HTML code [/language]
[Syntax Ge = xml] Here is the XML Code [/language]
[Languge = css] Here is the CSS code [/language]
[Merge Ge = javascript] Here is the Javascript code [/language]
[Merge Ge = asp] Here is the ASP code [/language]
[Merge Ge = php] Here is the PHP code [/language]
[Mongoge = java] Here is the Java code [/language]
[Merge Ge = cpp] C ++ code [/language]
[Merge Ge = csharp] Here is C # code [/language]
[Mongoge = mysql] Mysql code [/language]
2. If you only want to run a piece of code, you can use the defaultCopy codeThe Code is as follows: format.
Installation Method:
1. Download and decompress the compressed package. If you are using the default template and have not modified the following files before:
/Viewthread. php
/Include/discuzcode. func. php
/Include/global. func. php
/Include/javascript/common. js
Then, you can directly upload the decompressed file to the root directory of the website. Other templates can be modified by referring to the subsequent modification method.
2. if you have modified some or all of these files before, you can follow the instructions below to modify the files you have modified before. If you have not modified the files, you can directly upload and overwrite them:
(1)/viewthread. php
Find:
[Code]
$ Post ['message'] = discuzcode ($ post ['message'], $ post ['smileyoff '], $ post ['bbcodeoff'], $ post ['htmlon'], $ forum ['allowscloud'], $ forum ['allowbucketcodes '], ($ forum ['allowimgcode'] & $ showimages? 1: 0), $ forum ['allowhtml '], ($ forum ['jammer'] & $ post ['authorid']! = $ Discuz_uid? 1: 0), $ pasetype, $ post ['authorid']);
Change
Copy codeThe Code is as follows:
$ Post ['message'] = discuzcode ($ post ['message'], $ post ['smileyoff '], $ post ['bbcodeoff'], $ post ['htmlon'], $ forum ['allowscloud'], $ forum ['allowbucketcodes '], ($ forum ['allowimgcode'] & $ showimages? 1: 0), $ forum ['allowhtml '], ($ forum ['jammer'] & $ post ['authorid']! = $ Discuz_uid? 1: 0), $ pasetype, $ post ['authorid'], $ thread ['subobject']); // ----- The zouql code starts running ------ $ post ['message'] = preg_replace ("/\ s * id = \" cmsmb_htmlcode \"(. + ?) Textarea \ s */ies "," cmsmb_no_br ('$ 1') ", $ post ['message']); // ------------------------