Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$body = <<<EOD
You have requested a new user account on $SITENAME and you have
specified this address ($email) as user contact.
If you did not do this, please ignore this email. The person who entered your
email address had the IP address {$_SERVER["REMOTE_ADDR"]}. Please do not reply.
To confirm your user registration, you have to follow this link:
$DEFAULTBASEURL/confirm.php?id=$id&secret=$psecret
After you do this, you will be able to use your new account. If you fail to
do this, you account will be deleted within a few days. We urge you to read
the RULES and FAQ before you start using torrentbits.
EOD;
if($arr[0])
mail($email, "$SITENAME user registration confirmation", $body, "From: $SITEEMAIL", "-f$SITEEMAIL");
else
logincookie($id, $wantpasshash);
header("Refresh: 0; url=ok.php?type=". (!$arr[0]?"sysop":("signup&email=" . urlencode($email))));
stderr("Signup successful!", "You must click <a href=\"confirm.php?id=$id&secret=$psecret\"><b>Here</b></a> to confirm your new account.");
<?
require_once("include/bittorrent.php");
if (!mkglobal("username:password"))
die();
dbconn();
function bark($text = "Имя пользователя или пароль неверны")
{
stderr("Ошибка входа", $text);
}
$res = mysql_query("SELECT id, passhash, secret, enabled, status FROM users WHERE username = " . sqlesc($username));
$row = mysql_fetch_array($res);
if (!$row)
bark();
if ($row["status"] == 'pending')
bark("Вы еще не активировали свой аккаунт! Активируйте ваш аккаунт и попробуйте снова.");
if ($row["passhash"] != md5($row["secret"] . $password . $row["secret"]))
bark();
if ($row["enabled"] == "no")
bark("Этот аккаунт отключен.");
logincookie($row["id"], $row["passhash"]);
if (!empty($_POST["returnto"]))
header("Location: $DEFAULTBASEURL$_POST[returnto]");
else
header("Location: $DEFAULTBASEURL/");
?>
logo
----------------------------
| home forum etc. |
----------------------------
|m|------------------------|m|
|e| Новини |e|
|n| |n|
|u| |u|
--- ---
|m| Друго |m|
|e| |e|
|n| |n|
|u| |u|
------------------------
Nikito каза:Ето пример за менютата:
Код:logo ---------------------------- | home forum etc. | ---------------------------- |m|------------------------|m| |e| Новини |e| |n| |n| |u| |u| --- --- |m| Друго |m| |e| |e| |n| |n| |u| |u| ------------------------
Колкото успях направих го
Искам да сменя менютата
Вместо да има линкове ето пример:
Меню
Начало
Форум
реклама
да го направя сменя с банер с определени пиксели