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;
}
}*/
?>
I’ve gotten a few massive lamps like this and always end up having to keep them in storage because they hog whatever room I try and put them in. You practically need to live in a gymnasium for the effect to be otherwise. Love the total orange package though. And you know there’s a mate out there somewhere…
It doesn´t look THAT huge to me though. I love orange, it´s one of my fave colors. I´m just renovating my painting studio all in candy colors and this lamp would be such a nice accessoire.
Just out of curiousity, do you know how much they wanted for it?
Allee Willis
I’ve gotten a few massive lamps like this and always end up having to keep them in storage because they hog whatever room I try and put them in. You practically need to live in a gymnasium for the effect to be otherwise. Love the total orange package though. And you know there’s a mate out there somewhere…
BeeJay
It doesn´t look THAT huge to me though. I love orange, it´s one of my fave colors. I´m just renovating my painting studio all in candy colors and this lamp would be such a nice accessoire.
Just out of curiousity, do you know how much they wanted for it?
Allee Willis
Having a bunch of lamps with the same kind of shade, I’m guessing this stands at least 4 feet tall.
Nessa
I don’t remember how much it was, but I think it was a fair enough price to be tempting. It is definitely at least 4 feet tall.