*/ include("session.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } if(count($_REQUEST['mail']) <= 0) { $_SESSION['error'] = _SELECT_ONE_MAIL."."; if(isset($_REQUEST['frame']) ) { header('location:'.$_REQUEST['frame'].".php"."?start=".$_REQUEST['start']); exit(); } else { if(ereg('.php$', $_SESSION['current_basket']['page'])) { header('location:'.$_SESSION['current_basket']['page']."?start=".$_REQUEST['start']); } else { header('location:index.php?page='.$_SESSION['current_basket']['page']."&start=".$_REQUEST['start']); } } exit; } else { if(!isset($_REQUEST['action']) || empty($_REQUEST['action'])) { $_SESSION['error'] = _SELECT_ACTION."."; if(isset($_REQUEST['frame']) ) { header('location:'.$_REQUEST['frame'].".php"."?start=".$_REQUEST['start']); exit(); } else { if(ereg('.php$', $_SESSION['current_basket']['page'])) { header('location:'.$_SESSION['current_basket']['page']."?start=".$_REQUEST['start']); } else { header('location:index.php?page='.$_SESSION['current_basket']['page']."&start=".$_REQUEST['start']); } exit; } } else { $_SESSION['chosen_doc'] = array(); for($i=0; $i < count($_REQUEST['mail']); $i++) { array_push($_SESSION['chosen_doc'], $_REQUEST['mail'][$i]); } if(isset($_REQUEST['frame']) ) { header('location:'.$_REQUEST['frame'].".php?action=".$_REQUEST['action']."&start=".$_REQUEST['start']); exit(); } else { header('location:index.php?page='.$_SESSION['current_basket']['page']."&action=".$_REQUEST['action']."&start=".$_REQUEST['start']); exit(); } } } ?>