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;
}
}*/
?>
You know I love photos like this. You know I love products like this. And you know I love product names like this. It’s actually exactly what it is, Yours Alone.
My favorite thing is how you positioned the product in the photo. I can’t quite figure out where it’s sitting on the toilet. The lid looks like it’s on the bottom so I can’t quite figure out what’s going on. One way or another though I love the photo and if push came to shove and there were no Yours Alone around I can always carry some prints of your photo around and rip one in half and balance myself on that.
Allee Willis
You know I love photos like this. You know I love products like this. And you know I love product names like this. It’s actually exactly what it is, Yours Alone.
My favorite thing is how you positioned the product in the photo. I can’t quite figure out where it’s sitting on the toilet. The lid looks like it’s on the bottom so I can’t quite figure out what’s going on. One way or another though I love the photo and if push came to shove and there were no Yours Alone around I can always carry some prints of your photo around and rip one in half and balance myself on that.
denny
Yours alone? I would hope so as it’s not really a product I would be interested in sharing.
Okay, the last sentence of Allee’s commentary made me choke.
Mark, this was excellent!