Основные направления деятельности Профсоюза — Внутрисоюзная работа
Основные Документы
Программа кадровой политики ЦК Профсоюза (утв. Постановлением ЦК Профсоюза от 25.08.2011 №2-3
8 // $tags = get_tags(); // print_r($tags); global $post; $args = array('numberposts' => -1, 'category' => 8, 'tag' => 'org-disc'); $myposts = get_posts( $args ); // print_r($myposts); $i = 0; foreach ($myposts as $myposts) { $pos1 = stripos($myposts->post_content, 'Постановление'); $pos2 = stripos($myposts->post_content, ''); $pos3 = stripos($myposts->post_content, ''); // print 'pos1['.$i.'] = '.$pos1.'
'."\n"; // print 'pos2['.$i.'] = '.$pos2.'
'."\n"; // print 'pos3['.$i.'] = '.$pos3.'
'."\n"; $title[$i] = substr($myposts->post_content, $pos1, ($pos2-$pos1)); $title[$i] = $title[$i].' '.substr($myposts->post_content, ($pos2+9), ($pos3-$pos2-9)); // print '$title['.$i.'] = '.$title[$i].'
'."\n"; $guid[$i] = $myposts->guid; $i++; } wp_reset_postdata(); print'Исполнительская дисциплина
'."\n"; for ($i=0; $i