2018-01-03 21:02:40 +01:00
|
|
|
<?php
|
2020-01-15 02:50:23 +01:00
|
|
|
require_once (__DIR__ . '/../internals/website.php');
|
|
|
|
|
|
|
|
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
|
|
|
|
/** @var URLRoute $ROUTE */ global $ROUTE;
|
|
|
|
/** @var Website $SITE */ global $SITE;
|
|
|
|
|
|
|
|
global $FRAGMENT_PARAM;
|
|
|
|
/** @var array $parameter */
|
|
|
|
$parameter = $FRAGMENT_PARAM;
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php
|
2020-01-16 11:48:27 +01:00
|
|
|
$allprograms = $SITE->modules->Programs()->listAllNewestFirst();
|
2018-01-03 21:02:40 +01:00
|
|
|
?>
|
|
|
|
|
2018-01-26 19:19:56 +01:00
|
|
|
<div class="index_pnl_base">
|
2018-01-03 21:02:40 +01:00
|
|
|
|
2018-01-26 19:19:56 +01:00
|
|
|
<div class="index_pnl_header">
|
2018-01-20 03:05:15 +01:00
|
|
|
<a href="/programs">Newly added software</a>
|
2018-01-03 21:02:40 +01:00
|
|
|
</div>
|
2018-01-26 19:19:56 +01:00
|
|
|
<div class="index_pnl_content programs_pnl_content">
|
2018-01-03 21:02:40 +01:00
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
for ($i=0; $i<6; $i++)
|
|
|
|
{
|
|
|
|
$prog = $allprograms[$i];
|
|
|
|
|
|
|
|
echo '<a href="' . $prog['url'] . '" class="programs_pnl_entry">' . "\n";
|
|
|
|
echo ' <div class="programs_pnl_img">' . "\n";
|
2018-01-27 14:21:34 +01:00
|
|
|
echo ' <img src="' . $prog['preview_url'] . '" alt="Thumbnail ' . $prog['name'] . ' " />' . "\n";
|
2018-01-03 21:02:40 +01:00
|
|
|
echo ' </div>' . "\n";
|
|
|
|
echo ' <div class="programs_pnl_center">' . "\n";
|
|
|
|
echo htmlspecialchars($prog['name']) . "\n";
|
|
|
|
echo ' </div>' . "\n";
|
|
|
|
echo ' <div class="programs_pnl_bottom">' . "\n";
|
|
|
|
echo ' <div class="programs_pnl_bottom_1">' . "\n";
|
|
|
|
echo ' <span class="programs_pnl_bottom_sub_top">Date</span>' . "\n";
|
|
|
|
echo ' <span class="programs_pnl_bottom_sub_bot">' . $prog['add_date'] . '</span>' . "\n";
|
|
|
|
echo ' </div>' . "\n";
|
|
|
|
echo ' <div class="programs_pnl_bottom_2">' . "\n";
|
|
|
|
echo ' <span class="programs_pnl_bottom_sub_top">Language</span>' . "\n";
|
|
|
|
echo ' <span class="programs_pnl_bottom_sub_bot">' . $prog['prog_language'] . '</span>' . "\n";
|
|
|
|
echo ' </div>' . "\n";
|
|
|
|
echo ' </div>' . "\n";
|
|
|
|
echo '</a>' . "\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|