Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpFreeChat has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/phpfreechat.class.php on line 36

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcCommand has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfccommand.class.php on line 32

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcUserConfig has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfcuserconfig.class.php on line 5

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcGlobalConfig has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfcglobalconfig.class.php on line 32

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainer has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfccontainer.class.php on line 33

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainerInterface has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfccontainerinterface.class.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcTemplate has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfctemplate.class.php on line 29

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vsie6qnskbxf/public_html/midcornwall.com/lib/utf8/utf8_char2byte_pos.php on line 27

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vsie6qnskbxf/public_html/midcornwall.com/lib/utf8/utf8_char2byte_pos.php on line 26

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vsie6qnskbxf/public_html/midcornwall.com/lib/utf8/utf8_char2byte_pos.php on line 33

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vsie6qnskbxf/public_html/midcornwall.com/lib/utf8/utf8_char2byte_pos.php on line 37

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vsie6qnskbxf/public_html/midcornwall.com/lib/utf8/utf8_char2byte_pos.php on line 37

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcResponse has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/pfcresponse.class.php on line 27

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainer_File has a deprecated constructor in /home/vsie6qnskbxf/public_html/midcornwall.com/src/containers/file.class.php on line 30
PHPFreeChat - Green theme

Chat loading ...
Please wait

The source code

/home/vsie6qnskbxf/public_html/midcornwall.com/demo/demo44_green_theme.php


<?php

require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__);
$params["title"]    = "A chat using the green theme";
$params["theme"]    = "green";
$chat = new phpFreeChat$params );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title> PHPFreeChat - Green theme</title>
    <?php $chat->printJavascript(); ?>
    <?php $chat->printStyle(); ?>
    </head>
    <body>
            <?php $chat->printChat(); ?>
                
            <?php
              
// print the current file
              
echo "<h2>The source code</h2>";
              
$filename __FILE__;
              echo 
"<p><code>".$filename."</code></p>";
              echo 
"<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
              
$content file_get_contents($filename);
              
highlight_string($content);
              echo 
"</pre>";
            
?>
            
    </body>
</html>