Skip to content

Instantly share code, notes, and snippets.

@onsails
Created May 10, 2010 11:58
Show Gist options
  • Save onsails/395970 to your computer and use it in GitHub Desktop.
Save onsails/395970 to your computer and use it in GitHub Desktop.
<?php
echo <<<EOS
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="My sponsors" />
<Content type="html">
<![CDATA[
<div style="background-color: #710;">
EOS;
if (!defined('_SAPE_USER')){
define('_SAPE_USER', '4fb4bffbcb8eb1c7bbf73eba2ac7f9ff');
}
require 'sape.php';
$sape = new SAPE_client();
echo $sape->return_links(@$_GET['n'] ? $_GET['n'] : 3);
echo <<<EOS
</div>
]]>
</Content>
</Module>
EOS;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment