@error_reporting(E_ERROR);
class SimpleSlider extends CMSModule{
public $debug=true;
function SimpleSlider(){
$this->CMSModule();
}
function GetName(){
return 'SimpleSlider';
}
function GetFriendlyName()
{
return 'Manage Simple Slider';
}
function Install()
{
global $gCms;
//Get a reference to the database
$db = $this->cms->db;
// mysql-specific, but ignored by other database
$taboptarray = array('mysql' => 'TYPE=MyISAM');
//Make a new "dictionary" (ADODB-speak for a table)
$dict = NewDataDictionary($db);
//Add the fields as a comma-separated string.
$fields = "id I AUTO KEY,
slide I DEFAULT 0,
title C(50),
imagelink C(255),
description X ";
//Note the naming scheme that should be followed when adding tables to the database,
// so as to make it easy to recognize who the table belongs to, and to avoid conflict with other modules.
$sqlarray = $dict->CreateTableSQL(cms_db_prefix().'module_simpleslider_images', $fields, $taboptarray);
$dict->ExecuteSQLArray($sqlarray);
//Add the fields as a comma-separated string.
$fields = "showid I AUTO KEY,
showname C(50),
width I,
height I,
fadetime I";
//Note the naming scheme that should be followed when adding tables to the database,
// so as to make it easy to recognize who the table belongs to, and to avoid conflict with other modules.
$sqlarray = $dict->CreateTableSQL(cms_db_prefix().'module_simpleslider_shows', $fields, $taboptarray);
$dict->ExecuteSQLArray($sqlarray);
$sqlarray = $dict->CreateIndexSQL('showname', cms_db_prefix().'module_simpleslider_shows', 'showname', array('UNIQUE'));
$dict->ExecuteSQLArray($sqlarray);
//Add the fields as a comma-separated string.
$fields = "showid I,
imageid I
";
// so as to make it easy to recognize who the table belongs to, and to avoid conflict with other modules.
$sqlarray = $dict->CreateTableSQL(cms_db_prefix().'module_simpleslider_showimages', $fields, $taboptarray);
$dict->ExecuteSQLArray($sqlarray);
$sqlarray = $dict->CreateIndexSQL('showid', cms_db_prefix().'module_simpleslider_showimages', 'showid');
$dict->ExecuteSQLArray($sqlarray);
$sqlarray = $dict->CreateIndexSQL('showimage', cms_db_prefix().'module_simpleslider_showimages', array('showid', 'imageid'), array('UNIQUE'));
$dict->ExecuteSQLArray($sqlarray);
$this->setPreference('defwidth', 400);
$this->setPreference('defheight', 300);
$this->setPreference('deffadetime', 4000);
$this->CreatePermission('SimpleSlider Admin', 'SimpleSlider Admin');
mkdir('../uploads/sliderimages/');
}
function Upgrade($oldversion, $newversion){
$db = $this->cms->db;
$dict = NewDataDictionary($db);
switch($oldversion){
case '0.2':
case '0.1':
$sqlarray=array(0=>'ALTER TABLE `'.cms_db_prefix().'module_simpleslider_shows` ADD `width` INT NOT NULL , ADD `height` INT NOT NULL , ADD `fadetime` INT NOT NULL ');
$dict->ExecuteSQLArray($sqlarray);
break;
}
}
function Uninstall()
{
$db = $this->cms->db;
$dict = NewDataDictionary( $db );
$sqlarray = $dict->DropTableSQL( cms_db_prefix().'module_simpleslider_images' );
$dict->ExecuteSQLArray($sqlarray);
$sqlarray = $dict->DropTableSQL( cms_db_prefix().'module_simpleslider_shows' );
$dict->ExecuteSQLArray($sqlarray);
$sqlarray = $dict->DropTableSQL( cms_db_prefix().'module_simpleslider_showimages' );
$dict->ExecuteSQLArray($sqlarray);
//Remove the sequence
$this->RemovePermission('SimpleSlider Admin');
$this->RemovePreference();
}
function GetVersion()
{
return '0.2.1';
}
function GetHelp()
{
return '
Make sure your upload folder is writeable before installing.
You need to download JQuery s3Slider.
You can download JQuery here and put it in the folder "lib" using the name "jquery.js".
You can download s3Slider here and put it in the folder "lib" using the name "s3Slider.js".
Usage
Go to Content -> Manage Simple Slider to add images and slideshows.
Simply put {cms_module module=\'SimpleSlider\'} where you would like to have the slideshow. By default all images added to the module will be displayed.
To display a particular show and only images added to the show put {cms_module module=\'SimpleSlider\' show=\'showname\'}
';
}
function IsPluginModule()
{
return true;
}
function HasAdmin() {
return true;
}
function GetAdminSection() {
return 'content';
}
function GetAdminDescription() {
return 'Manage Simple Slider';
}
function GetAuthor(){
return 'Burhan BAVKIR';
}
function GetAuthorEmail(){
return 'info@agait.com.sg';
}
function displaySelectArray($selectlist, $id=0){
foreach($selectlist as $key => $val){
?>
}
}
function GenerateInsertSQL($table, $fields){
$sql='INSERT INTO '.$table.' (';
$keys=array_keys($fields);
$values=' VALUES (';
for($i=0; $i<(sizeof($fields)-1); $i++){
$values.='"'.$fields[$keys[$i]].'", ';
$sql.=$keys[$i].', ';
}
$values.='"'.$fields[$keys[$i]].'"); ';
$sql.=$keys[$i].') '.$values;
return $sql;
}
function GenerateUpdateSQL($table, $fields, $where){
$sql='UPDATE '.$table.' SET ';
$keys=array_keys($fields);
for($i=0; $i<(sizeof($fields)-1); $i++){
$sql.=$keys[$i].'="'.$fields[$keys[$i]].'", ';
}
$sql.=$keys[$i].'="'.$fields[$keys[$i]].'" WHERE '.$where.';';
return $sql;
}
}
?>
Fellowship of First Fleeters - Hunter Valley Chapter - Borrowdale
Fellowship of First Fleeters - Hunter Valley Chapter
To live on in the hearts and minds of Descendants is never to die.
Borrowdale
Borrowdale
Storeship
272 tons, 75 ft long, 22 ft wide
Carried 22 crew
Master: Hobson REED
Crew
BROWN James -1st Mate
CAMPBELL Donald - Seaman
MALTON John - Seaman
MARTIN Charles - Seaman
POWEL Thomas - Seaman
REED Hobson - Master
REED Joseph - Seaman
TAYLOR Robert - Seaman
WILLIAMS Richard - 2nd Mate
Marines and Family
BROWN James - Private
BROWN Elizabeth - Marine Wife
Produced by Erin Tompkin & John Boyd, June 2009
with the assistance of Signarama Wollongong.
Paintings of the First Fleet Ships by Frank Allen.
List of Livestock and Provisions Stored on the Three Storeships
10 Forges
700 Steel Spades
700 Iron Shovels
700 Garden Hoes
700 West Indian Hoes
700 Grubbing Hoes
700 Felling Axes
700 Hatchets
700 Helves for Felling Axes
747,000 Nails
100 Pairs of Hinges and Hooks
10 Sets of Cooper's Tools
40 Corn Mills
40 Wheel Barrows
12 Ploughs
30 Grindstones
330 Iron Pots
6 Carts
4 Timber Carriages
14 Fishing Nets
14 Chains for Timber Carriages
5,448 Squares of Crown Grass
200 Canvas Beds
63 Chauldrons of Coal
80 Carpenter's Axes
20 Shipwright's Axes
600 lbs of Coarse Sugar
100 lbs of Indian Sago
1 Small Cask of Raisins
6 lbs of Spices
3 Hogsheads of Vinegar
2 Barrels of Tar
1 Dozen Tin Saucepans
1 Printing Press
Type Fonts for DO
3 Dozen Flat Irons
Candlesticks
3 Snuffers
24 Spinning Whorls
48 Spinning Brasses
1 Set of Apparatus for Candle Making
7 Dozen Razors
Bible
Prayer Book
Communion Service & Surplice for Chaplain.
6 Bullet Moulds
9 Hackies for Flax
9 Hackies Pins
3 Flax Dresser Brushes
127 Dozen Combs
18 Coils of Whale line
6 Harpoons
12 Lances
Shoe Leather
40 Tents for Women Convicts
6 Bundles of Ridge Poles
11 Bundles of Stand Poles
2 Chests of Pins and Mallets
1 Portable Canvas House (Gov. Philip)
18 Turkeys
29 Geese
35 Ducks
122 Fowls
87 Chickens
Kittens
Puppies
4 Mares
2 Stallions
4 Cows
1 Bull
1 Bull Calf
44 Sheep
19 Goats
32 Hogs
5 Rabbits
Gov. Philip's Greyhounds
Rev. John's Cats
Mill Spindles with 4 Crosses
2 Cases of Mill Bills and Picks
1 Cask of Mill Brashes
589 Women's Petticoats
606 Women's Jackets
121 Women's Caps
327 Pairs of Women's Stockings
381 Women's Shifts
250 Women's Handkerchiefs
140 Women's Hats
305 Pairs of Women's Shoes
75 Claw Hammers
175 Steel Hand-saws
140 Augers
700 Gimlets
504 Saw Files
300 Chisels
6 Butchers Knives
100 Pairs of Scissors
30 Box Rules
30 Pincers
100 Plain Measures
50 Pickaxes
50 Helvers for do
700 Wooden Bowls
700 do Platters
5 Sets of Smith's Tools
10 Smith Bellows
20 Pit Saws
700 Clasp Knives
500 Tin Plates
60 Padlocks
50 Hay Forks
42 Splitting Wedges
8,000 Fish Hooks
48 Dozen Lines
8 Dozen lbs of Sewing Twine
10,000 Bricks
12 Brick Moulds
36 Masons Chisels
6 Harness for Horses
12 Ox-Bows
3 Sets of Ox Furniture
1 Piano
Coarse Thread (Blue/White) with needles
Transport Jack
Ventilators for Water and Wine
Hoses
Windsails
Carbins
Bulkheads
Beds
Hammocks
Marine's Clothes
135 Tierces of Beef
165 Tierces of Pork
50 Puncheons of Bread
116 Casks of Pease
110 Frinkins of Butter
8 Bram of Rice
10 Pairs of Handcuffs and Tools
1 Chest of Books & Sundry Articles (For Henry Kable)
5 Puncheons of Rum
300 Gallons of Brandy
15 Tons of Drinking Water
5 Casks of Oatmeal
12 Bags of Rice
1 Machine for Dressing Flax, with Ironwork and brushes
252 Dozen lbs of Cotton Candles
168 Dozen lbs of Mould Candles
44 Tons of Tallow
2 Millstones Spindles etc.
800 Sets of Bedding
1 Loom for Weaving Canvas
2,780 Woollen Jackets
5,440 Drawers
26 Marquees for Married Officers
200 Wood Canteens
40 Camp Kettles
448 Barrels of Flour
Plants and Seeds
Apples Bamboos Banana Cocoa
Coffee Cotton Eugenia Fig Trees
Guava Ipecacuanha Lemon Oak and Myrtle Trees
Orange Pears Prickly Pear Quinces
Spanish Reed Strawberries Sugar Cane Tamari
60 Bushels of Seed Wheat 10 Bushels of India Seed Corn
20 Bushels of Seed Barley 12 Baskets of Garden Seed