set_time_limit(0);
-define('EOL', '<br />');
+define('EOL', "<br />\r\n");
define('REGISTER_CLOSED', 0);
define('REGISTER_APPROVE', 1);
define('REGISTER_OPEN', 2);
+define ( 'DIRECTION_ANY', 0);
+define ( 'DIRECTION_IN', 1);
+define ( 'DIRECTION_OUT', 2);
+define ( 'DIRECTION_BOTH', 3);
if(! class_exists('App')) {
class App {
public $page;
public $profile;
public $user;
+ public $cid;
public $content;
public $error = false;
public $cmd;
$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
$a->page['content'] .= "<div class=\"fortune\" >$s</div>";
-}
\ No newline at end of file
+}
+
+if(! function_exists('notice')) {
+function notice($s) {
+
+ $_SESSION['sysmsg'] .= $s;
+
+}}
\ No newline at end of file