Copyright (c) 2001, DM Solutions Group Inc. * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ /***************************************************************************** * $Log: preview.phtml,v $ * Revision 1.4 2004/12/03 03:31:55 pspencer * bug MT 866: modify script tags to input type='text/javascript' * * Revision 1.3 2004/11/16 15:23:40 pspencer * bug MT 377: renamed PrintWidget to PrintProduction * * Revision 1.2 2004/04/28 13:43:14 pspencer * fix file path related issues * * Revision 1.1 2004/04/23 16:51:10 pspencer * moved preview.phtml to PrintProduction/preview.phtml * * Revision 1.20 2004/03/30 20:22:30 jlacroix * Comment php code that is in html comment to avoid warnings * * Revision 1.19 2003/10/27 20:46:19 sfournier * Overwrite main branch with 1.1 stuff * * Revision 1.14.2.2 2003/06/11 20:29:17 sacha * Make some cleaning * * Revision 1.14.2.1 2003/05/27 17:40:59 sacha * added support for skinning * * Revision 1.14 2003/04/23 17:30:56 pspencer * use wait image from session if possible. * * Revision 1.13 2003/04/16 18:51:09 sacha * Fixed few bugs related to the rendering preview of a map * * Revision 1.12 2003/03/14 23:17:10 fredrock * modified the popup with css to make it skinnable * * Revision 1.11 2003/01/07 18:33:45 bronsema * Added legend * * Revision 1.10 2003/01/03 18:51:01 bronsema * Moved the download file capabiltiy to the production page. * * Revision 1.4 2002/12/18 02:45:08 bronsema * Fixed problem with print resolution and percent size * * Revision 1.3 2002/12/17 20:23:57 bronsema * Fixed download security hole * * Revision 1.2 2002/12/17 18:14:13 bronsema * fixed misc bugs in production * * Revision 1.1 2002/10/28 15:07:31 bronsema * Initial addition * * Revision 1.6 2002/08/15 12:59:13 bronsema * Updated processing image * * Revision 1.5 2002/08/12 20:26:18 bronsema * Added delayed drawing functionality to map production. * * Revision 1.4 2002/07/11 18:33:57 bronsema * Changed "download" to "save" * * Revision 1.3 2002/07/05 02:22:46 bronsema * Removed dependancy on register_globals setting to be on. * * Revision 1.2 2002/06/27 02:19:10 bronsema * Finished translation * * Revision 1.1 2002/06/26 03:23:29 bronsema * Initial addition * *****************************************************************************/ // define flag if necessary if ( !defined( "LOAD_MAPSESSION" ) ) { define("LOAD_MAPSESSION", 1); } // include session info include("../session.inc.php"); /* ============================================================================ * Build an array with the HTTP GET or POST parameters. * ========================================================================= */ $http_form_vars = sizeof( $_POST ) > 0 ? $_POST : ( sizeof($_GET) > 0 ? $_GET : array("") ); //check for session wait image if (isset($_SESSION["WAITIMAGE"])) $waitImage = $_SESSION["WAITIMAGE"]; else $waitImage = $_SESSION['gszCoreWebPath']."skins/default/images/spinner.gif"; if (isset($_SESSION["WAITIMAGEWIDTH"])) $waitImageWidth = $_SESSION["WAITIMAGEWIDTH"]; else $waitImageWidth = 216; if (isset($_SESSION["WAITIMAGEHEIGHT"])) $waitImageHeight = $_SESSION["WAITIMAGEHEIGHT"]; else $waitImageHeight = 50; ?> Preview
" border=0>
">