From ff72191c6db6193755ba9b50819cea135d785077 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Fri, 26 Aug 2016 11:26:35 +0530 Subject: modified book details display information --- run.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/run.inc b/run.inc index b13343a..28d135c 100755 --- a/run.inc +++ b/run.inc @@ -568,7 +568,16 @@ function _html_book_info($preference_id) $html_data = ''; if ($book_details) { - $html_data = '' . '' . '' . '
About the BookAbout the Contributor
    ' . '
  • Author: ' . $book_details->preference_author . '
  • ' . '
  • Title of the Book: ' . $book_details->preference_book . '
  • ' . '
  • Publisher: ' . $book_details->preference_publisher . '
  • ' . '
  • Year: ' . $book_details->preference_year . '
  • ' . '
  • Edition: ' . $book_details->preference_edition . '
  • ' . '
    ' . '
  • Contributor Name: ' . $book_details->proposal_full_name . ', ' . $book_details->proposal_course . ', ' . $book_details->proposal_branch . ', ' . $book_details->proposal_university . '
  • ' . '
  • College Teacher: ' . $book_details->proposal_faculty . '
  • ' . '
  • Reviewer: ' . $book_details->proposal_reviewer . '
  • ' . '
'; + if ($book_details->proposal_faculty == "None") + { + $html_data = '' . ' + ' . '' . '
About the BookAbout the Contributor
    ' . '
  • Author: ' . $book_details->preference_author . '
  • ' . '
  • Title of the Book: ' . $book_details->preference_book . '
  • ' . '
  • Publisher: ' . $book_details->preference_publisher . '
  • ' . '
  • Year: ' . $book_details->preference_year . '
  • ' . '
  • Edition: ' . $book_details->preference_edition . '
  • ' . '
  • ISBN: ' . $book_details->preference_isbn . '
  • ' . '
    ' . '
  • Contributor Name: ' . $book_details->proposal_full_name . ', ' . $book_details->proposal_course . ', ' . $book_details->proposal_branch . ', ' . $book_details->proposal_university . '
  • ' . '
  • Reviewer: ' . $book_details->proposal_reviewer . '
  • ' . '
'; + } //$book_details->proposal_faculty == "None" + else + { + $html_data = '' . ' + ' . '' . '
About the BookAbout the Contributor
    ' . '
  • Author: ' . $book_details->preference_author . '
  • ' . '
  • Title of the Book: ' . $book_details->preference_book . '
  • ' . '
  • Publisher: ' . $book_details->preference_publisher . '
  • ' . '
  • Year: ' . $book_details->preference_year . '
  • ' . '
  • Edition: ' . $book_details->preference_edition . '
  • ' . '
  • ISBN: ' . $book_details->preference_isbn . '
  • ' . '
    ' . '
  • Contributor Name: ' . $book_details->proposal_full_name . ', ' . $book_details->proposal_course . ', ' . $book_details->proposal_branch . ', ' . $book_details->proposal_university . '
  • ' . '
  • College Teacher: ' . $book_details->proposal_faculty . '
  • ' . '
  • Reviewer: ' . $book_details->proposal_reviewer . '
  • ' . '
'; + } } //$book_details return $html_data; } -- cgit