
Main Flash Gallery

To insert the main flash gallery in your web page, simply put the code below where you'd like to show the flash movie. Choose 'width' and 'height' of the flash movie (highlighted in red).
IMPORTANT NOTICE: You have to put this page inside the a2flash installation folder.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="850" height="550">
<param name="movie" value="start.swf" />
<param name="quality" value="high" />
<PARAM NAME="wmode" VALUE="opaque">
<embed wmode="opaque" src="start.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="550"></embed>
</object>
If you want to display a background image behind the main Flash gallery, during the loading sequence, change the parameters indicated in blue from "opaque" to "transparent".
Then apply a background image to the DIV or table cell that contains the main Flash gallery.
Main Flash Gallery with CSS/HTML menu

IMPORTANT NOTICE: You have to put this page inside the a2flash installation folder. This file has to be named 'listgallery.php'.
Insert this code at the beginning of the file:
<?php
include_once("admin/swfComponent/gallerylist.php");
$list=new galleryList();
?>
To insert the CSS/HTML list in your web page, simply put the code below where you'd like to show it.
<?php echo $list->showList(1);?>
The number in red can be used to choose the CSS style of the HTML menu. Choose a value between 1 and 11 according to the desided style. (Click on the links below to see a preview)
Then insert this code where you'd like to show the flash movie. Choose 'width' and 'height' of the flash movie (highlighted in red).
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="850" height="550">
<param name="movie" value="start_list.swf" />
<param name="quality" value="high" />
<PARAM NAME="wmode" VALUE="opaque">
<embed wmode="opaque" src="start.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="550"></embed>
</object>
If you want to display a background image behind the main Flash gallery, during the loading sequence, change the parameters indicated in blue from "opaque" to "transparent".
Then apply a background image to the DIV or table cell that contains the main Flash gallery.
Search box
To insert a search box in any of your web pages, simply put the code below where you'd like to show it. Make sure the form "action" lnks to the "a2flash/search.php" file.
<form id="searchform" name="searchform" method="post" action="a2flash/search.php">
Search: <input name="key" id="key" type="text"> <input name="Submit" value="Search" type="submit">
</form>
Now you have to prepare a search results page. You can use the same layout as the rest of your website, you just have to name this page 'search.php'. Paste this code at the beginning of the page.
<?php include_once("admin/swfComponent/search.php");?>
Then paste the code below where you'd like to show the search results.
<?php echo $result;?>
IMPORTANT NOTICE: You have to put this page inside the a2flash installation folder. This file has to be named 'search.php'. You shouldn't put the HTML list in this page because it won't work.
Login box
To insert a login box in any of your web pages, simply put the code below where you'd like to show it. Make sure the form "action" lnks to the "a2flash/admin/login.php" file.
<form action="a2flash/admin/login.php" method="post" id="form1">
<br/>
<label>Username : </label> <br /> <input id="username" name="username"/>
<br /><br />
<label>Password</label> :<br /> <input name="password" type="password" id="password"/> <br/> <label> </label>
<br /> <input type="submit" name="Submit" value="Login" />
<br/><br/>
</form>
Register user page
Build a new page to be used as registration page.
IMPORTANT NOTICE: You have to put this page inside the a2flash installation folder. This file has to be named 'ns_newuser.php'.
Paste this code at the beginning of the page.
<?php
require_once( "setup.inc.php" );
include_once("admin/component/app/gestioneclienti.app/gestioneclienti.inc.php");
include_once("admin/component/app/gestionelingue.app/gestionelingue.inc.php");
$utente=new gestioneclienti();
$nuovoUtente=$utente->inserisciDati("admin", "ns_newuser.php", gestioneLingue::insert("Inserire i propri dati ( * campi obbligatori)"));
?>
Paste the code below where you'd like to show the multilanguage title:
<?php echo gestioneLingue::insert("Nuovo utente");?>
Then paste the code below where you'd like to show the registration form:
<?php echo $nuovoUtente?>

Professional |