has("mobile_codes", ["AND" => ["uid" => $_SESSION['uid'], "codeid" => $_GET['delsynccode']]])) { $database->delete("mobile_codes", ["AND" => ["uid" => $_SESSION['uid'], "codeid" => $_GET['delsynccode']]]); } } ?>
get("sync mobile"); ?>

has("mobile_codes", ["AND" => ["uid" => $_SESSION['uid'], "codeid" => $_GET['showsynccode']]])) { $code = $database->get("mobile_codes", 'code', ["AND" => ["uid" => $_SESSION['uid'], "codeid" => $_GET['showsynccode']]]); } else { $code = strtoupper(substr(md5(mt_rand() . uniqid("", true)), 0, 20)); $desc = htmlspecialchars($_POST['desc']); $database->insert('mobile_codes', ['uid' => $_SESSION['uid'], 'code' => $code, 'description' => $desc]); } if (strpos(URL, "http") === 0) { $url = URL . "mobile/index.php"; } else { $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . (($_SERVER['SERVER_PORT'] != 80 && $_SERVER['SERVER_PORT'] != 443) ? ":" . $_SERVER['SERVER_PORT'] : "") . URL . "mobile/index.php"; } $encodedurl = str_replace("/", "\\", $url); $codeuri = "bizsync://" . $encodedurl . "/" . $_SESSION['username'] . "/" . $code; $qrCode = new QrCode($codeuri); $qrCode->setWriterByName('svg'); $qrCode->setSize(550); $qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::HIGH); $qrcode = $qrCode->writeDataUri(); $chunk_code = trim(chunk_split($code, 5, ' ')); $lang_done = $Strings->get("done adding sync code", false); ?>

get("scan sync qrcode"); ?>

get("manual setup"); ?>
get("username"); ?>:
get("sync key"); ?>
get("url"); ?>
select("mobile_codes", ["codeid", "code", "description"], ["uid" => $_SESSION['uid']]); ?>

get("sync explained"); ?>

" required />
get("active sync codes"); ?>
0) { foreach ($activecodes as $c) { ?>
get("no active codes"); ?>
get("Notifications"); ?>

get("notification feed explained"); ?>

has('userkeys', ['AND' => ['uid' => $_SESSION['uid'], 'typeid' => 1]])) { $key = $database->get('userkeys', 'key', ['AND' => ['uid' => $_SESSION['uid'], 'typeid' => 1]]); } else { $key = RandomString::generate(50); while ($database->has('userkeys', ['key' => $key])) { $key = RandomString::generate(50); } $database->insert('userkeys', ['uid' => $_SESSION['uid'], 'typeid' => 1, 'created' => date('Y-m-d H:i:s'), 'key' => $key]); } if (strpos(URL, "http") === 0) { $url = URL; } else { $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . (($_SERVER['SERVER_PORT'] != 80 && $_SERVER['SERVER_PORT'] != 443) ? ":" . $_SERVER['SERVER_PORT'] : "") . URL; } $url = $url . "feed.php?key=$key"; ?> RSS 2.0 RSS 1.0 ATOM
RSS 2.0:
RSS 1.0:
ATOM: