This file contains 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
<script type="text/javascript" src="chrome-extension://bfbmjmiodbnnpllbbbfblcplfjjepjdn/js/injected.js"></script></head><style type="text/css" style="display: none !important; ">/*This block of style rules is inserted by AdBlock*/#FFN_Banner_Holder,#FFN_imBox_Container,#RadAd_Skyscraper,#ab_pointer,#adxLeaderboard,#bbccom_leaderboard,#center_banner,#dir_ads_site,#flashad,#footer_adcode,#hbBHeaderSpon,#hiddenHeaderSpon,#navbar_adcode,#p360-format-box,#rightAds,#rightcolumn_adcode,#rm_container,#tads table[align="center"][width="100%"],#tooltipbox[class^="itxt"],#top-advertising,#topMPU,#tracker_advertorial,#ve_threesixty_swf[name="ve_threesixty_swf"],.ad-now,.ad_marquee,.dfpad,.kLink span[id^="preLoadWrap"].preLoadWrap,.prWrap,[id^="ad_block"],[id^="adbrite"],[id^="dclkAds"],[id^="ew"][id$="_bannerDiv"],[id^="konaLayer"],[src*="sixsigmatraffic.com"],a[href^="http://ad."][href*=".doubleclick.net/"],a[href^="http://adserver.adpredictive.com"],div[class^="dms_ad_IDS"],div[id^="adKontekst_"],div[id^="google_ads_di |
This file contains 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 | |
class Feasts extends Plugins | |
{ | |
public function action_init() { | |
DB::register_table( 'saints' ); | |
self::setup_db(); | |
} | |
/** | |
* setup_db function. |
This file contains 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
public function action_init() { | |
DB::register_table( 'activity' ); | |
} | |
public function action_plugin_activation( $file ) { | |
$q = "CREATE TABLE " . DB::table('activity') . " ( | |
id int(11) unsigned NOT NULL AUTO_INCREMENT, | |
user_id int(11) DEFAULT NULL, | |
owner_id int(11) DEFAULT NULL, | |
company_id int(11) DEFAULT NULL, |
This file contains 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
<div id="chatbox_1" data-box="1" class="chatbox"> | |
<div class="head"> | |
<div class="title"> | |
<img src="http://website.com/images/john-q-public.png"><strong>John Q. Public</strong> | |
</div> | |
<div class="options"> | |
<a class="minimize" href="#minimize">-</a> | |
<a class="remove" href="#close">x</a> | |
</div> | |
<br clear="all"> |
This file contains 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
.chatbox { | |
position: fixed; | |
position:expression("absolute"); | |
width: 300px; | |
display:none; | |
} | |
.chatbox .head { | |
background-color: #2c2c2c; | |
background-image: -moz-linear-gradient(top, #333333, #222222); |
This file contains 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 | |
class Conversations extends Plugin | |
{ | |
public function action_init() { | |
DB::register_table( 'quickchats' ); | |
DB::register_table( 'quickchat_lines' ); | |
} | |
public function action_plugin_activation() { | |
Post::add_new_type( 'quickchat' ); |
This file contains 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 | |
class Quickchat extends Post | |
{ | |
public static function get($paramarray = array()) { | |
$defaults = array( | |
'content_type' => 'quickchat', | |
'fetch_fn' => 'get_row', | |
'limit' => 1, | |
'fetch_class' => 'Quickchat', | |
); |
This file contains 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 | |
/** | |
* Quickchats Class | |
* | |
*/ | |
class Quickchats extends Posts | |
{ | |
public static function get($paramarray = array()) { | |
$defaults = array( | |
'content_type' => 'quickchat', |
This file contains 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 | |
class PassAPI extends Plugin | |
{ | |
# Registration | |
# register a device to receive push notifications for a pass | |
# | |
# POST /v1/devices/<deviceID>/registrations/<typeID>/<serial#> | |
# Header: Authorization: ApplePass <authenticationToken> | |
# JSON payload: { "pushToken" : <push token, which the server needs to send push notifications to this device> } | |
# |
This file contains 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 | |
class GooglePrettify extends Plugin { | |
public function action_template_header() { | |
Stack::add( 'template_header_javascript', array( $this->get_url() . '/google-code-prettify/prettify.js', 'prettify-js') ); | |
Stack::add( 'template_stylesheet', array( $this->get_url() . '/google-code-prettify/prettify.css', 'screen' ), 'prettify-css'); | |
} | |
} | |
?> |
OlderNewer