| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Windows/Temp/ |
Upload File : |
<!-- ###### -->
<h2>Ανακοίνωση</h2>
<style>
.timetable{
border-collapse:collapse;
border: solid 1px;
}
.timetable tr{
}
.timetable tr td{
width: 17%;
text-align: center;
border: solid 1px;
}
.timetable tr th{
width: 17%;
text-align: center;
border: solid 1px;
font-weight: bold;
}
</style>
<?php
global $mCtrl;
$aid = Utils::vGet("id", TRUE, "");
if (strlen($aid) == 0){
$mCtrl->redirectTo("/announcements.php");
}
$curNew = DBUtils::getDBObject("announcements", "Id", "{$aid}");
if ($curNew == NULL){
$mCtrl->redirectTo("/announcements.php");
}
$aDate = Utils::dateStr(strtotime($curNew->annDate), 1);
$titleField = "Title_" . $this->CurrentLanguage;
$bodyField = "Body_" . $this->CurrentLanguage;
$aTitle = $curNew->$titleField;
$aBody = $curNew->$bodyField;
$mCtrl->replaceStrings($aDate);
$mCtrl->replaceStrings($aTitle);
$mCtrl->replaceStrings($aBody);
if ($aDate == "@[" . "ANNOUNCEMENT_" . $aid . "_DATE" . "]"){
$mCtrl->redirectTo();
}
?>
<div style="text-align: left; font-weight: bold; font-size: 1.1em">
<?php echo $aDate; ?>
</div>
<div style="font-weight: bold; font-size: 1.1em">
<?php echo $aTitle; ?>
</div>
<p style="font-weight: normal; font-size: 1em">
<?php echo $aBody; ?>
</p>
<div class="newsitem" style="text-align: right; margin-top: 20px">
<a href="/announcements.php">όλες οι ανακοινώσεις ...</a>
</div>