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
/
sam
/
public_html
/
go
/
View File Name :
adminnews.php
<? require('header.inc.php'); require_once('header.php'); require_once('auth.inc.php'); $_thumb_width = 55; $_thumb_height = 32; $_img_width = "90%"; $_img_height = "160"; $q = mysql_query("select * from ns order by date"); echo "<h1>".enruua("Edit","Редактирование","Редагування")."</h1>"; echo "<table>\n"; echo "<th>\n"; echo enruua("No.","№","№"); echo "</th>\n"; echo "<th>\n"; echo enruua("Date","Дата","Дата"); echo "</th>\n"; echo "<th>\n"; echo enruua('Title',"Название","Назва"); echo "</th>\n"; while ($n = mysql_fetch_array($q)) { echo "<tr>\n"; echo "<td>\n"; echo $n['id']; echo "</td>\n"; echo "<td>\n"; echo $n['date']; echo "</td>\n"; echo "<td>\n"; echo $n['title_'.$lang]; echo "</td>\n"; echo "<td>\n"; echo "<form action=\"adminnews_edit.php\" method=\"post\">\n"; echo "<input type=\"hidden\" name=\"lang\" value=".$lang .">"; echo "<input type=\"hidden\" name=\"id\" value=\"".$n['id']."\">\n"; echo "<input type=\"submit\" value=\"".enruua("Edit","Редактировать","Редагувати")."\">\n"; echo "</form>\n"; echo "</td>\n"; echo "<td>\n"; echo "<form action=\"adminnews_delete.php\" method=\"post\" onsubmit=\"return confirm('".enruua("Are you sure","Вы уверены","Ви впевнені")."?"."')\">\n"; echo "<input type=\"hidden\" name=\"lang\" value=".$lang .">"; echo "<input type=\"hidden\" name=\"id\" value=\"".$n['id']."\">\n"; echo "<input type=\"submit\" value=\"".enruua("Delete","Удалить","Видалити")."\">\n"; echo "</form>\n"; echo "</td>\n"; echo "</tr>\n"; } echo "</table>\n"; echo "<form action=\"adminnews_create.php\" method=\"post\">\n"; echo "<input type=\"hidden\" name=\"lang\" value=".$lang .">"; echo "<input type=\"submit\" value=\"".enruua("Create new article","Создать новую статью","Створити нову статтю")."\">\n"; echo "</form>\n"; require_once('footer.php'); ?>