Skip to content

Instantly share code, notes, and snippets.

View Ozerich's full-sized avatar

Vital Ozierski Ozerich

View GitHub Profile
unit Engine;
interface
uses Graphics, StdCtrls, Math, Types;
type TBase = class(TObject)
public
canvas : TCanvas;
vx : extended;
unit Engine;
interface
uses Graphics, StdCtrls, Math, Types;
type TBase = class(TObject)
public
canvas : TCanvas;
vx : extended;
unit Engine;
interface
uses Graphics, StdCtrls, Math, Types;
type TBase = class(TObject)
public
canvas : TCanvas;
vx : extended;
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls, ComCtrls;
type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>BSUIR</title>
<link rel="stylesheet" href="css/style.css"/>
<link rel="stylesheet" href="css/leftbar.css"/>
<link rel="stylesheet" href="css/registration.css"/>
<link rel="stylesheet" href="css/profile.css"/>
<link rel="shortcut icon" href="" />
/**
* Geometry.js: функции определения геометрии окна и документа
*
* getWindowX() / getWindowY() : возвращают положение окна на экране
* getViewportWidth() / getViewportHeight() : возвращают размер клиентской области окна
* getHorizontalScroll() / getVerticalScroll() : возвращают смещение по горизонтали/вертикали [!IE]
* getDocumentWidth() / getDocumentHeight() : возвращают размер документа
* getWindowWidth() / getWindowHeight : возвращают размер окна браузера [!IE]
*/
$smarty->assign('left_menu', ' <a href="#" class="button-big">
<span>Главная страница</span>
</a>
<a href="#" class="button">
<img src="images/icons/left-login.png"/>
<span>Вход</span>
</a>
<a href="#" class="button">
<img src="images/icons/left-registration.png"/>
<span>Регистрация</span>
<?php
require_once("/smarty/libs/Smarty.class.php");
$smarty = new Smarty();
$smarty->template_dir = "./templates";
$smarty->compile_dir = "./templates/compile";
$left_menu = $smarty->fetch("sidebar-reg.html");
$content = $smarty->fetch("registration-form.html");
у тебя
<lecture subject="МА лекция" lector="" room="106-4" start="9:45" end="11:20" mode="" weeks="[1, 2, 3, 4]" subgroups="[1, 2]" />
а надо
<lecture subject="МА" lector="" room="106-4" start="9:45" end="11:20" mode="лекция" weeks="[1, 2, 3, 4]" subgroups="[1, 2]" />
<?php
# Name: Database.singleton.php
# File Description: MySQL Singleton Class to allow easy and clean access to common mysql commands
# Author: ricocheting
# Web: http://www.ricocheting.com/
# Update: 2010-07-19
# Version: 3.1.4
# Copyright 2003 ricocheting.com