@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 - Scarborough
Fellowship of First Fleeters - Hunter Valley Chapter
To live on in the hearts and minds of Descendants is never to die.
Scarborough
Scarborough
Convict Transport
Fully rigged ship
430 tons, 111ft long, 30ft wide Arrived with 201 male Convicts (1dv) Carried 30 Crew + 50 Marines & families
Master: John Marshall
Crew
BUTLER Michael -Seaman CAFFERY George -2nd Mate RN CONSIDEN Dennis -Surgeon DAWSON (Mr) -1st Mate FAWLEY John -Seaman McCARTY Charles -Boatswain MARSH George -Seaman MARSHALL (Mr) -Seaman (Brother of Ship's Master) MARSHALL John -Ship's Master MASON Thomas -Seaman MEAD William -Seaman (dv 21 May 1787 at sea) MEREDITH Frederick -Steward PLAISTED William -Seaman (dv 22 May 1787 at sea) WALTON James -Apprentice WILSON Thomas -2nd Mate
Marines and Family:
ABBOTT Joseph -Drummer BROWN John -Private BROWN John -Private BULLMORE Thomas -Private CABLE William -Private CARVER John -Private CAMPION Edward -Sergeant CHADWICK William -Private CLAYTON John -Private CLINCH Richard -Sergeant CONNOR Martin -Corporal COWARD Joshua -Private DOUGLAS William -Private EASTY John -Private ESCOTT John -Private FREEBORNE Alexander -Drummer GANNON John -Private GOODALL William -Corporal HAND Abraham -Private HARPER Joseph -Private HAYNES Luke -Private HILL/TENNIHILL/TENNYHILL Thomas/James -Private HURST Mark -Private JONES John -Private JONES William Sega -Private KELLOW Robert -1st Lieutenant KNIGHT Richard -Private KNIGHT Thomas -Private LEE James -Private LONG John -2nd Lieutenant (transferred from Sirius at sea) LUCAS Thomas -Private McAVENAUGH Barney -Private MEE Francis -Private MOUNTSTEPHENS Robert -Drummer (transferred from Sirius at sea) NICHOLAS Richard -Corporal O'BRIEN Thom -Private PHILLIPS Thomas -Private REDMAN John -Private REDMAN Michael -Private REDMAN Elizabeth -Marine Wife REDMAN James -Marine Child REED Anthony -Private ROSS Robert -Major & Lieutenant Governor (transferred from Sirius at sea) SHEA John -Captain SMYTH Thomas -Corporal SPENCER Thomas -Private THOMPSON Robert -Private WALL William -Private WOODHOUSE Thomas -Private WOODS John -Private
Convicts
ADAMS John AGNEW/AYNERS John ALLEN Charles ANDERSON John ARCHER/ FORRESTER John ARSCOTT John ATKINSON George AYRES John BALDWIN/BALDING James/William BARLAND George BELL William BELLETT Jacob BENEAR Samuel BLAKE Francis BLUNT William, BOGGIS William BOYLE John BRADBURY William BRADLEY James BROWN Thomas/John BRYANT Thomas BURN Peter BURNE James BUTLER William CAMPBELL James/George/John CAMPBELL James CARNEY John CARTY Francis (dv, lost overboard - November1787) CASTLE John/James CHADWICK Thomas CLARK/HOSIER James/John/Charles CLARKE William CLAYTON/KAYTON/HAYTON George CLEMENTS Thomas COLE William COLLIER Richard COLLINS/COLLING Joseph CONNELLY Cornelius CONNOLLY William COX John Matthew (alias "Banbury Jack") CROSS William CUCKOW William CUDLIP/NORRIS Jacob CULLEN James Bryan CULLYHORN John CUNNINGHAM Edward DALEY James DANIELS Daniel DAVIS James DAVISON John DISCALL Timothy DOWLAND/DOLAND/DOOLAN Ferdinand/Frederick DUNNAGE Joseph ECCLES Thomas ELLIOTT Edward/William ENGLISH Nicholas EVERINGHAM Matthew James FENTUM Benjamin FORRESTER Robert FRANCISCO George FRY George
FULLER John (alias SAXBY William & HUMPHERYS Robert) GARDNER Francis GARTH Edward GOODWIN Andrew GOODWIN/GOODIN Edward HAGLEY/ AGGY/AGLEY Richard HARPUR/HARPER Joshua HARRIS John HARRISON Joseph HARRISON Joseph HART John HATTON Joseph HAYES John HERBERT John HILL John HILL Thomas HOGG William HOLLOWAY James HOLMES William HOWARD John HOWARD Thomas HUBBARD William HUMPHREYS/HUMPHERIES Edward HURLEY Jeremiah HYLIDS Thomas INGRAM Benjamin JACOBS David JACOBS John JOHNS Stephen JOHNSON William JOSEPHS Thomas KEELING/KELLAN John Herbert KILLPACK/KILPACK David KIMBERLY Edward KING John LANE William LANKEY David LAWRELL John LEARY John LEVY Joseph LISK George LUCAS Nathaniel LYNE Richard MacCLEAN Edward MARNEY William MARSHALL Joseph MESSIAH/MASSIAS Jacob MIDDLETON Richard MILES/MOYLE Edward MOBBS Samuel MOLLANDS John MOOD/MILLER Charles MOORE/RANSMORE William MORAN John MORGAN Robert MORGAN William MORRISBY James/John MOSELEY/SHORE John MOULD William NEALE John NICHOLLS John NOWLAND/NEWLAND James/John NUNN Robert NURSE/MUNROE John OWEN John PAGET Joseph PARRIS Peter PARTRIDGE Richard PEAT Charles PEAULET James PERCIVAL Richard PETTIT John PHILLIMORE Richard/William PHILLIPS Richard PONTIE John POPE David RAMSAY John RAYMOND George READ William REARDON Bartholomew RICHARDS David RICHARDS James RICHARDS John RICHARDSON John/William RICHARDSON Samuel RICKSON William ROBERTS William ROBINSON George ROMAINE John ROWE John ROWE William RUFFLER John RUGLASS John RUSE James RUSSELL John SAMPSON Peter SELSHIRE Samuel SEYMOUR John SHEERS/SHIERS James SMITH Edward SMITH James SMITH John SMITH/HAINES Thomas SMITH William SMITH William SNAILHAM/SNALEHAM William SPARKES Henry/Thomas STANTON/EBDEN Thomas STEWART James TEAGUE Cornelius THOMAS James THOMAS John THOMPSON James THOMPSON William TILL Thomas TODD Nicholas TUCKER Moses (transferred from Friendship at sea) TURNER John TUSO Joseph VINCENT Henry WALBOURNE James WALKER John WALSH William WELCH John WELCH John Coen WESTWOOD John WHITE James WHITTON Edward WILLIAMS/MAGEE Charles/Christopher WILLIAMS James WILLIAMS/FLOYD John WILLIAMS John (also known as "Blackjack") WILLIAMS Robert WILSON Charles WOODCOCK Peter WOODHAM Samuel WRIGHT Benjamin WRIGHT James WRIGHT Joseph WRIGHT William YOUNG Simon
dv- died on voyage Produced by Erin Tompkin & John Boyd, June 2009 with the assistance of Signarama Wollongong.
"Paintings of the First Fleet Ships by Frank Allen"