D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
src
/
rmw
/
whm
/
remotemxwizard
/
Filename :
index.php
back
Copy
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>Google MX Wizard</title> </head> <body> <?php ################################################## # # # GK~root - Creating a better web # # Copyright (c) GK~root. All Rights Reserved. # # Software: Remote Mx Wizard # # Version: 1.0.3 # # Create Date: Jan 07 2015 # # Website: http://www.gk-root.com # # # ################################################## # # # This software is released under a license. # # You cannot transfer it to any other person, # # resell it or claim any code as your own. # # By using the software you agree to this terms. # # # ################################################## if (getenv('REMOTE_USER') != 'root') die('Access Denied.'); $start_notice_success = '<div class="cjt-pagenotice-container cjt-notice-container" id="cjt_static_notice_container"><div style="display: block;" class="yui-module cjt-notice cjt-pagenotice cjt-notice-success" id="yui-gen3"><div class="bd"><div class="cjt-notice-content" style="padding:5px 6px 6px 35px;">'; $start_notice_info = '<div class="cjt-pagenotice-container cjt-notice-container" id="cjt_static_notice_container"><div style="display: block;" class="yui-module cjt-notice cjt-pagenotice cjt-notice-info" id="yui-gen3"><div class="bd"><div class="cjt-notice-content" style="padding:5px 6px 6px 35px;">'; $start_notice_error = '<div class="cjt-pagenotice-container cjt-notice-container" id="cjt_static_notice_container"><div style="display: block;" class="yui-module cjt-notice cjt-pagenotice cjt-notice-error" id="yui-gen3"><div class="bd"><div class="cjt-notice-content" style="padding:5px 6px 6px 35px;">'; $end_notice = '</div></div></div></div>'; $myversion = file_get_contents('version.txt'); $cptoken = getenv('cp_security_token'); if (isset($_GET['plgaction'])) {$plugact = $_GET['plgaction'];} else {$plugact = '';} ?> <link href="css/unified_optimized.css" media="all" type="text/css" rel="stylesheet" /> <link href="css/style.css" media="all" type="text/css" rel="stylesheet" /> <script src="jquery/jquery.min.js" type="text/javascript"></script> <div id="navigation"> <div id="breadcrumbsContainer"> <ul id="breadcrumbs_list" class="breadcrumbs"> <li><a href="<?php echo $cptoken; ?>/scripts/command?PFILE=main"><img border="0" alt="Home" src="icons/home.png" /><span class="imageNode">Home</span></a> <span>»</span></li> <li><a uniquekey="plugins" href="<?php echo $cptoken; ?>/scripts/command?PFILE=Plugins"><span>Plugins</span></a> <span>»</span></li> <li><a uniquekey="restoremanager" href="<?php echo $cptoken; ?>/cgi/remotemxwizard/index.php" <?php if (empty($plugact)) { ?>class="leafNode"<?php } ?>><span>Google MX Wizard</span></a> <?php if (!empty($plugact)) { ?><span>»</span><?php } ?></li> <?php if (!empty($plugact)) { $extravar = ''; if ($plugact === 'manageproviders') {$breadcrumbT = 'Manage Mail Providers';} elseif ($plugact === 'checkforupdate') {$breadcrumbT = 'Check for updates';$extravar='&upaction=checkforupdate';} elseif ($plugact === 'info') {$breadcrumbT = 'Help';} ?> <li><a uniquekey="domainstatistics-<?php echo $plugact; ?>" href="<?php echo $cptoken; ?>/cgi/remotemxwizard/index.php?plgaction=<?php echo $plugact.$extravar; ?>" class="leafNode"><span><?php echo $breadcrumbT; ?></span></a></li> <?php } ?> </ul> </div> </div> <div id="masterContainer" class="grid-container-fluid"> <div id="pageContainer" class="grid-row-fluid"> <?php $mainH1 = ' <h1 style="margin: 60px 0 10px 15px; font-size:40px;"><img src="img/remotemx48.png" alt=""> <span>Google MX Wizard</span></h1>'; if (empty($plugact)) { ?> <ul id="iconSea" class="icons span12"> <li style="width: 200px; height: 124px;" class="pageIcon"> <a uniquekey="general" href="<?php echo $cptoken; ?>/cgi/remotemxwizard/index.php?plgaction=manageproviders" target="mainFrame"> <img src="icons/manageproviders.png"> <span>Manage Mail Providers</span> </a> </li> <li style="width: 200px; height: 124px;" class="pageIcon"> <a uniquekey="checkforupdate" href="<?php echo $cptoken; ?>/cgi/remotemxwizard/index.php?plgaction=checkforupdate&upaction=checkforupdate" target="mainFrame"> <img src="icons/update.png"> <span>Check for updates</span> </a> </li> <li style="width: 200px; height: 124px;" class="pageIcon"> <a uniquekey="info" href="http://www.gk-root.com/GK-Apps/Remote-MX-Wizard/#projectdocumentation" target="_blank"> <img src="icons/information.png"> <span>Help</span> </a> </li> </ul> <?php } elseif ($plugact == 'manageproviders') { echo $mainH1; include('data/manageproviders.php'); } elseif ($plugact == 'checkforupdate') { echo $mainH1; include('data/checkforupdate.php'); } ?> </div> </div> <div class="footer"> <p class="copy"> <b><a href="http://www.gk-root.com/GK-Apps/Remote-MX-Wizard/" target="_blank">Google MX Wizard</a> v<?php echo $myversion; ?></b> Copyright © 2014 <a href="http://www.gk-root.com" target="_blank">GK~root</a>. All rights reserved. </p> </div> </body> </html>