return; } vmCommonHTML::loadMooTools(); require_once CLASSPATH . 'update.class.php'; if (!empty($_SESSION['vmLatestVersion']) && version_compare($VMVERSION->RELEASE, $_SESSION['vmLatestVersion']) === -1) { $checkbutton_style = 'display:none;'; $downloadbutton_style = ''; } else { $checkbutton_style = ''; $downloadbutton_style = 'display:none;'; } $formObj = new formFactory($VM_LANG->_('VM_UPDATE_CHECK_LBL')); $formObj->startForm('adminForm', 'enctype="multipart/form-data"'); vmUpdate::stepBar(1); $tabs = new vmTabPanel(0, 0, 'versionCheck'); $tabs->startPane('versionCheckPane'); $tabs->startTab($VM_LANG->_('VM_UPDATE_CHECK_LBL'), 'update_check'); ?> <table class="adminlist"> <tr> <th class="title"><?php echo $VM_LANG->_('VM_UPDATE_CHECK_VERSION_INSTALLED'); ?> </th> <th class="title"><?php echo $VM_LANG->_('VM_UPDATE_CHECK_LATEST_VERSION'); ?> </th> </tr> <tr> <td style="color:grey;font-size:18pt;text-align:center;"><?php
if ($_VERSION->PRODUCT == 'Joomla!' && $_VERSION->RELEASE >= 1.5) { $fieldname = 'id'; } $db->query('SELECT `' . $fieldname . '` FROM #__core_acl_aro_groups WHERE name=\'' . VM_PRICE_ACCESS_LEVEL . '\''); $db->next_record(); $gtree = $acl->get_group_children_tree(null, 'USERS', false); $access_group_list = vmCommonHTML::selectList($gtree, 'conf_VM_PRICE_ACCESS_LEVEL', 'size="4"', 'value', 'text', $db->f($fieldname), true); $title = ' <img src="' . VM_THEMEURL . 'images/administration/header/icon-48-config.png" align="middle" border="0" alt="' . $VM_LANG->_('PHPSHOP_CONFIG') . '" /> '; $title .= $VM_LANG->_('PHPSHOP_CONFIG'); //First create the object and let it print a form heading $formObj =& new formFactory($title); //Then Start the form $formObj->startForm(); $ps_html->writableIndicator($mosConfig_absolute_path . '/administrator/components/com_virtuemart/virtuemart.cfg.php'); $tabs = new vmTabPanel(1, 1, "vmconfiguration"); $tabs->startPane("content-pane"); $tabs->startTab($VM_LANG->_('PHPSHOP_ADMIN_CFG_GLOBAL'), "global-page"); ?> <br /> <table class="adminlist"><tr><td> <fieldset style="width:48%;float:left;"> <legend><?php echo $VM_LANG->_('PHPSHOP_ADMIN_CFG_GLOBAL'); ?> </legend> <table class="adminform"> <tr> <td class="labelcell"> <label for="conf_PSHOP_IS_OFFLINE"><?php echo $VM_LANG->_('PHPSHOP_ADMIN_CFG_SHOP_OFFLINE', false);
} elseif (file_exists($mosConfig_absolute_path . '/administrator/components/com_users/users.class.php')) { require_once $mosConfig_absolute_path . '/administrator/components/com_users/users.class.php'; $file = $mainframe->getPath('com_xml', 'com_users'); $params = new mosUserParameters($row->params, $file, 'component'); } // Set the last visit date $lvisit = $row->lastvisitDate; if ($lvisit == "0000-00-00 00:00:00") { $lvisit = '***' . $VM_LANG->_('VM_USER_FORM_LASTVISIT_NEVER'); } //First create the object and let it print a form heading $formObj = new formFactory(vmCommonHTML::imageTag(VM_THEMEURL . 'images/administration/header/icon-48-user.png', 'User Icon', 'absmiddle') . ' ' . $VM_LANG->_('PHPSHOP_USER_FORM_LBL')); //Then Start the form $formObj->startForm(); $tabs = new vmTabPanel(0, 1, "userform"); $tabs->startPane("userform-pane"); $tabs->startTab($VM_LANG->_('VM_USER_FORM_TAB_GENERALINFO'), "userform-page"); ?> <script language="javascript" type="text/javascript"> function gotocontact( id ) { var form = document.adminForm; form.target = "_parent"; form.contact_id.value = id; form.option.value = 'com_users'; submitform( 'contact' ); } </script> <fieldset class="adminform"> <legend><?php echo $VM_LANG->_('VM_USER_FORM_LEGEND_USERDETAILS');
<input type="hidden" name="page" value="order.order_print" /> <input type="hidden" name="func" value="resendconfirm" /> <input type="hidden" name="option" value="com_virtuemart" /> <input type="hidden" name="order_id" value="<?php echo $order_id; ?> " /> </form> </td> </tr> </table> </td> <td valign="top"> <?php $tab = new vmTabPanel(1, 1, "orderstatuspanel"); $tab->startPane("order_change_pane"); $tab->startTab($VM_LANG->_('PHPSHOP_ORDER_STATUS_CHANGE'), "order_change_page"); ?> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?> "> <table class="adminform"> <tr> <th colspan="2"><?php echo $VM_LANG->_('PHPSHOP_ORDER_STATUS_CHANGE'); ?> </th> </tr> <tr> <td class="labelcell"><?php
*/ mm_showMyFileName(__FILE__); global $page, $last_page, $error, $database, $funcParams, $pagePermissionsOK, $_VERSION; $return_to_page = vmGet($_REQUEST, 'return_to_page'); $i = 0; if (!empty($database->_log)) { foreach ($database->_log as $sql) { if (strstr($sql, "_{vm}_") || strstr($sql, "'BT'") || strstr($sql, "first_name")) { $i++; } } } echo '<br style="clear:both;" />'; include_once ADMINPATH . "version.php"; $tabs = new vmTabPanel(1, 1, "debugpanel"); $tabs->startPane("debug-pane"); $tabs->startTab("Shop Core Variables", "shop-variables"); ?> <table width="100%" border="0" cellspacing="5" cellpadding="2" > <tr class="sectiontableheader" nowrap> <th colspan="4" align="center"> <h3>DEBUG CENTER</h3> <?php echo "Version: {$myVersion}"; ?> </th> </tr> <tr class="sectiontableentry1"> <td align="right"><b>RunTime:</b></td> <td align="left"><?php
if (include_once CLASSPATH . "export/" . $db->f("export_class") . ".php") { eval("\$_EXPORT = new " . $db->f("export_class") . "();"); } } else { include_once CLASSPATH . "export/ps_xmlexport.php"; $_EXPORT = new ps_xmlexport(); } //First create the object and let it print a form heading $formObj =& new formFactory($VM_LANG->_('VM_EXPORT_MODULE_FORM_LBL')); //Then Start the form $formObj->startForm(); ?> <br /> <?php $tabs = new vmTabPanel(0, 1, 'exportform'); $tabs->startPane('content-pane'); $tabs->startTab($VM_LANG->_('VM_EXPORT_MODULE_FORM_LBL'), 'global-page'); ?> <table class="adminform"> <tr class="row0"> <td class="labelcell"><?php echo $VM_LANG->_('PHPSHOP_ISSHIP_LIST_PUBLISH_LBL'); ?> ?:</td> <td><input type="checkbox" name="export_enabled" class="inputbox" value="Y" <?php echo $db->sf('export_enabled') == "Y" ? "checked=\"checked\"" : ""; ?> /></td> </tr> <tr class="row1"> <td class="labelcell"><?php
<?php } ?> <?php $ps_order_change_html->html_change_bill_to($user_id); ?> </table> </td> <td valign="top" style="width: 500px"> <?php // Get Ship To Address $dbt->next_record(); ?> <?php $tab2 = new vmTabPanel(1, 1, "orderaddresspanel"); $tab2->startPane("order_change_address"); $tab2->startTab('Оригинальные данные', "order_origin_address_page"); ?> <div> <?php //echo '<pre>'; $orig_data = json_decode($dbt->record[0]->origdata, true); //print_r($orig_data); //echo '</pre>'; ?> <table class="orig_user_info"> <tr> <td class="orig_user_info_l">ФИО:</td> <td class="orig_user_info_r"><?php echo $orig_data['first_name']; ?>
//Then Start the form $formObj->startForm('adminForm', 'enctype="multipart/form-data"'); if ($category_id) { $q = "SELECT * FROM #__{vm}_category,#__{vm}_category_xref "; $q .= "WHERE #__{vm}_category.category_id='{$category_id}' "; $q .= "AND #__{vm}_category_xref.category_child_id=#__{vm}_category.category_id"; $db->query($q); $db->next_record(); } elseif (empty($vars["error"])) { $default["category_publish"] = "Y"; $default["category_flypage"] = FLYPAGE; $default["category_browsepage"] = CATEGORY_TEMPLATE; $default["products_per_row"] = PRODUCTS_PER_ROW; } $tabs = new vmTabPanel(0, 1, "categoryform"); $tabs->startPane("category-pane"); $tabs->startTab("<img src='" . IMAGEURL . "ps_image/edit.png' align='absmiddle' width='16' height='16' border='0' /> " . $VM_LANG->_('PHPSHOP_CATEGORY_FORM_LBL'), "info-page"); ?> <table class="adminform"> <tr> <td width="21%" nowrap><div align="right"><?php echo $VM_LANG->_('PHPSHOP_CATEGORY_FORM_PUBLISH'); ?> :</div></td> <td width="79%"><?php if ($db->sf("category_publish") == "Y") { echo "<input type=\"checkbox\" name=\"category_publish\" value=\"Y\" checked=\"checked\" />"; } else { echo "<input type=\"checkbox\" name=\"category_publish\" value=\"Y\" />"; }