File.html Kodu bu
<tr>
<td width="20%" valign="top">
<?php include("menu.html"); ?>
</td>
<td width="80%" valign="top">
<div class="filebox">
<div class="fileboxheader">
<a href="<?php echo $siteurl;?>" class="contentheaderlink"><?php echo $sitename; ?></a> > <a href="<?php echo $categoryurl; ?>" class="contentheaderlink"><?php echo $categoryname; ?></a> > <?php echo $fileTitle; ?>
</div>
<div class="boxestext">
<center>
<center>
<a target="_blank" href="/mirc-sayfasi.html"> <img border="0" src="images/force.mirc.gif" width="470" height="60" alt="odalarımızda daha kullanışlı program ile sohbet imkani Mirc programini yuklemek icin tiklayin"></a></center> <!-- Load File -->
<?php
if ($filewidth>$maxfilewidth || $fileheight>$maxfileheight) {
?>
<a href="#" onClick=window.open("<?php echo $siteurl; ?>/file.php?f=<?php echo $fileId; ?>&a=popup","","width=<?php echo $filewidth; ?>,height=<?php echo $fileheight; ?>,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")>Yeni Pencerede Ac </a>
<?php
} else {
displayfile($filename,$filewidth,$fileheight,$filetype,$filelocation,$customcode);
}
?>
<!-- End Load File -->
</center>
</div>
</div>
<div class="filebox">
<div class="fileboxheader">
Sayfa Bilgisi <?php if ($userGroup == '2') { ?>[<a href="<?php echo $siteurl;?>/admin/index.php?action=editgame&gameid=<?php echo $fileId; ?>" class="contentheaderlink">Sayfayi Düzenle </a>]<?php } ?>
</div>
<table border="0" width="100%" class="boxestext">
<tr>
<td width="50%" valign="top">
<b>Baslik:</b> <?php echo $fileTitle; ?><br />
<b>Aciklama:</b> <?php echo $filedescription; ?><br />
<b>Ziyaret:</b> <?php echo number_format($timesplayed); ?> Kere<br>
<img border="0" src="images/pop_uye.gif" alt="Üye Hit Toplam5" width="11" height="10">
<?php echo $fileTitle; ?> Odasinda Sohbet Eden Online :<?php echo $total_online; ?> KiÅŸi.</font>
<?php if ($memberlogin == '0') { ?><br />
<?php if ($members_online_number > '0') { ?>
Üyeler: <?php echo $members_online_list; ?>
<?php } ?>
<?php } ?>
<?php if ($mostpopularlist == '1') { ?>
<?php } ?>
</td>
<td width="100%" valign="top">
<b>Rating:</b> <img src="<?php echo $siteurl; ?>/images/stars<?php echo $filerating; ?>.gif" border="0" width="67" height="15" alt="<?php echo $filerating; ?>" title="<?php echo $filerating; ?>"><br />
<?php if ($ratewho == '2' && $userStatus == '1' || $ratewho == '1') { ?>
<a href="#" onClick=window.open("<?php echo $siteurl; ?>/file.php?f=<?php echo $fileId; ?>&action=rate","","width=200,height=100,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")><b>Rating</b></a><br />
<?php } ?>
<?php if ($userStatus == '1') { ?>
<a href="<?php echo $siteurl; ?>/file.php?f=<?php echo $fileId; ?>&action=makefavourite" target="_self">Favori</a> Yap <br />
<?php } ?>
<?php if ($tellfriend == '1') { ?>
<a href="#" onClick=window.open("<?php echo $siteurl; ?>/file.php?f=<?php echo $fileId; ?>&action=tellfriend","","width=200,height=250,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")>Arkadasina Söyle </a>
<?php } ?>
</td>
</tr>
</table>
</div>
<?php if($commentson == '1') { ?>
<div class="filebox">
<div class="fileboxheader">
Yorumlar: <?php if ($userGroup == '2') { ?>[<a href="<?php echo $siteurl;?>/admin/index.php?action=comments&fid=<?php echo $fileId; ?>" class="contentheaderlink">Yorumlari Düzenle </a>]<?php } ?>
</div>
<div class="boxestext">
<?php displaycomments($fileId); ?>
<?php if ($commentwho == '2' && $userStatus == '1' || $commentwho == '1') { ?>
<script language='javascript'>
<!--
function addsmilie(code)
{
document.form.message.value += code;
//return true;
}
//-->
</script>
<br />
Yorum Yaz :
<br />
<a href="javascript:addsmilie(' :) ')"><img src="<?php echo $siteurl; ?>/images/happy.gif" border=0 alt="Happy" title="Happy"></a> <a href="javascript:addsmilie(' :( ')"><img src="<?php echo $siteurl; ?>/images/sad.gif" border=0 alt="Sad" title="Sad"></a> <a href="javascript:addsmilie(' ;) ')"><img src="<?php echo $siteurl; ?>/images/wink.gif" border=0 alt="Wink" title="Wink"></a> <a href="javascript:addsmilie(' :@: ')"><img src="<?php echo $siteurl; ?>/images/@.gif" border=0 alt="@" title="@"></a> <a href="javascript:addsmilie(' :8 ')"><img src="<?php echo $siteurl; ?>/images/cool.gif" border=0 alt="Cool" title="Cool"></a> <a href="javascript:addsmilie(' :wave: ')"><img src="<?php echo $siteurl; ?>/images/wave.gif" border=0 alt="Wave" title="Wave"></a> <a href="javascript:addsmilie(' :think: ')"><img src="<?php echo $siteurl; ?>/images/think.gif" border=0 alt="Hmm..." title="Hmm..."></a> <a href="javascript:addsmilie(' :clap: ')"><img src="<?php echo $siteurl; ?>/images/clap.gif" border=0 alt="Clap hands" title="Clap hands"></a>
<form action="<?php echo $siteurl; ?>/file.php?f=<?php echo $fileId; ?>&action=addcomment" method="post" name="form" onsubmit="return verify()">
<textarea name="message" rows="5" cols="50"></textarea><br>
<input type="submit" name="submit" value="Yorum Ekle">
</form>
<?php } else { echo "<b>Please login or register to leave a comment.</b>"; } ?>
</div>
</div>
<?php } ?>
<?php if ($addtoyourwebsite == '1') { ?>
<div class="filebox">
<div class="fileboxheader">
Sitene Ekle:
</div>
<div class="boxestext">
<textarea name="Addthisgametoyourwebsite" rows="3" cols="50"><img src = "<?php echo $siteurl; ?>/files/image/<?php echo $icon; ?>" border="0"><br /><a href="<?php echo fileurl($fileId,$fileTitle); ?>"><?php echo $fileTitle; ?></a></textarea>
</div>
</div>
<?php } ?>
<?php if ($relatedfiles == '1') { ?>
<div class="filebox">
<div class="fileboxheader">
Son Sayfalar:
</div>
<div class="boxestext">
<table width="300" border="0">
<?php relatedfiles($filecategory, $fileId); ?>
</table>
</div>
</div>
<?php } ?></td></tr>
<div align="center" style="display:none">
</div>