indexteki giriş kısmınıda gönderim yararı olur belki
<?
if (@$_SESSION["durum"] == "girdi"){
if (@$_SESSION["uyeid"] == "1") {
echo '<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5">
<font face="Verdana" style="font-size: 8pt">Kontrol Paneli</font></td>
</tr>
<tr>
<td height="5">
<ul>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyebilgi">Üyelik Bilgilerim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=grup">Ürünler</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=sepet">Alışveriş Sepetim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=kategori">Kategori Ekle</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=urunekle">Ürün Ekle</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyeol">Bayi Başvuruları</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="logout.php">Güvenli Çıkış</a></font></li>
</ul>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>';
} else {
echo '<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5">
<font face="Verdana" style="font-size: 8pt">Hoşgeldiniz
;</font></td>
</tr>
<tr>
<td height="5">
<ul>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyebilgi">Üyelik Bilgilerim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=grup">Ürünler</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=sepet">Alışveriş Sepetim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="logout.php">Güvenli Çıkış</a></font></li>
</ul>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>';
}
} else {
echo '<form action="login.php" method="post"><tr>
<td height="5"></td>
</tr>
<tr>
<td height="14">
<font face="Verdana" style="font-size: 8pt">e-mail :</font></td>
</tr>
<tr>
<td height="29">
<input name="mail" style="float: left; border: 1px solid #C0C0C0" size="20"></td>
</tr>
<tr>
<td height="19">
<font face="Verdana" style="font-size: 8pt">şifre:</font></td>
</tr>
<tr>
<td height="29">
<input type="password" name="sifre" style="float: left; border: 1px solid #C0C0C0" size="20"></td>
</tr>
<tr>
<td>
<input type="submit" value="giriş" style="float: right"></td>
</tr>
<!--<tr>
<td height="13">
<font face="Verdana" style="font-size: 8pt"><a href="?islem=uyeol">Üye Olmak İstiyorum</a></font></td>
</tr>-->
<tr>
<td height="13">
<font face="Verdana" style="font-size: 8pt"><a href="?islem=bizeulasin">şifremi unuttum</a></font></td>
</tr></form> <tr>
<td height="5"></td>
</tr>';
}
?>
<?
if (@$_SESSION["durum"] == "girdi"){
if (@$_SESSION["uyeid"] == "1") {
echo '<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5">
<font face="Verdana" style="font-size: 8pt">Kontrol Paneli</font></td>
</tr>
<tr>
<td height="5">
<ul>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyebilgi">Üyelik Bilgilerim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=grup">Ürünler</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=sepet">Alışveriş Sepetim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=kategori">Kategori Ekle</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=urunekle">Ürün Ekle</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyeol">Bayi Başvuruları</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="logout.php">Güvenli Çıkış</a></font></li>
</ul>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>';
} else {
echo '<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5">
<font face="Verdana" style="font-size: 8pt">Hoşgeldiniz
;</font></td>
</tr>
<tr>
<td height="5">
<ul>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=uyebilgi">Üyelik Bilgilerim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=grup">Ürünler</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="?islem=sepet">Alışveriş Sepetim</a></font></li>
<li><font face="Verdana" style="font-size: 8pt">
<a href="logout.php">Güvenli Çıkış</a></font></li>
</ul>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>';
}
} else {
echo '<form action="login.php" method="post"><tr>
<td height="5"></td>
</tr>
<tr>
<td height="14">
<font face="Verdana" style="font-size: 8pt">e-mail :</font></td>
</tr>
<tr>
<td height="29">
<input name="mail" style="float: left; border: 1px solid #C0C0C0" size="20"></td>
</tr>
<tr>
<td height="19">
<font face="Verdana" style="font-size: 8pt">şifre:</font></td>
</tr>
<tr>
<td height="29">
<input type="password" name="sifre" style="float: left; border: 1px solid #C0C0C0" size="20"></td>
</tr>
<tr>
<td>
<input type="submit" value="giriş" style="float: right"></td>
</tr>
<!--<tr>
<td height="13">
<font face="Verdana" style="font-size: 8pt"><a href="?islem=uyeol">Üye Olmak İstiyorum</a></font></td>
</tr>-->
<tr>
<td height="13">
<font face="Verdana" style="font-size: 8pt"><a href="?islem=bizeulasin">şifremi unuttum</a></font></td>
</tr></form> <tr>
<td height="5"></td>
</tr>';
}
?>