require ("./conf.php");
//error_reporting(E_ALL);
//require ("$path_data/lib-msa/lib_mstime.php"); // function dayto2
require ("$path_data/common/class_meta.php");
$page_rl="book";
$page_rl2="book";
$Meta_Title="Книги строительство ремонт дизайн дом коттедж дача";
$Meta_Description="Литература (книги) по строительству домов, дач, коттеджей, дизайну квартир";
$Meta_Keywords="книги строительство ремонт дизайн дача дом коттедж";
$img_shop_dot="
";
$bgcolor=" BGCOLOR=#EBEBF0";
$rz="03"; // Stroylocman
$table0="rl_opis01";
unset($db_id);
require ($database_connection_file);
if ( $dbh ) {
if ( !isset($di) ) { $di=0; }
else { $di=intval($di); }
unset($ar_where);
$ar_where[]="rz='$rz'";
$ar_where[]="id='$di'";
$where=implode(" AND ",$ar_where);
$where="WHERE ".$where;
$SQL="SELECT * FROM $table0 $where";
$result=mysql_query($SQL);
if ( $result ) {
unset($row);
while( $row=mysql_fetch_array($result) ) {
$a=$row["id"];
$db_id[$a]=$a;
$db_name[$a]=$row["ptex1"];
$db_author[$a]=$row["ptex2"];
$db_ser[$a]=$row["ptex3"];
$db_isbn[$a]=$row["name1"];
$db_year[$a]=$row["pint1"];
$db_desc[$a]=$row["description"];
$db_imgs[$a]=$row["pchr1"];
$db_img[$a]=$row["pchr2"];
$b=$db_ser[$a]." ".$db_name[$a]." ".$db_author[$a];
$Meta_Title=MetaTitle($b);
$b=$db_desc[$a];
$Meta_Description=MetaDesc($b);
$b=$db_ser[$a]." ".$db_name[$a]." ".$db_author[$a]." ".$db_desc[$a];
$Meta_Keywords=MetaKey($b);
}
mysql_free_result($result);
}
}
require ("$path_docs_t/include/top.php");
?>
![]()
|
require ("$path_docs_t/include/right.php"); ?> | |||||||||||||||