//date_default_timezone_set('Europe/London');
$dbHost="localhost";
$dbUser="timenjxh_user";
$dbPass="U6ec569r";
$dbTable="timenjxh_tardis";
$db = new mysqli($dbHost, $dbUser, $dbPass, $dbTable);
mysqli_set_charset($db, 'utf8');
function SQLprocess($field) {
//global $db;
if (empty($field)) {
return "NULL";
} elseif(is_numeric($field)&&substr($field,0,1)!="0"){
return $field;
} else {
return "'".str_replace("'","''",stringclean($field))."'";
//return "'".mysqli_real_escape_string($db,$field)."'";
}
}
function stringclean($string) {
//$findarray=array(chr(145),chr(146),chr(147),chr(148),chr(150),chr(151),chr(133));
$findarray=array("‘","’",'“','”',"–","—","…");
$replarray=array("'","'",'"', '"', "--", "--", "...");
return str_replace($findarray,$replarray,$string);
}
Warning: Undefined array key "UserLoggedIn" in /home/timenjxh/public_html/tardis/include.php on line 33
Warning: Undefined variable $diag in /home/timenjxh/public_html/tardis/include.php on line 83
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon site(s) at the time of purchase will apply to the purchase of this product.
"; if ($isblank) { echo "Error: No such item!
"; } else { $itemtype=$row["itemtype"]; $typetitle=ucfirst($itemtype); if ($itemtype=="book"){$typetitle.="s";} echo ' '; echo ''; $fontsize=2; $temptitle=htmlentities(preg_replace(array('/\b"/','/"/',"/\B'\b/","/'/"), array('”','“',"’","‘"), $row["itemtitle"])); $tempsuffix=htmlentities(preg_replace(array('/\b"/','/"/',"/\B'\b/","/'/"), array('”','“',"’","‘"), $row["suffix"])); writebar2(str_replace($tempsuffix,''.$tempsuffix."",$temptitle)); echo " | ";
$nowrap=True;
$fontsize=2;
$navbar="No. ".$id." of ".$itemcount.' in the '.$rangetitle.' series << Previous Next >>'; writebar($navbar); echo " |
"; if ($editioncount>1) { echo "
";
echo "
|
";
echo showimage($row, "medium", True, "Cover image for ".(empty($row["editiontitle"]) ? $row["itemtitle"] : $row["editiontitle"]), True, "align=right hspace=4");
echo " Note: ".blurbformat($notes)." "; } elseif($editioncount==1 && !empty($row["itemdescription"])) { echo "Description: ".blurbformat($row["itemdescription"])." "; if ($key=="379" && date("Y-m-d")<="2023-03-08"){ //text advertising code from Chloe Miller chloe57@yahoo.com 8/3/21 for 1 year (renewed 2022) echo 'Reading or listening to audio books at home requires a quiet room and a little privacy. Portable room dividers can section off a space in your home which can be perfect for reading and quiet time. Tej Kohli uses his non-profit foundation to fight the war against poverty-driven corneal blindness. The Tej Kohli Foundation has plans to eliminate corneal blindness by 2035. Cover blurb:"; if (empty($blurb)) { $blurb="No cover information available yet."; if (strtotime($row["date"]) |