user_info['user_level_id'] <= 1) : $page = "error"; $smarty->assign('error_header', 9000000); $smarty->assign('error_message', 9000001); $smarty->assign('error_submit', 641); include "footer.php"; endif; function general() { global $user, $url; if($_POST["deletesubmit"]=="Delete Selected"){ foreach($_POST["delete"] as $del){ $database->database_query("DELETE FROM favorites WHERE id='".mysql_real_escape_string($del)."' AND user='".$user->user_info["user_id"]."'"); } } ?>
user_info["user_id"]>0){ if(isset($_POST['p'])) { $p = $_POST['p']; } elseif(isset($_GET['p'])) { $p = $_GET['p']; } else { $p = 1; } if($_GET["show"]!="") { ?>
Back to All Favorites

user_info["user_id"]."' AND `type`='profile'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites LEFT JOIN se_users ON favorites.owner=se_users.user_id WHERE user='".$user->user_info["user_id"]."' AND `type`='profile' LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">

user_info["user_id"]."' AND `type`='album'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='album' AND owner=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id']); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_albums WHERE album_id='".$row["objectid"]."' AND album_user_id='{$owner->user_info['user_id']}'"); $row1=mysql_fetch_array($query1); ?>

user_info["user_id"]."' AND `type`='video'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='video' AND owner=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id']}' LIMIT 1"); $row1=mysql_fetch_array($query1); $video = new se_video($row1["video_user_id"], $row1["video_id"]); ?>

user_info["user_id"]."' AND `type`='picture'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='picture' AND owner=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id']); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

user_info["user_id"]."' AND `type`='group'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='group' AND user=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

user_info["user_id"]."' AND `type`='event'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='event' AND owner=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

user_info["user_id"]."' AND `type`='blog'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_blogentries WHERE user='".$user->user_info["user_id"]."' AND `type`='blog' AND blogentry_id=objectid LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?>
1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">
" />

user_info["user_id"]."' AND `type`='post'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_forumtopics WHERE user='".$user->user_info["user_id"]."' AND `type`='post' AND forumtopic_id=objectid LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?>
1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">
" />

user_info["user_id"]."' AND `type`='groupphoto'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites WHERE user='".$user->user_info["user_id"]."' AND `type`='groupphoto' LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
" method="post">
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_groupmedia WHERE groupmedia_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

user_info["user_id"]."' AND `type`='groupvideo'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites WHERE user='".$user->user_info["user_id"]."' AND `type`='groupvideo' LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?>
" method="post"> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_group_videos WHERE video_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>


user_info["user_id"]."' AND `type`='poll'"),0); $groups_per_page = 40; $page_vars = make_page($total_groups, $groups_per_page, $p); for($x=$page_vars[1]; $x<=$page_vars[2]; $x++) { if(($page_vars[1]+10)==$x) {break;} $for[$y]=$x; $y++; } $query=mysql_query("SELECT * FROM favorites, se_users WHERE user='".$user->user_info["user_id"]."' AND `type`='poll' AND owner=user_id LIMIT ".$page_vars[0].", {$groups_per_page}") or die(mysql_error()); if($total_groups==0){echo "You have no favorites in this category";?> 1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
" method="post">user_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_polls WHERE poll_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>
" />

1){?>
« ‹« ‹ | | › »› »
viewing results - of viewing results - of
user_info["user_id"]."' AND `type`='profile' LIMIT 4") or die(mysql_error()); ?>
user_info["user_id"]."' AND `type`='video' LIMIT 4") or die(mysql_error()); ?>

VIDEOS

You have no favorites in this categoryuser_info['user_id']}' LIMIT 1"); $row1=mysql_fetch_array($query1); $video = new se_video($row1["video_user_id"], $row1["video_id"]); ?>

View All

user_info["user_id"]."' AND `type`='album' LIMIT 4") or die(mysql_error()); ?>

ALBUMS

You have no favorites in this categoryuser_info['user_id']); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_albums WHERE album_id='".$row["objectid"]."' AND album_user_id='{$owner->user_info['user_id']}'"); $row1=mysql_fetch_array($query1); ?>

View All

user_info["user_id"]."' AND `type`='picture' LIMIT 4") or die(mysql_error()); ?>

PICTURES

You have no favorites in this categoryuser_info['user_id']); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All

user_info["user_id"]."' AND `type`='group' LIMIT 4") or die(mysql_error()); ?>

GROUPS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All
user_info["user_id"]."' AND `type`='groupphoto' LIMIT 4") or die(mysql_error()); ?>

GROUP PHOTOS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_groupmedia WHERE groupmedia_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All
user_info["user_id"]."' AND `type`='groupvideo' LIMIT 4") or die(mysql_error()); ?>

GROUP VIDEOS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_group_videos WHERE video_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All
user_info["user_id"]."' AND `type`='event' LIMIT 4") or die(mysql_error()); ?>

EVENTS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_media WHERE media_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All

user_info["user_id"]."' AND `type`='blog' LIMIT 4") or die(mysql_error()); ?>

BLOGS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_blogentries WHERE blogentry_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All

user_info["user_id"]."' AND `type`='poll' LIMIT 4") or die(mysql_error()); ?>

POLLS

You have no favorites in this categoryuser_info['user_id'], $row["objectid"]); $owner->user_directory=$url->url_userdir($owner->user_info['user_id']); $query1=mysql_query("SELECT * FROM se_polls WHERE poll_id='".$row["objectid"]."'"); $row1=mysql_fetch_array($query1); ?>

View All

user_info["user_id"]."' AND `type`='post' LIMIT 4") or die(mysql_error()); ?>

FORUM POSTS

You have no favorites in this category

View All