<?php
/*******************************************************************************
* Title: Animus Comments
* Version: 1.0
* Author: Jon Cohen
* Website: http://www.animusprogramming.com
********************************************************************************
* COPYRIGHT NOTICE
* Copyright 2010 Jon Cohen. All Rights Reserved.
*
* This script may be used and modified free of charge by anyone
* provided all copyright notices and links back to animusprogramming.com
* remain intact. By using this code you agree to indemnify
* Jon Cohen from any liability that might arise from it's use.
*
* Selling the code for this program, in part or full, without prior
* written consent is expressly forbidden.
*
* Removing any of the links back to my site is sleazy, and you should feel
* bad about doing that (I did write this program and give it to you for free,
* and all.) Besides, you can always buy the professional version at
* http://www.animusprogramming.com/pro/ which has more functionality
* and does not link back to my site. Leaving the links in or paying for the
* script helps pay my bills, ensuring that I won't starve to death -- which
* means more free scripts down the road.
*******************************************************************************/
$RCE8AD33DBACD9CBCF29CF1247A8D0CBD = "anicdata"; function FB70A9113C5772E6DFB45E474B46C9979($RD9A93554B5AF46132E19F5DCFCD27AB5,$RA1D44C0654A40984A103C270FFB9BF33) { global $R9954F8599E8C039DFB26F92A7F944A1F; global $R06271F9D07C85ABD1BFB88FEB41B900F,$R44765227F5911C44ABF6FC2FB38FAA92; if ($R44765227F5911C44ABF6FC2FB38FAA92 > $RA1D44C0654A40984A103C270FFB9BF33 || $R44765227F5911C44ABF6FC2FB38FAA92 == 0) { $R8953B4C853BBF6BA0C1418952FA69FDC = "http://$_SERVER[HTTP_HOST]$_SERVER[SCRIPT_NAME]"; $R8953B4C853BBF6BA0C1418952FA69FDC = str_replace("showcom.php","comments.php",$R8953B4C853BBF6BA0C1418952FA69FDC); $R9954F8599E8C039DFB26F92A7F944A1F .= "<form method=\"post\" action=\"$R8953B4C853BBF6BA0C1418952FA69FDC\">\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<input type=\"hidden\" name=\"action\" value=\"preview\" />\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<fieldset id=\"postform$RD9A93554B5AF46132E19F5DCFCD27AB5\" style=\"width: 400px; border-style: double; margin-right: auto; margin-left: auto; border-color: #000000; border-width: 3px;\">\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<legend><span id=\"$RD9A93554B5AF46132E19F5DCFCD27AB5"."top\">Add your comment!</span></legend>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<table><tr><td style=\"width: 200px;\"><span style=\"font-size: .7em;\">Your name:</span><br /><input type=\"text\" name=\"name\" /></td>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<td style=\"width: 200px;\"><span style=\"font-size: .7em;\">Your e-mail address:</span><br /><input type=\"text\" name=\"email\" /></td></tr>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "</table><span style=\"font-size: .7em;\">Your comment:</span><br /><textarea name=\"comment\" cols=\"48\" rows=\"3\"></textarea>\n"; if ($R06271F9D07C85ABD1BFB88FEB41B900F == "Yes") { $RDE52BC5FF5D4DC46BD00EFB030665DED = "http://$_SERVER[HTTP_HOST]$_SERVER[SCRIPT_NAME]"; $RDE52BC5FF5D4DC46BD00EFB030665DED = str_replace("showcom.php","captcha.php",$RDE52BC5FF5D4DC46BD00EFB030665DED); $RA7875614D8B5DFCD90810067A8703329 = microtime(); $R9954F8599E8C039DFB26F92A7F944A1F .= "<table><tr><td style=\"width: 200px; text-align: right;\"><img src=\"$RDE52BC5FF5D4DC46BD00EFB030665DED?tc=$RA7875614D8B5DFCD90810067A8703329\" width=\"100px\" height=\"30px\" alt=\"captcha\" /> says:</td>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<input type=\"hidden\" name=\"tc\" value=\"$RA7875614D8B5DFCD90810067A8703329\" />\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<td><input type=\"text\" name=\"captcha\" /></td></tr></table>\n"; } if ($R06271F9D07C85ABD1BFB88FEB41B900F == "Check") { $R9954F8599E8C039DFB26F92A7F944A1F .= "<table><tr><td style=\"text-align: right;\">Check this box if you're human:</td><td><input type=\"checkbox\" name=\"human\" value=\"I sure am human!\" /></td></tr></table>\n"; } $R9954F8599E8C039DFB26F92A7F944A1F .= "<div id=\"$RD9A93554B5AF46132E19F5DCFCD27AB5"."bottom\" style=\"text-align: center\"></div>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<div style=\"width: 300px; margin-right: auto; margin-left: auto;\"><input type=\"submit\" value=\" Add your comment! \" style=\"width: 300px;\" /></div>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "<div style=\"font-size: .7em; width: 350px; margin-right: auto; margin-left: auto; text-align: center\"><hr />Powered by <a href=\"http://www.animusprogramming.com/comments/\">Animus Comments</a>. Download it and other free and easy to install scripts from <a href=\"http://www.animusprogramming.com/\">Animus Programming</a>.<hr /></div>\n"; $R9954F8599E8C039DFB26F92A7F944A1F .= "</fieldset></form>\n"; } else { $R9954F8599E8C039DFB26F92A7F944A1F .= "<div style=\"width: 500px; margin-left: auto; margin-right: auto; text-align: center;\"><hr />I'm sorry, but this page is locked to new comments as there are already $RA1D44C0654A40984A103C270FFB9BF33 comments on it and I only allow $R44765227F5911C44ABF6FC2FB38FAA92 comments per page.<hr /></div>\n"; } } $R3870A31671674F38BD563DC916D3A5A0 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/settings.txt"); list($R12FB4D46452FEEED299510FF72635B8D, $R9B7A40B34888A7E76A600E9F3511CAEA, $R7C4B657592558B76DC895E8BDC1A6397, $R8AEAA402D9C86AD6EA9F8B3583C7DBE4, $R2AA72C995696B0A63491856A2B3A8FD0, $R30B0433A6D8FB2C0B1DD6FE2CD0B8A62, $R1966C1C1EFF0CA85ABBEFE793F1B67A7,$R9FE924CE58937699504671B3D23E4D93,$R44765227F5911C44ABF6FC2FB38FAA92,$RDCE98A81412D13505ED6AA8E3ABA751C,$R5832B96A76A8017A03864561BCB9217A,$R06271F9D07C85ABD1BFB88FEB41B900F,$R23DE53EE390B139321BD0F5AEB48729A) = explode('|DataBreaksHERE|', $R3870A31671674F38BD563DC916D3A5A0[1]); $R0CFD14FBB696FDFBE4776DA92805B4A8 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/index.txt"); foreach($R0CFD14FBB696FDFBE4776DA92805B4A8 as $R3CE8032509E4BCBAEADE5FA4BAC85D92) { list($R7BBBF1B0F1D3401DCA454606CCFB0652,$R6E4F14B335243BE656C65E3ED9E1B115) = explode("|DataBreaksHERE|",rtrim($R3CE8032509E4BCBAEADE5FA4BAC85D92)); if ($R6E4F14B335243BE656C65E3ED9E1B115 == $_SERVER[HTTP_REFERER]) { $R40CF796B1C4405FC46F9BC0BF13E34BA = $R7BBBF1B0F1D3401DCA454606CCFB0652; } } if (!$R40CF796B1C4405FC46F9BC0BF13E34BA) { $R40CF796B1C4405FC46F9BC0BF13E34BA = $R7BBBF1B0F1D3401DCA454606CCFB0652+1; $RF500F4A848E2EB2F8AAC3A6734D7EC38 = fopen("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/index.txt", 'a') or FD14E809342EEEA1E3A916CF9A9CCB6E1("Couldn't open file","I was unable to open the data file for writing."); fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38,"$R40CF796B1C4405FC46F9BC0BF13E34BA|DataBreaksHERE|$_SERVER[HTTP_REFERER]\r\n"); fclose($RF500F4A848E2EB2F8AAC3A6734D7EC38); $RF500F4A848E2EB2F8AAC3A6734D7EC38 = fopen("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/cmnt$R40CF796B1C4405FC46F9BC0BF13E34BA.txt", 'w') or FD14E809342EEEA1E3A916CF9A9CCB6E1("Couldn't open file","I was unable to open the data file for writing."); fclose($RF500F4A848E2EB2F8AAC3A6734D7EC38); } $R49BCF9A347E457B138597821FF273620 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/cmnt$R40CF796B1C4405FC46F9BC0BF13E34BA.txt"); FB70A9113C5772E6DFB45E474B46C9979("up",count($R49BCF9A347E457B138597821FF273620)); if ($R49BCF9A347E457B138597821FF273620[0]) { $R67ADC85A153563630D8D400CEBDC5C54 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/format.txt"); foreach ($R67ADC85A153563630D8D400CEBDC5C54 as $RC73FB8048EBF95D8E0C9F9366DEC14B0) { $RCBFF9A94CA385F5A9A2E33F3EBBE45E1 .= rtrim($RC73FB8048EBF95D8E0C9F9366DEC14B0); } $R67ADC85A153563630D8D400CEBDC5C54 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/fgood.txt"); foreach ($R67ADC85A153563630D8D400CEBDC5C54 as $RC73FB8048EBF95D8E0C9F9366DEC14B0) { $R5050ACD347EF019117420AF018CA2327 .= rtrim($RC73FB8048EBF95D8E0C9F9366DEC14B0); } $R67ADC85A153563630D8D400CEBDC5C54 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/fbad.txt"); foreach ($R67ADC85A153563630D8D400CEBDC5C54 as $RC73FB8048EBF95D8E0C9F9366DEC14B0) { $R1ECFAC1C3A4923A6EC235E51DFF68CB1 .= rtrim($RC73FB8048EBF95D8E0C9F9366DEC14B0); } $R67ADC85A153563630D8D400CEBDC5C54 = file("$RCE8AD33DBACD9CBCF29CF1247A8D0CBD/fxbad.txt"); foreach ($R67ADC85A153563630D8D400CEBDC5C54 as $RC73FB8048EBF95D8E0C9F9366DEC14B0) { $RBDD9B10901B4E4747843E38A5363B2E3 .= rtrim($RC73FB8048EBF95D8E0C9F9366DEC14B0); } $R71D9E5261F066C55632762BE3ED1742D = array("%NAME%","%EMAIL%","%DATE%","%TIME%","%COMMENTS%","%RATE%","%REPLYLINK%"); $REB6C8CF0E827BAF5C78C18CCA02B85F8 = "http://$_SERVER[HTTP_HOST]$_SERVER[SCRIPT_NAME]"; $REB6C8CF0E827BAF5C78C18CCA02B85F8 = str_replace("showcom.php","ratecom.php",$REB6C8CF0E827BAF5C78C18CCA02B85F8); foreach ($R49BCF9A347E457B138597821FF273620 as $R0F99A625B03559D7EBD3CB17D9D9AB9F) { list($R9B395079675C6A66FF23EA9C6C4A668E,$REBF2CBC420EBA1C0735E00ADC8973512,$R92762F001EF2017D6F16563BEE7B8EE1,$RF95AD150BF1A4D027D23F2E291B2FC02,$RFF1BAA3769658F5A92E0B3662B91EBB9,$R5B08D4F823242B6E50E99FC8C099CDB9,$R841E04C742482B9AFF609C7DF1591A25,$R2CD5802D9A93F818AFFFA289D0BA6F48,$RE158828DE973B8B53B92B0E477D968BD,$R540F3CC8BAF3274050A757F47C481272) = explode("|DataBreaksHERE|", rtrim($R0F99A625B03559D7EBD3CB17D9D9AB9F)); if (!$R9B395079675C6A66FF23EA9C6C4A668E) { $R9B395079675C6A66FF23EA9C6C4A668E = "Anonymous"; } if (!$REBF2CBC420EBA1C0735E00ADC8973512) { $REBF2CBC420EBA1C0735E00ADC8973512 = "not given"; } $RD28519DA41C966BD015A435D2BA7FAC5 = str_replace("'","\\'",$R9B395079675C6A66FF23EA9C6C4A668E); $RDE9E2BEFA3003A3752B8A1DC33073FAD = "#postformdown\" onclick=\"document.getElementById('downtop').innerHTML = 'Reply to $RD28519DA41C966BD015A435D2BA7FAC5\\'s comment';document.getElementById('downbottom').innerHTML = '<input type=\\'checkbox\\' name=\\'replyto\\' value=\\'$R540F3CC8BAF3274050A757F47C481272\\' checked=\\'checked\\' id=\\'replycheck\\' /><label for=\\'replycheck\\'>This is in reply to $RD28519DA41C966BD015A435D2BA7FAC5\\'s comment.</label>';"; $R8A16C535FE196BBD2757993A9973F024 = "true"; if (strstr($RE158828DE973B8B53B92B0E477D968BD,$_SERVER[REMOTE_ADDR])) { $R8A16C535FE196BBD2757993A9973F024 = "false"; } $RE679C92ED964828FE05527E2C4138E64 = "<iframe frameborder=\"0\" scrolling=\"no\" src=\"$REB6C8CF0E827BAF5C78C18CCA02B85F8?vote=$R8A16C535FE196BBD2757993A9973F024&t=$R40CF796B1C4405FC46F9BC0BF13E34BA&i=$R540F3CC8BAF3274050A757F47C481272\" style=\"height: 23px; width: 80px;\"></iframe>"; $REE52ACABF9F8376C4F0B793AF259ECC2 = ""; if ($R841E04C742482B9AFF609C7DF1591A25 + $R2CD5802D9A93F818AFFFA289D0BA6F48 > 5) { if ($R841E04C742482B9AFF609C7DF1591A25 > $R2CD5802D9A93F818AFFFA289D0BA6F48 * 2) { $REE52ACABF9F8376C4F0B793AF259ECC2 = $R5050ACD347EF019117420AF018CA2327; } if ($R2CD5802D9A93F818AFFFA289D0BA6F48 > $R841E04C742482B9AFF609C7DF1591A25 * 2) { $REE52ACABF9F8376C4F0B793AF259ECC2 = $R1ECFAC1C3A4923A6EC235E51DFF68CB1; } if ($R2CD5802D9A93F818AFFFA289D0BA6F48 > $R841E04C742482B9AFF609C7DF1591A25 * 5) { $REE52ACABF9F8376C4F0B793AF259ECC2 = $RBDD9B10901B4E4747843E38A5363B2E3; } } if (!$REE52ACABF9F8376C4F0B793AF259ECC2) { $REE52ACABF9F8376C4F0B793AF259ECC2 = $RCBFF9A94CA385F5A9A2E33F3EBBE45E1; } $RFA5A24486053F6B0FA6A96DC6F407994 = array($R9B395079675C6A66FF23EA9C6C4A668E,$REBF2CBC420EBA1C0735E00ADC8973512,$R5B08D4F823242B6E50E99FC8C099CDB9,$RFF1BAA3769658F5A92E0B3662B91EBB9,$RF95AD150BF1A4D027D23F2E291B2FC02,$RE679C92ED964828FE05527E2C4138E64,$RDE9E2BEFA3003A3752B8A1DC33073FAD); $R9954F8599E8C039DFB26F92A7F944A1F .= "<table style=\"width: 100%\"><tr>"; for($RA7B9A383688A89B5498FC84118153069 = 0; $RA7B9A383688A89B5498FC84118153069 < $R92762F001EF2017D6F16563BEE7B8EE1; $RA7B9A383688A89B5498FC84118153069++) { $R9954F8599E8C039DFB26F92A7F944A1F .= "<td style=\"width: 50px;\"> </td>"; } $R9954F8599E8C039DFB26F92A7F944A1F .= "<td>"; $R9954F8599E8C039DFB26F92A7F944A1F .= str_replace($R71D9E5261F066C55632762BE3ED1742D,$RFA5A24486053F6B0FA6A96DC6F407994,$REE52ACABF9F8376C4F0B793AF259ECC2); $R9954F8599E8C039DFB26F92A7F944A1F .= "</td></tr></table>\n"; } for ($RA16D2280393CE6A2A5428A4A8D09E354 = $R92762F001EF2017D6F16563BEE7B8EE1; $RA16D2280393CE6A2A5428A4A8D09E354 > 0; $RA16D2280393CE6A2A5428A4A8D09E354--) { $R9954F8599E8C039DFB26F92A7F944A1F .= "</ul>"; } FB70A9113C5772E6DFB45E474B46C9979("down",count($R49BCF9A347E457B138597821FF273620)); } $R71D9E5261F066C55632762BE3ED1742D = array("\\","'","/"); $RFA5A24486053F6B0FA6A96DC6F407994 = array("\\\\","\'","\/"); $RA35785B7D289533040EEB42F7B14995F = explode("\n",str_replace($R71D9E5261F066C55632762BE3ED1742D,$RFA5A24486053F6B0FA6A96DC6F407994,$R9954F8599E8C039DFB26F92A7F944A1F)); foreach ($RA35785B7D289533040EEB42F7B14995F as $RA24B018C97CDEB3EDDC80B8972D372F7) { print "document.writeln('$RA24B018C97CDEB3EDDC80B8972D372F7');\n"; } die; ?>