@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 - HMS Sirius
Fellowship of First Fleeters - Hunter Valley Chapter
To live on in the hearts and minds of Descendants is never to die.
HMS Sirius
H.M.S. Sirius
Flagship
Naval Warship - 20 Guns
540 tons, 110 ft long, 32 ft wide
Arrived with 198 Officers, Crew, Marines & Families
Captain: John Hunter
Crew other than Able Seamen
ALT Matthew Bowles -Midshipman RN BERRIMAN John -Purser's Steward BRADLEY William -1st Lieutenant RN BREWER Henry -Midshipman RN BRODY Walter -Armourer BROOKS Thomas -Boatswain BROOKS Deborah -Boatswain Wife BRYANT William -Master's Mate BUCKLEY Stephen -Boatswain Mate CALDWELL Joseph -Gunner COVENTRY James -Quartermaster CUNNINGHAM James -Master's mate DAVIS James -Carpenter DAVIS John -Gunner's Mate DRUMMOND John -Quartermaster FELLOWS Joseph -Quartermaster FERGUSON John -Midshipman RN FOWELL Newton Digby -Midshipman RN FREEMAN Thomas -Clerk (to Capt Hunter) GREAVES George -Boatswain's Mate HACKING Henry -Quartermaster HAMBLY William -Carpenter's Mate HARRIS John -Midshipman RN HEATHERLY James -Carpenter HILL Francis -Master's Mate HUNTER John -2nd Captain RN JAMISON Thomas -Surgeon's 1stMate KELTIE James - Master (from Aug 1787) (Transferred from Fishburn at Rio) KERR Hugh -Coxswain KING Philip Gidley -2nd Lieutenant RN KNIGHT William -Carpenter LIVINGSTONE John -Carpenter's Mate LOWES John -Surgeon's 2nd Mate MARA John -Gunner's Mate MARCH William -Carpenter MAXWELL George William - 3rd Lieutenant RN MITCHELL William -Boatswain Mate MONK George -Sailmaker's Mate MORTON Micah -Master (discharged ill 2 September 1787at Rio) MURLEY/MORLEY Roger -Sailmaker's Mate NAIRN James -Corporal RN ORMSBY Charles Cutts -Midshipman RN PALMER John -Purser PARKER Charles -Carpenter PARKER John -Master at Arms PARKER Robert -Armourer PAUL James Douglas -Cook PAYNTER James -Carpenter PHILLIPS David -Carpenter PHILLIPS Thomas -Quartermaster POATE James -Carpenter's Mate PROCTOR James -Gunner RAPER George -Midshipman RN ROSS Alexander -Quartermaster ROSS Peter -Gunner ROTTON Samuel -Master's Mate (discharged ill 1st Sept 1787 at Rio) RUSSELL James -Armourer's Mate SEALLY David -Master's Mate (discharged ill 1September 1787at Rio) SHORTLAND John (jnr) - 2nd Mate (transferred from Friendship at Rio) STRAFFEN James -Carpenter SOUTHWELL Daniel -Midshipman RN WATERHOUSE Henry -Midshipman RN WESTBROOK William Burton -Carpenter's Crew WHITE Peter -Sailmaker WHITE Thomas -Gunner WORGAN George Bouchier -Surgeon
Able Seamen
ANDERSON John BAYNE David BEARD William BELL Jonathon BOYCE Benjamin BRYANT John BUDDLE Daniel BURNE Terrance CAVENAUGH Owen CLEVERLY Joseph CONWAY John DAVENY Thomas DAVIES David DESMOND Thomas DEVERLIER John DODD Henry/Edward DOYLE Luke ELDRIDGE George ELLIS Walter FITZGERALD Henry FOMBELL Furzey GORDON James HARRAGAN Cornelius HENDERSON Robert HIBBS Peter HOPKINS Morris HOWLETT John HUNTER William JOHNSON James JONES John Benjamin JOSEPH Paul (deserted 14 September 1787 at Rio) KERR John William LEWIS James LYONS Michael McDONALD John McNEAL John
MIDDLETON John MILES John MOORE Henry MORLEY James NAGLE Jacob NELDOR Philip PRITCHARD William PUNTON John REED David REID William RIDER George ROBERTS Peter ROBERTSON John ROWLEY John SANG George SAUNDERS John (alias MOORE Edward) SHINE John SMITH Benjamin SMITH John SPICELY John THOMAS Richard THRING James THRING Martha -Seaman's Wife (dv 12 November 1787at the Cape) TINNEY James TITCUMB John TUREENE Lawrence WARD John WALKER David WALLIS Alexander (transferred from Fishburn at Teneriffe) WATSON Robert WEBB Robert WEBB Thomas WELSH William WESCOTT Robert WILLIAMS Thomas WILSON James YULE Robert
Civilians
DODD Henry Edward -Personal Servant to Capt Phillip MAILEZ/MALIER Bernard -Personal Servant to Capt Phillip MILLER Andrew - Commissary of Stores PALMER Christopher -Servant to Andrew Miller
Marines and Family
ANGELL James -Private ASSELL John -Private BACON Samuel -Private BACON Jane/Elizabeth -Marine's Wife BACON Elizabeth -Marine's Child (bv-date unknown 1787 at sea) BAGLEY James -Corporal BAGLEY Sarah -Marine's Wife BAGLEY Maria/Marie -Marine's Child BAGNALL Ralph -Private BATCHELOR John -Private BATES John -Private BULL William -Private COLLINS David -Captain of Marines & Judge-Advocate DOUGHERTY Arthur -Private DOUGHERTY Judah -Marine's Wife DOUGHERTY Daniel -Marine's Child DUKES Thomas -Private FLEMMING George -Private FURZER James -1st Lieutenant GARVIN Thomas -Private GILBOURNE Andrew -Private GILBOURNE Margaret -Marine's Wife GOODWIN Philip -Private GOWEN John -Corporal GUNN George -Private (Acting Servant to Capt Collins) HALFPENNY Thomas -Private HERITAGE Charles -Private HUGHES William -Drummer HURDLE James -Private KENNEDY Michael -Private KING Samuel -Private McEWAN Patrick -Private MOULTON William -Private MURPHY Michael -Private PARSONS Henry -Private PETRIE Henry -Sergeant PRATER Charles -Private (Servant to Capt Collins) PROCTOR William -Sergeant RADFORD Joseph -Private REDMAN James -Private REYNOLDS Charles -Drummer RICE John -Private SCOTT Thomas -Private SCULLY Thomas -Private SEEDHOUSE William -Private STANFIELD Daniel -Private STANDLEY William -Private TARR Isaac -Private THOMAS Edward -Private THOMAS Samuel -Private THOMAS Ann -Marine's Wife TUNKS William -Private TURNER John -Private TURNER Susannah -Marine's Wife WEST John -Drummer WIGFALL Samuel -Private WILLIAMS James -Private WILLIAMSON John -Private WILLMOTT Robert -Private WIXTED John -Corporal
bv -born on voyage 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"