Warning: Use of undefined constant DB_LEGACY - assumed 'DB_LEGACY' (this will throw an Error in a future version of PHP) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php on line 83
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 91
Warning: session_start(): Cannot start session when headers already sent in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 97
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 830
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 834
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 835
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 847
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 871
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 875
Warning: Cannot modify header information - headers already sent by (output started at /home/steveacq/rase.steveacquah.umasscreate.net/livesite/router.php:83) in /home/steveacq/rase.steveacquah.umasscreate.net/livesite/get_file.php on line 902
/*!
* jQuery - Spectragram by Adrian Quevedo
* http://adrianquevedo.com/ - http://lab.adrianquevedo.com/ - http://elnucleo.com.co/
*
* Dual licensed under the MIT or GPL Version 2 licenses.
* You are free to use this plugin in commercial projects as long as the copyright header is left intact.
*
* This plugin uses the Instagram(tm) API and is not endorsed or certified by Instagram or Burbn, inc.
* All Instagram(tm) logos and trademarks displayed on this plugin are property of Burbn, Inc.
*
* Date: Thu Jul 15 14:05:02 2012 -0500
*/
"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(e){var t={init:function(t,a){var n=this;n.elem=a,n.$elem=e(a),n.api="https://api.instagram.com/v1",n.accessData=e.fn.spectragram.accessData,n.options=e.extend({},e.fn.spectragram.options,t)},getRecentMedia:function(e){var t=this,a="/users/"+e+"/media/recent/?"+t.accessData.clientID+"&access_token="+t.accessData.accessToken;t.fetch(a).done(function(e){t.display(e)})},getUserFeed:function(){var t=this,a="/users/search?q="+t.options.query+"&count="+t.options.max+"&access_token="+t.accessData.accessToken;t.fetch(a).done(function(a){a.data.length?t.getRecentMedia(a.data[0].id):e.error("Spectagram.js - Error: the username "+t.options.query+" does not exist.")})},getPopular:function(){var e=this,t="/media/popular?client_id="+e.accessData.clientID+"&access_token="+e.accessData.accessToken;e.fetch(t).done(function(t){e.display(t)})},getRecentTagged:function(){var t=this,a="/tags/"+t.options.query+"/media/recent?client_id="+t.accessData.clientID+"&access_token="+t.accessData.accessToken;t.fetch(a).done(function(a){a.data.length?t.display(a):e.error("Spectagram.js - Error: the tag "+t.options.query+" does not have results.")})},fetch:function(t){var a=this,n=a.api+t;return e.ajax({type:"GET",dataType:"jsonp",cache:!1,url:n})},display:function(t){var a,n=this,s=n.options.size,c=n.options.max>=t.data.length?t.data.length:n.options.max;if(0===t.data.length)n.$elem.append(e(n.options.wrapEachWith).append(n.options.notFoundMsg));else for(var o=0;c>o;o++)a="small"==s?t.data[o].images.thumbnail.url:"medium"==s?t.data[o].images.low_resolution.url:t.data[o].images.standard_resolution.url,n.$elem.append(e(n.options.wrapEachWith).append("
"));"function"==typeof n.options.complete&&n.options.complete.call(n)}};jQuery.fn.spectragram=function(a,n){jQuery.fn.spectragram.accessData.clientID?this.each(function(){var s=Object.create(t);return s.init(n,this),s[a]?s[a](this):(e.error("Method "+a+" does not exist on jQuery.spectragram"),void 0)}):e.error("You must define an accessToken and a clientID on jQuery.spectragram")},jQuery.fn.spectragram.options={max:10,query:"coffee",size:"medium",wrapEachWith:"",complete:null},jQuery.fn.spectragram.accessData={accessToken:null,clientID:null}}(jQuery,window,document);