if ( current_user_can('level_10') ) { ?>
} ?>
$uid=get_current_user_id();
if (empty($uid)) $uid=0;
if (!empty($_REQUEST['set_like']) && !empty($uid))
{
// set here
$sql="select * from island_like where user_id=\"".mysql_real_escape_string($uid)."\",1,0) and post_id=\"".mysql_real_escape_string(get_the_ID())."\"";
$rs = $wpdb->get_results($sql);
if (count($rs)<1) // not yet added
{
$sql="insert into island_like (user_id, post_id, date_added) values (\"".mysql_real_escape_string($uid)."\", \"".mysql_real_escape_string(get_the_ID())."\", NOW());";
$rs = $wpdb->get_results($sql);
}
}
elseif (!empty($_REQUEST['remove_like']) && !empty( $uid))
{
// unset here
$sql="delete from island_like where user_id=\"".mysql_real_escape_string($uid)."\" and post_id=\"".mysql_real_escape_string(get_the_ID())."\";";
$rs = $wpdb->get_results($sql);
}
/*
$sql="select U.display_name, U.user_nicename, U.id as uid, if(U.id=\"".mysql_real_escape_string($uid)."\",1,0) as is_current, if (U.id=19, 1,0) as is_allee ".
"from island_like as L, wp_users as U ".
"where L.post_id=\"".mysql_real_escape_string(get_the_ID())."\" ".
"and U.ID=L.user_id ".
"order by is_current DESC, is_allee DESC, date_added DESC;";
$jealous_rs = $wpdb->get_results($sql);
$user_is_jealous=0;
if (count($jealous_rs)>0)
{
if ($jealous_rs[0]->uid==$uid)
{
$user_is_jealous=1;
}
}*/
?>
22 months 1,357 hours 30 people 2 ladders, 1 still camera, 288,000 jelly beans
I can’t say I’m wild about her music but I definitely love the jellybean backgrounds. Needless to say, I love art made out of jellybeans. One of my favorite portraits of myself, made by aKitschionado Mark Blackwell, is made entirely of jellybeans. You can see it in the background in the photo of Mark in this post: https://www.alleewillis.com/blog/?s=jellybean&x=0&y=0
Allee Willis
I can’t say I’m wild about her music but I definitely love the jellybean backgrounds. Needless to say, I love art made out of jellybeans. One of my favorite portraits of myself, made by aKitschionado Mark Blackwell, is made entirely of jellybeans. You can see it in the background in the photo of Mark in this post: https://www.alleewillis.com/blog/?s=jellybean&x=0&y=0
Here’s Mark’s Christmas jellybean art: https://www.alleewillis.com/awmok/kitschenette/2009/12/13/jellybean-ho-ho-ho/
And here’s his jellybean Elvis that hung at Graceland for 6 months: https://www.alleewillis.com/awmok/kitschenette/2009/09/26/3613/
BeeJay
I´m a huge jelly bean art admirer and Mark´s works are really to die for cool. Whenever I see the museum of kitsch portrait it fills me with joy!