getCfg('absolute_path') . '/mambots/editors/jce/jscripts/tiny_mce/libraries/classes/jce.class.php' ); require_once( $mainframe->getCfg('absolute_path') . '/mambots/editors/jce/jscripts/tiny_mce/libraries/classes/jce.utils.class.php' ); if( file_exists( $mainframe->getCfg('absolute_path') . '/components/com_phpshop/phpshop_parser.php' )) { require_once( $mainframe->getCfg('absolute_path') . '/components/com_phpshop/phpshop_parser.php' ); $shoplang = new phpShopLanguage(); } elseif( file_exists( $mainframe->getCfg('absolute_path') . '/components/com_virtuemart/virtuemart_parser.php' )) { require_once($mainframe->getCfg('absolute_path') . '/components/com_virtuemart/virtuemart_parser.php' ); $shoplang = new vmLanguage(); } $jce = new JCE(); $jce->setPlugin('productsnap'); require_once( $jce->getPluginPath() . '/classes/manager.class.php' ); //Setup languages include_once( $jce->getLibPath() . '/langs/' . $jce->getLanguage() . '.php' ); include_once( $jce->getPluginPath() . '/langs/' .$jce->getPluginLanguage() . '.php' ); //Load Plugin Parameters $params = $jce->getPluginParams(); $base_dir = $jce->getBaseDir( true ); $base_url = $base_dir; $manager = new productSnapshotManager( $base_dir, $base_url ); $jce->setAjax( array( 'getProperties', &$manager, 'getProperties' ) ); $jce->setAjax( array( 'getDimensions', &$manager, 'getDimensions' ) ); $jce->processAjax(); $def_align = $params->get( 'align', 'left' ); $def_border = $params->get( 'border', '0' ); $def_hspace = $params->get( 'hspace', '5' ); $def_vspace = $params->get( 'vspace', '5' ); $iso = explode('=', _ISO ); echo ""; ?>