function rsscache_get_request_value($name) { // wrapper for get_request_value() global $rsscache_default_category; global $rsscache_default_function; $v = get_request_value($name); if ($name == 'c') { if ($v == '') { $v = $rsscache_default_category; } } else { if ($name == 'f') { if ($v == '') { $v = $rsscache_default_function; } } } return $v; }
function widget_captcha_check() { $widget_captcha = get_request_value('widget_captcha'); $widget_captcha_key = get_request_value('widget_captcha_key'); // DEBUG // echo md5 (md5 ($widget_captcha).$_SERVER["REMOTE_ADDR"]).' == '.$widget_captcha_key.'<br>'; if (md5(md5($widget_captcha) . $_SERVER["REMOTE_ADDR"]) == $widget_captcha_key) { return TRUE; } return FALSE; }
$w->widget_init(WIDGET_CSS_A, 0); // js flags $php_quh = new php_quh(); $php_quh->view = get_request_value("view"); $php_quh->tab = get_request_value("tab"); $php_quh->prev_file = get_request_value("prev_file"); $php_quh->next_file = get_request_value("next_file"); $php_quh->file = get_request_value("file"); $php_quh->start = get_request_value("start"); $php_quh->stream = get_request_value("stream"); $php_quh->pos = get_request_value("pos"); $php_quh->back = get_request_value("back"); $php_quh->play = get_request_value("play"); $php_quh->pause = get_request_value("pause"); $php_quh->stop = get_request_value("stop"); $php_quh->next = get_request_value("next"); $php_quh->incoming = $incoming; $php_quh->incoming_abs = $incoming_abs; $php_quh->incoming_url = $incoming_url; // $skin = dirname ($_SERVER['PHP_SELF'])."/skin/"; // $skin_abs = dirname ($_SERVER['SCRIPT_FILENAME'])."/skin/"; ?> <style type="text/css"> div { background-image:url('images/black_opaque80.png'); // background-color:#000; width:400px; height:400px; overflow:scroll; }