?> % Add Bookmarks and Reference for Table of Contents <?php // Update agenda item if changed $this_antrag = get_post_meta($item->ID, 'cvtx_aeantrag_antrag', true); $this_top = get_post_meta($this_antrag, 'cvtx_antrag_top', true); if ($top != $this_top) { $top = $this_top; ?> \addcontentsline{toc}{section}{<?php cvtx_top($item); ?> } \section*{<?php cvtx_top($item); ?> } <?php } // Update resolution if changed if ($antrag != $this_antrag || !$running_aeantraege) { $antrag = $this_antrag; ?> \addcontentsline{toc}{section}{\"Anderungsantr\"age zum <?php cvtx_antrag($item); ?> } \section*{\"Anderungsantr\"age zum <?php cvtx_antrag($item); ?>
?> \end{flushright} \begin{tabularx}{\textwidth}{|lX|} \cline{1-2} & \\ \textbf{\LARGE <?php cvtx_kuerzel($post); ?> } & \\ & \\ <?php cvtx_print_latex(__('Concerning', 'cvtx')); ?> : & <?php cvtx_top($post); ?> \\ & \\ \cline{1-2} \end{tabularx} \begin{floatingtable}[r]{ \begin{tabularx}{4.5cm}{X} \includegraphics[width=4.1cm,keepaspectratio]{<?php cvtx_application_photo($post); ?> }\\ <?php if (isset($options['cvtx_application_gender_check']) && $options['cvtx_application_gender_check']) { ?>
$query->the_post(); $resos[] = get_the_ID(); } $agenda_item = 0; // loop through the resolutions foreach ($resos as $resolution) { $reso = get_post($resolution); $loop = new WP_Query(array('post_type' => 'cvtx_aeantrag', 'taxonomy' => 'cvtx_tax_reader', 'term' => 'cvtx_reader_' . $reader, 'orderby' => 'meta_value', 'meta_key' => 'cvtx_sort', 'order' => 'ASC', 'nopaging' => true, 'post_status' => 'publish', 'meta_query' => array(array('key' => 'cvtx_aeantrag_antrag', 'value' => $resolution, 'compare' => '=')))); if ($loop->have_posts()) { /* update top if changed */ $this_item = get_post_meta($resolution, 'cvtx_antrag_top', true); if ($agenda_item != $this_item) { $agenda_item = $this_item; ?> \addcontentsline{toc}{section}{<?php cvtx_top($reso); ?> } <?php } ?> \pagestyle{scrheadings} \ohead{<?php cvtx_kuerzel($reso); ?> <?php cvtx_titel($reso); ?> } \addcontentsline{toc}{subsection}{<?php cvtx_kuerzel($reso);