<?php
/*
// +--------------------------------------------------------------------------+
// | Only for   http://board.bt-technik.com/                                  
// | Weitergabe an andere Boards ist Untersagt nur für privaten gebrauch
// |				By djbrocken
// +--------------------------------------------------------------------------+

 */
require "include/bittorrent.php";

dbconn(false);


stdhead("" . SITE_RULES . "");


$res = mysql_query("SELECT * FROM rules ORDER BY id");
while ($arr=mysql_fetch_assoc($res)){
    if ($arr["public"]=="yes"){
        begin_frame($arr[title]);
        print(format_comment($arr["text"]));
        end_frame();
    }

    elseif($arr["public"]=="no" && $arr["class"]<=$CURUSER["class"]){
        begin_frame($arr[title]);
        print(format_comment($arr["text"]));
        end_frame();
    }
}

echo "<BR><BR>";


stdfoot();
?>