Location: PHPKode > projects > H-tracker > rules.php
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//
require "backend/functions.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();
?>
Return current item: H-tracker