<?php 
include '../../../include/cp_header.php';
$wp_dir = basename( dirname( dirname( __FILE__ ) ) ) ;

xoops_cp_header();
if (!strstr(XOOPS_VERSION, "XOOPS Cube 2.1")) {
	if( file_exists( './mymenu.php' ) ) include( './mymenu.php' ) ;
}
echo "<h4>" . _AM_CONFIG . "</h4>";

echo"<table width='100%' border='0' cellspacing='1' class='outer'><tr><td class=\"odd\">";
echo " - <b><a href='". XOOPS_URL ."/modules/".$wp_dir."/wp-admin/options.php'>"._AM_WORDPRESS_ADMIN."</a></b><br /><br />\n";
echo "</td><td class=\"odd\">";
echo " - <b><a href='" . XOOPS_URL . "/modules/".$wp_dir."/admin/myblocksadmin.php'>" . _AM_BADMIN . "</a></b><br /><br />\n";
echo "</td><td class=\"odd\">";
if (!strstr(XOOPS_VERSION, "XOOPS Cube 2.1")) {
	echo " - <b><a href='" . XOOPS_URL . "/modules/".$wp_dir."/admin/admin.php?fct=preferences&amp;op=showmod&amp;mod=" . $xoopsModule -> getVar( 'mid' ) . "'>" . _AM_GENERALCONF . "</a></b><br /><br />\n";
} else {
	echo " - <b><a href='" . XOOPS_URL . "/modules/system/admin.php?fct=preferences&amp;op=showmod&amp;mod=" . $xoopsModule -> getVar( 'mid' ) . "'>" . _AM_GENERALCONF . "</a></b><br /><br />\n";
}
echo "</td></tr></table>";
xoops_cp_footer();
?>
