Hello people
,
I just installed a code highlight mod for the forum now we can all benefit of cool code
How to use:
Simple C++ example
[code=cpp] MY AWESU"M CODE [/code ]
#include <iostream>
int main()
{
std::cout << "Hello, Evilzone!\n";
}
Code example for PHP highlight line 4
[code=php ,4] CODEE[/code ]
public function __construct() {
if(!isset($_POST['action']) || is_array($_POST['action']) || trim($_POST['action']) == "")
{
die(json_encode(array('status' => '404')));
}
else
{
$this->action = strtolower(trim(htmlentities($_POST['action'])));
}
}
There are over 200 programming/scripting/code highlight templates included
I may do a little color change but for now, feel free to edit your existing posts to higher the evilzone experience.
Have a good weekend