include ('bimdb.php'); $lang=2; $content=new bimdb(3,'tangram',$lang); $content->filterdate=false; $content->sortorder='folge'; $content->selectall (); $ct=new bimdb(8,'tangram',1); $ct->filterdate=false; $ct->sortorder='id'; $ct->selectone (2); $ct->data(); ?>
![]()
|
Privacy Information |
|
|
$ct->text('txt1_'); ?>
while ($content->data())
{
if ($content->myrow->fields["file1_".$lang]<>'')
{
$download_filename=$content->myrow->fields["file1_".$lang];
$download_description=$content->myrow->fields["filetxt1_".$lang];
if ($download_description=='') { $download_description=$download_filename; }
$fileNameParts = explode(".", $download_filename);
$fileExtension = strtolower(end($fileNameParts));
$icon='';
$knownextensions=array ('doc','gif','jpg','pdf','zip');
if (in_array ($fileExtension, $knownextensions)) { $icon=$fileExtension; }
echo '
'; } $content->next(); } ?> |