Execute($sql);
/*if ($rs) {
while (!$rs->EOF) {
$content = stripslashes($rs->fields["content"]);
$rs->MoveNext();
}
}
*/
if (isset($_SESSION["isloginned"]) && ($_SESSION["isloginned"] = "Y")){
$isloginned = true;
};
$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;
/*$content = "";
$sql = "select * from publicationsContent limit 0,1 ";
$rs = $linkptr->Execute($sql);
if ($rs) {
while (!$rs->EOF) {
$content = stripslashes($rs->fields["content"]);
$rs->MoveNext();
}
}*/
$photo=array();
$photo[]=array("id"=>"0", "src"=>"./img/educationalResources/Publications_btn2.png", "src2"=>"./img/educationalResources/Publications_btn2.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_btn.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");
?>
|
|
|
|
";
if ($rs) {
while (!$rs->EOF) {
$authors = stripslashes($rs->fields["authors"]);
$magazine = stripslashes($rs->fields["magazine"]);
$memberonly = stripslashes($rs->fields["memberonly"]);
$link = "";
$pdf = "";
if ($isloginned ){
} else {
}
$link = stripslashes($rs->fields["link"]);
if ($rs->fields["pdf"] != "") {
$pdf = "./uploads/" . stripslashes($rs->fields["pdf"]);
}
$position = stripslashes($rs->fields["position"]);
//echo " | ";
//echo "";
//echo "" . stripslashes($rs->fields["position"]) . " ";
echo "";
// href='" . $link . "'
echo "". $authors ." ";
//echo stripslashes($rs->fields["authors"]);
echo "". $magazine ." ";
//echo "";
echo " ";
//echo " | ";
//echo " ";
echo "";
echo " ";
echo "";
echo "";
echo $rs->fields["description"];
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 " ";
echo " ";
echo " ";
$cc++;
$rs->MoveNext();
}
}
echo "";
?>
|
|