This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "athlete": "Michael Phelps", | |
| "age": 23, | |
| "country": "United States", | |
| "year": 2008, | |
| "date": "24/08/2008", | |
| "sport": "Swimming", | |
| "gold": 8, | |
| "silver": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (isset($_GET['setdefaultcookie'])) { | |
| // top level page, set default cookie then redirect back to canvas page | |
| setcookie ('default',"1",0,"/"); | |
| $url = substr($_SERVER['REQUEST_URI'],strrpos($_SERVER['REQUEST_URI'],"/")+1); | |
| $url = str_replace("setdefaultcookie","defaultcookieset",$url); | |
| $url = "http://www.facebook.com/PAGEURL"; | |
| echo "<html>\n<body>\n<script>\ntop.location.href='".$url."';\n</script></body></html>"; | |
| exit(); | |
| } else if ((!isset($_COOKIE['default'])) && (!isset($_GET['defaultcookieset']))) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| propaganda.common.writeLog = function(str) | |
| { | |
| if(typeof console != 'undefined') | |
| console.log(str); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery.expr[':'].iContains = function(a, i, m) { | |
| return jQuery(a).text().toUpperCase() | |
| .indexOf(m[3].toUpperCase()) >= 0; | |
| }; |