HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/fickanzeiger/compiled/arfooo_template/en/c_1_javascript_config_tpl.php
<?php /* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2014-05-15 11:07:14 CEST */ ?>

    var setting = new Array();
    setting.siteRootUrl = "<?php echo $this->_run_modifier($this->_vars['setting']['siteRootUrl'], 'rtrim', 'PHP', 1, '/'); ?>
";
    setting.siteDescriptionMaxLength = <?php echo $this->_vars['setting']['siteDescriptionMaxLength']; ?>
;
    setting.siteDescriptionMinLength = <?php echo $this->_vars['setting']['minSiteDescriptionLength']; ?>
;
    setting.maxKeywordsCountPerSite = <?php echo $this->_vars['setting']['maxKeywordsCountPerSite']; ?>
;
    setting.itemGalleryImagesMaxCount = <?php echo $this->_vars['setting']['itemGalleryImagesMaxCount']; ?>
;
    setting.metaDataUrl = "<?php echo $this->_run_modifier('/webmaster/getMetaData', 'url', 'plugin', 1); ?>
";
    setting.urlMandatory = <?php echo $this->_vars['setting']['urlMandatory']; ?>
;
    setting.backLinkMandatory = <?php echo $this->_vars['setting']['backLinkMandatory']; ?>
;
    setting.urlRewriting = <?php echo $this->_vars['setting']['urlRewriting']; ?>
;
    
    setting.lang = new Array();                    
    setting.lang['You have already added this keyword. Select another one.'] = "You have already chosen this keyword. Select another one"; 
    setting.lang['loading...'] = "loading..."; 
    setting.lang['Please, fill in the fields URL of site, Title and Description.'] = "Please fill in the website Url, Title and Description fields"; 
    setting.lang['The URL must start with http://'] = "The Url must start with http://"; 
    setting.lang['Please, enter a valid e-mail address.'] = "Please enter a valid e-mail address"; 
    setting.lang['You modify the webmaster of this site. Do you want the fields Webmaster Email and Webmaster Name to be refreshed, or you want to modify them manually?'] = "When changing the website webmaster, the e-mail will also change"; 
    setting.lang['The comment was saved.'] = "The comment was saved";
    setting.lang['The comment was deleted.'] = "The comment was deleted";
    setting.lang['The IP was banned.'] = "The IP was banned";
    setting.lang['Please, select a package.'] = "Please, select a package";
    setting.lang['Please, select a payment processor.'] = "Please, select a payment processor";
    setting.lang['Please, enter a name or nickname.'] = "Please enter your username";
    setting.lang['Please, enter a comment.'] = "Please, enter a comment.";
    setting.lang['Please, enter the protection code.'] = "Please, enter the security code";
    setting.lang['The tag was saved.'] = "The tag was saved";
    setting.lang['You can`t select this payment method for selected package.'] = "You can`t select this payment method for selected package";
    setting.lang["Delete"] = "Delete";
	setting.lang["Edit"] = "Edit";
    setting.lang["File"] = "File";
    setting.lang["was uploaded sucessfully"] = "was uploaded sucessfully";
    setting.lang["of"] = "of";
    setting.lang["available photos uploaded"] = "available photos uploaded";
    setting.lang["Loading"] = "Loading";
    setting.lang["Loading..."] = "Loading...";
    setting.lang["Your email must be in format - name@domain.com"] = "Your email must be in format - name@domain.com";
    setting.lang["Email was used earlier"] = "Email was used earlier";
    setting.lang["Please enter password"] = "Please enter password";
    setting.lang["Please confirm your password"] = "Please confirm your password";
    setting.lang["Please enter captcha code"] = "Please enter captcha code";
    setting.lang["Passwords aren't equal"] = "Passwords are not equal";
    setting.lang["This field is required"] = "This field is required";  
    setting.lang["Please enter your email"] = "Please enter your email";
    setting.lang["Validation message"] = "Validation message";
	setting.lang["Your message was saved"] = "Your message was saved";
	setting.lang["Your message was sent"] = "Your message was sent";
	setting.lang["New file has been uploaded sucessfully"] = "Image uploaded successfully";
	setting.lang["Uploading..."] = "Uploading...";
	setting.lang["You have entered an invalid code"] = "javascript_config_you_have_entered_an_invalid_code";
    
    <?php echo '
    function _t($phrase)
    {
        return setting.lang[$phrase] || $phrase;
    }
    
    
    var AppRouter =
    {
        rewrites: new Array(),
        addRewriteRule: function(pattern, replacement)
        {
            AppRouter.rewrites.push({"pattern": new RegExp(pattern), replacement: replacement});
        },
        
        getRewrittedUrl: function(url)
        {
            var rewrittedUrl = setting.siteRootUrl;
            if(!setting.urlRewriting)rewrittedUrl += "/index.php";
             
            for(var i = 0; i < AppRouter.rewrites.length; i++)
            {
                var rewrite = AppRouter.rewrites[i];
                url = url.replace(rewrite.pattern, rewrite.replacement); 
            }
            
            rewrittedUrl += url;
            return rewrittedUrl;
        }
    }
    
    '; ?>