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

insert('mobile_codes', ['uid' => $_SESSION['uid'], 'code' => $code, 'description' => $desc]); if (strpos($SETTINGS['url'], "http") === 0) { $url = $SETTINGS['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'] : "") . $SETTINGS['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']]); ?>

build("sync explained", ["site_name" => $SETTINGS['site_title']]); ?>

" required />
get("active sync codes"); ?>
0) { foreach ($activecodes as $c) { // Obscure characters if (strlen($c['code']) > 7) { for ($i = 3; $i < strlen($c['code']) - 3; $i++) { $c['code'][$i] = "*"; } } ?>
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($SETTINGS['url'], "http") === 0) { $url = $SETTINGS['url']; } else { $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . (($_SERVER['SERVER_PORT'] != 80 && $_SERVER['SERVER_PORT'] != 443) ? ":" . $_SERVER['SERVER_PORT'] : "") . $SETTINGS['url']; } $url = $url . "feed.php?key=$key"; ?> RSS 2.0 RSS 1.0 ATOM
RSS 2.0:
RSS 1.0:
ATOM: