| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/ilink_2.0/ |
Upload File : |
<!DOCTYPE html>
<!--
*********************************
Project: Internet Link
File :
Version: 2021-01-13
Author : M. Kukic
Note : PHP v5 + MySQL + Apache
**********************************
-->
<html>
<style>
table, th, td {
border: 1px solid black;
}
th, td {
padding: 4px;
text-align: center;
}
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<link rel='shortcut icon' type='image/png' href='favicon.ico'/>
<meta http-equiv="refresh" content="30">
<title>ILink</title>
</head>
<body>
<?php
//
$t_sel = $_GET["sel"];
$t_txt = $_GET["txt"];
$t_cik = $_GET["cik"];
//
//echo "<script type='text/javascript'>location.reload(true);</script>";
//
include "config.php";
//
echo"<div style='width:".$resw."px; word-wrap:break-word;'>";
echo "<fieldset>";
echo "<legend><h3>iLink - Play ".$u_ime."</h3></legend>";
echo "<table border=\"0\">";
echo "</fieldset>";
//
//
echo "<form action='play-adm.php'>";
include "form-sel.php";
//
if ($phpv==5){
include "sel-ord5.php";
}else{
include "sel-ord7.php";
}
//
$ukp=$numofrows;
echo " Linkova ".$u_dbp.": ".$ukp;
echo "<br><br>";
echo "<table border='1'>";
echo "<tr>";
echo "<th>ID</th>";
echo "<th>Date-Time</th>";
echo "<th>Link</th>";
//echo "<th>N1</th>";
//echo "<th>N2</th>";
//echo "<th>N3</th>";
echo "<th>Vote</th>";
echo "<th>Hide</th>";
echo "<th>Note_S</th>";
echo "<th>Note_M</th>";
echo "<th>Note_L</th>";
echo "<th>Note_V</th>";
//echo "<th>PLAY</th>";
//echo "<th>UPD</th>";
//echo "<th>DEL</th>";
//echo "<th>HID</th>";
echo "</tr>";
$poc=$t_cik*$kor;
$krj=$poc+$kor;
for ($i = 0; $i < $poc; $i++) {
if ($phpv==5){
$row = mysql_fetch_array($result);
}else{
$row = mysqli_fetch_array($result);
}
}
for ($i = $poc; $i < $krj; $i++) {
if ($phpv==5){
$row = mysql_fetch_array($result);
}else{
$row = mysqli_fetch_array($result);
}
$id=$row['id'];
$dt=$row['dt'];
$link=$row['link'];
//$n1=$row['n1'];
//$n2=$row['n2'];
//$n3=$row['n3'];
$vot=$row['vot'];
$hid=$row['hid'];
$notes=$row['notes'];
$notem=$row['notem'];
$notel=$row['notel'];
$notev=$row['notev'];
//
echo "<tr>";
echo "<td>".$id."</td>";
echo "<td>".$dt."</td>";
echo "<td>".substr($link,$sblkp,$sblks)."</td>";
//echo "<td>".substr($link,6,24)."</td>";
//echo "<td>".$n1."</td>";
//echo "<td>".$n2."</td>";
//echo "<td>".$n3."</td>";
echo "<td>".$vot."</td>";
echo "<td>".$hid."</td>";
echo "<td>".$notes."</td>";
echo "<td>".$notem."</td>";
echo "<td>".$notel."</td>";
echo "<td>".$notev."</td>";
echo "<td><a href=".$link."><img src='img/play.png'></a></td>";
echo "<td><a href=link-upd.php?id=".$id."&st=upd><img src='img/res.png'></a></td>";
echo "<td><a href=link-upd.php?id=".$id."&st=del><img src='img/del.png'></a></td>";
echo "<td><a href=hid-tog.php?id=".$id."><img src='img/shr.png'></a></td>";
echo "<td><a href=link-upd.php?id=0&st=ins><img src='img/plus.png'></a></td>";
echo "</tr>";
}
echo "</table>";
echo "<br>";
$t_cik=$t_cik+1;
echo "<hr>";
echo "<a href='javascript:history.go(-1)'><img src='img/back.png'></a><a href='index.html'><img src='img/hom.png'><a href='play-adm.php?cik=".$t_cik."&sel=".$t_sel."&txt=".$t_txt."'><img src='img/fwd.png'></a>";
?>
</div>
</body>
</html>