Citata:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php header_info();?></head>
<body>
<div id="container">
<div id="header">
<div id="url">
<?php include_once("paneles/vartotojas.php" echo $text;?>
</div>
</div>
<div class="blockmenu"><ul>
<?php
$sql1 = mysql_query1("SELECT SQL_CACHE * FROM `" . LENTELES_PRIESAGA . "page` WHERE `show`='Y' ORDER BY `place` ASC LIMIT 9"
$text = '';
foreach ($sql1 as $row1) {
if (teises($_SESSION['level'],$row1['teises'])) {
$text .= '<li><a '.($_GET['id']==$row1['id']?'class="active"':''.' href="?id,' . (int)$row1['id'] . '">' . $row1['pavadinimas'] . '</a></li> ';
}
}
echo $text;
?>
</ul></div>
<div class="sidebar">
<?php include ("priedai/kairespaneles.php" ?>
</div>
<!-- end sidebar -->
<div class="right">
<?php include ("priedai/desinespaneles.php" ?>
</div>
<!-- end right -->
<div class="content">
<?php
if (isset($strError) && !empty($strError)) {
klaida("Klaida", $strError);
}
include ($page . ".php"
?>
</div><!-- end content -->
<div id="footer">
<p class="copy"><?php echo $conf['Copyright'];?></p>
<!-- please keep the following link intact -->
<p class="link">Design by <a href="http://www.webmatter.de" title="Webmatter - Webdesign und Übersetzungen">webmatter.de</a> Redaguota: <a href="http://www.themes-lt.eu" title="themes-lt.eu - nemokamu dizainu ivairove">Themes-lt.eu</a></p>
</div>
</div>
</body>
</html>
Citata:
function lentele_r($pavadinimas, $tekstas, $label = false) {
lentele_l($pavadinimas, $tekstas);
}
function lentele_l($pavadinimas, $tekstas, $label = false) {
echo "<div class=\"vidus\"><div class=\"title\">$pavadinimas</div><div class=\"text\">
$tekstas</div></div>";
}
function lentele_r($pavadinimas, $tekstas, $label = false) {
lentele_l($pavadinimas, $tekstas);
}
function lentele_l($pavadinimas, $tekstas, $label = false) {
echo "<div class=\"vidus\"><div class=\"title\">$pavadinimas</div><div class=\"text\">
$tekstas</div></div>";
}