Esempio n. 1
0
        ?>
/themes/<?php 
        echo $THEME;
        ?>
/theme.css" />
<script type="text/javascript" src="<?php 
        echo $site_config['SITEURL'];
        ?>
/backend/java_klappe.js"></script>
</head>
<body class="shoutbox_body">
<?php 
        echo '<div class="shoutbox_contain"><table border="0" style="width: 99%; table-layout:fixed">';
    } else {
        if ($site_config["MEMBERSONLY"]) {
            loggedinonly();
        }
        stdhead();
        begin_frame(T_("SHOUTBOX_HISTORY"));
        echo '<div class="shoutbox_history">';
        $query = 'SELECT COUNT(*) FROM shoutbox';
        $result = SQL_Query_exec($query);
        $row = mysql_fetch_row($result);
        echo '<div align="center">Pages: ';
        $pages = round($row[0] / 100) + 1;
        $i = 1;
        while ($pages > 0) {
            echo "<a href='" . $site_config['SITEURL'] . "/shoutbox.php?history=1&amp;page=" . $i . "'>[" . $i . "]</a>&nbsp;";
            $i++;
            $pages--;
        }
Esempio n. 2
0
<?php

//
//  TorrentTrader v2.x
//      $LastChangedDate: 2011-11-17 00:13:07 +0000 (Thu, 17 Nov 2011) $
//      $LastChangedBy: dj-howarth1 $
//
//      http://www.torrenttrader.org
//
//
require_once "backend/functions.php";
dbconn(true);
loggedinonly(true);
?>

<?php 
if (!$CURUSER) {
    ?>

<meta http-equiv='refresh' content='0;url=account-login.php' />

<?php 
}
stdhead(T_("HOME"));
//check
if (file_exists("check.php") && $CURUSER["class"] == 7) {
    show_error_msg("WARNING", "Check.php still exists, please delete or rename the file as it could pose a security risk<br /><br /><a href='check.php'>View Check.php</a> - Use to check your config!<br /><br />", 0);
}
//Site Notice
if ($site_config['SITENOTICEON']) {
    begin_frame(T_("NOTICE"));