Просмотр файла waplend/gl.php

Размер файла: 723B
<?php
echo "<div class='contur'>
        <div class='header'>
<div style='text-align: left'>";

$qw = mysql_fetch_array(mysql_query("SELECT * FROM `administration` where `iduser`='".$_SESSION['iduser']."'"));

if (mysql_affected_rows()=="1")
{$r="ok";}
if ($qw['type']=="999" and $r=="ok")
{
        echo "<div class='header'>&#8594; <a href='adpanel.php'>Администраторский раздел</a></div>";
}
$qwer = mysql_query("SELECT * FROM `menu` order by polozhenie");
while($mne = mysql_fetch_array($qwer))
{
echo "&#8594; <a href='".$mne['link']."'>".$mne['namelink']."</a>";

if ($mne['counter']!='')
{
include "$mne[counter]";
}

echo "<br/>\n";
}
echo "</div></div></div>";
?>