Skip to content

Instantly share code, notes, and snippets.

$datetime = new DateTime($tweet['created_at']);
$date = date_format($datetime, 'd/m/y');
$data[] = array(
'url' => 'https://twitter.com/ ' . $tweet['user']['screen_name'] . '/status/' . $tweet['id_str'],
'text' => $tweet['text'],
'created_at' => $date
'screen_name' => $tweet['user']['screen_name']
);
a:4:{i:0;a:4:{s:3:"url";s:56:"https://twitter.com/ MicronaeS/status/256019198109687808";s:4:"text";s:63:"Stars lost an ESL Clanwar Ladder match vs eEriness SC2 1-3. ...";s:10:"created_at";s:8:"10/10/12";s:11:"screen_name";s:9:"MicronaeS";}i:1;a:4:{s:3:"url";s:56:"https://twitter.com/ MicronaeS/status/255624983911485440";s:4:"text";s:63:"We had 2 GM members this Season, but Akke and Hiiva decided ...";s:10:"created_at";s:8:"09/10/12";s:11:"screen_name";s:9:"MicronaeS";}i:2;a:4:{s:3:"url";s:56:"https://twitter.com/ MicronaeS/status/255624877988515840";s:4:"text";s:63:"SupR has started its DotA 2 and LoL -divisions in the past w...";s:10:"created_at";s:8:"09/10/12";s:11:"screen_name";s:9:"MicronaeS";}i:3;a:4:{s:3:"url";s:56:"https://twitter.com/ MicronaeS/status/233178288649019393";s:4:"text";s:63:"Team Stars' placement in a higher division at SC2CL is depen...";s:10:"created_at";s:8:"08/08/12";s:11:"screen_name";s:9:"MicronaeS";}}
</table>
</div>
</aside>
edellinen widgetti loppuu tähän
1. tekstiwidgetti
<div class="widget_wrapper">
<img src="http://testbed.supr.rantapallo.org/wp-content/themes/NomNom/images/sidebar-darkline.png" class="widget_top_img" />
<aside id="text-11" class="widget widget_text">
$erase_options = array();
if (isset($_POST['default_options']) && is_array($_POST['default_options']))
foreach ($_POST['default_options'] as $opt => $val)
{
$themeSetArray[] = "($memID, 1, SUBSTRING('" . addslashes($opt) . "', 1, 255), SUBSTRING('" . (is_array($val) ? implode(',', $val) : $val) . "', 1, 65534))";
$erase_options[] = addslashes($opt);
}
#: includes/class.form.php:973 includes/class.settings.php:656
#: submenus/manage.php:609
msgid "Department"
msgstr "Position"
i = 0;
if(elementti_kuvassa && i != 1) {
i = 1;
siirrä tausta;
}
else { i = 0; }
$(document).ready(function(){
// Cache the Window object
$window = $(window);
$('div[data-type="background"]').each(function(){
var $bgobj = $(this); // assigning the object
var i = 0;
$(window).scroll(function() {
@vsync
vsync / gist:5579287
Last active December 17, 2015 08:19
$(document).ready(function(){
// Cache the Window object
$window = $(window);
$('div[data-type="background"]').each(function(){
var $bgobj = $(this); // assigning the object
var i = 0;
$(window).scroll(function() {
$(document).ready(function(){
// Cache the Window object
$window = $(window);
$('div[data-type="background"]').each(function(){
var $bgobj = $(this); // assigning the object
$(window).scroll(function() {
// Scroll the background at var speed
$(document).ready(function(){
// Cache the Window object
$window = $(window);
$('section[data-type="background"]').each(function(){
var $bgobj = $(this); // assigning the object
$(window).scroll(function() {
if(($('#ikkunaone:in-viewport').length > 0)) {