Пример #1
0
<?php

if (!isset($_SESSION)) {
    session_start();
}
require_once "includes/functions.php";
new motor(true);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo motor::sitename();
?>
</title>
</head>

<body>
<?php 
if (isset($_SESSION["login_reactivated"])) {
    echo member_activate;
    unset($_SESSION["login_reactivated"]);
}
?>
Hello world.
</body>
</html>
Пример #2
0
<?php

require_once "includes/functions.php";
if (motor::authenticated(false) == true) {
    motor::back_page();
}
new motor(false);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo page_confirm_title . " | " . motor::sitename();
?>
</title>
</head>

<body>
<?php 
include_once "header.php";
if ($_GET) {
    if (isset($_GET["c"])) {
        if (strlen($_GET["c"]) > 0) {
            if (motor::confirm_signup($_GET["c"]) == true) {
                echo message_confirm_confirmation;
            } else {
                echo message_confirm_incorrect_code;
            }
        } else {
            echo message_confirm_incorrect_code;
Пример #3
0
                    $member->setcountry($country);
                    motor::signup($member);
                    $_SESSION["signup_thanks"] = $_POST["txtsignup_email"];
                    header("Location: signup_ok.php");
                }
            }
        }
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo page_signup_title . " | " . motor::sitename();
?>
</title>
</head>

<body>
<?php 
include_once "header.php";
?>
<form action="<?php 
echo $_SERVER["PHP_SELF"];
?>
" method="post">
<?php 
echo username;
?>
Пример #4
0
<?php

require_once "includes/functions.php";
?>
<table style="width: 100%; background-color: #999999;">
  <tr>
    <td><?php 
echo motor::sitename() . " &copy; 2012 - ";
foreach (motor::languages() as $language) {
    echo "<a href=\"change_lang.php?lang=" . $language->getlang() . "\">" . $language->getlanguage() . "</a> ";
}
?>
</td>
  </tr>
</table>
Пример #5
0
        if (!preg_match('/^[^0-9][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[@][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,4}$/', $_POST["txtrecover_email"])) {
            $error_recover_email = incorrect_recover_email;
        } else {
            motor::recover($_POST["txtrecover_email"]);
            $_SESSION["recover_email"] = $_POST["txtrecover_email"];
            header("Location: recover_ok.php");
        }
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo page_recover_title . " | " . motor::sitename();
?>
</title>
</head>

<body>
<?php 
include_once "header.php";
?>
<form action="<?php 
echo $_SERVER["PHP_SELF"];
?>
" method="post">
<table border="1">
  <tr>
    <td align="right">E-mail:</td>
Пример #6
0
if (!isset($_SESSION)) {
    session_start();
}
require_once "includes/functions.php";
if (motor::authenticated(false) == true) {
    motor::back_page();
}
new motor(false);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo page_signup_thanks . " | " . motor::sitename();
?>
</title>
</head>

<body>
<?php 
if (isset($_SESSION["signup_thanks"])) {
    echo message_signup_thanks . $_SESSION["signup_thanks"];
    unset($_SESSION["signup_thanks"]);
} else {
    header("Location: welcome.php");
}
?>
</body>
</html>
Пример #7
0
                echo message_recover_incorrect_code;
            }
        } else {
            header("Location: welcome.php");
        }
    } else {
        header("Location: welcome.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php 
echo page_recover_new_password . " | " . motor::sitename();
?>
</title>
</head>

<body>
<?php 
include_once "header.php";
?>
<form action="<?php 
echo $_SERVER["PHP_SELF"];
?>
" method="post">
<table border="1">
  <tr>
    <td align="right"><?php