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;
}
}*/
?>
Denny’s Adventures In Allee’s “Willis Wonderland” – July 2011 – Part 49
Allee Willis
Oh, I wish you had gotten the whole little compact. (Though I appreciate you not opening everything as God knows what lays inside!) It’s completely adorable and the best of its kind I’ve ever seen. A little gold case with a mirror inside. It’s very heavy and made incredibly well. There’s a couple shots of it here: https://www.alleewillis.com/awmok/kitschenette/2010/11/14/allee-willis-kitsch-o-the-day-–-gifts-from-my-spontaneous-i-cant-believe-they-all-came-birthday-party/.
denny
What year is this? I love it!
Allee Willis
1950’s for sure.
BeeJay
Oh, is this the box that was visible on the picture of Allee´s lamp you posted yesterday? I was going to ask what that is, so sweet!
denny
I believe it is.
k2dtw
The Best!!
denny
I’m opening drawers the next time I get out to Willis Wonderland.