Execute($sql); if ($rs) { while (!$rs->EOF) { $content = stripslashes($rs->fields["content"]); $rs->MoveNext(); } }*/ //$sql = "select * from lectureContent "; $sql = "select * from lectureContent where 1=1 "; if (isset($_GET["region"]) && ($_GET["region"] != "")){ $sql .= " and `tag_region` LIKE '%" . $_GET["region"] . "%'"; } if (isset($_GET["country"]) && ($_GET["country"] != "")){ $sql .= " and `country` LIKE '%" . $_GET["country"] . "%'"; } if (isset($_GET["key"]) && ($_GET["key"] != "")){ $sql .= " and `key_words` LIKE '%" . $_GET["key"] . "%'"; } if (isset($_GET["order"])){ $sql .= " order by `createdt` " . $_GET["order"]; } $rs = $linkptr->Execute($sql); $searchtag0 = ""; if ($_REQUEST["tag_order"] != "") { if ($_REQUEST["tag_order"] == "top") $searchtag0 = "&sort=date-sdate:d"; //$_REQUEST["tag_order"]; else $searchtag0 = "&sort=date-sdate:a"; //$_REQUEST["tag_order"]; } $searchtag = ""; if ($_REQUEST["tag_region"] != "") { $searchtag = $_REQUEST["tag_region"]; } $searchtag2 = ""; if ($_REQUEST["tag_country"] != "") { $searchtag2 = $_REQUEST["tag_country"]; } $searchtag3 = ""; if ($_REQUEST["tag_keyWords"] != "") { $searchtag2 = $_REQUEST["tag_keyWords"]; } $searchtag = "Surgery " . $searchtag0 . " " . $searchtag . $searchtag2 . $searchtag3; $photo=array(); $photo[]=array("id"=>"0", "src"=>"./img/educationalResources/Publications_btn2.png", "src2"=>"./img/educationalResources/Publications_btn.png"); $photo[]=array("id"=>"1", "src"=>"./img/educationalResources/VideoLibrary_btn2.png", "src2"=>"./img/educationalResources/VideoLibrary_btn.png"); $photo[]=array("id"=>"2", "src"=>"./img/educationalResources/LecturesTalks_btn2.png", "src2"=>"./img/educationalResources/LecturesTalks_btn2.png"); $photo[]=array("id"=>"3", "src"=>"./img/educationalResources/Equipment_btn2.png", "src2"=>"./img/educationalResources/Equipment_btn.png"); $photo[]=array("id"=>"4", "src"=>"./img/educationalResources/ScholarshipGrants_btn2.png", "src2"=>"./img/educationalResources/ScholarshipGrants_btn.png"); ?>
"; //echo ""; //echo ""; echo "
"; echo "
"; if ($rs) { while (!$rs->EOF) { $lectures = stripslashes($rs->fields["lectures"]); $speakers = stripslashes($rs->fields["speakers"]); $memberonly = stripslashes($rs->fields["memberonly"]); $content = stripslashes($rs->fields["content"]); $link = ""; $pdf = ""; if ($isloginned ){ } else { } //echo "
"; //echo "" . stripslashes($rs->fields["position"]) . "
"; echo ""; // href='" . $link . "' echo "
". $speakers ."
"; //echo stripslashes($rs->fields["authors"]); //echo "
". $magazine ."
"; //echo ""; echo "
"; //echo "
"; echo ""; echo ""; echo ""; echo "
"; echo $rs->fields["content"]; if (!$isloginned ){ if ($memberonly == "Y") { if ($pdf != "") { echo "

Click here to login to view the full text."; } else { if ($link != "") { // echo "

Click here to login to download the pdf."; echo "

Click here to view the material."; } } } else { if ($pdf != "") { echo "

Click here to view the full text."; } else { if ($link != "") { echo "

Click here to view the material."; } } } } else { if ($pdf != "") { echo "

Click here to view the full text."; } else { if ($link != "") { //echo "

Click here to download the pdf (Member Only)."; echo "

Click here to view the material."; } } } echo "
"; echo ""; $cc++; $rs->MoveNext(); } } echo ""; //echo $content; ?>