",$profile); $song_url = $row["u_song_url"]; $song_title = $row["u_song_title"]; $email = $row["u_email"]; if ($profile == "") { $profile2 = "To add your Own Personal Profile Information to The Poetic Link:
1. Go to The Poetic Link Main Menu.
2. Click on Modify your Personal Info (right above Critique New Poems).
3. Validate Your Login and Password.
4. Scroll Down your User Information Screen and you will find the new fields.

By adding a Personal Profile, the information you add will be displayed whenever someone clicks on your name from any number of different screens. You can also add your very own Picture, Favorite URL & Favorite Song to your Personal Profile!"; $wasblank = "yes"; } if ($picture <> "") echo ""; echo "

"; echo "$fullname's E-Mail Address: $email
"; if ($url <> "") echo "$firstname's Personal Web Page or Favorite Web Page: $url
"; if ($song_url <> "") { if ($song_title == "") $song_title = "Untitled"; echo "Click Here to hear $firstname's Favorite Song: $song_title
"; } else if ($song_title <> "") echo "$firstname's Favorite Song: $song_title
"; echo "


$fullname's Profile:
"; echo "$profile2

"; $query6 = mysqli_query($con,"SELECT u_id FROM users where (u_profile <> '' or u_url <> '' or u_picture <> '' or u_song_url <> '' or u_song_title <> '') "); $total_profiles = mysqli_num_rows($query6); print "So far $total_profiles People have Entered a "; print "Personal Profile on The Poetic Link! "; print "Click Here to see the rest of them or to Add your Own Personal Profile Now!

"; if (!isset($whichview)) $whichview = "poetry"; if ($whichview == "poetry") { /* ************* Beginning of the poetry part *********** */ print "Below you will see ALL of the Poems that $fullname has published on The Poetic Link.
"; print "By Clicking a Poem Title, you can view the poem and the Critiques it has received.


"; echo "

"; echo "If you would like to view all of $fullname's Critiques just Click Here.

"; if (!isset($colby)) {$colby = 'p_date';} if (!isset($sortby)) {$sortby = 'desc';} $old1 = ""; $old2 = ""; $sort1 = "$colby" . "-" . "$sortby"; $sort2 = $old1; $sort3 = $old2; if ($sort2 == "") $mastersort = "$sort1"; else if ($sort3 == "") $mastersort = "$sort1," . "-" . "$sort2"; else $mastersort = "$sort1," . "-" . "$sort2," . "-" . "$sort3"; $tmastersort = str_replace( "-", " ", $mastersort); $result = mysqli_query($con,"SELECT p_title, p_date, p_poem_num, pm_times_critiqued FROM poetry, poems_monthly where p_poet_id = '$user_id' and p_poem_num = pm_poem_num and p_display <> 'N' order by $tmastersort"); if ($result !== false) $totitems = mysqli_num_rows($result); if (!isset($limit)) $limit = 0; else $mastersort = $limitsort; $tmastersort = str_replace( "-", " ", $mastersort); $result = mysqli_query($con,"SELECT p_title, p_date, p_poem_num, pm_times_critiqued FROM poetry, poems_monthly where p_poet_id = '$user_id' and p_poem_num = pm_poem_num and p_display <> 'N' order by $tmastersort limit $limit, $maxdisplaylimit"); print "Active Month Poems will not be displayed to preserve anonymous functions.

"; if ($result !== false) { $row = mysqli_fetch_array($result); include "return_tag.html"; if (is_callable("Advertisement2")) { Advertisement2(); echo "

"; } // Put Ad in if it exists... show_ranges($limit, $maxdisplaylimit, $totitems, $mastersort, "Poems", "view_someones_poems.php3", "&user_id=$user_id"); print "

Click Any of these Sort Options to Re-Sort the Poem List below any way you choose.
"; echo "
"; print ""; print ""; do { $entered_date = $row["p_date"]; print ""; } while($result !== false && $row = mysqli_fetch_array($result)); print ""; print "
"; print "Title Ascending / Title Descending"; print ""; print "Critiques Ascending
Critiques Descending"; print "
"; print "Date Ascending
Date Descending"; print "
"; print ""; print $row["p_title"]; print ""; print "

"; print $row["pm_times_critiqued"]; print "

"; print "
"; print $row["p_date"]; print "
"; print "Title Ascending / Title Descending"; print ""; print "Critiques Ascending
Critiques Descending"; print "
"; print "Date Ascending
Date Descending"; print "
"; echo "
"; if (is_callable("Advertisement3")) Advertisement3(); // Put Ad in if it exists... echo "
"; print ("Click Any of these Sort Options to Re-Sort the Poem List above any way you choose.

"); show_ranges($limit, $maxdisplaylimit, $totitems, $mastersort, "Poems", "view_someones_poems.php3", "&user_id=$user_id"); echo "

"; echo "If you would like to view all of $fullname's Critiques just Click Here.

"; if (is_callable("Advertisement2")) { Advertisement2(); echo "

"; } // Put Ad in if it exists... } else {print "Sorry, no poems to display for $fullname at this time!

";} } else { # ************************************************************************************************************************ # ************************************************************************************************************************ # ************************************************************************************************************************ # ************************************************************************************************************************ # ************* End of Poetry Part beginning of Critiques Part *********** # ************************************************************************************************************************ # ************************************************************************************************************************ # ************************************************************************************************************************ # ************************************************************************************************************************ print "Below you will see ALL of the Critiques that $fullname has given on The Poetic Link.
"; print "By Clicking a Poem Title, you can view the poem that is associated with each Critique.


"; echo "

"; echo "If you would like to view all of $fullname's Poetry just Click Here.

"; $result = mysqli_query($con,"SELECT p_poet_id, p_title, p_date, p_poem_num, critiques.*, u_fullname FROM critiques, poetry, users WHERE c_critiquer_id = '$user_id' and p_poem_num = c_poem_num and c_critique_skipped <> 'y' and p_poet_id = u_id and p_display <> 'N' order by c_date desc "); $totitems = mysqli_num_rows($result); if (!isset($limit)) $limit = 0; else $mastersort = $limitsort; $result = mysqli_query($con,"SELECT p_poet_id, p_title, p_date, p_poem_num, critiques.*, u_fullname FROM critiques, poetry, users WHERE c_critiquer_id = '$user_id' and p_poem_num = c_poem_num and c_critique_skipped <> 'y' and p_poet_id = u_id and p_display <> 'N' order by c_date desc limit $limit, $maxdisplaylimit "); if ($row = mysqli_fetch_array($result)) { include "return_tag.html"; show_ranges($limit, $maxdisplaylimit, $totitems, $mastersort, "Critiques", "view_someones_poems.php3", "&user_id=$user_id&whichview=critiques"); print "

"; print ""; print ""; do { $critique = $row["c_critiquer_comments"]; $critique_date = $row["c_date"]; $poet_id = $row["p_poet_id"]; $poem_title = $row["p_title"]; $poem_date = $row["p_date"]; $critique_num = $row["c_critique_num"]; $poem_num = $row["p_poem_num"]; $critiquing_points = $row["c_critiquing_points"]; $poet_name = $row["u_fullname"]; $pc_visible = $row["c_personal_comment_visible"]; $crit_id = $row["c_critiquer_id"]; print ""; } while($row = mysqli_fetch_array($result)); print ""; print "
"; print "Poem Title"; print ""; print "Poet Name"; print ""; print "Critique Given by $fullname"; print ""; print "Critique Date"; print "
"; print "$poem_title"; print ""; print $poet_name; $is_admin = is_this_admin($con,$_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW']); $who_is_this = real_identity($con,$_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW']); $pos = strpos ($critique, "
---------------- Personal Comment Added Below ---------------------
"); if ($pos === false) { /* not found */ } else if ($pc_visible == "n" && ($who_is_this == strtolower($poet_id) || $who_is_this == strtolower($crit_id) || $is_admin == "Y")) { $critique = $critique."
--- The Personal Comment above is NOT visible to the public by Critiquer or Poet Choice. ---
"; } else if (($who_is_this == strtolower($poet_id) || $who_is_this == strtolower($crit_id) || $is_admin == "Y") && $poem_date >= $the_first_ok_date) { /* Datecheck for 100% blind critiques on active poems */ $critique = $critique."
--- The Personal Comment above is NOT visible to the public right now due to 100% Blind Critiques. ---
"; } else if ($pc_visible == "n" || $poem_date >= $the_first_ok_date) { /* Datecheck for 100% blind critiques on active poems */ $critique = substr($critique,0,$pos); } print "
"; print $critique; print ""; print $critique_date; print "
"; print "Poem Title"; print ""; print "Poet Name"; print ""; print "Critique Given by $fullname"; print ""; print "Critique Date"; print "
"; print "

"; show_ranges($limit, $maxdisplaylimit, $totitems, $mastersort, "Critiques", "view_someones_poems.php3", "&user_id=$user_id&whichview=critiques"); echo "

"; echo "If you would like to view all of $fullname's Poetry just Click Here.

"; } else {print "Sorry, no Critiques to display $fullname at this time!";} } /* ******************** End of Critiques Part *************************** */ include "return_tag.html"; ?>