AAAAmodels/button.php 0000666 00000001456 15137154071 0010071 0 ustar 00 enqueueMessage(JText::_("AG_DESCRIPTION_FILE_CREATED") . " " . basename($ag_itemURL), 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_WRITE_DESCRIPTION_FILE") . " " . basename($ag_itemURL), 'error');
}
fclose($handle);
}
}
function _bookmarkRename($AG_originalPath, $AG_newPath) {
$AG_bookmark_ID = $AG_originalPath . '/';
$ag_bookmarkFile = JPATH_SITE . '/administrator/components/com_admirorgallery/assets/bookmarks.xml';
$ag_bookmarks_xml = JFactory::getXMLParser('simple');
$ag_bookmarks_xml->loadFile($ag_bookmarkFile);
if (isset($ag_bookmarks_xml->document->bookmark)) {
$ag_bookmarks_array = $ag_bookmarks_xml->document->bookmark;
}
// CHECK IF BOOKMARK ALREADY EXISTS
$bookmarkCheck = false;
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $ag_bookmarks_key => $ag_bookmarks_value) {
if ($ag_bookmarks_value->data() == $AG_bookmark_ID) {
$bookmarkCheck = true;
}
}
}
if ($bookmarkCheck == true) {
// WRITE NEW BOOKMARK XML
$ag_content = "";
$ag_content.="" . "\n";
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $ag_bookmarks_key => $ag_bookmarks_value) {
if ($ag_bookmarks_value->data() == $AG_bookmark_ID) {
$ag_content.=' ' . $AG_newPath . '/' . "\n";
} else {
$ag_content.=' ' . $ag_bookmarks_value->data() . '' . "\n";
}
}
}
$ag_content.="" . "\n";
if (!empty($ag_content)) {
$handle = fopen($ag_bookmarkFile, "w") or die(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING"));
if (!fwrite($handle, $ag_content)) {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING") . " " . $AG_bookmark_ID, 'error');
}
fclose($handle);
}
}
}
function _bookmarkRemove($AG_cbox_bookmarkRemove) {
foreach ($AG_cbox_bookmarkRemove as $key => $AG_bookmark_ID) {
$ag_bookmarkFile = JPATH_SITE . '/administrator/components/com_admirorgallery/assets/bookmarks.xml';
$ag_bookmarks_xml = JFactory::getXMLParser('simple');
$ag_bookmarks_xml->loadFile($ag_bookmarkFile);
if (isset($ag_bookmarks_xml->document->bookmark)) {
$ag_bookmarks_array = $ag_bookmarks_xml->document->bookmark;
}
// CHECK IF BOOKMARK ALREADY EXISTS
$bookmarkCheck = false;
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $ag_bookmarks_key => $ag_bookmarks_value) {
if ($ag_bookmarks_value->data() == $AG_bookmark_ID) {
$bookmarkCheck = true;
}
}
}
if ($bookmarkCheck == true) {
// WRITE NEW BOOKMARK XML
$ag_content = "";
$ag_content.="" . "\n";
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $ag_bookmarks_key => $ag_bookmarks_value) {
if ((!empty($ag_bookmarks_value)) && ($ag_bookmarks_value->data() != $AG_bookmark_ID)) {
$ag_content.=' ' . $ag_bookmarks_value->data() . '' . "\n";
}
}
}
$ag_content.="" . "\n";
if (!empty($ag_content)) {
$handle = fopen($ag_bookmarkFile, "w") or die(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING"));
if (fwrite($handle, $ag_content)) {
JFactory::getApplication()->enqueueMessage(JText::_("AG_GALLERY_REMOVED_FROM_LISTING") . " " . $AG_bookmark_ID, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING") . " " . $AG_bookmark_ID, 'error');
}
fclose($handle);
}
}
}
}
function _bookmarkAdd($AG_cbox_bookmarkAdd) {
foreach ($AG_cbox_bookmarkAdd as $key => $value) {
if (!empty($value) && is_dir(JPATH_SITE . $value)) {
$ag_bookmarkFile = JPATH_SITE . '/administrator/components/com_admirorgallery/assets/bookmarks.xml';
$bookmarkCheck = false;
$ag_bookmarks_xml = JFactory::getXMLParser('simple');
$ag_bookmarks_xml->loadFile($ag_bookmarkFile);
if (isset($ag_bookmarks_xml->document->bookmark)) {
$ag_bookmarks_array = $ag_bookmarks_xml->document->bookmark;
// CHECK IS BOOKMARK ALREADY EXISTS
$bookmarkCheck = false;
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $key2 => $value2) {
if ($value2->data() == $value) {
$bookmarkCheck = true;
}
}
}
}
if ($bookmarkCheck == false) {
// WRITE NEW BOOKMARK XML
$ag_content = "";
$ag_content.="" . "\n";
if (!empty($ag_bookmarks_array)) {
foreach ($ag_bookmarks_array as $key2 => $value2) {
if (!empty($value2)) {
$ag_content.=' ' . $value2->data() . '' . "\n";
}
}
}
$ag_content.=' ' . $value . '' . "\n";
$ag_content.="" . "\n";
if (!empty($ag_content)) {
$handle = fopen($ag_bookmarkFile, "w") or die(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING"));
if (fwrite($handle, $ag_content)) {
JFactory::getApplication()->enqueueMessage(JText::_("AG_GALLERY_ADDED") . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_WRITE_GALLERY_LISTING") . " " . $value, 'error');
}
fclose($handle);
}
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_GALLERY_ALREADY_EXISTS") . " " . $value, 'error');
}
}
}
}
function _cbox_priority($ag_preview_checked_array) {
foreach ($ag_preview_checked_array as $key => $value) {
$ag_itemURL = $key;
$ag_priority = $value;
$ag_folderName = dirname($ag_itemURL);
if (is_numeric($ag_priority)) {
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$ag_pathWithStripExt = JPATH_SITE . $ag_folderName . '/' . JFile::stripExt(basename($ag_itemURL));
$ag_XML_path = $ag_pathWithStripExt . ".xml";
if (JFIle::exists($ag_pathWithStripExt . ".XML")) {
$ag_XML_path = $ag_pathWithStripExt . ".XML";
}
$ag_priority_new = '' . $ag_priority . '';
$ag_XML_priority = "";
if (file_exists($ag_XML_path)) {
$ag_XML_xml = JFactory::getXMLParser('simple');
$ag_XML_xml->loadFile($ag_XML_path);
$ag_XML_priority = $ag_XML_xml->document->priority[0]->data();
}
if ($ag_XML_priority != $ag_priority) {
if (file_exists($ag_XML_path)) {
$file = fopen($ag_XML_path, "r");
$ag_XML_content = "";
while (!feof($file)) {
$ag_XML_content.=fgetc($file);
}
fclose($file);
$ag_XML_content = preg_replace("#(.*?)#s", $ag_priority_new, $ag_XML_content);
} else {
$ag_XML_content = '' . "\n" . '' . "\n" . 'true' . "\n" . $ag_priority_new . "\n" . '' . "\n" . '' . "\n" . '' . "\n" . '';
}
// Save XML
$this->_saveXML($ag_itemURL, $ag_XML_path, $ag_XML_content);
}
} else {
if (!empty($ag_priority)) {
JFactory::getApplication()->enqueueMessage(JText::_("AG_PRIORITY_MUST_BE_NUMERIC_VALUE_FOR_IMAGE") . " " . basename($ag_itemURL), 'error');
}
}
}
}
function _set_visible($AG_cbox_selectItem, $ag_folderName, $AG_visible) {
foreach ($AG_cbox_selectItem as $key => $value) {
$ag_itemURL = $value;
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$ag_pathWithStripExt = JPATH_SITE . $ag_folderName . JFile::stripExt(basename($ag_itemURL));
$ag_XML_path = $ag_pathWithStripExt . ".xml";
if (JFIle::exists($ag_pathWithStripExt . ".XML")) {
$ag_XML_path = $ag_pathWithStripExt . ".XML";
}
// Set new visible tag
if ($AG_visible == "show") {
$ag_visible_new = "true";
} else {
$ag_visible_new = "false";
}
$ag_XML_content = '';
if (file_exists($ag_XML_path)) {
$file = fopen($ag_XML_path, "r");
while (!feof($file)) {
$ag_XML_content .= fgetc($file);
}
fclose($file);
if (preg_match("#(.*?)#s", $ag_XML_content)) {
$ag_XML_content = preg_replace("#(.*?)#s", $ag_visible_new, $ag_XML_content);
} else {
$ag_XML_content = preg_replace("##s", $ag_visible_new . "\n" . "", $ag_XML_content);
}
} else {
$ag_XML_content = '' . "\n" . '' . "\n" . $ag_visible_new . "\n" . '' . "\n" . '' . "\n" . '' . "\n" . '';
}
// Save XML
$this->_saveXML($ag_itemURL, $ag_XML_path, $ag_XML_content);
}
}
function _fileUpload($AG_itemURL, $file) {
$config = JFactory::getConfig();
$tmp_dest = $config->getValue('config.tmp_path');
$ag_ext_valid = array("jpg", "jpeg", "gif", "png", "zip");
//Clean up filename to get rid of strange characters like spaces etc
$filename = JFile::makeSafe($file['name']);
$ag_file_ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION));
$src = $file['tmp_name'];
$dest = $tmp_dest . DS . $filename;
// FILTER EXTENSION
$ag_ext_check = array_search($ag_file_ext, $ag_ext_valid);
if (is_numeric($ag_ext_check)) {
if (JFile::upload($src, $dest)) {
if ($ag_file_ext == "zip") {
if (JArchive::extract($tmp_dest . DS . $filename, JPATH_SITE . $AG_itemURL)) {
JFile::delete($tmp_dest . DS . $filename);
JFactory::getApplication()->enqueueMessage(JText::_('AG_ZIP_PACKAGE_IS_UPLOADED_AND_EXTRACTED') . " " . $filename, 'message');
}
} else {
if (JFile::copy($tmp_dest . DS . $filename, JPATH_SITE . $AG_itemURL . $filename)) {
JFile::delete($tmp_dest . DS . $filename);
JFactory::getApplication()->enqueueMessage(JText::_('AG_IMAGE_IS_UPLOADED') . " " . $filename, 'message');
}
}
} else {
$ag_error[] = Array();
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_UPLOAD_FILE') . " " . $filename, 'error');
}
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_ONLY_JPG_JPEG_GIF_PNG_AND_ZIP_ARE_VALID_EXTENSIONS"), 'error');
}
}
function _addFolders($AG_itemURL, $AG_addFolders) {
foreach ($AG_addFolders as $key => $value) {
if (!empty($value)) {
$newFolderName = $value;
// CREATE WEBSAFE TITLES
if (!empty($this->webSafe)) {
foreach ($this->webSafe as $webSafekey => $webSafevalue) {
$newFolderName = str_replace($webSafevalue, "-", $newFolderName);
}
}
$newFolderName = htmlspecialchars(strip_tags($newFolderName));
if (!file_exists(JPATH_SITE . $AG_itemURL . $newFolderName)) {
if (JFolder::create(JPATH_SITE . $AG_itemURL . $newFolderName, 0755)) {
JFactory::getApplication()->enqueueMessage(JText::_("AG_FOLDER_CREATED") . " " . $newFolderName, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_CREATE_FOLDER") . " " . $newFolderName, 'error');
}
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_FOLDER_ALREADY_EXISTS") . " " . $newFolderName, 'error');
}
}//if(!empty($value))
}
}
// COPY
function _copy($AG_cbox_selectItem, $AG_operations_targetFolder) {
foreach ($AG_cbox_selectItem as $key => $value) {
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$AG_folderName = dirname($value);
$AG_pathWithStripExt = JPATH_SITE . $AG_folderName . '/' . JFile::stripExt(basename($value));
$ag_XML_path = $AG_pathWithStripExt . ".XML";
if (JFIle::exists($AG_pathWithStripExt . ".xml")) {
$ag_XML_path = $AG_pathWithStripExt . ".xml";
}
if (is_dir(JPATH_SITE . DS . $value)) {
if (JFolder::copy(JPATH_SITE . DS . $value, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($value))) {
if (JFIle::exists($ag_XML_path)) {
JFile::copy($ag_XML_path, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($ag_XML_path));
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_COPIED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_COPY_ITEM') . " " . $value, 'error');
}
} else {
if (JFile::copy(JPATH_SITE . DS . $value, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($value))) {
if (JFIle::exists($ag_XML_path)) {
JFile::copy($ag_XML_path, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($ag_XML_path));
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_COPIED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_COPY_ITEM') . " " . $value, 'error');
}
}
}
}
// MOVE
function _move($AG_cbox_selectItem, $AG_operations_targetFolder) {
foreach ($AG_cbox_selectItem as $key => $value) {
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$AG_folderName = dirname($value);
$AG_pathWithStripExt = JPATH_SITE . $AG_folderName . '/' . JFile::stripExt(basename($value));
$ag_XML_path = $AG_pathWithStripExt . ".XML";
if (JFIle::exists($AG_pathWithStripExt . ".xml")) {
$ag_XML_path = $AG_pathWithStripExt . ".xml";
}
if (is_dir(JPATH_SITE . DS . $value)) {
if (JFolder::move(JPATH_SITE . DS . $value, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($value))) {
$this->_bookmarkRemove(array($value));
if (JFIle::exists($ag_XML_path)) {
JFile::move($ag_XML_path, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($ag_XML_path));
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_MOVED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_MOVED_ITEM') . " " . $value, 'error');
}
} else {
if (JFile::move(JPATH_SITE . DS . $value, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($value))) {
if (JFIle::exists($ag_XML_path)) {
JFile::move($ag_XML_path, JPATH_SITE . DS . $AG_operations_targetFolder . DS . basename($ag_XML_path));
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_MOVED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_MOVED_ITEM') . " " . $value, 'error');
}
}
}
}
function _remove($AG_cbox_remove) {
foreach ($AG_cbox_remove as $key => $value) {
$AG_folderName = dirname($value);
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$AG_pathWithStripExt = JPATH_SITE . $AG_folderName . '/' . JFile::stripExt(basename($value));
$ag_XML_path = $AG_pathWithStripExt . ".XML";
if (JFIle::exists($AG_pathWithStripExt . ".xml")) {
$ag_XML_path = $AG_pathWithStripExt . ".xml";
}
// DELETE
if (is_dir(JPATH_SITE . DS . $value)) {
if (JFolder::delete(JPATH_SITE . DS . $value)) {
$this->_bookmarkRemove(array($value));
if (file_exists($ag_XML_path)) {
JFile::delete($ag_XML_path);
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_DELETED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_DELETE_ITEM') . " " . $value, 'error');
}
} else {
if (JFile::delete(JPATH_SITE . DS . $value)) {
if (file_exists($ag_XML_path)) {
JFile::delete($ag_XML_path);
}
JFactory::getApplication()->enqueueMessage(JText::_('AG_ITEM_DELETED') . " " . $value, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_('AG_CANNOT_DELETE_ITEM') . " " . $value, 'error');
}
}
}
}
function _rename($AG_itemURL, $AG_originalPath, $AG_newName) {
$AG_originalName = basename($AG_originalPath);
$AG_folderName = dirname($AG_originalPath);
// CREATE WEBSAFE TITLES
if (!empty($this->webSafe)) {
foreach ($this->webSafe as $webSafekey => $webSafevalue) {
$AG_newName = str_replace($webSafevalue, "-", $AG_newName);
}
}
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$ag_pathWithStripExt = JPATH_SITE . $AG_folderName . DS . JFile::stripExt($AG_originalName);
$ag_XML_path = $ag_pathWithStripExt . ".XML";
if (JFIle::exists($ag_pathWithStripExt . ".xml")) {
$ag_XML_path = $ag_pathWithStripExt . ".xml";
}
if (!is_dir(JPATH_SITE . $AG_originalPath)) {
$ag_file_ext = JFile::getExt($AG_originalName);
$ag_file_new_name = $AG_folderName . DS . $AG_newName . '.' . $ag_file_ext;
if (!file_exists(JPATH_SITE . $ag_file_new_name)) {
if (rename(JPATH_SITE . $AG_originalPath, JPATH_SITE . $ag_file_new_name)) {
if (file_exists($ag_XML_path)) {
rename($ag_XML_path, JPATH_SITE . $AG_folderName . DS . $AG_newName . '.xml');
}
JFactory::getApplication()->enqueueMessage(JText::_("AG_IMAGE_RENAMED") . " " . $AG_originalName, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_RENAME_IMAGE") . " " . $AG_originalName, 'error');
}
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_FOLDER_WITH_THE_SAME_NAME_ALREADY_EXISTS"), 'error');
}
} else {
if (!file_exists(JPATH_SITE . $AG_folderName . DS . $AG_newName)) {
if (rename(JPATH_SITE . $AG_originalPath, JPATH_SITE . $AG_folderName . DS . $AG_newName)) {
$this->_bookmarkRename($AG_originalPath, $AG_folderName . DS . $AG_newName);
if (file_exists($ag_XML_path)) {
rename($ag_XML_path, JPATH_SITE . $AG_folderName . DS . $AG_newName . '.xml');
}
JFactory::getApplication()->enqueueMessage(JText::_("AG_FOLDER_RENAMED") . " " . $AG_originalName, 'message');
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_CANNOT_RENAME_FOLDER") . " " . $AG_originalName, 'error');
}
} else {
JFactory::getApplication()->enqueueMessage(JText::_("AG_FOLDER_WITH_THE_SAME_NAME_ALREADY_EXISTS"), 'error');
}
}
}
// =================================== _FOLDER_DESC_CONTENT
// It creates caption tags with its content. After that it checks if XML already exists. If is it replace captions, if not it creates a new XML
function _folder_desc_content($ag_itemURL, $AG_desc_content, $AG_desc_tags, $AG_folder_thumb) {
$ag_folderName = dirname($ag_itemURL);
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$ag_pathWithStripExt = JPATH_SITE . $ag_folderName . DS . JFile::stripExt(basename($ag_itemURL));
$ag_XML_path = $ag_pathWithStripExt . ".xml";
if (JFIle::exists($ag_pathWithStripExt . ".XML")) {
$ag_XML_path = $ag_pathWithStripExt . ".XML";
}
// Set new Captions tag
$ag_captions_new = "";
$ag_captions_new.="" . "\n";
if (!empty($AG_desc_content)) {
foreach ($AG_desc_content as $key => $value) {
if (!empty($value)) {
$ag_captions_new .= "\t" . '' . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . '' . "\n";
}
}
}
$ag_captions_new.="";
// Set new Thumb tag
$ag_thumb_new = "" . $AG_folder_thumb . "";
$ag_XML_content = "";
if (file_exists($ag_XML_path)) {
$file = fopen($ag_XML_path, "r");
while (!feof($file)) {
$ag_XML_content.=fgetc($file);
}
fclose($file);
if (preg_match("#(.*?)#s", $ag_XML_content)) {
$ag_XML_content = preg_replace("#(.*?)#s", $ag_thumb_new, $ag_XML_content);
} else {
$ag_XML_content = preg_replace("##s", $ag_thumb_new . "\n" . "", $ag_XML_content);
}
if (preg_match("#(.*?)#s", $ag_XML_content)) {
$ag_XML_content = preg_replace("#(.*?)#s", $ag_captions_new, $ag_XML_content);
} else {
$ag_XML_content = preg_replace("##s", $ag_captions_new . "\n" . "", $ag_XML_content);
}
} else {
$ag_XML_content = '' . "\n" . '' . "\n" . 'true' . "\n" . '' . "\n" . '' . $AG_folder_thumb . '' . "\n" . $ag_captions_new . "\n" . '';
}
// Save XML
$this->_saveXML($ag_itemURL, $ag_XML_path, $ag_XML_content);
}
function _desc_content($ag_itemURL, $AG_desc_content, $AG_desc_tags) {
$ag_folderName = dirname($ag_itemURL);
// Set Possible Description File Apsolute Path // Instant patch for upper and lower case...
$ag_pathWithStripExt = JPATH_SITE . $ag_folderName . DS . JFile::stripExt(basename($ag_itemURL));
$ag_XML_path = $ag_pathWithStripExt . ".xml";
if (JFIle::exists($ag_pathWithStripExt . ".XML")) {
$ag_XML_path = $ag_pathWithStripExt . ".XML";
}
$ag_captions_new = "";
$ag_captions_new.="" . "\n";
if (!empty($AG_desc_content)) {
foreach ($AG_desc_content as $key => $value) {
if (!empty($value)) {
$ag_captions_new .= "\t" . '' . htmlspecialchars($value, ENT_QUOTES, "UTF-8") . '' . "\n";
}
}
}
$ag_captions_new.="";
$ag_XML_content = "";
if (file_exists($ag_XML_path)) {
$file = fopen($ag_XML_path, "r");
while (!feof($file)) {
$ag_XML_content.=fgetc($file);
}
fclose($file);
$ag_XML_content = preg_replace("#(.*?)#s", $ag_captions_new, $ag_XML_content);
} else {
$ag_XML_content = '' . "\n" . '' . "\n" . 'true' . "\n" . '' . "\n" . $ag_captions_new . "\n" . '';
}
// Save XML
$this->_saveXML($ag_itemURL, $ag_XML_path, $ag_XML_content);
}
}
models/layout.php 0000666 00000001455 15137154071 0010072 0 ustar 00