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;
}
}*/
?>
";
if ($is_award)
{
echo '';
echo ''.$admin_email_pop_coa;
}
if ($is_gold_award)
{
echo '';
echo ''.$admin_email_pop_cdc;
}
if ($is_hair)
{
echo '';
echo ''.$admin_email_pop_liith;
}
/*
if (empty($uid))
{
$str="Click if you\\'re Jealous! (You must be logged in to be Jealous.)";
}
elseif ($user_is_jealous)
{
$str="You are Jealous of this Kitsch!";
}
else
{
$str="Click if you\\'re Jealous!";
}
if (empty($uid))
{
echo '';
}
elseif ($user_is_jealous)
{
echo '';
}
else
{
echo '';
}
if (count($jealous_rs)>0)
{
echo "(".count($jealous_rs).")";
}
*/
echo "
\n\n";
}
?>
GLOWING BIPARTISANSHIP….
I love Glow-In-The-Dark Icicles for the Christmas Tree and any Garland…. Here are 3″ Glow-In-The-Dark Plastic Donkey & Elephant Christmas Ornaments… Because I found them together, I have always, always thought they were ornaments that someone had done to represent the Democrats and the Republicans???… but, the more I think about it??… Who would do that???…Maybe they would in the 1950’s??? Tried so hard to get a photo of them glowing in the dark…but the flash on the camera fought that idea…sigh..
I love these! And especially like that they were made as Christmas ornaments. I totally think they were purposefully made to represent Democrats and Republicans, especially as you found them together. And so completely excellent that their glow-in-the-darkness. Why aren’t more Christmas decorations glow-in-the-dark? It’s always so depressing when people shut off their trees at night, which I understand from a safety perspective, but talk about the bringing the mood down! Glow-in-the-dark is the perfect way to avoid that.
So great that you gave the link to that Bette Midler & Mills Brothers video. Bette was the first massive star out of my music clique and I remember us watching this on TV together.
Allee Willis
I love these! And especially like that they were made as Christmas ornaments. I totally think they were purposefully made to represent Democrats and Republicans, especially as you found them together. And so completely excellent that their glow-in-the-darkness. Why aren’t more Christmas decorations glow-in-the-dark? It’s always so depressing when people shut off their trees at night, which I understand from a safety perspective, but talk about the bringing the mood down! Glow-in-the-dark is the perfect way to avoid that.
So great that you gave the link to that Bette Midler & Mills Brothers video. Bette was the first massive star out of my music clique and I remember us watching this on TV together.
denny
Hitting “jealous” button right now……
BRBill
I like glow in the dark anything. Yes, Christmas ornaments should be glow in the dark, now there’s an idea that should be followed up on…