/* DISCLAIMER ***************************************************************** * * * The Purple Yin Guestbook code is distributed without any warranty. All * * warranties, expressed or implied are hereby disclaimed. This includes but * * is not limited to warranties of merchantability or fitness for a particular * * purpose. The reselling of this code is strictly prohibited. * * * ******************************************************************************* /* PURPLE YIN GUESTBOOK INFORMATION ******************************************* * * * URL: www.purpleyin.com * * AUTHOR: Thomas Phan * * * ******************************************************************************/ include'PYG.php'; $DB=new PYGDB(); $templates=new PYGTEMPLATES(); $buffer=str_replace('',count($DB->getRows('chronological')),$templates->get('sign')); $buffer=str_replace('',GUESTBOOK_NAME,$buffer); $buffer=str_replace('Buring Rockers Guestbook',GUESTBOOK_NAME,$buffer); $buffer=str_replace('Burning Rockers Guestbook',GUESTBOOK_NAME,$buffer); $smiliesClickList=<< function addSmiley(emoticon) { document.getElementById('comments').value+=emoticon; document.getElementById('comments').focus(); } heredocIdentifier; $smiliesClickList.=''."\r\n"; $smiliesClickList.="\r\n"; $smiliesList=new PYGSmilies(); foreach($smiliesList->get() as $smiley) { $smiliesClickList.="\r\n"; $smiliesClickList.="\r\n"; } $smiliesClickList.="\r\n
\"\"
\r\n"; $buffer=str_replace('',$smiliesClickList,$buffer); if($options->get('turingProtection')) { $turingProtectionHTML= '

'. '

Enter the code shown in the image:
'. '

'; $turingProtectionImage=''; $turingProtectionImageURL='PYG.php?do=getTuringImage'; $buffer=str_replace('',$turingProtectionHTML,$buffer); $buffer=str_replace('',$turingProtectionImage,$buffer); $buffer=str_replace('',$turingProtectionImageURL,$buffer); } else { $buffer=str_replace('','',$buffer); $buffer=str_replace('','',$buffer); $buffer=str_replace('','',$buffer); } print$buffer; ?>