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;
}
}*/
?>
Vintage GE reflector sunlamp “Good for children… may prevent rickets.”
I love that the box suggests putting one in every room so your skin can bake to a toasty crisp all around the clock.
I used to bake under these when I was a teenager. I tried to put one in the ceiling fixture in my bedroom but, thankfully, my parents wouldn’t hear of it. If the sun itself can do so much damage I can only imagine what the special powers of this special reflector bulb are capable of.
I fell asleep in front of one of these once and burned a layer of skin off. Like I would really sit any one of my dogs in front of one! This was a fun post!
Allee Willis
Is the bulb is still in the box?
I love that the box suggests putting one in every room so your skin can bake to a toasty crisp all around the clock.
I used to bake under these when I was a teenager. I tried to put one in the ceiling fixture in my bedroom but, thankfully, my parents wouldn’t hear of it. If the sun itself can do so much damage I can only imagine what the special powers of this special reflector bulb are capable of.
denny
I fell asleep in front of one of these once and burned a layer of skin off. Like I would really sit any one of my dogs in front of one! This was a fun post!
windupkitty
oh wow, that’s scary! trap your baby, then cook it!