include("../../TRINC/top.php"); ?>
|
|
|
|
|
|
Sıra No |
|
Ad Soyad |
|
Kurum |
Borç-Kat. | \n";?>
|
E-posta |
|
$w = " WHERE (UYE_DURUM = 1)";
if ($_SESSION["tad_user_type"] == 2) // admin ise
{
include ("SYS_ReadTemp.php");
global $TEMP;
$w = " WHERE (UYE_DURUM = 1) OR (UYE_DURUM = 0)";
}
$sql = "SELECT * FROM tad_uyeler LEFT JOIN tad_unvanlar ON tad_unvanlar.UNVAN_ID = tad_uyeler.UYE_UNVAN_NO ".$w." ORDER BY UYE_DURUM,UYE_AD,UYE_SOYAD";
$Rs = mysql_query($sql,$conn);
$idx = 0;
while ($Rec = mysql_fetch_array($Rs))
{
$idx++;
$id = $Rec["UYE_ID"];
$unvan = $Rec["UNV_AD"];
$ad = $Rec["UYE_AD"]." ".$Rec["UYE_SOYAD"];
$kurum = $Rec["UYE_KURUM"];
$eposta = $Rec["UYE_EPOSTA"];
$aktif = $Rec["UYE_AKTIF"];
$durum = $Rec["UYE_DURUM"];
$aidat = $Rec["UYE_AIDAT"];
if ($_SESSION["tad_user_type"] == 2) // admin ise
{
if ($aidat <= $TEMP['CONFIG']['BORC1']) $bFILE = 1;
elseif ($aidat <= $TEMP['CONFIG']['BORC2']) $bFILE = 2;
elseif ($aidat > $TEMP['CONFIG']['BORC4']) $bFILE = 4;
else $bFILE = 3;
}
if ($aktif == 2)
{
$unvan = "".$Rec["UNV_AD"]."";
$ad = "".$Rec["UYE_AD"]." ".$Rec["UYE_SOYAD"]."";
$gorev = "".$Rec["UYE_GOREV"]."";
$eposta = "".$Rec["UYE_EPOSTA"]."";
}
$stil = ($durum == 1) ? "T12555" : "T12DE7C7C";
if ($bgc == "#ededed") { $bgc = "white"; $btn = "btn_detay_w.gif"; }
else { $bgc = "#ededed"; $btn = "btn_detay_g.gif"; }
if (($_SESSION["tad_user_type"] == 2) or ($aktif != 2))
print
"
".sprintf("%03s", $idx)." | \n".
# | \n".
# $unvan |
" |
$ad |
|
$kurum |
| ".(($_SESSION['tad_user_type']==2)?"
$aidat |
- $bFILE |
|
| ":"")."
|
|
\n";
}
mysql_free_result($Rs);
print
" \n";
if ($_SESSION["tad_user_type"] == 2)
print
"
".
" ".
"".
" ".
"Aidat Durum Raporu".
"\n";
?>
|
|
|
|
|
|
|
|