/* === open config file == */ list($accountno, $accountstate, $accountlast, $accountfirst) = explode("~", $_COOKIE['ainfo']); $account_data = $accountno."-".$section."-".$postid; $filename = "./data/config.csv"; $chx = "~";$bar = "|"; $configfile = file_get_contents($filename); $records = explode($chx, $configfile); $record0 = $records[0]; $record1 = $records[1]; $record2 = $records[2]; $record3 = $records[3]; $record4 = $records[4]; $record5 = $records[5]; $record6 = $records[6]; $record7 = $records[7]; $record8 = $records[8]; $record9 = $records[9]; $record10 = $records[10]; $record11 = $records[11]; $record12 = $records[12]; $record13 = trim($records[13]); $record14 = $records[14]; $record15 = $records[15]; $record16 = $records[16]; $record17 = $records[17]; $record18 = $records[18]; $record19 = $records[19]; $record20 = $records[20]; $record21 = $records[21]; list($hdrclr, $hdrsize, $hdrfont, $hdrweight) = explode($bar, $record0); list($hdrbgc, $hdrtype, $location, $hdrfilename) = explode($bar, $record1); list($cmpclr, $cmpsize, $cmpfont, $cmpweight) = explode($bar, $record2); list($ctclr, $ctsize, $ctfont, $xtra99) = explode($bar, $record3); list($h1clr, $h1size, $h1font, $h1weight) = explode($bar, $record4); list($h2clr, $h2size, $h2font, $h2weight) = explode($bar, $record5); list($h3clr, $h3size, $h3font, $h3weight) = explode($bar, $record6); list($h4clr, $h4size, $h4font, $h4weight) = explode($bar, $record7); list($h5clr, $h5size, $h5font, $h5weight) = explode($bar, $record8); list($h6clr, $h6size, $h6font, $h6weight) = explode($bar, $record9); list($menuclr, $menusize, $menufont, $menuweight) = explode($bar, $record10); list($linkclr, $linksize, $linkfont, $linkweight) = explode($bar, $record11); list($menubrdclr, $webtitlebgc, $compbgc, $xtra) = explode($bar, $record12); list($webnameclr, $webnamesize, $webnamefont, $webnameweight) = explode($bar, $record13); $hdrpic1 = $hdrpicpath.$hdrfilename; list($pic1width, $pic1height) = getimagesize($hdrpic1); list($comploctop, $complocleft, $xy1, $xy2) = explode("-", $location); /* === end config file == */