Warning: get_lang(modules/guild_roster/language/lang-english.php) [function.get-lang]: failed to open stream: No such file or directory in /home/reign/domains/reignofvengeance.org/public_html/mainfile.php on line 229
Warning: get_lang() [function.include]: Failed opening 'modules/guild_roster/language/lang-english.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/reign/domains/reignofvengeance.org/public_html/mainfile.php on line 229
<?php
/****************************************************************************/
/* ----> Module file used to load external URL's into an I-Frame */
/* Many thanks to forum users everywhere & specifically the */
/* wowroster team for inspiring me to figure this out! <---- */
/****************************************************************************/
if (!defined('MODULE_FILE')) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
/****************************************************************************/
/* ----> change the site URL information that you wish to load here */
$index=0;
$go_to_address1="./Roster/index.php";
$go_to_address=rawurldecode($go_to_address1);
/* end url input <---- */
?>
<script language="JavaScript">
<!--
function calcHeight()
{
//Smallest the frame should ever be
var min_height=0;
//Largest the frame should ever be, 0 for no max
var max_height=0;
//find the height of the internal page
var the_height = document.getElementById('roster_iframe').contentWindow.document.body.scrollHeight;
if(the_height< min_height)
{
the_height = min_height;
}
else if(max_height != 0)
{
if(the_height > max_height)
{
the_height = max_height;
}
}
//Pad it a bit so firefox doesn't show scrollbars
the_height=the_height + 50;
document.getElementById('roster_iframe').height=the_height;
}
//-->
</script>
<?php
include("header.php");
define('INDEX_FILE', true);
OpenTable();
/****************************************************************************/
/* ----> iframe code to load above URL */
echo "<iframe id=\"roster_iframe\" SRC=\"".$go_to_address."\" width=\"100%\" onLoad=\"calcHeight()\"
framespacing=0 frameborder=no border=0 scrolling=auto></iframe>\n";
/* end iframe load <---- */
CloseTable();
include("footer.php");
?>
echo "<iframe id=\"roster_iframe\" SRC=\"".$go_to_address."\" width=\"100%\" onLoad=\"calcHeight()\"
framespacing=0 frameborder=no border=0 scrolling=auto></iframe>\n";
echo "<iframe id=\"roster_iframe\" SRC=\"".$go_to_address."?id=1\" width=\"100%\" onLoad=\"calcHeight()\"
framespacing=0 frameborder=no border=0 scrolling=auto></iframe>\n";
<?php
/******************************
* WoWRoster.net Roster
* Copyright 2002-2007
<?php
$ref=$_GET['id'];
if($ref != 1)
{
die ("You can't access this file directly...");
}
/******************************
* WoWRoster.net Roster
* Copyright 2002-2007
Ghostmaster wrote:Is is possible to make the height dynamic, so you don't have to change the code all the time when new members are joined the guild ?
t3hp1t wrote:I cant even get it to work
http://team-fiya.com/da/modules.php?name=Roster
I just get a blank page?
Users browsing this forum: No registered users and 0 guests