예제 #1
0
파일: add.php 프로젝트: startusin/akaweb
<?php

date_default_timezone_set('Europe/Moscow');
require_once 'sum/SUM.php';
$auth = new SUM();
?>

<!DOCTYPE html>
<html>
    <head>
        <title>Тестовая страница</title>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		
        <link rel="stylesheet" type="text/css" media="all" href="sum/sum.css" />
        <script src="sum/jquery.min.js" type="text/javascript"></script>
		<script src="jquery.js"></script>
		<script src="jAlert-master/src/jAlert-v3.js"></script>
		<link rel="stylesheet" href="jAlert-master/src/jAlert-v3.css" />
        <script src="jAlert-master/src/jAlert-functions.js"></script>
        <script src="sum/sum.js" type="text/javascript"></script>
        <link rel="stylesheet" type="text/css" href="jquery.datetimepicker.css"/>
        <script src="jquery.datetimepicker.js"></script>		
		<link rel="stylesheet" type="text/css" media="all" href="style.css" />
		
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap-theme.min.css" />
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap-theme.css" />
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap.css" />
		<script src="js/npm.js" type="text/javascript"></script>
		<script src="js/bootstrap.min.js" type="text/javascript"></script>
		<script src="js/bootstrap.js" type="text/javascript"></script>
예제 #2
0
<?php

/*
 *
 * SUM — Simple User Management
 * Author: Nikita Krasnoyarcev
 * URL: http://krasnoyarcev.ru
 *
 * Name class: -
 * Description: Execution
 * Created on : 04.08.2010
 * Last updated file: 05.08.2010, 14:13
 *
 */
require_once 'SUM.php';
$auth = new SUM(0);
switch ($_POST['key']) {
    case 'registration':
        if ($auth->action_registration()) {
            echo 'ok';
        } else {
            $auth->output_messages();
        }
        break;
    case 'authorization':
        if ($auth->status) {
            echo 'ok';
        } else {
            $auth->output_messages();
        }
        break;
예제 #3
0
파일: index.php 프로젝트: startusin/akaweb
/*
this file:index.php
main web site file
*/

<?php 
date_default_timezone_set('Europe/Moscow');
require_once 'sum/SUM.php';
$auth = new SUM();
// Renamed by akatest
?>

<!DOCTYPE html>
<html>
    <head>
        <title>Автотест</title>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />	
        <link rel="stylesheet" type="text/css" media="all" href="sum/sum.css" />	
        <script src="sum/jquery.min.js" type="text/javascript"></script>
		<script src="jquery.js"></script>
		<script src="jAlert-master/src/jAlert-v3.js"></script>
		<link rel="stylesheet" href="jAlert-master/src/jAlert-v3.css" />
        <script src="jAlert-master/src/jAlert-functions.js"></script>
        <script src="sum/sum.js" type="text/javascript"></script>
        <link rel="stylesheet" type="text/css" href="jquery.datetimepicker.css"/>
        <script src="jquery.datetimepicker.js"></script>		
		<link rel="stylesheet" type="text/css" media="all" href="style.css" />
		
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap-theme.min.css" />
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap-theme.css" />
		<link rel="stylesheet" type="text/css" media="all" href="css/bootstrap.min.css" />