<?php
@session_start();
if(!isset($_SESSION['test_select_se']))$_SESSION['test_select_se']=6;
if(isset($_GET['test_select'])){
$_SESSION['test_select_se']=$_GET['test_select'];
}
$switch=$_SESSION['test_select_se'];
if(isset($arr_get))$switch=$arr_get;
switch($switch){
case 1:
$arr=array(
'start'=>'page1.html',
'page_back'=>array('page3.html','page.html'),
'param_full'=>array('param4'),
'value_full'=>array('content4')
);
$back_next_param=1;
#max history
$max_url_history=100;
break;
case 2:
$arr=array(
'start'=>'page3.html',
'page_back'=>array('page1.html'),
'param_back'=>array('param1'),
'value_back'=>array('content2'),
'post'=>0
);
$back_next_param=1;
#max history
$max_url_history=50;
break;
case 3:
$arr=array(
'start'=>'page1.html',
'page_full'=>array('page6.html','age.html'),
'param_full'=>array('param4'),
'value_full'=>array('content4'),
'post'=>1
);
$back_next_param=1;
#max history
$max_url_history=50;
break;
case 4:
$arr=array();
$back_next_param=1;
#max history
$max_url_history=50;
break;
case 5:
$arr=array();
$back_next_param=0;
#max history
$max_url_history=10;
break;
default:
$arr=array(
'start'=>'page1.html',
'name_back_param'=>'ba',
'name_next_param'=>'ne',
'header_param'=>'h_pm',
'page_back'=>array('page3.html','page.html'),
'page_full'=>array('page6.html','age.html'),
'param_back'=>array('param2'),
'param_full'=>array('param4'),
'value_back'=>array('content3'),
'value_full'=>array('content4'),
'post'=>1
);
$back_next_param=1;
#max history
$max_url_history=50;
break;
}
?>
|