Äventyrsspel | Visa källkod | XHTML | CSS | How to become a hacker | Hangman | Tärning | HighLow | Sök Kompis

Visa källkod

Nedanstående filer finns i denna katalogen. Klicka på en fil för att visa dess innehåll.

adventure08/

CPlayer.php
CRoom.php
ISessionDestroy.php
SAction.sql
adventure.php
allrooms.php
common.php
config.php
gameover.php
highlow/
img/
room.php
source.php
source1.php
stylesheet.css
template.php

SAction.sql
-- phpMyAdmin SQL Dump
-- version 2.11.8.1deb5+lenny1
-- http://www.phpmyadmin.net
--
-- Värd: blu-ray.student.bth.se
-- Skapad: 02 november 2009 kl 09:47
-- Serverversion: 5.0.51
-- PHP-version: 5.2.6-1+lenny3

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Databas: `mos`
--

-- --------------------------------------------------------

--
-- Struktur för tabell `07_Action`
--

DROP TABLE IF EXISTS `07_Action`;
CREATE TABLE IF NOT EXISTS `07_Action` (
  `id` int(11) NOT NULL auto_increment,
  `namn` varchar(100) NOT NULL,
  `event` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Data i tabell `07_Action`
--

INSERT INTO `07_Action` (`id`, `namn`, `event`) VALUES
(1, 'Drick vatten i bäcken', 'increaseHealthBy5'),
(2, 'Drick vatten i sjön', 'increaseHealthFull');

-- --------------------------------------------------------

--
-- Struktur för tabell `07_RumAction`
--

DROP TABLE IF EXISTS `07_RumAction`;
CREATE TABLE IF NOT EXISTS `07_RumAction` (
  `id` int(11) NOT NULL auto_increment,
  `id_Rum` int(11) NOT NULL,
  `id_Action` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

--
-- Data i tabell `07_RumAction`
--

INSERT INTO `07_RumAction` (`id`, `id_Rum`, `id_Action`) VALUES
(1, 7, 1),
(2, 8, 1),
(3, 9, 1),
(4, 11, 1),
(5, 4, 2);
 .                        
..:    © Mikael Roos, 2009