本文整理汇总了PHP中ShopFunctions::categoryListTree方法的典型用法代码示例。如果您正苦于以下问题:PHP ShopFunctions::categoryListTree方法的具体用法?PHP ShopFunctions::categoryListTree怎么用?PHP ShopFunctions::categoryListTree使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ShopFunctions
的用法示例。
在下文中一共展示了ShopFunctions::categoryListTree方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getOptions
protected function getOptions()
{
// if VM is not installed
if (!JFolder::exists(JPATH_ROOT . '/administrator/components/com_virtuemart') or !class_exists('ShopFunctions')) {
// add the root item
$option = new stdClass();
$option->text = JText::_('MOD_ACCORDEONCK_VIRTUEMART_NOTFOUND');
$option->value = '0';
$options[] = $option;
// Merge any additional options in the XML definition.
$options = array_merge(parent::getOptions(), $options);
return $options;
}
VmConfig::loadConfig();
$categorylist = ShopFunctions::categoryListTree();
// $categorylist = 'testced';
$categorylist = trim($categorylist, '</option>');
$categorylist = explode("</option><option", $categorylist);
// add the root item
$option = new stdClass();
$option->text = JText::_('MOD_ACCORDEONCK_VIRTUEMART_ROOTNODE');
$option->value = '0';
$options[] = $option;
foreach ($categorylist as $cat) {
$option = new stdClass();
$text = explode(">", $cat);
$option->text = trim($text[1]);
$option->value = strval(trim(trim(trim($text[0]), '"'), 'value="'));
$options[] = $option;
}
// Merge any additional options in the XML definition.
$options = array_merge(parent::getOptions(), $options);
return $options;
}
示例2: display
function display($tpl = null)
{
$this->loadHelper('html');
$model = VmModel::getModel();
$layoutName = $this->getLayout();
if ($layoutName == 'edit') {
$category = $model->getCategory('', false);
if (isset($category->category_name)) {
$name = $category->category_name;
} else {
$name = '';
}
$this->SetViewTitle('CATEGORY', $name);
$model->addImages($category);
if ($category->virtuemart_category_id > 1) {
$relationInfo = $model->getRelationInfo($category->virtuemart_category_id);
$this->assignRef('relationInfo', $relationInfo);
}
$parent = $model->getParentCategory($category->virtuemart_category_id);
$this->assignRef('parent', $parent);
if (!class_exists('ShopFunctions')) {
require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'shopfunctions.php';
}
$templateList = ShopFunctions::renderTemplateList(JText::_('COM_VIRTUEMART_CATEGORY_TEMPLATE_DEFAULT'));
$this->assignRef('jTemplateList', $templateList);
if (!class_exists('VirtueMartModelConfig')) {
require JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'config.php';
}
$categoryLayoutList = VirtueMartModelConfig::getLayoutList('category');
$this->assignRef('categoryLayouts', $categoryLayoutList);
$productLayouts = VirtueMartModelConfig::getLayoutList('productdetails');
$this->assignRef('productLayouts', $productLayouts);
//Nice fix by Joe, the 4. param prevents setting an category itself as child
$categorylist = ShopFunctions::categoryListTree(array($parent->virtuemart_category_id), 0, 0, (array) $category->virtuemart_category_id);
$this->loadHelper('permissions');
$perms = Permissions::getInstance();
$this->assignRef('perms', $perms);
if (Vmconfig::get('multix', 'none') !== 'none') {
$vendorList = ShopFunctions::renderVendorList($category->virtuemart_vendor_id, false);
$this->assignRef('vendorList', $vendorList);
}
$this->assignRef('category', $category);
$this->assignRef('categorylist', $categorylist);
$this->addStandardEditViewCommands($category->virtuemart_category_id, $category);
} else {
$this->SetViewTitle('CATEGORY_S');
$keyWord = '';
$this->assignRef('model', $model);
$this->addStandardDefaultViewCommands();
$this->addStandardDefaultViewLists($model, 'category_name');
$categories = $model->getCategoryTree(0, 0, false, $this->lists['search']);
$this->assignRef('categories', $categories);
$pagination = $model->getPagination();
$this->assignRef('pagination', $pagination);
}
parent::display($tpl);
}
示例3: getCategories
function getCategories()
{
JTable::addIncludePath(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'tables');
require JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'shopfunctions.php';
JRequest::setVar('filter_order', 'c.ordering');
JRequest::setVar('filter_order_Dir', 'ASC');
$list = ShopFunctions::categoryListTree(array($this->getState('catid')));
return '<select onchange="this.form.submit();" id="catid" name="catid"><option value="0">' . JText::_('K2MART_ANY') . '</option>' . $list . '</select>';
}
示例4: getInput
protected function getInput()
{
//VmConfig::loadJLang('com_virtuemart');
$categorylist = ShopFunctions::categoryListTree(array($this->value));
$html = '<select multiple="true" class="inputbox ' . $this->class . '" name="' . $this->name . '" >';
$html .= '<option value="0">' . vmText::_('COM_VIRTUEMART_NONE') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例5: fetchElement
function fetchElement($name, $value, &$node, $control_name)
{
JPlugin::loadLanguage('com_virtuemart', JPATH_ADMINISTRATOR);
$categorylist = ShopFunctions::categoryListTree(array($value));
$html = '<select class="inputbox" name="' . $control_name . '[' . $name . ']' . '" >';
$html .= '<option value="0">' . JText::_('COM_VIRTUEMART_CATEGORY_FORM_TOP_LEVEL') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例6: fetchElement
function fetchElement($name, $value, &$node, $control_name)
{
JPlugin::loadLanguage('com_virtuemart', JPATH_ADMINISTRATOR);
$categorylist = ShopFunctions::categoryListTree(array($value));
$class = $node->attributes('class') ? 'class="' . $node->attributes('class') . '"' : '';
$html = '<select multiple="true" class="inputbox ' . $class . '" name="' . $control_name . '[' . $name . ']' . '" >';
$html .= '<option value="0">' . vmText::_('COM_VIRTUEMART_NONE') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例7: getInput
/**
* Method to get the field input markup.
*
* @return string The field input markup.
* @since 1.6
*/
protected function getInput()
{
tsmConfig::loadConfig();
tsmConfig::loadJLang('com_tsmart');
$categorylist = ShopFunctions::categoryListTree(array($this->value));
$html = '<select class="inputbox" name="' . $this->name . '" >';
$html .= '<option value="0">' . tsmText::_('com_tsmart_CATEGORY_FORM_TOP_LEVEL') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例8: getInput
protected function getInput()
{
$key = $this->element['key_field'] ? $this->element['key_field'] : 'value';
$val = $this->element['value_field'] ? $this->element['value_field'] : $this->name;
VmConfig::loadJLang('com_virtuemart');
$categorylist = ShopFunctions::categoryListTree(array($this->value));
$html = '<select class="inputbox" name="' . $this->name . '" >';
$html .= '<option value="0">' . vmText::_('COM_VIRTUEMART_CATEGORY_FORM_TOP_LEVEL') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例9: getInput
/**
* Method to get the field input markup.
*
* @author Valerie Cartan Isaksen
* @return string The field input markup.
* @since 1.6
*/
function getInput()
{
$key = $this->element['key_field'] ? $this->element['key_field'] : 'value';
$val = $this->element['value_field'] ? $this->element['value_field'] : $this->name;
JPlugin::loadLanguage('com_virtuemart', JPATH_ADMINISTRATOR);
$categorylist = ShopFunctions::categoryListTree(array($this->value));
$class = '';
$html = '<select class="inputbox" name="' . $this->name . '" >';
$html .= '<option value="0">' . JText::_('COM_VIRTUEMART_CATEGORY_FORM_TOP_LEVEL') . '</option>';
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例10: getInput
protected function getInput()
{
tsmConfig::loadConfig();
tsmConfig::loadJLang('com_tsmart');
if (!is_array($this->value)) {
$this->value = array($this->value);
}
$categorylist = ShopFunctions::categoryListTree($this->value);
$name = $this->name;
if ($this->multiple) {
$name = $this->name;
$this->multiple = ' multiple="multiple" ';
}
$html = '<select class="inputbox" name="' . $name . '" ' . $this->multiple . ' >';
if (!$this->multiple) {
$html .= '<option value="0">' . tsmText::_('com_tsmart_CATEGORY_FORM_TOP_LEVEL') . '</option>';
}
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例11: getInput
/**
* Method to get the field input markup.
*
* @return string The field input markup.
* @since 1.6
*/
protected function getInput()
{
if (!class_exists('VmConfig')) {
require JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'config.php';
}
if (!class_exists('ShopFunctions')) {
require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'shopfunctions.php';
}
if (!class_exists('TableCategories')) {
require JPATH_VM_ADMINISTRATOR . DS . 'tables' . DS . 'categories.php';
}
if (is_array($this->value)) {
$categorylist = ShopFunctions::categoryListTree($this->value);
} else {
$categorylist = ShopFunctions::categoryListTree(explode(',', $this->value));
}
$html = '<select name="' . $this->name . '" id="' . $this->name . '" class="inputbox" size="15" multiple="multiple">';
//$html .= $categorylist;
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例12: getInput
protected function getInput()
{
VmConfig::loadConfig();
VmConfig::loadJLang('com_virtuemart');
if (!is_array($this->value)) {
$this->value = array($this->value);
}
$categorylist = ShopFunctions::categoryListTree($this->value);
$name = $this->name;
if ($this->multiple) {
$name = $this->name;
$this->multiple = ' multiple="multiple" ';
}
$id = VmHtml::ensureUniqueId('vmcategories');
$html = '<select id="' . $id . '" class="inputbox" name="' . $name . '" ' . $this->multiple . ' >';
if (!$this->multiple) {
$html .= '<option value="0">' . vmText::_('COM_VIRTUEMART_CATEGORY_FORM_TOP_LEVEL') . '</option>';
}
$html .= $categorylist;
$html .= "</select>";
return $html;
}
示例13: fetchElement
function fetchElement($name, $value, &$node, $control_name)
{
//Load languages
$language = JFactory::getLanguage();
$language->load('plg_k2_k2mart', JPATH_ADMINISTRATOR);
$language->load('com_virtuemart', JPATH_ADMINISTRATOR);
//Get params
$params = JComponentHelper::getParams('com_k2mart');
$mainframe = JFactory::getApplication();
$db = JFactory::getDBO();
//Add scripts and styles
$document = JFactory::getDocument();
$document->addStyleSheet(JURI::root(true) . '/plugins/k2/k2mart/tmpl/admin/css/admin.style.css');
$document->addStyleSheet(JURI::root(true) . '/administrator/components/com_k2mart/css/chosen.css');
$document->addScript(JURI::root(true) . '/plugins/k2/k2mart/includes/js/admin.k2mart.js');
$document->addScript(JURI::root(true) . '/administrator/components/com_k2mart/js/chosen.jquery.min.js');
$document->addScript(JURI::root(true) . '/components/com_virtuemart/assets/js/fancybox/jquery.fancybox-1.3.4.js');
$document->addScript(JURI::root(true) . '/administrator/components/com_virtuemart/assets/js/vm2admin.js');
$document->addScript(JURI::root(true) . '/administrator/components/com_virtuemart/assets/js/jquery.coookie.js');
//Get K2 Item
$itemID = JRequest::getInt('cid');
$productID = 0;
if ($itemID) {
$query = "SELECT referenceID FROM #__k2mart WHERE baseID = {$itemID}";
$db->setQuery($query);
$productID = $db->loadResult();
}
//Include Virtuemart classes
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'config.php';
$config = VmConfig::loadConfig();
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'shopfunctions.php';
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'html.php';
JModel::addIncludePath(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'models');
//Get product
$model = JModel::getInstance('Product', 'VirtuemartModel');
$product = $model->getProductSingle($productID, false);
//Get product children
$product->children = method_exists($model, 'getProductChilds') ? $model->getProductChilds($productID) : $model->getProductChildIds($productID);
//Get product parent
JModel::addIncludePath(JPATH_SITE . DS . 'components' . DS . 'com_k2' . DS . 'models');
$K2Model = JModel::getInstance('Itemlist', 'K2Model');
$tree = $K2Model->getCategoryTree($params->get('catalogRoot', 0));
$query = "SELECT id AS value, title AS text FROM #__k2_items WHERE catid IN(" . implode(',', $tree) . ")";
$db->setQuery($query);
$items = $db->loadObjectList();
$option = new JObject();
$option->value = 0;
$option->text = JText::_('K2MART_NONE');
array_unshift($items, $option);
$parent = 0;
if ($product->product_parent_id) {
$query = "SELECT baseID FROM #__k2mart WHERE referenceID = {$product->product_parent_id}";
$db->setQuery($query);
$parent = $db->loadResult();
}
$lists['product_parent_id'] = JHTML::_('select.genericlist', $items, 'product_parent_id', 'class="inputbox"', 'value', 'text', $parent);
//Get category tree
if (isset($product->categories)) {
$lists['categories'] = ShopFunctions::categoryListTree($product->categories);
} else {
$lists['categories'] = ShopFunctions::categoryListTree();
}
//Get vendors
if (Vmconfig::get('multix', 'none') !== 'none') {
$lists['vendors'] = Shopfunctions::renderVendorList($product->virtuemart_vendor_id);
}
//Get images
$model->addImages($product);
if (is_array($product->images) && isset($product->images[0])) {
$product->image = $product->images[0];
} else {
$product->image = new JObject();
$product->image->virtuemart_media_id = 0;
$product->image->file_title = '';
$product->image->file_description = '';
$product->image->file_meta = '';
$product->image->file_url = '';
$product->image->file_url_thumb = '';
$product->image->file_title = '';
}
//Get manufacturers
$model = JModel::getInstance('Manufacturer', 'VirtuemartModel');
$manufacturers = $model->getManufacturerDropdown($product->virtuemart_manufacturer_id);
if (count($manufacturers) > 0) {
$lists['manufacturers'] = JHTML::_('select.genericlist', $manufacturers, 'virtuemart_manufacturer_id', 'class="inputbox"', 'value', 'text', $product->virtuemart_manufacturer_id);
}
//Get shopper groups
if (isset($product->shoppergroups)) {
$lists['shopperGroups'] = ShopFunctions::renderShopperGroupList($product->shoppergroups, true);
}
//Get product price
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'calculationh.php';
$calculator = calculationHelper::getInstance();
$product->prices = $calculator->getProductPrices($product);
// Get product price override options
$options = array(0 => 'Disabled', 1 => 'Overwrite final', -1 => 'Overwrite price to tax');
$lists['price_override_options'] = VmHtml::radioList('override', $product->override, $options);
// Get tax rules
$dbTax = '';
foreach ($calculator->rules['DBTax'] as $rule) {
//.........这里部分代码省略.........
示例14: display
function display($tpl = null)
{
// Get the task
$task = JRequest::getWord('task');
// Load helpers
$this->loadHelper('currencydisplay');
$this->loadHelper('html');
$this->loadHelper('image');
//$category_model = VmModel::getModel('category');
$model = VmModel::getModel();
// Handle any publish/unpublish
switch ($task) {
case 'add':
case 'edit':
//this was in the controller for the edit tasks, I dont know if it is still needed,
$this->addTemplatePath(JPATH_COMPONENT_ADMINISTRATOR . DS . 'views' . DS . 'product' . DS . 'tmpl');
$virtuemart_product_id = JRequest::getVar('virtuemart_product_id', array());
if (is_array($virtuemart_product_id) && count($virtuemart_product_id) > 0) {
$virtuemart_product_id = (int) $virtuemart_product_id[0];
} else {
$virtuemart_product_id = (int) $virtuemart_product_id;
}
$product = $model->getProductSingle($virtuemart_product_id, false);
$product_parent = $model->getProductParent($product->product_parent_id);
$mf_model = VmModel::getModel('manufacturer');
$manufacturers = $mf_model->getManufacturerDropdown($product->virtuemart_manufacturer_id);
$this->assignRef('manufacturers', $manufacturers);
// Get the category tree
if (isset($product->categories)) {
$category_tree = ShopFunctions::categoryListTree($product->categories);
} else {
$category_tree = ShopFunctions::categoryListTree();
}
$this->assignRef('category_tree', $category_tree);
//Get the shoppergoup list - Cleanshooter Custom Shopper Visibility
if (isset($product->shoppergroups)) {
$shoppergroupList = ShopFunctions::renderShopperGroupList($product->shoppergroups, true);
}
$this->assignRef('shoppergroupList', $shoppergroupList);
// Load the product price
if (!class_exists('calculationHelper')) {
require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'calculationh.php';
}
$calculator = calculationHelper::getInstance();
$product->prices = $calculator->getProductPrices($product);
$product_childIds = $model->getProductChildIds($virtuemart_product_id);
$product_childs = array();
foreach ($product_childIds as $id) {
$product_childs[] = $model->getProductSingle($id, false);
}
$this->assignRef('product_childs', $product_childs);
$DBTax = '';
//JText::_('COM_VIRTUEMART_RULES_EFFECTING') ;
foreach ($calculator->rules['DBTax'] as $rule) {
$DBTax .= $rule['calc_name'] . '<br />';
}
$this->assignRef('DBTaxRules', $DBTax);
$tax = '';
//JText::_('COM_VIRTUEMART_TAX_EFFECTING').'<br />';
foreach ($calculator->rules['Tax'] as $rule) {
$tax .= $rule['calc_name'] . '<br />';
}
foreach ($calculator->rules['VatTax'] as $rule) {
$tax .= $rule['calc_name'] . '<br />';
}
$this->assignRef('taxRules', $tax);
$DATax = '';
//JText::_('COM_VIRTUEMART_RULES_EFFECTING');
foreach ($calculator->rules['DATax'] as $rule) {
$DATax .= $rule['calc_name'] . '<br />';
}
$this->assignRef('DATaxRules', $DATax);
// $this->assignRef('override', $calculator->override);
// $this->assignRef('product_override_price', $calculator->product_override_price);
if (!isset($product->product_tax_id)) {
$product->product_tax_id = 0;
}
$lists['taxrates'] = ShopFunctions::renderTaxList($product->product_tax_id, 'product_tax_id');
if (!isset($product->product_discount_id)) {
$product->product_discount_id = 0;
}
$lists['discounts'] = $this->renderDiscountList($product->product_discount_id);
if (!class_exists('VirtueMartModelConfig')) {
require JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'config.php';
}
$productLayouts = VirtueMartModelConfig::getLayoutList('productdetails');
$this->assignRef('productLayouts', $productLayouts);
// Load Images
$model->addImages($product);
if (is_Dir(VmConfig::get('vmtemplate') . DS . 'images' . DS . 'availability' . DS)) {
$imagePath = VmConfig::get('vmtemplate') . '/images/availability/';
} else {
$imagePath = '/components/com_virtuemart/assets/images/availability/';
}
$this->assignRef('imagePath', $imagePath);
// Load the vendors
$vendor_model = VmModel::getModel('vendor');
// $vendors = $vendor_model->getVendors();
// $lists['vendors'] = JHTML::_('select.genericlist', $vendors, 'virtuemart_vendor_id', '', 'virtuemart_vendor_id', 'vendor_name', $product->virtuemart_vendor_id);
if (Vmconfig::get('multix', 'none') !== 'none') {
//.........这里部分代码省略.........
示例15: display
function display($tpl = null)
{
$this->loadHelper('html');
$this->loadHelper('permissions');
if (!class_exists('shopFunctionsF')) {
require JPATH_VM_SITE . DS . 'helpers' . DS . 'shopfunctionsf.php';
}
$model = VmModel::getModel();
$layoutName = $this->getLayout();
$task = JRequest::getWord('task', $layoutName);
$this->task = $task;
$this->perms = Permissions::getInstance();
// to add in vmview ?
$multivendor = Vmconfig::get('multix', 'none');
$this->multiX = $multivendor !== 'none' && $multivendor != '' ? true : false;
if ($layoutName == 'edit') {
$this->loadHelper('shopfunctions');
$category = $model->getCategory('', false);
if (isset($category->category_name)) {
$name = $category->category_name;
} else {
$name = '';
}
$this->SetViewTitle('CATEGORY', $name);
$model->addImages($category);
if ($category->virtuemart_category_id) {
$this->relationInfo = $model->getRelationInfo($category->virtuemart_category_id);
}
$this->parent = $model->getParentCategory($category->virtuemart_category_id);
$this->jTemplateList = ShopFunctions::renderTemplateList(JText::_('COM_VIRTUEMART_CATEGORY_TEMPLATE_DEFAULT'));
if (!class_exists('VirtueMartModelConfig')) {
require JPATH_VM_ADMINISTRATOR . '/models' . DS . 'config.php';
}
$this->productLayouts = VirtueMartModelConfig::getLayoutList('productdetails', $category->category_product_layout, 'category_product_layout');
$this->categoryLayouts = VirtueMartModelConfig::getLayoutList('category', $category->category_layout, 'categorylayout');
// front autoset parent category
if (!$category->virtuemart_category_id) {
$this->parent->virtuemart_category_id = jRequest::getInt('category_parent_id', 0);
}
//Nice fix by Joe, the 4. param prevents setting an category itself as child
// Note Studio42, the fix is not suffisant, you can set the category in a children and get infinit loop in router for eg.
$this->categorylist = ShopFunctions::categoryListTree(array($this->parent->virtuemart_category_id), 0, 0, (array) $category->virtuemart_category_id);
if (Vmconfig::get('multix', 'none') !== 'none') {
$this->vendorList = ShopFunctions::renderVendorList($category->virtuemart_vendor_id, false);
}
$this->category = $category;
$this->addStandardEditViewCommands($category->virtuemart_category_id, $category);
} else {
$category_id = JRequest::getInt('filter_category_id');
if (JRequest::getWord('format', '') === 'raw') {
$tpl = 'results';
} else {
$this->SetViewTitle('CATEGORY_S');
$this->addStandardDefaultViewCommands();
$this->categorylist = ShopFunctions::categoryListTreeLoop((array) $category_id, 0, 0);
if ($this->multiX && $this->adminVendor == 1) {
JToolBarHelper::custom('toggle.shared.1', 'publish', 'yes', JText::_('COM_VIRTUEMART_SHARED'), true);
JToolBarHelper::custom('toggle.shared.0', 'unpublish', 'no', JText::_('COM_VIRTUEMART_SHARED'), true);
}
}
$this->catmodel = $model;
$this->addStandardDefaultViewLists($model, 'category_name');
$this->categories = $model->getCategoryTree($category_id, 0, false, $this->lists['search']);
$this->pagination = $model->getPagination();
//we need a function of the FE shopfunctions helper to cut the category descriptions
jimport('joomla.filter.output');
}
parent::display($tpl);
if ($tpl === 'results') {
echo $this->AjaxScripts();
}
}