"; // if ($od) { $ctrl_tab['OD'] = $od; } if ($le) { $ctrl_tab['LITERA'] = $le; } //echo "POP: ".$ctrl_tab['LITERA_POP']."
Curr: ".$ctrl_tab['LITERA']."
"; if ($ctrl_tab['LITERA_POP'] != $ctrl_tab['LITERA']) { // echo "CountLitery..."; $ctrl_tab['LE_COUNT'] = CountLitery($ctrl_tab['LITERA']); } if ($id_jour) { //echo "test: $id_jour\n"; $ctrl_tab['ID_JOURNAL'] = $id_jour; } if ($vol_no) { $ctrl_tab['VOL_NO'] = $vol_no; } if ($id_issue) { $ctrl_tab['ID_ISSUE'] = $id_issue; } if ($icid) { $ctrl_tab['ICID'] = $icid; } if ($range && !$direction) { $rg = $range; } include("header.php"); //echo "ABR: ".$ctrl_tab['JOUR']['ABR']."
"; function DrawHeader($level) { global $ctrl_tab, $mysql_link; print ("
"); //echo "level:".$level."
"; switch ($level) { case 1: // echo "Getliterki
"; // echo "ile tytulow: ".$ctrl_tab['LE_COUNT']."
"; print (" "); if ($ctrl_tab['OD'] > 0 || ($ctrl_tab['ILE'] + $ctrl_tab['OD']) < $ctrl_tab['LE_COUNT']) { print(" "); } // echo "ilosc literek: ".sizeof($ctrl_tab['TAB_LE'])."
"; print(" "); print(" "); break; case 2: print (" "); $ctrl_tab['JOUR'] = GetJournalInfo($ctrl_tab['ID_JOURNAL']); print(" "); break; case 3: $ctrl_tab['JOUR'] = GetJournalInfo($ctrl_tab['ID_JOURNAL']); print (" "); $ctrl_tab['LISTA_WYDAN'] = GetListaWydan($ctrl_tab['ID_JOURNAL'], $ctrl_tab['VOL_NO']); print(" "); break; case 4: print (""); if ($ctrl_tab['ID_JOURNAL'] == '' and is_numeric($_GET[id_issue])) { $q = mysql_query("SELECT DISTINCT JOUR_ISSUE.ID_JOUR FROM JOUR_ISSUE WHERE (JOUR_ISSUE.ID_ISSUE = " . $_GET[id_issue] . ")"); $qq = mysql_fetch_row($q); $idjournalik = $qq[0]; $ctrl_tab['ID_JOURNAL'] = $idjournalik; } $ctrl_tab['JOUR'] = GetJournalInfo($ctrl_tab['ID_JOURNAL']); $ctrl_tab['ARTIC'] = GetArtykul($ctrl_tab['ICID'], "Yes"); $ctrl_tab['LISTA_ART'] = GetListaArtykulow($ctrl_tab['ID_ISSUE']); $ctrl_tab['ISSUE_INFO'] = GetIssueInfo($ctrl_tab['ID_ISSUE']); print(" "); DrawListaArtykulow(); print (" "); break; case 5: //print (""); $ctrl_tab['JOUR'] = GetJournalInfo($ctrl_tab['ID_JOURNAL']); $ctrl_tab['ARTIC'] = GetArtykul($ctrl_tab['ICID'], "Yes"); DrawArtykul1($ctrl_tab['ICID'], $logo_p); $JOUR_web_page = displayURL($JOUR_web_page); $browser = get_browser(); $country_code = addslashes(copernicus_note("GEOIP_COUNTRY_CODE")); $city_name = addslashes(copernicus_note("GEOIP_CITY")); $country_name = addslashes(copernicus_note("GEOIP_COUNTRY_NAME")); $region_code = addslashes(copernicus_note("GEOIP_REGION")); $browser_name = addslashes($browser->browser); $browser_majorver = addslashes($browser->majorver); $browser_minorver = addslashes($browser->minorver); $browser_full = addslashes($browser->parent); $opersystem = addslashes($browser->platform); $HTTP_REFERER = addslashes($_SERVER['HTTP_REFERER']); if (substr($_SERVER['REMOTE_ADDR'], 0, 3) != '10.' and $_SERVER['REMOTE_ADDR'] != '213.199.217.66') { include_once("/home/copernicus/docs/includes/IP.php"); if (czyBot($_SERVER['REMOTE_ADDR']) == false) { $qry = "INSERT into STAT_ARTICLE (`IPadress`, `DOMENA`, `COUNTRY_CODE`, `CITY`, `REGION_CODE`, `DATE`, `BROWSER_NAME`, `BROWSER_MAJORVER`, `BROWSER_MINORVER`, `ICID`, `BROWSER_FULL`, `CZAS`, `OS`, `COUNTRY_NAME`, `REFERER`, `WHAT`) VALUES ('" . $_SERVER['REMOTE_ADDR'] . "', '" . gethostbyaddr($_SERVER['REMOTE_ADDR']) . "', '$country_code', '$city_name', '$region_code', NOW(), '$browser_name', '$browser_majorver', '$browser_minorver', '" . $ctrl_tab['ICID'] . "', '$browser_full', NOW(), '$opersystem', '$country_name', '$HTTP_REFERER', 'A')"; $mysql_result = mysql_query($qry, $mysql_link) or die("$qry
\n" . mysql_error()); $idstat = mysql_insert_id($mysql_link); setJournalArticleStat($ctrl_tab['ICID'], $idstat); } } break; } print ("
IndexCopernicus™ Journal Abstract
"); if ($level == 2) { print ("
"); } else { print (""); } print ("
 
:: " . _MENU_ABSTRLIST . " ::
"); if ($ctrl_tab['OD'] > 0 && ($ctrl_tab['ILE'] + $ctrl_tab['OD']) < $ctrl_tab['LE_COUNT']) { print(" "); } elseif ($ctrl_tab['OD'] > 0) { print(" "); } else { print(" "); } print("
 
" . _PREVIOUS . "
" . _NEXT . "
 
 
" . _PREVIOUS . "
 
 
" . _NEXT . "
 
"); DrawLitery($ctrl_tab['TAB_LE']); print("
"); DrawListaCzasopism($ctrl_tab['OD'], $ctrl_tab['ILE'], $ctrl_tab['LITERA']); print("
" . display_titleJOUR($ctrl_tab[ID_JOURNAL], "") . "
Available Volumes
"); //lista tomow $query333 = "SELECT DISTINCT ID_JOUR, `YEAR`, VOLUME FROM JOUR_ISSUE WHERE ID_JOUR='$ctrl_tab[ID_JOURNAL]' ORDER BY `YEAR` DESC, VOLUME DESC"; $re = mysql_query($query333); while ($ro = mysql_fetch_row($re)) { print ("
"); print (""); print ("
Volume " . $ro[2] . ", " . $ro[1] . "
"); $query2222 = "SELECT DISTINCT ID_JOUR, ID_ISSUE, COVER_ISSUE, ISSUE, `MONTH`,`DAY`,ISSUE_TYPE.ID_ISSUE_TYPE,ISSUE_TYPE_NAME,VOLUME,`YEAR` FROM ISSUE_TYPE INNER JOIN JOUR_ISSUE ON ISSUE_TYPE.ID_ISSUE_TYPE = JOUR_ISSUE.ID_ISSUE_TYPE WHERE ID_JOUR='$ro[0]' AND VOLUME='$ro[2]' AND ID_LANG=3 ORDER BY JOUR_ISSUE.SORT DESC"; $res = mysql_query($query2222); $ile = mysql_num_rows($res); while ($ros = mysql_fetch_row($res)) { $tab1[$j]['ID_JOUR'] = $ros[0]; $tab1[$j]['ID_ISSUE'] = $ros[1]; $tab1[$j]['COVER_ISSUE'] = $ros[2]; $tab1[$j]['ISSUE'] = $ros[3]; $tab1[$j]['MONTH'] = $ros[4]; $tab1[$j]['DAY'] = $ros[5]; $tab1[$j]['ISSUE_TYPE'] = $ros[6]; $tab1[$j]['ISSUE_TYPE_NAME'] = $ros[7]; $tab1[$j]['VOLUME'] = $ros[8]; $tab1[$j]['YEAR'] = $ros[9]; if ($ros[6] == 2) { $tmp_1 = $ros[7]; if ($ros[3]) { $tmp_1.=" " . $ros[3]; } echo"
"; } else { echo"
"; } } print("
 "); } print ("
"); display_okladkaJOUR($ctrl_tab['ID_JOURNAL']); print("
Available Issues
"); //echo "ABR: ".$ctrl_tab['JOUR']['ABR']."
"; DrawListaWydan($ctrl_tab['LISTA_WYDAN']); print ("
Available Articles
::artykul::
"); } function DrawLitery($litery) { global $ctrl_tab; print ("
"); for ($i = 0; $i < sizeof($litery); $i++) { if ($ctrl_tab['LITERA'] == $litery[$i]) { print (""); } else { print (""); } } print ("
"); } function DrawListaCzasopism($od, $ile, $li) { //echo "Draw: $od,$ile,$li
"; print ("
"); $czasopisma = GetListaCzasopism($od, $ile, $li); print (" "); for ($i = 0; $i < sizeof($czasopisma); $i++) { print (" "); } print ("
  " . _JOURTITL . " p-ISSN e-ISSN  IC  
" . $czasopisma[$i]['TITLE'] . " " . $czasopisma[$i]['PISSN'] . " " . $czasopisma[$i]['EISSN'] . "
"); printf("%.2f", $czasopisma[$i]['IC']); print("  
"); } function DrawArtykul1($icid) { global $ctrl_tab, $mysql_link; $q = mysql_query("SELECT `ARTICLE_KIND_LIST`.KIND_NAME FROM `IC_ARTICLE` INNER JOIN `ARTICLE_KIND_LIST` ON (`IC_ARTICLE`.ID_ARTICLE_KIND = `ARTICLE_KIND_LIST`.ID_ARTICLE_KIND) WHERE (`ARTICLE_KIND_LIST`.ID_LANG = 3) AND (`IC_ARTICLE`.ICID = $icid)"); $il = mysql_num_rows($q); $danejour = GetIDJournalByICID($icid); $ctrl_tab['JOUR'] = GetJournalInfo($danejour['ID_JOUR']); $ctrl_tab['ISSUE_INFO'] = GetIssueInfo($danejour['ID_ISSUE']); $ctrl_tab['VOL_NO'] = $ctrl_tab['ISSUE_INFO']['VOLUME']; $ctrl_tab['ARTIC'] = GetArtykul($icid, "Yes"); // session_registered print ("
"); print (""); if ($il > 0) { $qw = mysql_fetch_row($q); echo""; } print(""); $konto_pub = mysql_query("SELECT USERS.ID_PEOP FROM USERS INNER JOIN USER_GRUP ON (USERS.ID_PEOP = USER_GRUP.ID_USER) WHERE USER_GRUP.ID_GRUP = '3' AND USER_GRUP.`GRANT` = 'Yes' AND USERS.ID_JOUR='" . $danejour['ID_JOUR'] . "'"); $konto_p = mysql_num_rows($konto_pub); if ($konto_p > 0) { $logo_p = 'yes'; } else { $logo_p = 'no'; } $zapyt = mysql_query("SELECT * FROM ARTICLE_ID WHERE ID_ID='1' AND ICID='$icid' AND ID_VALUE!=''"); $ilepmid = mysql_num_rows($zapyt); IF ($ilepmid > 0) { $pmidek = 'yes'; } else { $pmidek = 'no'; } //echo "logo_p: $logo_p - pmidek: $pmidek
\n"; if (($logo_p == 'yes' AND $pmidek == 'yes') or ($logo_p == 'yes' and $pmidek == 'no')) { echo""; } else if ($logo_p == 'no' and $pmidek == 'no') { echo""; } else if ($logo_p == 'no' and $pmidek == 'yes') { echo""; } print(""); if ($ctrl_tab['ARTIC']['AFFILIATION']) { print(" "); } print(""); /* if ($ctrl_tab['ARTIC']['KEYWORDS']) { print(" "); } */ print(""); } print(""); if ($ctrl_tab['ARTIC']['FTX_URL']) { $JOUR_web_page = displayURL($ctrl_tab['ARTIC']['FTX_URL']); print(" "); } print (""); $sql = "SELECT KEYWORDS.KEYWORD, KEYWORDS.ID_KEYWORD, KEYWORDS.ILE_ARTYKULOW FROM ARTICLE_KEYWORD INNER JOIN KEYWORDS ON (ARTICLE_KEYWORD.ID_KEYWORD=KEYWORDS.ID_KEYWORD) WHERE (KEYWORDS.ID_LANG = 3) AND (ARTICLE_KEYWORD.ICID = $icid) and (KEYWORDS.KEYWORD != \"English Abstract\")"; $result = mysql_query($sql, $mysql_link) or die("$sql
\n" . mysql_error()); if (mysql_num_rows($result) > 0) { print(""); } if ($ctrl_tab['ARTIC']['PMID']) { $liczbarekordowPUBMED = czytaj_wyniki_PUBMED($ctrl_tab['ARTIC']['PMID']); print(""); // } print (""); print ("
"); DrawArtykul($icid, 0); print("
Article type: $qw[0]
IC™ Value: " . przelicz_artykul($icid, 1) . ""); print ("
"; $quryEXT = "SELECT * FROM `JOUR_EXTENDED_PANEL` WHERE (`JOUR_EXTENDED_PANEL`.ID_JOUR = " . $danejour['ID_JOUR'] . ") AND (`JOUR_EXTENDED_PANEL`.VALID_TO >= NOW()) AND (`JOUR_EXTENDED_PANEL`.EXTENDED = 1)"; $konto_ext = mysql_num_rows(mysql_query($quryEXT)); if ($konto_ext > 0) { print (""); } echo "
Abstract provided by Publisher"); $pliklogo = "/home/copernicus/docs/ICJournalMasterList/images/publishers/" . $danejour['ID_JOUR'] . ".jpg"; // echo "
$pliklogo
\n"; if (file_exists($pliklogo) == true) { print (" "); $query = "SELECT `CNTC_ADRS`.CONTACT FROM `PUBL` INNER JOIN JOUR ON (`PUBL`.ID_PUBL = JOUR.ID_PUBL) INNER JOIN `CNTC_ADRS` ON (`PUBL`.ID_ADRS = `CNTC_ADRS`.ID_ADRS) WHERE (JOUR.ID_JOUR = " . $danejour['ID_JOUR'] . ") AND (`CNTC_ADRS`.ID_CNTC = 3)"; $result22 = mysql_query($query, $mysql_link) or die("$query
\n" . mysql_error()); $URLpublishers = ""; while ($row22 = mysql_fetch_row($result22)) { $URLpublishers = checkURL($row22[0]); } if ($URLpublishers != "") print (""); print (""); if ($URLpublishers != "") print (""); print (" "); } print ("
Abstract provided by Author
Abstract provided by 
 
" . $ctrl_tab['ARTIC']['AFFILIATION'] . "
" . $ctrl_tab['ARTIC']['ABSTRACT_TEXT'] . "

Keywords:
".$ctrl_tab['ARTIC']['KEYWORDS']."

ICID " . $icid . "
"); if ($ctrl_tab['ARTIC']['PMID']) { print("PMID " . $ctrl_tab['ARTIC']['PMID'] . " - click here to show this article in PubMed database
 
FULL TEXT

\"\"

Related articles
  • in IndexCopernicus™
    "); session_unregister(wyniki_article); while ($row = mysql_fetch_row($result)) { $ilehitow = $row[2]; if ($ilehitow == '') { $ilehitow = 0; $checked = " "; } elseif ($ilehitow > 0) { $checked = " checked "; } print ("     " . stripslashes($row[0]) . " [$ilehitow related records]
    "); } print ("
    "); print ("
  • \"Related
  • in PubMed database [$liczbarekordowPUBMED related records]
    "); print ("
    "); print ("

  • \"\"


    "); if ($level == 2) { print ("
    "); } else { print (""); } print ("
      "); } /** * Short description. * * Detail description * @param * @since 1.0 * @access private * @return void * @update data time */ function czytaj_wyniki_PUBMED($PMID) { $file = "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&cmd=Display&dopt=pubmed_pubmed&from_uid=$PMID"; $uchwyt = fopen($file, "r"); //while (!feof ($uchwyt)) { while ($data = fgetcsv($uchwyt, 1000, "\n")) { $buffer = $data[0]; $szukaj = "All: "; $pos = strpos($buffer, $szukaj); if ($pos === false) { } else { $liczbarek = substr($buffer, $pos + 31); //echo "$liczbarek\n"; $szukaj2 = "<"; $pos2 = strpos($liczbarek, $szukaj2); if ($pos2 === false) { } else { $liczbarek = substr($liczbarek, 0, $pos2 + 4); break; } } } return $liczbarek; } // end func function GetLitery() { global $mysql_link; $query = "SELECT DISTINCT MID(TITLE,1,1) AS LITERA FROM TITL INNER JOIN JOUR_TITL ON TITL.ID_TITL=JOUR_TITL.ID_TITL INNER JOIN JOUR ON JOUR_TITL.ID_JOUR=JOUR.ID_JOUR INNER JOIN JOUR_ISSUE ON JOUR.ID_JOUR=JOUR_ISSUE.ID_JOUR WHERE TITLE NOT LIKE \"&%\" AND IS_MAIN=\"Yes\" having ASCII(LITERA)>32 ORDER BY LITERA"; // ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tab = array(); $i = 0; while ($ro = mysql_fetch_row($re)) { $tab[$i] = $ro[0]; $i++; } } return $tab; } function GetICYear() { global $mysql_link; $query = "SELECT MAX(`YEAR`) FROM `IC_YEAR`"; if ($re = mysql_query($query, $mysql_link)) { $ro = mysql_fetch_row($re); return $ro[0]; } } function GetListaCzasopism($od, $ile, $li) { // echo "Get: $od,$ile,$li
    "; global $mysql_link; if (strlen($li) > 1) { $li = "&"; } $year = GetICYear(); // 0 1 2 3 4 5 6 $query = "SELECT DISTINCT JOUR.ID_JOUR, TITLE, JOUR_TITL.ID_TITL, JOUR.PISSN, EISSN,TITLE_ABR,ISO,IC_AMOUNT FROM TITL INNER JOIN JOUR_TITL ON TITL.ID_TITL=JOUR_TITL.ID_TITL INNER JOIN JOUR ON JOUR_TITL.ID_JOUR=JOUR.ID_JOUR INNER JOIN CNTR ON JOUR.ID_CNTR=CNTR.ID_CNTR INNER JOIN JOUR_ISSUE ON JOUR.ID_JOUR=JOUR_ISSUE.ID_JOUR LEFT JOIN IC_YEAR on JOUR.ID_JOUR=IC_YEAR.ID_JOUR where CNTR.ID_LANG=3 AND IS_MAIN=\"Yes\" AND TITLE LIKE \"$li%\" AND (IC_YEAR.YEAR=$year or IC_YEAR.YEAR is null)"; //ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tab = array(); $i = 0; while ($ro = mysql_fetch_row($re)) { $tab[$i]['ID'] = $ro[0]; $tab[$i]['TITLE'] = $ro[1]; $tab[$i]['ID_TITL'] = $ro[2]; $tab[$i]['PISSN'] = $ro[3]; $tab[$i]['EISSN'] = $ro[4]; $tab[$i]['ABR'] = $ro[5]; $tab[$i]['ISO'] = $ro[6]; $tab[$i]['IC'] = $ro[7]; $i++; } } return $tab; } function GetListaTomow($id_jour) { global $mysql_link; // 0 1 3 $query = "SELECT DISTINCT ID_JOUR, `YEAR`, VOLUME FROM JOUR_ISSUE WHERE ID_JOUR=$id_jour ORDER BY VOLUME DESC"; //ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tab = array(); $i = 0; while ($ro = mysql_fetch_row($re)) { $tab[$i]['ID'] = $ro[0]; $tab[$i]['YEAR'] = $ro[1]; $tab[$i]['VOLUME'] = $ro[2]; $i++; } } return $tab; } function GetListaWydan($id_jour, $vol_no) { global $mysql_link; // 0 1 2 3 4 5 6 7 $query = "SELECT DISTINCT ID_JOUR, ID_ISSUE, COVER_ISSUE, ISSUE, `MONTH`,`DAY`,ISSUE_TYPE.ID_ISSUE_TYPE,ISSUE_TYPE_NAME,VOLUME,`YEAR` FROM ISSUE_TYPE INNER JOIN JOUR_ISSUE ON ISSUE_TYPE.ID_ISSUE_TYPE = JOUR_ISSUE.ID_ISSUE_TYPE WHERE ID_JOUR=$id_jour AND VOLUME=$vol_no AND ID_LANG=3 ORDER BY ISSUE_TYPE.SORT ASC, JOUR_ISSUE.SORT ASC,ISSUE asc"; //ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tab = array(); $i = 0; while ($ro = mysql_fetch_row($re)) { $tab[$i]['ID_JOUR'] = $ro[0]; $tab[$i]['ID_ISSUE'] = $ro[1]; $tab[$i]['COVER_ISSUE'] = $ro[2]; $tab[$i]['ISSUE'] = $ro[3]; $tab[$i]['MONTH'] = $ro[4]; $tab[$i]['DAY'] = $ro[5]; $tab[$i]['ISSUE_TYPE'] = $ro[6]; $tab[$i]['ISSUE_TYPE_NAME'] = $ro[7]; $tab[$i]['VOLUME'] = $ro[8]; $tab[$i]['YEAR'] = $ro[9]; $i++; } } return $tab; } function GetContent($icid) { global $mysql_link; // 0 1 2 $query = "SELECT TITLE FROM ARTICLE_CONTENT WHERE IS_MAIN='Yes' AND ICID=$icid"; // ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $ro = mysql_fetch_row($re); return $ro[0]; } return $tab; } function GetListaArtykulow($id_issue) { global $mysql_link; // 0 1 2 3 4 $query = "SELECT ICID, PG_PREFIX,PG_FROM,PG_TO,ALL_AUTHORS FROM IC_ARTICLE WHERE ID_ISSUE=$id_issue and READY=\"Yes\" ORDER BY PG_PREFIX,PG_FROM ASC"; //ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tab = array(); $i = 0; while ($ro = mysql_fetch_row($re)) { $tab[$i]['ICID'] = $ro[0]; $tab[$i]['TITLE'] = GetContent($ro[0]); $tab[$i]['AUTHORS'] = GetAuthorsArticle($ro[0]); $tab[$i]['PG_P'] = $ro[1]; $tab[$i]['PG_F'] = $ro[2]; $tab[$i]['PG_T'] = $ro[3]; $tab[$i]['ALL_AUTHORS'] = $ro[4]; $i++; } } return $tab; } function CountLitery($litera) { global $mysql_link; $query = "SELECT DISTINCT ID_JOUR from JOUR_ISSUE"; if ($re = mysql_query($query, $mysql_link)) { $tmp = ""; while ($ro = mysql_fetch_row($re)) { $tmp.=$ro[0] . ","; } $tmp{strlen($tmp) - 1} = " "; } $query = "SELECT Count(*) , MID(TITL.TITLE,1,1) AS LITERA FROM TITL INNER JOIN JOUR_TITL ON TITL.ID_TITL=JOUR_TITL.ID_TITL INNER JOIN JOUR ON JOUR_TITL.ID_JOUR=JOUR.ID_JOUR WHERE IS_MAIN=\"Yes\" AND JOUR.ID_JOUR in ($tmp) GROUP BY 2 HAVING LITERA=\"$litera\""; // ECHO "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $ro = mysql_fetch_row($re); return $ro[0]; } } function GetAffiliation($icid) { global $mysql_link; $query = "SELECT DISTINCT AFFILIATION.AFFILIATION FROM AFFILIATION inner join PEOP_AFFI on AFFILIATION.ID_AFFI=PEOP_AFFI.ID_AFFI INNER JOIN ARTICLE_PEOP ON PEOP_AFFI.ID_ARTICLE_PEOP=ARTICLE_PEOP.ID_ARTICLE_PEOP WHERE ICID=$icid ORDER BY NO_OF_AUTHOR ASC "; // echo "q: $query
    "; if ($re = mysql_query($query, $mysql_link)) { $tmp = ''; while ($ro = mysql_fetch_row($re)) { $tmp.=$ro[0] . "
    "; } return $tmp; //echo "affi: $tmp
    "; } } function GetKeywords($icid, $lang) { global $mysql_link; $query = "SELECT KEYWORD FROM KEYWORDS INNER JOIN ARTICLE_KEYWORD ON ARTICLE_KEYWORD.ID_KEYWORD=KEYWORDS.ID_KEYWORD WHERE ICID=$icid and ID_LANG=$lang ORDER BY SORT"; //echo "$query
    "; if ($re = mysql_query($query, $mysql_link)) { $tmp = ''; if (mysql_num_rows($re)) { while ($ro = mysql_fetch_row($re)) { $tmp.=$ro[0] . ", "; } $tmp{strlen($tmp) - 2} = " "; } return $tmp; } } //echo "Nowe Streszczennia"; DrawHeader($level); session_register("ctrl_tab", "init"); include("stopka.php"); reset($_GET); $nr = 0; while (list ($key, $val) = each($_GET)) { if ($nr == 0) { $daneza = "?"; } $daneza .= "$key=$val&"; $nr++; } ?>