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");
?>
|
|
|
EOF) {
$content = stripslashes($rs->fields["content"]);
if ($isloginned ){
$link = stripslashes($rs->fields["link"]);
}
$position = stripslashes($rs->fields["position"]);
echo "";
echo "";
//echo "" . stripslashes($rs->fields["position"]) . " ";
echo "";
echo "". $content ." ";
//echo stripslashes($rs->fields["content"]);
echo "";
echo " ";
echo " | ";
echo " ";
$rs->MoveNext();
}
}
?>
|
|