function download_eye($arr, $dy) { $nod = $_SESSION['qb'] . '_downloads'; $fb = msq_f('', $nod); //file if (is_file($fb)) { require $fb; } //give $r; $r[$dy] = $arr; if ($_SESSION['qb']) { write_file($fb, dump($r, $nod)); } }
function def($d, $nd) { $this->dr = $d; $this->nod = ses('qb') . '_' . $nd; $this->f = msq_f($d, $this->nod); }
function msql_read_b($dr, $nod, $in = '', $u = '', $ra = '') { $f = msq_f($dr, $nod); //db_write(db_f($dr,$nod),$r); if (is_file($f)) { require $f; } elseif ($ra) { msql_save($dr, $nod, $ra); $r = $ra; p($r); } if ($u) { unset($r['_menus_']); } if ($r) { return $in ? $r[$in] : $r; } }