A
Anonymous
Guest
Аз мисля ,че добавяш нещо допълнително в кодовете ,които ние ти даваме :idea:
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?
include "../config.php";
$dir = $_SERVER['DOCUMENT_ROOT']."/".$dirs."/tutorial/";
$open = opendir($dir);
while ($file = readdir($open)) {
if($file != '..' && $file !='.' && $file !='' && !is_file($file))
{
echo '
<table style="background: #fbfeef;" width="100%" cellpadding="0" cellspacing="2" border="0">
<tr>
<td class="favourites" align="left">
<img src="../_data/images/star.png" border="0" width="10" height="10"> <font color="#666666">'.$newfile[0].'</font></td>
<td width="50%" class="favourites" align="center">
<font color="#666666">'.$newfile[1].'</font></td>
<td width="8%" class="favourites2" align="right">
<a href = "editfile.php?file='.$file.'"/><center><img src="../_data/images/p.png" name="del" border="0" height="16px" width="16px"></center></a><br /></td>
<td width="8%" class="favourites2" align="right">
<a href = "editfile.php?file='.$all.'"/><center><img src="../_data/images/broke.png" name="del" border="0"></center></a><br /></td>
</tr>
</table>
';
$newfile=explode(".", $file);
$dirr=strlen($newfile[1]);
if ($dirr < 1)
{
$newfile[1]="DIR";
}
}
}
?>
<?
include "../config.php";
$dir = $_SERVER['DOCUMENT_ROOT']."/".$dirs."/tutorial/";
$open = opendir($dir);
while ($file = readdir($open)) {
if($file != '..' && $file !='.' && $file !='' && !is_file($file))
{
echo '
<table style="background: #fbfeef;" width="100%" cellpadding="0" cellspacing="2" border="0">
<tr>
<td class="favourites" align="left">
<img src="../_data/images/star.png" border="0" width="10" height="10"> <font color="#666666">'.$newfile[0].'</font></td>
<td width="50%" class="favourites" align="center">
<font color="#666666">'.$newfileone.'</font></td>
<td width="8%" class="favourites2" align="right">
<a href = "editfile.php?file='.$file.'"/><center><img src="../_data/images/p.png" name="del" border="0" height="16px" width="16px"></center></a><br /></td>
<td width="8%" class="favourites2" align="right">
<a href = "editfile.php?file='.$all.'"/><center><img src="../_data/images/broke.png" name="del" border="0"></center></a><br /></td>
</tr>
</table>
';
$newfile=explode(".", $file);
$dirr=strlen($newfile[1]);
$newfileone = ($dirr < 1) ? "DIR" : "ELSE";
}
}
?>