|
|
Publications of A3-[MultiBot]
0){
reset($groups);
for($x = 0; $x < count($groups); $x++){
$sql_pklist .= ", ".$groups["$x"];
}
}
$sql_pklist2 = "";
if(sizeof($projects) > 0){
reset($projects);
for($x = 0; $x < count($projects); $x++){
$sql_pklist2 .= ", ".$projects["$x"];
}
}
$sql_pklist = substr ($sql_pklist,2);
$sql_pklist2 = substr ($sql_pklist2,2);
// KMW : intro list
echo ''."\n";
function show_collection($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "" , get_author_str($author, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. ';
}
if(editor != "" or $booktitle != ""){
$str .= ' In:';
}
if($editor != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor)));
}
if($booktitle != ""){
$str .= ' ' . str_replace("~", "", $booktitle) . '';
}
if($pages == ""){
$str .= '. ';
}
if($journal != ""){
$str .= ' ' . $journal . ' ';
}
if($volume!= "" or $pages != ""){
if($series != ""){
$str .= '. ' . $series . ',';
}
if($volume != ""){
$str .= ' vol. ' . $volume . ', ';
}
else{
$str .= ', ';
}
if($pages != ""){
$str .= pages_calc($pages);
}
$str .= '. ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . ' ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function show_inprocedings($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil)));
}
else{
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title));
if($author != ""){
$str .= '. ';
}
}
if((editor != "" or $booktitle != "") and $author != ""){
$str .= ' In:';
}
if($editor != "" and $author != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor)));
}
if($booktitle != ""){
$str .= ' ' . str_replace("~", "", $booktitle) . '';
}
if($pages == ""){
$str .= '. ';
}
if($journal != ""){
$str .= ' ' . $journal . ' ';
}
if($volume!= "" or $pages != ""){
if($series != ""){
$str .= '. ' . $series . ',';
}
if($volume != ""){
$str .= ' vol. ' . $volume . ', ';
}
else{
$str .= ', ';
}
if($pages != ""){
$str .= pages_calc($pages);
}
$str .= '. ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . ' ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function show_article($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. ';
}
if(editor != "" or $booktitle != ""){
$str .= ' In:';
}
if($editor != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor)));
}
if($booktitle != ""){
$str .= ' ' . str_replace("~", "", $booktitle) . '';
}
if($pages == ""){
$str .= '. ';
}
if($journal != ""){
$str .= ' ' . $journal . ' ';
}
if($volume!= "" or $pages != ""){
$str .= ' (';
if($volume != ""){
$str .= 'Vol. ' . $volume . ', ';
}
if($pages != ""){
$str .= pages_calc($pages);
}
$str .= '). ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . ' ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function show_book($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. ';
}
if(editor != "" or $booktitle != ""){
//$str .= ' In:';
}
if($editor != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor)));
}
if($booktitle != ""){
$str .= ' ' . str_replace("~", "", $booktitle) . '';
}
if($pages == ""){
$str .= ' ';
}
if($journal != ""){
$str .= ' ' . $journal . ' ';
}
if($volume!= "" or $pages != ""){
$str .= ' (';
if($volume != ""){
$str .= 'Vol. ' . $volume . ', ';
}
if($pages != ""){
$str .= pages_calc($pages);
}
$str .= '). ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . ' ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function show_tr($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. ';
}
if($type != ""){
$str .= $type;
}
else{
$str .= 'Technical Report';
}
if($number != ""){
$str .= ' ' . $number . '. ';
}
else{
$str .= '. ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . ' ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function show_misc($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){
$str = '';
$detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm';
$basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch";
$httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch";
$includepath="$basepath/includes";
$imgpath=$httpbasepath."/img";
$sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc";
$bibtexexportbuttoncaption="Generate BibTex";
$bibtexexportcaption="Show selected entries in BibTex format";
$groupname="sfb/tr8";
$groupid = 6;
$groups = array();
$projects = array();
$auf = "";
$zeigen = 0;
$showall = 0;
if($author != ""){
$str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil)));
}
if($year != ""){
$str .= how_year($year);
}
if($title != ""){
$str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. ';
}
if($editor != ""){
$str .= ' In: ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor)));
}
if($booktitle != ""){
$str .= ' ' . str_replace("~", "", $booktitle) . '';
}
if($pages == ""){
$str .= '. ';
}
if($journal != ""){
$str .= ' ' . $journal . ' ';
}
if($volume!= "" or $pages != ""){
$str .= ' (';
if($volume != ""){
$str .= 'Vol. ' . $volume . ', ';
}
if($pages != ""){
$str .= pages_calc($pages);
}
$str .= '). ';
}
if($howpublished != ""){
$str .= $howpublished . '. ';
}
if($publisher_name != ""){
$str .= $publisher_name;
if($publisher_address != ""){
$str .= ', ' . $publisher_address . '. ';
}
else{
$str .= '. ';
}
/*if($publisher_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}*/
}
if($institution_name != ""){
$str .= $institution_name;
if($institution_address != ""){
$str .= ', ' . $institution_address;
}
else{
$str .= '. ';
}
if($institution_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($school_name != ""){
$str .= $school_name;
if($school_address != ""){
$str .= ', ' . $school_address;
}
else{
$str .= '. ';
}
if($school_url != ""){
$str .= ', ';
}
else{
$str .= '. ';
}
}
if($note != ""){
$str .= $note . '. ';
}
if($url != ""){
//$str .= '' . clean_url($url) . '. ';
$str .= ' ';
}
if($pk_int != ""){
$str .= " ";
}
if($pdfurl != ""){
$str .= " ";
}
if($psurl != ""){
$str .= " ";
}
return $str;
}
function pages_calc($pages){
if(preg_match("/^(\d+)\s*[.-]+\s*(\d+)$/",stripslashes($pages),$preg_temp)){
$str = 'pp. ' . $pages;
}
else{
$str = 'p. ' . $pages;
}
$str = str_replace("--", "-", $str);
return $str;
}
function how_year($year){
if($year == "9999"){
$str = ' (to appear). ';
}
else{
$str = ' (' . $year . '). ';
}
return $str;
}
function get_editor_str($editor){
$editor = str_replace('\"a', "ä", str_replace('\"o', "ö", str_replace('\"u', "ü", str_replace("{", "", str_replace("}", "", str_replace("&", "", str_replace(" and ", ", ", str_replace("~", " ", $editor))))))));
$editortmp = explode(", ", $editor);
$only = 0;
$str = '';
for($x = 0; $x < count($editortmp); $x++){
$editortmp2 = explode(" ", $editortmp[$x]);
if(count($editortmp2) == 2){
$z = strpos($editortmp2[0], "-");
if($z != 0){
$editor2 = $editortmp2[0]{0} . '.-' . $autortmp2[0]{($z+1)};
}
else{
$editor2 = $editortmp2[0]{0};
}
if($x != 0){
$str .= ' ';
}
if(count($editortmp) - 1 == 0){
$str .= $editor2 . '. ' . $editortmp2[1] . ', ';
$only = 1;
break;
}
elseif($x == count($editortmp) - 1){
$str .= '& ' . $editor2 . '. ' . $editortmp2[1] . ' ';
break;
}
else{
$str .= $editor2 . '. ' . $editortmp2[1] . ', ';
}
}
else{
if($x != 0){
$str .= ' ';
}
if(count($editortmp) - 1 == 0){
$str .= $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . '. ' . $editortmp2[2] . ', ';
break;
}
elseif($x == count($editortmp) - 1){
$str .= '& ' . $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . ' ' . $editortmp2[2];
$only = 1;
break;
}
else{
$str .= $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . '. ' . $editortmp2[2] . ', ';
}
}
}
if($only == 1){
$str .= ' (Ed.),';
}
else{
$str .= ' (Eds.),';
}
$str = str_replace(". .", ".", $str);
$str = str_replace("..", ".", $str);
return $str;
}
function get_author_str($author, $teil){
if($author == "Tenbrink, Thora and Kerstin Fischer and Reinhard Moratz"){
$author = "Thora Tenbrink and Kerstin Fischer and Reinhard Moratz";
}
$autor = str_replace('\"a', "ä", str_replace('\"o', "ö", str_replace('\"u', "ü", str_replace("{", "", str_replace("}", "", str_replace("&", "", str_replace(" and ", ", ", str_replace("~", " ", $author))))))));
$autortmp = explode(", ", $autor);
$str = "";
for($x = 0; $x < count($autortmp); $x++){
$autortmp2 = explode(" ", $autortmp[$x]);
if(count($autortmp2) == 2){
$z = strpos($autortmp2[0], "-");
if($z != 0){
$autor2 = $autortmp2[0]{0} . '.-' . $autortmp2[0]{($z+1)};
}
else{
$autor2 = $autortmp2[0]{0};
}
if($x != 0){
$str .= ' ';
}
if(count($autortmp) - 1 == 0){
$str .= $autortmp2[1] . ', ' . $autor2 . '. ';
break;
}
elseif($x == count($autortmp) - 1){
$str .= '& ' . $autortmp2[1] . ', ' . $autor2 . '. ';
break;
}
else{
$str .= $autortmp2[1] . ', ' . $autor2 . '., ';
}
}
else{
if($x != 0){
$str .= ' ';
}
if(count($autortmp) - 1 == 0){
$str .= $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '.: ';
break;
}
elseif($x == count($autortmp) - 1){
$str .= '& ' . $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '. ';
break;
}
else{
$str .= $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '., ';
}
}
}
$str = str_replace(", ,", ",", $str);
$str = str_replace(", ,", ",", $str);
$str = str_replace(". .", ".", $str);
$str = str_replace("..", ".", $str);
$str = str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $str));
return $str;
}
function clean_url($url){
$tmp = split("/", $url);
$url = $tmp[0] . '//' . $tmp[2];
return $url;
}
?>
| |