//print_r($_SESSION);
//http://high-lift.com/?lift_type=Boom+Lifts&car_manufacturer=&car_model=&car_price=&car_year=
// make query
$qry = "/?";
###################################################################### Boom Lifts
### Step 1
if ($_SESSION["e_type_s"] == "1") {
$qry = $qry . "lift_type=Boom+Lifts";
$text_a = "Elevación de la pluma";
$img = "articulated.jpg";
}
if ($_SESSION["e_type_s"] == "2") {
$qry = $qry . "lift_type=Scissor+Lifts";
$text_a = "Elevador de tijera";
$img = "scissor.jpg";
}
if ($_SESSION["e_type_s"] == "3") {
$qry = $qry . "lift_type=forklifts";
$text_a = "Máquina elevadora";
$img = "forklifts.jpg";
}
// step 2 scissor lifts
// indoor scissor
if ($_SESSION["s_type_s"] == "1") {
$text_b = "Interior";
$qry = $qry . "&power+type=battery+powered&propane+powered";
}
// outdoor scissor
if ($_SESSION["s_type_s"] == "2") {
$text_b = "Al aire libre";
$qry = $qry . "&power%20type=diesel%20powered&gasoline%20powered";
}
//echo $qry;
//step 3 scissor lift height
// 15/16 ft
if ($_SESSION["s_s_height_s"] == "1") {
$text_c = "15 or 16'";
$qry = $qry . "&vertical_reach=15&vertical_reach=16&vertical_reach=17&vertical_reach=18";
}
// 19/20 ft
if ($_SESSION["s_s_height_s"] == "2") {
$text_c = "19 or 20'";
$qry = $qry . "&vertical_reach=19&vertical_reach=20&vertical_reach=21&vertical_reach=22&vertical_reach=23&vertical_reach=24";
}
// 25 ft
if ($_SESSION["s_s_height_s"] == "3") {
$text_c = "25'";
$qry = $qry . "&vertical_reach=25&vertical_reach=26&vertical_reach=27&vertical_reach=28&vertical_reach=29";
}
// 30ft +
if ($_SESSION["s_s_height_s"] == "4") {
$text_c = "30'";
$qry = $qry . "&vertical_reach=30+";
}
//echo $qry;
if ($_SESSION["e_boom_type_s"]) {
}
### Step 2
if ($_SESSION["e_boom_type_s"] == 1 ) {
$text_b = "Articulado";
$qry = $qry . "&articulated_boom=Yes";
}
if ($_SESSION["e_boom_type_s"] == 2 ) {
$text_b = "Telescópico";
$qry = $qry . "&articulated_boom=No";
}
if ($current == "/equipment-selector/equipment-selector-boom-lifts/equipment-selector-boom-lift-working-height/") {
?>
}
### Step 3 height
switch($_SESSION["s_s_height_s"]) {
case 1:
$step_3 = "15/16' ";
break;
case 2:
$step_3 = "19/20' ";
break;
case 3:
$step_3 = "25' ";
break;
case 4:
$step_3 = "30' + ";
break;
}
//echo $current;
if ($current == "/equipment-selector/equipment-selector-boom-lifts/equipment-selector-boom-lift-working-height/equipment-selector-boom-lift-engine/") {
?>
}
### Step 4 engine
switch($_SESSION["b_engine_s"]) {
case 1:
$step_4 = "Diesel";
$qry = $qry . "&power_type=Diesel";
break;
case 2:
$step_4 = "Gasolina";
$qry = $qry . "&power_type=Diesel";
break;
case 3:
$step_4 = "Batería";
$qry = $qry . "&power_type=Battery";
break;
}
if ($current == "/equipment-selector/equipment-selector-boom-lifts/equipment-selector-boom-lift-working-height/equipment-selector-boom-lift-engine/equipment-selector-boom-lift-drivetrain/") {?>
}
//boom lifts (e_type_s) =1 boom,
//type (e_boom_type_s) 1 - articulated or 2 - telescopic,
//reach (e_height_a_s) 1 - 30' and under, 2 - 30' height, 3 - 40' height, 4 - 60' height, 5 - 70 & 80', 6 - 90 & 100, 7 - 110' and larger
//
//engine (b_engine_s) 1 - Diesel, 2 - Gasoline & Propane, 3 - battery
//drivetrain (b_drive_s) 1 - 4x4, 2 - 2x4
if ($_SESSION["e_type_s"] == "1") {
}
### Step 5 drive train
switch($_SESSION["b_drive_s"]) {
case 1:
$step_5 = "4x4";
$qry = $qry . "&drive_train=4x4";
break;
case 2:
$step_5 = "2x4";
$qry = $qry . "&drive_train=2x4";
break;
case 3:
$step_5 = "FWD";
$qry = $qry . "&drive_train=FWD";
break;
}
//echo $qry;
###################################################################### Scissor Lifts
### Step 2
if ($_SESSION["s_type_s"] == 1 ) {
$step_2 = "Interior";
}
if ($_SESSION["s_type_s"] == 2 ) {
$step_2 = "Al aire libre";
}
###################################################################### Fork Lifts
### Step 2
if ($_SESSION["f_cap_s"] == 1 ) {
$step_2 = "6000/7000 lb de capacidad";
}
if ($_SESSION["f_cap_s"] == 2 ) {
$step_2 = "8000/9000 lb de capacidad";
}
if ($_SESSION["f_cap_s"] == 3 ) {
$step_2 = "Capacidad de 10000 lb y superior";
}
### Step 2
if ($_SESSION["f_carriage_s"] == 1 ) {
$step_3 = "carro estándar";
}
if ($_SESSION["f_carriage_s"] == 2 ) {
$step_3 = "carro transversal";
}
?>
//require("place_equipment.php");
?>
require("place_equipment.php");
?>
Ha creado con éxito un “perfil de equipo”:
//boom lifts
if ($_SESSION["e_type_s"] == "1") {
$profile_message = "Estás buscando un
$text_b $text_a con $step_3 alcanzar, $step_4 motor y $step_5 tren motriz..
Si esta información es incorrecta,
regrese y reconstruya este perfil. De lo contrario, use el botón \"Buscar ahora\" a continuación para realizar una búsqueda de nuestro inventario según este criterio.";
//
$back_last = "/equipment-selector/equipment-selector-boom-lifts/equipment-selector-boom-lift-working-height/equipment-selector-boom-lift-engine/equipment-selector-boom-lift-drivetrain/";
}
//scissor lifts
if ($_SESSION["e_type_s"] == "2") {
$profile_message = "Estás buscando un
$text_b $text_a con $step_3 alcanzar.
Si esta información es incorrecta,
regrese y reconstruya este perfil. De lo contrario, use el botón \"Buscar ahora\" a continuación para realizar una búsqueda de nuestro inventario según este criterio.";
$back_last = "/equipment-selector/equipment-selector-scissor-lifts/equipment-selector-scissor-lift-type/equipment-selector-scissor-lift-reach/";
}
if ($_SESSION["e_type_s"] == "3") {
$profile_message = "Estás buscando un
$text_a con $step_2 y $step_3.
Si esta información es incorrecta,
regrese y reconstruya este perfil. De lo contrario, use el botón \"Buscar ahora\" a continuación para realizar una búsqueda de nuestro inventario según este criterio.";
$back_last = "/equipment-selector/telescopic-forklifts/equipment-selector-telescopic-forklift-capacity/equipment-selector-telescopic-forklift-carriage/";
}
?>