$typ = $_POST[‚typ’];
/*echo $typ;*/$termindni = $_POST[‚termindni’];
$terminsub = substr($termindni, -4, 4);

if ($terminsub == „1dni”) {
$termin = substr($termindni, 0, 10);
$termin1 = dateV(‚j f Y’,strtotime($termin));
$terminfull = $termin1;
}
if ($terminsub == „2dni”) {
$termin = substr($termindni, 0, 10);
$termindodajt = strtotime(‚+ 1 day’, strtotime($termin));
$termindodaj = date ( ‚Y-m-j’ , $termindodajt );
$termin1 = dateV(‚j f Y’,strtotime($termin));
$termin2 = dateV(‚j f Y’,strtotime($termindodaj));
$terminfull = $termin1.’ – ‚.$termin2;
}
if ($terminsub == „3dni”) {
$termin = substr($termindni, 0, 10);
$termindodajt = strtotime(‚+ 2 day’, strtotime($termin));
$termindodaj = date ( ‚Y-m-j’ , $termindodajt );
$termin1 = dateV(‚j f Y’,strtotime($termin));
$termin2 = dateV(‚j f Y’,strtotime($termindodaj));
$terminfull = $termin1.’ – ‚.$termin2;
}
if ($terminsub == „4dni”) {
$termin = substr($termindni, 0, 10);
$termindodajt = strtotime(‚+ 3 day’, strtotime($termin));
$termindodaj = date ( ‚Y-m-j’ , $termindodajt );
$termin1 = dateV(‚j f Y’,strtotime($termin));
$termin2 = dateV(‚j f Y’,strtotime($termindodaj));
$terminfull = $termin1.’ – ‚.$termin2;
}
if ($terminsub == „5dni”) {
$termin = substr($termindni, 0, 10);
$termindodajt = strtotime(‚+ 4 day’, strtotime($termin));
// $termindodaj = date ( ‚Y-m-j’ , $termindodajt );
$termin1 = dateV(‚j f Y’,strtotime($termin));
$termin2 = dateV(‚j f Y’,strtotime($termindodaj));
$terminfull = $termin1.’ – ‚.$termin2;
}

/*echo $termindni;
echo $termin;
echo $terminsub;
echo $terminfull;*/

$miasto = $_POST[‚miasto’];
/*echo $miasto; */
$checktyp = $_POST[‚checktyp’];
/*echo $checktyp; */
$checktermin = $_POST[‚checktermin’];
/*echo $checktermin;*/
$rodzaj= $_POST[‚rodzaj’];
/*echo $rodzaj; */
$klient= $_POST[‚klient’];
$rok = substr($termin, 0, 4);
$miesiac = substr($termin, 5, 2);
$dzien = substr($termin, 8, 2);
/*echo $rok;
echo $miesiac;
echo $dzien;*/

?>

  • Typ



    „;
    echo „

VCA

  • „;
    }
    elseif($typ == „VCA”)
    {
    echo „

SCC

  • „;
    echo „

{$typ}

  • „;
    }
    else
    {
    echo „

Podaj TYP szkolenia

  • „;
    echo „

SCC

  • „;
    echo „

VCA

    • „;
      }
      ?>

       

 

if (trim($typ) == false)
{
?>

    • Data
       

}
?>
if (trim($termin) == false && trim($typ) == false)
{
?>

    • Miasto
      wybierz datę szkolenia
       

}
?>

if($typ == „SCC” && ((!isset($checktyp) || trim($checktyp) == false) || $checktyp == $typ))
{ ?>

    • Data
      wybrano:

      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end1;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 0 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      end1:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end11;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 1 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end11:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end111;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 2 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end111:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end1111;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 3 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end1111:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end11111;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 4 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end11111:
      $check2 = get_the_date(); ?>

       

 

if ($typ == „SCC” && $termin == $checktermin && $termin == „”)
{
?>

    • Miasto
      wybierz datę szkolenia
       

}
?>

if ($typ == „SCC” && $termin != $checktermin && $termin != „”)
{
?>

  • Miasto
    wybierz miasto
    $my_query = new WP_Query(‚category_name=1-dniowe&category_name=scc&cat=-68,-69,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=2-dniowe&category_name=scc&cat=-79,-69,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=3-dniowe&category_name=scc&cat=-79,-68,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=4-dniowe&category_name=scc&cat=-79,-68,-69,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=5-dniowe&category_name=scc&cat=-79,-68,-69,-70&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

    • „;
      }
      endwhile;
      } ?>

       

}
?>
if ($typ == „SCC” && $termin == $checktermin && $termin != „”)
{
?>

  • Miasto
    wybrano:
    $my_query = new WP_Query(‚category_name=1-dniowe&category_name=scc&cat=-68,-69,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=2-dniowe&cat=-79,-69,-70,-71&category_name=scc&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=3-dniowe&cat=-79,-68,-70,-71&category_name=scc&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=4-dniowe&cat=-79,-68,-69,-71&category_name=scc&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=5-dniowe&cat=-79,-68,-69,-70&category_name=scc&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

    • „;
      }
      endwhile;
      } ?>

       

}
?>

}
?>

if($typ == „VCA” && ((!isset($checktyp) || trim($checktyp) == false) || $checktyp == $typ))
{ ?>

    • Data
      wybrano:

      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end2;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 0 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      end2:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end22;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 1 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end22:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end222;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 2 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end222:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end2222;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 3 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end2222:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end22222;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 4 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end22222:
      $check2 = get_the_date(); ?>

       

if ($typ == „VCA” && $termin == $checktermin && $termin == „”)
{
?>

    • Miasto
      wybierz datę szkolenia
       

}
?>
if ($typ == „VCA” && $termin != $checktermin && $termin != „”)
{
?>

  • Miasto
    wybierz miasto
    $my_query = new WP_Query(‚category_name=1-dniowe&category_name=vca&cat=-68,-69,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=2-dniowe&category_name=vca&cat=-79,-69,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=3-dniowe&category_name=vca&cat=-79,-68,-70,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=4-dniowe&category_name=vca&cat=-79,-68,-69,-71&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=5-dniowe&category_name=vca&cat=-79,-68,-69,-70&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

    • „;
      }
      endwhile;
      } ?>

       

}
?>
if ($typ == „VCA” && $termin == $checktermin && $termin != „”)
{
?>

  • Miasto
    wybrano:
    $my_query = new WP_Query(‚category_name=1-dniowe&cat=-68,-69,-70,-71&category_name=vca&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=2-dniowe&cat=-79,-69,-70,-71&category_name=vca&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=3-dniowe&cat=-79,-68,-70,-71&category_name=vca&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=4-dniowe&cat=-79,-68,-69,-71&category_name=vca&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

  • „;
    }
    endwhile;
    } ?>

    $my_query = new WP_Query(‚category_name=5-dniowe&cat=-79,-68,-69,-70&category_name=vca&year=’.$rok.’&monthnum=’.$miesiac.’&day=’.$dzien); ?>
    have_posts()) : $my_query->the_post(); ?>
    $idis = get_the_ID();
    global $wpdb;
    $results = $wpdb->get_results(„SELECT DISTINCT name FROM qes_term_relationships tr JOIN qes_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN qes_terms t ON t.term_id = tt.term_id WHERE object_id = ‚$idis’ AND taxonomy = ‚post_tag'”);
    foreach ( $results as $result )
    {
    echo „

name}>{$result->name}

    • „;
      }
      endwhile;
      } ?>

       

}
?>

}
?>

if($typ != $checktyp && trim($checktyp) == true && $typ == „SCC”)
{ ?>

    • Data
      wybierz datę:

      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end3; ?>

      end3:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end33;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 1 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end33:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end333;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 2 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end333:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end3333;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 3 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end3333:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end33333;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 4 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end33333:
      $check2 = get_the_date(); ?>

       

 

    • Miasto
      wybierz datę szkolenia
       

 

}
?>

if($typ != $checktyp && trim($checktyp) == true && $typ == „VCA”)
{ ?>

    • Data
      wybierz datę:

      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end4; ?>

      end4:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end44;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 1 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end44:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end444;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 2 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end444:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end4444;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 3 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end4444:
      $check2 = get_the_date(); ?>


      have_posts()) : $my_query->the_post(); ?>
      $check1 = get_the_date();
      if($check1 == $check2)
      goto end44444;
      $dataklk = get_the_time(‚Y-m-j’);
      $datakilkudniowe = strtotime(‚+ 4 day’, strtotime($dataklk));
      $dataklk = date ( ‚Y-m-j’ , $datakilkudniowe );
      $dataklkk = dateV(‚j f Y’,strtotime($dataklk));
      ?>

      <?
      end44444:
      $check2 = get_the_date(); ?>

       

 

    • Miasto
      wybierz datę szkolenia
       

 

}
?>

    • Rodzaj szkolenia


      „;
      }
      ?>
      if($checktyp != $typ && ($typ != „” || $rodzaj == „” ))
      {
      ?>

      „;
      }
      ?>
      if($checktyp == $typ && ($typ != „” || $rodzaj != „” ))
      {
      ?>

      „;
      }
      ?>
      if($typ == „SCC”)
      {
      ?>

      „;

      „;

      „;
      }
      ?>
      if($typ == „VCA”)
      {
      ?>

      „;

      „;

      „;
      }
      ?>

       

 

    • Status
      ?>
      if($klient == „”)
      {
      ?>

      „;

      „;

      „;
      }
      ?>
      if($klient != „”)
      {
      ?>

      „;

      „;

      „;
      }
      ?>

       

 

$typ = ” „;
$termin = ” „;
$miasto = ” „;
?>

if ($klient == „firma”)
{
?>

  • Nazwa firmy(*)
  • Adres(*)
  • NIP(*)
  • E-mail(*)
  • Telefon(*)
  • Osoba kontaktowa(*)
  • Adres do korespondencji (inny niż do FV)
  • Dowóz kurierem (*) TAKNIE
  • Imiona uczestnika(*)
  • Nazwisko(*)
  • Data urodzenia(*)
  • Miejsce urodzenia(*)
  • Paszport bezpieczeństwa (*) TAKNIE
    Naklejki z potwierdzeniem szkolenia do paszportu (*) TAKNIE
    Hotel (*) TAKNIE
  • Uwagi
  • Zaakceptuj przetwarzanie Twoich danych w celach marketingowych
    Zaakceptuj postanowienia końcowe regulaminu
  • Imiona uczestnika(*)
  • Nazwisko(*)
  • Data urodzenia(*)
  • Miejsce urodzenia(*)
  • E-mail(*)
  • Telefon(*)
  • Adres korespondencyjny(*)
  • Faktura (*) TAKNIE
  • Dane do faktury(*)
  • Paszport bezpieczeństwa (*) TAKNIE
    Naklejki z potwierdzeniem szkolenia do paszportu (*) TAKNIE
    Hotel (*) TAKNIE
  • Nazwa obecnego lub przyszłego pracodawcy(*)
  • Uwagi
  • Zaakceptuj przetwarzanie Twoich danych w celach marketingowych
    Zaakceptuj postanowienia końcowe regulaminu (*)

}
?>
if ($klient == „klient”)
{
?>

  • Nazwa firmy(*)
  • Adres(*)
  • NIP(*)
  • E-mail(*)
  • Telefon(*)
  • Osoba kontaktowa(*)
  • Adres do korespondencji (inny niż do FV)
  • Dowóz kurierem (*) TAKNIE
  • Imiona uczestnika(*)
  • Nazwisko(*)
  • Data urodzenia(*)
  • Miejsce urodzenia(*)
  • Paszport bezpieczeństwa (*) TAKNIE
    Naklejki z potwierdzeniem szkolenia do paszportu (*) TAKNIE
    Hotel (*) TAKNIE
  • Uwagi
  • Zaakceptuj przetwarzanie Twoich danych w celach marketingowych
    Zaakceptuj postanowienia końcowe regulaminu
  • Imiona uczestnika(*)
  • Nazwisko(*)
  • Data urodzenia(*)
  • Miejsce urodzenia(*)
  • E-mail(*)
  • Telefon(*)
  • Adres korespondencyjny(*)
  • Faktura (*) TAKNIE
  • Dane do faktury(*)
  • Paszport bezpieczeństwa (*) TAKNIE
    Naklejki z potwierdzeniem szkolenia do paszportu (*) TAKNIE
    Hotel (*) TAKNIE
  • Nazwa obecnego lub przyszłego pracodawcy(*)
  • Uwagi
  • Zaakceptuj przetwarzanie Twoich danych w celach marketingowych
    Zaakceptuj postanowienia końcowe regulaminu (*)

}
?>