function DisplayFoot($showReturn = true, $showVersionLink = false)
{
    global $cfg;
    ?>
     </td></tr>
    </table>
<?php 
    if ($showReturn) {
        echo "[<a href=\"index.php\">" . _RETURNTOTORRENTS . "</a>]";
    }
    ?>
    </div>
    </td>
    </tr>
    </table>
<?php 
    echo DisplayTorrentFluxLink($showVersionLink);
    ?>
        </td>
    </tr>
    </table>
    </div>
   </body>
  </html>
    <?php 
}
Esempio n. 2
0
        while (!feof($handle)) {
            $buff = fgets($handle, 30);
            echo nl2br($buff);
            @ob_flush();
            @flush();
            $gotError = $gotError + 1;
        }
        pclose($handle);
        if ($gotError <= 0) {
            echo "Done<br>";
            echo 'moved <em>' . $_POST['file'] . '</em> to <em>' . $targetDir . '</em>';
        } else {
            echo "An error accured.";
        }
    } else {
        echo "Invalid Target-dir : " . $targetDir;
    }
}
?>
     </td></tr>
    </table>
[<a href="#" onclick="window.opener.location.reload();window.close();">Close Window</a>]
    </td>
    </tr>
    </table>
<?php 
DisplayTorrentFluxLink();
?>
   </body>
  </html>
</html>
    }
    echo '</tr></table>';
}
?>

    </div>
    </td>

</tr>
</table>

</td></tr>
</table>

<?php 
echo DisplayTorrentFluxLink(true);
// At this point Any User actions should have taken place
// Check to see if the user has a force_read message from an admin
if (IsForceReadMsg()) {
    // Yes, then warn them
    ?>
        <script  language="JavaScript">
        if (confirm("<?php 
    echo _ADMINMESSAGE;
    ?>
"))
        {
            document.location = "readmsg.php";
        }
        </script>
<?php