Skip to content

Instantly share code, notes, and snippets.

<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
require_once("includes/all.inc.php");
?>
<!doctype html>
@agustinhaller
agustinhaller / htacces chkin.at
Created April 9, 2012 18:45
htacces chkin.at
DirectoryIndex index.php
# remove the next 3 lines if you see a 500 server error
php_flag register_globals off
php_flag magic_quotes_gpc off
php_value display_errors 0
FileETag none
ServerSignature Off
<!-- VENU CURRENT KING -->
<div id="venueMayor" class="box translate">
<img src="<?php echo(STATIC_BASE_URL); ?>/images/new_layout/king-crown.png" height="32" width="32" class="mayorIcon" alt="">
<div class="mayorImage">
<a href="<?php echo($venue_king_user_profile_url); ?>">
<img src="<?php echo($venue_king_user_image); ?>" alt="<?php echo($venue_king_user_name); ?>" width="55" class="notranslate" height="55">
</a>
</div>
<p>
King: <strong class="notranslate"><a href="<?php echo($venue_king_user_profile_url); ?>"><?php echo($venue_king_user_name); ?></a></strong>
@agustinhaller
agustinhaller / extension.js
Created March 12, 2012 15:34
testing gists
@include "https://chkin.at/static/css/style.css"
@include "https://chkin.at/static/js/jquery-ui-1.8.17.custom.min.js"
@include "https://chkin.at/static/js/geoplugin.js"
//window.onerror = function(){return true;};
var sites_list = [],
excluded_list = [],
site_id = null,
$ = $jquery,
<div id="checkin-container">
<form action="" method="get" accept-charset="utf-8">
<h3>What are you doing?</h3>
<ul id="checkin-actions" class="">
<li>
<input type="radio" name="site-action" value="action1"/>Action1
</li>
<li>
<input type="radio" name="site-action" value="action1"/>Action2
</li>