Пример #1
0
                    $meta_d = "";
                    $meta_k = "";
                    $picture = "";
                    $sort_order = 0;
                    $allow_products_comparison = 1;
                    $allow_products_search = 1;
                    if (isset($_GET["catslct"])) {
                        $parent = (int) $_GET["catslct"];
                    } else {
                        $parent = 1;
                    }
                    $show_subcategories_products = 1;
                    $as_sub = 0;
                    $uri = '';
                }
                $options = _getOptions();
                $showSelectParametrsTable = 0;
                if (isset($_GET["SelectParametrsHideTable_hidden"])) {
                    $showSelectParametrsTable = $_GET["SelectParametrsHideTable_hidden"];
                }
                ?>

                <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
                <html class="admin">
                <head>
                    <meta http-equiv="content-type" content="text/html; charset={$smarty.const.DEFAULT_CHARSET}">
                    <link rel="stylesheet" href="data/admin/style.css" type="text/css">
                    <link rel="icon" href="data/admin/favicon.ico" type="image/x-icon">
                    <link rel="shortcut icon" href="data/admin/favicon.ico" type="image/x-icon">
                    <title><?php 
                echo ADMIN_CATEGORY_TITLE;
Пример #2
0
 foreach ($cfg['exclusive']['brokerage'] as $brokerage) {
     echo '    ' . $brokerage . ',' . PHP_EOL;
 }
 echo ');' . PHP_EOL . PHP_EOL . '/**' . PHP_EOL . ' * Create a Zend_Config object to pass to TicketEvolution_Webservice' . PHP_EOL . ' */' . PHP_EOL . '$config = new Zend_Config($cfg);' . PHP_EOL . PHP_EOL . '</pre>' . PHP_EOL;
 // The form has been submitted. Demo the selected method.
 $apiMethod = (string) $input->apiMethod;
 /**
  * This section documents the actual code used for the call.
  * The final bit of code is added below because it is specific
  * to each call.
  */
 echo '<h2>Code used for ' . $apiMethod . '() method</h2>' . PHP_EOL . '<pre>' . PHP_EOL . PHP_EOL . PHP_EOL . '/**' . PHP_EOL . ' * Finished setting up configuration.' . PHP_EOL . ' * Initialize a TicketEvolution_Webservice object.' . PHP_EOL . ' */' . PHP_EOL . '$tevo = new TicketEvolution_Webservice($config->params);' . PHP_EOL . PHP_EOL . PHP_EOL . '/**' . PHP_EOL . ' * Below here is where all the method-specific stuff is.' . PHP_EOL . ' */' . PHP_EOL;
 /**
  * Setup any necessary vars and execute the call
  */
 $options = _getOptions($input);
 //var_dump($options);
 switch ($apiMethod) {
     case 'listBrokerages':
     case 'listClients':
     case 'listClientCompanies':
     case 'listUsers':
     case 'listSettingsShipping':
     case 'listSettingsServiceFees':
     case 'listCategories':
     case 'listCategoriesDeleted':
     case 'listConfigurations':
     case 'listEvents':
     case 'listEventsDeleted':
     case 'listPerformers':
     case 'listPerformersDeleted':