#$link=mysqli_connect("localhost","tymicomt_dbuser","H#nZAX??urB,","tymicomt_db"); $link=mysqli_connect("localhost","tymi1","aasD!F173","358885_tymi1"); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } $link->set_charset("utf8"); ?> $Block1=array(); $Block2=array(); $Block3=array(); $Block4=array(); $Block5=array(); $Block6=array(); $rs=SelectDB("data42","","dat_no=1"); $rst=$rs["data"][0]; for($i=1;$i<=6;$i++){ ${'Block'.$i}=unserialize($rst["dat_block".$i]); } ?>
$rs=SelectSqlDB("select * from pageinfo where pi_file='".basename($_SERVER['PHP_SELF'])."'"); $pageinfo=$rs["data"][0]; ?>