@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 - Charlotte
Fellowship of First Fleeters - Hunter Valley Chapter
To live on in the hearts and minds of Descendants is never to die.
Charlotte
Charlotte
Convict Transport - Barque-built ship
335 tons, 105 ft long, 28 ft wide
Arrived with 84 male (dv 4), 24 female convicts
+ 6 Convict's children
Carried 30 crew + 42 marines
Master: Thomas Gilbert
Crew
CAIRD David -1st Mate GILBERT Thomas -Ship's Master LAVENDER George -Boatswain RN. LODWICK Archibald Andrews -Seaman MOORE William -2nd Mate RIDDEL John -Seaman RIMMER Joseph -Seaman SMITH Edward -Seaman STOREY John -Seaman
Marines and Family:
BAKER James -Private BAKER William -Corporal BRIXEY/BREXLEY Charles -Corporal. BROWN Thomas -Private CHAPMAN Thomas -Corporal CHAPMAN Elizabeth -Marine's Child CHAPMAN Jane -Marine's Wife CHAPMAN Jane -Marine's Child CHESLETT George -Private CHEW John -Private CONNELL Patrick -Private COOK Benjamin -Drum Major COOK Mary -Marine's Wife (dv 17 October 1787 at the Cape) CRESWELL Daniel -Private (dv 30 November 1787 at sea) CRESWELL Susanna -Marine's Wife DWAN Edward -Sergeant DWAN Jane -Marine's Wife DWAN Edward -Marine's Child EDMONDSTONE William -Private GOODWIN Phillip -Private HOWELL John -Private HUNT Joseph -Private KING William -Private McMANUS James -Private MAXWELL James -1stLieutenant (transferred from Prince of Wales at sea) MITCHELL William -Private ODGERS Edward -Private. OVERTON Edward -Private STANFIELD Daniel -Private TENCH Watkin -Lieutenant Captain TIMINS Thomas -1st Lieutenant (transferred from Prince of Wales at the Cape) TYNAN Thomas -Private WHITE James -Private WHITE John -Surgeon-General
Civilians
BROUGHTON William -Servant (to Surgeon John White)
Convicts
ACRES/AKERS Thomas ANDERSON John BAKER Thomas BALL John BARRETT Thomas BARSBY Samuel BASELY John BASON Elizabeth BATLEY Oten BAYLEY James BEARDSLEY Ann (transferred from Friendship at Rio) BLATHERHORN/BEANS/FISHER William BLOODWORTH James BOND William BRADFORD John BRANAGAN James BRAUND Mary BRAUND Charlotte Spence Convict's Child (bv 8 September 1787 at sea) BREWER William BROWN Thomas BROWN William (dv 19 September 1787at sea) BRUCE Robert BRYANT John BRYANT William BUCKLEY Joseph BURRIDGE Samuel CAREY Ann CHAAF William CHANIN Edward (dv 8 January 1788 at sea) CHINERY Samuel CHURCH William CLARKE John (dv 6 June 1787 at sea) CLEAVER Mary CLEAVER/BAUGHAN James Convict's Child (bv-1787 at sea) COFFIN John COLEMAN Ishmael (dv 29 May 1787 at sea) COPP James
COX James CREAMER John CUSS John DUDGEON Elizabeth (transferred from Friendship at the Cape) FERGUSON John FITZGERALD Jane FOYLE William FRASER/FRAZER William GARLAND Francis GARTH Susannah (transferred from Friendship at Rio) GOULD John GREEN Hannah (transferred from Friendship at Rio) HALL John HALL Joseph HAMLYN William HART Frances (transferred from Friendship at Rio) HAYDON John HERBERT John HERVEY Elizabeth (transferred from Friendship at Rio) HILT William HOLLAND William HOLMES Susannah (transferred from Friendship at the Cape) HOLMES/CABELL Henry Convict's Child (cf) (transferred from Friendship at the Cape) HORTOPP James HUMPHREYS Henry JACKSON Hannah JENKINS William JOHNSON Edward JONES John JONES Margaret LA RUE James LEGGE George LIGHTFOOT Samuel LIMEBURNER John LIMPUS Thomas LYNCH Ann MARTIN Abraham MARTIN James MARTIN Thomas MEECH Jane MITCHELL Nathaniel MORTIMER John MORTIMER Noah MULLIS Stephen O'CRAFT John PARKER/PUGH Ann Convict's Child (cf) (transferred from Friendship at the Cape) PARKER Elizabeth (transferred from Friendship at the Cape) PECK Joshua PIGOTT Samuel POOLE Jane POORE William PRIOR Catherine PRIOR John Matthew Convict's Child(bv 14 November 1787at sea) RICE John ROACH Henry ROBINS John ROBINSON William RUTH Robert SHEPHERD/ HAYDON/EATON Mary SMALL John SMITH Ann SMITH Ann Convict's Child (cf) SMITH Edward SMITH John SMITH William SPENCER Daniel SQUIRE James STEPHENS/MORRIS John THACKERY Elizabeth (transferred from Friendship at the Cape) TRACE John UNDERWOOD James VICKERY William WATKINS Mary (transferred from Friendship at Rio) WATSON Thomas WESTLAKE Edward WICKHAM Mary WIDDICOMBE Richard WILLCOCKS Richard WILLIAMS John WILLIAMS Peter WOOLCOTT John WORSDELL William
cf - came free 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"