One Hat Cyber Team
Your IP :
216.73.216.115
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
/
vo
/
umj
/
View File Name :
diff
--- getit-ori 2018-02-20 11:09:47.000000000 +0200 +++ getit 2018-06-29 11:06:31.000000000 +0300 @@ -7,10 +7,12 @@ mysqli_query($m, "SET CHARACTER SET utf8"); mysqli_query($m, "SET SESSION collation_connection = 'utf8_unicode_ci'"); -$sql = "select * from articles where article_status='N' and article_print='N'"; -//$sql = $sql . " and article_id > 11050"; //<------------------------------------------------ -$sql = $sql . " and article_managing_editor is null"; //<------------------------------------------------ +$paperType = "N"; // N - new, R - in review <----------------------------------------------- +$sql = "select * from articles where article_status='$paperType' and article_print='N'"; +$sql = $sql . " and article_id = 9096"; //<------------------------------------------------ + +// echo $sql; $res = mysqli_query($m, $sql); @@ -19,7 +21,6 @@ while ($row = mysqli_fetch_assoc($res)) { -// echo $row['article_id'] . "\n"; // print_r($row); // Create article @@ -83,31 +84,31 @@ // Second author contains all names -// $author = $out->createElement('author'); -// $author->setAttribute('primary_contact','false'); -// $firstname = $out->createElement('firstname'); -// $firstname->setAttribute('locale','uk_UA'); -// $firstname->nodeValue = ''; //<----------------------------------------- -// $author->appendChild($firstname); -// $firstname = $out->createElement('firstname'); -// $firstname->setAttribute('locale','en_US'); -// $firstname->nodeValue = ''; //<----------------------------------------- -// $author->appendChild($firstname); -// -// $lastname = $out->createElement('lastname'); -// $lastname->setAttribute('locale','uk_UA'); -// $lastname->nodeValue = $row['article_author_ua']; //<----------------------------------------- -// $author->appendChild($lastname); -// $lastname = $out->createElement('lastname'); -// $lastname->setAttribute('locale','en_US'); -// $lastname->nodeValue = $row['article_author_ua']; //<----------------------------------------- -// $author->appendChild($lastname); -// $authors->appendChild($author); -// -// $email = $out->createElement('email'); -// $email->nodeValue = 'nobody@nowhere.net'; -// $author->appendChild($email); -// $authors->appendChild($author); + $author = $out->createElement('author'); + $author->setAttribute('primary_contact','false'); + $firstname = $out->createElement('firstname'); + $firstname->setAttribute('locale','uk_UA'); + $firstname->nodeValue = ''; //<----------------------------------------- + $author->appendChild($firstname); + $firstname = $out->createElement('firstname'); + $firstname->setAttribute('locale','en_US'); + $firstname->nodeValue = ''; //<----------------------------------------- + $author->appendChild($firstname); + + $lastname = $out->createElement('lastname'); + $lastname->setAttribute('locale','uk_UA'); + $lastname->nodeValue = $row['article_author_ua']; //<----------------------------------------- + $author->appendChild($lastname); + $lastname = $out->createElement('lastname'); + $lastname->setAttribute('locale','en_US'); + $lastname->nodeValue = $row['article_author_ua']; //<----------------------------------------- + $author->appendChild($lastname); + $authors->appendChild($author); + + $email = $out->createElement('email'); + $email->nodeValue = 'nobody@nowhere.net'; + $author->appendChild($email); + $authors->appendChild($author); $article->appendChild($authors); @@ -170,7 +171,13 @@ // Id $note = $out->createElement('note'); $note->setAttribute('title', 'Реєстраційний №'); - $note->nodeValue = $date . '-' . $row['article_id']; + $paperId = $row['article_id']; + $link = '<a href="http://umj.imath.kiev.ua/admin-editor/articles/index.php?type=1'; + $link .= '&item=' . $paperType . '&id=' . $paperId . '">'; + $link .= $date . '-' . $paperId; + $link .= '</a>'; +//echo $link; die; + $note->nodeValue = urlencode($link); $article->appendChild($note); // Selected by author @@ -183,7 +190,7 @@ // Author comments $note = $out->createElement('note'); - $note->setAttribute('title', 'Author comments'); + $note->setAttribute('title', 'Коментарі автора'); $note->nodeValue = $row['article_comments']; if($row['article_comments']){ $article->appendChild($note);