Viewing File: /people/testlab/www/testlab.com.pl/lang.php
<?
$ldb = new DBConnect();
echo "<div id='lang_div'><div id='lang_left_div'></div><div id='lang_right_div'></div>";
$sql = "select * from `jezyki` where aktywny=1 order by id;";
$result = $ldb->query($sql);
echo $languages['wybierz_jezyk']." ";
while ($lrow=$ldb->fetchrow())
{
echo "<a href='index.php?language=".$lrow['id']."' title='".$lrow['nazwa']."'>";
echo $lrow['id'] == 1 ? 'PL' : 'EN';
echo "</a> ";
}
echo "</div>";
?>
Back to Directory
File Manager