accept('secode', 'R'); if ($secode == 'ecisp_seccode') { $secode_name = 'ecisp_seccode'; } else { $secode_name = 'ecisp_home_seccode'; } $fun->setcookie($secode_name, $fun->eccode($seccode . "\t" . time(), 'ENCODE')); @header("Expires: -1"); @header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE); @header("Pragma: no-cache"); include_once admin_ROOT . 'public/class_seccode.php'; $code = new seccode(); $code->code = $seccode; $code->type = 0; $code->width = 70; $code->height = 23; $code->background = 30; $code->adulterate = $CONFIG['scode_adulterate']; $code->ttf = 0; $code->angle = 0; $code->color = 0; $code->size = 1; $code->shadow = $CONFIG['scode_shadow']; $code->animator = 0; $code->bgcolor = $CONFIG['scode_bgcolor']; $code->fontcolor = $CONFIG['scode_fontcolor']; $code->datapath = admin_ROOT . 'datacache/'; $code->includepath = ''; $code->display();