countModules('right')) { ?>

Projekte

Eine Übersicht unserer Projekte.

 

countModules('main')) { ?>
addStyleSheet('http://www.mygsne.de/assets/css/com_gsne.css'); $nmbr = 4; $page = intval($_GET['page']); if($page == '') $page = 1; $pid = intval($_GET['pid']); if($pid > 0) { $stat = file_get_contents('http://www.mygsne.de/gsne_webstat.php?pid=' . $pid); } else { $stat = file_get_contents('http://www.mygsne.de/gsne_webstat.php?nmbr=' . $nmbr . '&page=' . $page); } $pattern[1] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Anfang\")/'; $pattern[2] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Zurück\")/'; $pattern[3] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Weiter\")/'; $pattern[4] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Ende\")/'; for($i = 1; $i < 5; $i++) { preg_match($pattern[$i], $stat, $url[$i]); $url_info[$i] = pathinfo_utf($url[$i][2]); if(is_array($url_info[$i]['parameters'])) { foreach($url_info[$i]['parameters'] as $key => $value) { $u[$i] =& JURI::getInstance(); $u[$i]->setVar($key, $value); $u[$i]->delVar('pid'); $url_info[$i]['new'] = htmlspecialchars($u[$i]->toString()); } } } $stat = preg_replace($pattern, array('\\1' . $url_info[1]['new'] . '\\3', '\\1' . $url_info[2]['new'] . '\\3', '\\1' . $url_info[3]['new'] . '\\3', '\\1' . $url_info[4]['new'] . '\\3'), $stat); echo $stat; //pathinfo() which can be used with UTF filenames. //Gibt auch URL-Argumente als Array zurck function pathinfo_utf($path) { if($path == '') return false; $url_parts = explode("?", $path); if (strpos($url_parts[0], '/') !== false) { $basename = end(explode('/', $url_parts[0])); } elseif (strpos($url_parts[0], '\\') !== false) { $basename = end(explode('\\', $url_parts[0])); } else { $basename = $url_parts[0]; } if (empty($basename)) { return false; } if(strlen($url_parts[0]) != strlen($basename)) { $dirname = substr($url_parts[0], 0, strlen($url_parts[0]) - strlen($basename) - 1); } if (strpos($basename, '.') !== false) { $extension = end(explode('.', $url_parts[0])); $filename = substr($basename, 0, strlen($basename) - strlen($extension) - 1); } else { $extension = ''; $filename = $basename; } $args = array(); if(count($url_parts) > 1) { if($url_parts[1] != '') { $url_args = explode("&", htmlspecialchars_decode($url_parts[1])); foreach ($url_args as $arg) { $temp = explode("=", $arg); $args[$temp[0]] = $temp[1]; } } } return array ( 'dirname' => $dirname, 'basename' => $basename, 'extension' => $extension, 'filename' => $filename, 'parameters' => $args ); } ?>

Projekte

Eine Übersicht unserer Projekte.

 

countModules('main')) { ?>
addStyleSheet('http://www.mygsne.de/assets/css/com_gsne.css'); $nmbr = 4; $page = intval($_GET['page']); if($page == '') $page = 1; $pid = intval($_GET['pid']); if($pid > 0) { $stat = file_get_contents('http://www.mygsne.de/gsne_webstat.php?pid=' . $pid); } else { $stat = file_get_contents('http://www.mygsne.de/gsne_webstat.php?nmbr=' . $nmbr . '&page=' . $page); } $pattern[1] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Anfang\")/'; $pattern[2] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Zurück\")/'; $pattern[3] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Weiter\")/'; $pattern[4] ='/(href=\")(.*gsne_webstat\.php\?*.[^"]*)(\"[ ]title\=\"Ende\")/'; for($i = 1; $i < 5; $i++) { preg_match($pattern[$i], $stat, $url[$i]); $url_info[$i] = pathinfo_utf($url[$i][2]); if(is_array($url_info[$i]['parameters'])) { foreach($url_info[$i]['parameters'] as $key => $value) { $u[$i] =& JURI::getInstance(); $u[$i]->setVar($key, $value); $u[$i]->delVar('pid'); $url_info[$i]['new'] = htmlspecialchars($u[$i]->toString()); } } } $stat = preg_replace($pattern, array('\\1' . $url_info[1]['new'] . '\\3', '\\1' . $url_info[2]['new'] . '\\3', '\\1' . $url_info[3]['new'] . '\\3', '\\1' . $url_info[4]['new'] . '\\3'), $stat); echo $stat; //pathinfo() which can be used with UTF filenames. //Gibt auch URL-Argumente als Array zurck function pathinfo_utf($path) { if($path == '') return false; $url_parts = explode("?", $path); if (strpos($url_parts[0], '/') !== false) { $basename = end(explode('/', $url_parts[0])); } elseif (strpos($url_parts[0], '\\') !== false) { $basename = end(explode('\\', $url_parts[0])); } else { $basename = $url_parts[0]; } if (empty($basename)) { return false; } if(strlen($url_parts[0]) != strlen($basename)) { $dirname = substr($url_parts[0], 0, strlen($url_parts[0]) - strlen($basename) - 1); } if (strpos($basename, '.') !== false) { $extension = end(explode('.', $url_parts[0])); $filename = substr($basename, 0, strlen($basename) - strlen($extension) - 1); } else { $extension = ''; $filename = $basename; } $args = array(); if(count($url_parts) > 1) { if($url_parts[1] != '') { $url_args = explode("&", htmlspecialchars_decode($url_parts[1])); foreach ($url_args as $arg) { $temp = explode("=", $arg); $args[$temp[0]] = $temp[1]; } } } return array ( 'dirname' => $dirname, 'basename' => $basename, 'extension' => $extension, 'filename' => $filename, 'parameters' => $args ); } ?>
countModules('large')) { ?>
Datenschutzerklärung · Impressum