Password shown for users files

Any hacks and modifications will be in here...

Password shown for users files

Postby Joshua173 » Wed Feb 15, 2012 5:23 pm

Hello, I have been using DFH for a few weeks and I noticed that in the admin panel it shows the password for the password protected files but in the standard user panel it doesn't show the passwords. How can I make it show the password in the user panel?
Joshua173
Standard Member
 
Posts: 7
Joined: Fri Jan 20, 2012 11:12 am

Re: Password shown for users files

Postby SamEA » Thu Feb 16, 2012 2:17 pm

Hello,

Replace ./styles/userpanel_filelist.php with:

Code: Select all
<?php
if($top == 1){
?>
<center>
<h1><center><? echo "$lang[filelist]";?></h1>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#C0C0C0">
<tr>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b>Nr</td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><? echo $lang[fname];?></b></td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><? echo $lang[size10];?></b></td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><? echo $lang[dloads];?></td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><? echo $lang[ldload];?></b></td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><? echo $lang[pass];?></b></td>
<td align=center bgcolor=#EBEBEB background="img/bg.png"><b><?php echo $lang[delete];?>?</b></td>
</tr>
<tr><td colspan=5 height=1></td></tr>
<?php
}else{
?>
<tr><td align=center bgcolor=#F9F9F9><?php echo $i;?></td><td align=left bgcolor=#F9F9F9><a href="<?php echo $short .$filedata[0];?>" target="_blank"><?php echo $filedata[1];?></a></td><td align=center bgcolor=#F9F9F9><?php echo round($filesize,2);?> MB</td>
<td align=center bgcolor=#F9F9F9><?php echo $filedata[5];?></td><td align=center style=padding-left:5px bgcolor=#F9F9F9><?php echo date('Y-m-d G:i', $filedata[4])?></td><td align=center style=padding-left:5px bgcolor=#F9F9F9><?php echo $filedata[9];?></td>
<?php
$file = str_replace(".dfh", "", $file);
?>
<td align=center width=100 bgcolor=#F9F9F9><a href ="./download.php?file=<?php echo $file ."&del=".$filedata[2];?>"><img src="./img/del1.jpg"></a></td>
</tr>
<?
}
?>
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Hacks and Modifications

Who is online

Users browsing this forum: No registered users and 1 guest

cron