<?php require "_conf_for_pages.php"; ?> <!DOCTYPE html> <html> <?php echo get_html_head(); ?> <body> <div class="container"> <?php echo get_body_header("forside"); ?> <?php out_template("admin_topmenu"); ?> <h1>Opstart - Intromøder</h1> <?php out_template("admin_opstart_topmenu"); ?> <br> <br> Viser medlemmer som mangler intromøder eller blanketer. Møder, der er taget, er markeret med X. <br>
/** * This function cuts out requested tag information from html head * @access public * @param $text html text * @param $tags a string or an array of requested tags * @author Cindy Qi Li */ function get_html_head_by_tag($text, $tags) { $head = get_html_head($text); $rtn_text = ""; if (!is_array($tags) && strlen(trim($tags)) > 0) { $tags = array(trim($tags)); } foreach ($tags as $tag) { $tag = strtolower($tag); /* strip everything before <{tag}> */ $start_pos = stripos($head, '<' . $tag); $temp_head = $head; while ($start_pos !== false) { $temp_text = substr($temp_head, $start_pos); /* strip everything after </{tag}> or />*/ $end_pos = stripos($temp_text, '</' . $tag . '>'); if ($end_pos !== false) { $end_pos += strlen('</' . $tag . '>'); // add an empty line after each tag information $rtn_text .= trim(substr($temp_text, 0, $end_pos)) . ' '; } else { $end_pos = stripos($temp_text, '/>'); if ($end_pos === false && stripos($temp_text, $tag . '>') === false) { //if /> is not found, then this is not a valid XHTML //text iff it's not tag> $end_pos = stripos($temp_text, '>'); $end_pos += strlen('>'); } else { $end_pos += strlen('/>'); } // add an empty line after each tag information $rtn_text .= trim(substr($temp_text, 0, $end_pos)) . ' '; } // initialize vars for next round of matching $temp_head = substr($temp_text, $end_pos); $start_pos = stripos($temp_head, '<' . $tag); } } return $rtn_text; }