activity Plus 1.1.0 probleem met niet aan kunnen klikken van
Geplaatst: 21 nov 2005, 04:46
Adres van je forum: http://members.lycos.nl/richardster/activity.php (testforum)
Je kan inloggen op het testforum
* Testrobot
* 987654
Ik heb activity Plus 1.1.0 update gedaan activity Plus 2.0 was de oude versie
werkt allemaal prima, op 1 ding na
als je een game gespeeld hebt, dan kan je A Comment achterlaten
Thanks For Playing, Leave A Comment? als ik deze aanklik werkt deze niet! iemand een idee waar dat aan ligt?
zoals ik het zie, heb ik alle nodig onderdelen toegevoegd (de rest was voor profiel en zo. (heb ik wat over het hoofd gezien? zo ja wat?
deze heb ik toegeovegd
* functions.php (volledig
* overall_header.tpl (een gedeelte)
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
</head>
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Trophy_Popup(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
Je kan inloggen op het testforum
* Testrobot
* 987654
Ik heb activity Plus 1.1.0 update gedaan activity Plus 2.0 was de oude versie
werkt allemaal prima, op 1 ding na
als je een game gespeeld hebt, dan kan je A Comment achterlaten
Thanks For Playing, Leave A Comment? als ik deze aanklik werkt deze niet! iemand een idee waar dat aan ligt?
Code: Selecteer alles
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/index.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
$ipb_check = (isset($HTTP_GET_VARS['act'])) ? 'Arcade' : '';
$ipb_score = (isset($HTTP_GET_VARS['do'])) ? 'newscore' : '';
if ( ($ipb_check) && ($ipb_score) )
{
$game = trim(addslashes(stripslashes($HTTP_POST_VARS['gname'])));
$score = intval($HTTP_POST_VARS['gscore']);
$q = "SELECT game_type
FROM ". iNA_GAMES ."
WHERE game_name = '". $game ."'";
$r = $db->sql_query($q);
$row = $db->sql_fetchrow($r);
#==== Only IPB Games Can Use This Format!
if ($row['game_type'] == 3)
{
echo '<form method="post" name="ipb" action="newscore.php">';
echo '<input type="hidden" name="score" value="'. $score .'">';
echo '<input type="hidden" name="game_name" value="'. $game .'">';
echo '</form>';
echo '<script type="text/javascript">';
echo 'window.onload = function(){document.ipb.submit()}';
echo '</script>';
exit();
}
else
{
redirect(append_sid('activity.'. $phpEx), TRUE);
}
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/viewonline.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
case PAGE_ACTIVITY:
$location = $lang['Activity'];
$location_url = "activity.$phpEx";
break;
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/includes/functions.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
?>
-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
function UpdateTrophyStats()
{
global $db, $table_prefix;
$q = "UPDATE ". USERS_TABLE ."
SET user_trophies = '0'
WHERE user_trophies <> '0'";
$r = $db -> sql_query($q);
$q = "SELECT player
FROM ". $table_prefix ."ina_top_scores
GROUP BY player";
$r = $db -> sql_query($q);
while($row = $db -> sql_fetchrow($r))
{
$who = $row['player'];
$q1 = "SELECT COUNT(*) AS trophies
FROM ". $table_prefix ."ina_top_scores
WHERE player = '$who'
GROUP BY player";
$r1 = $db -> sql_query($q1);
$row = $db -> sql_fetchrow($r1);
$total_trophies = $row['trophies'];
$q2 = "UPDATE ". USERS_TABLE ."
SET user_trophies = '$total_trophies'
WHERE user_id = '$who'";
$r2 = $db -> sql_query($q2);
}
return;
}
function CheckGamesDeletion()
{
global $db, $table_prefix, $board_config;
$q = "SELECT config_value
FROM ". CONFIG_TABLE ."
WHERE config_name = 'current_ina_date'";
$r = $db -> sql_query($q);
$row = $db -> sql_fetchrow($r);
$next_deletion = $row['config_value'];
$explode_it = explode("-", $next_deletion);
$d_month = $explode_it[1];
$t_date = date("Y-m-d");
$x_date = explode("-", $t_date);
$c_month = $x_date[1];
if($d_month == $c_month){
}
else
{
if($board_config['ina_delete'] == "1")
{
$q = "TRUNCATE ". iNA_SCORES ."";
$r = $db -> sql_query($q);
$q = "TRUNCATE ". $table_prefix ."ina_trophy_comments";
$r = $db -> sql_query($q);
$q = "UPDATE ". CONFIG_TABLE ."
SET config_value = '$t_date'
WHERE config_name = 'current_ina_date'";
$r = $db -> sql_query($q);
}
}
return;
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/viewtopic.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
//
// Start initial var setup
//
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
include_once($phpbb_root_path .'includes/functions_amod_plus.'. $phpEx);
$q = "SELECT *
FROM ". INA_HOF ."";
$r = $db->sql_query($q);
$hof_data = $db->sql_fetchrowset($r);
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT
-----------------------------------
----[ IN-LINE ADD, AFTER ]---------
-----------------------------------
u.user_trophies, u.ina_char_name,
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
'POSTER_AVATAR' => $poster_avatar,
# NOTE, IF YOU HAVE PCP INSTALLED, YOU WONT HAVE THIS LINE, JUST MAKE SURE & ADD THE BELOW TO THE
# POSTROW SECTION.
-----------------------------------
----[ ADD, AFTER ]-----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
'POSTER_TROPHY' => Amod_Build_Topics($hof_data, $postrow[$i]['user_id'], $postrow[$i]['user_trophies'], $postrow[$i]['username'], $postrow[$i]['ina_char_name']),
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/includes/usercp_viewprofile.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
//
// Generate page
//
-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
include_once($phpbb_root_path .'includes/functions_amod_plus.'. $phpEx);
unset($trophy_count, $trophy_holder, $trophy);
if ( ($board_config['ina_show_view_profile']) && ($profiledata['user_trophies'] > '0') && ($profiledata['user_id'] != ANONYMOUS) )
{
$template->assign_block_vars('trophy', array(
'PROFILE_TROPHY' => "<a href=\"javascript:Trophy_Popup('". $phpbb_root_path ."activity_trophy_popup.$phpEx?user=". $profiledata['user_id'] ."&sid=". $userdata['session_id'] ."','New_Window','400','380','yes')\" onclick=\"blur()\">". $lang['Trohpy'] ."</a>: ". $profiledata['user_trophies'],
'TROPHY_TITLE' => $lang['Trohpy'])
);
}
$template->assign_vars(array(
'PROFILE_TIME' => DisplayPlayingTime(2, $profiledata['ina_time_playing']),
'PROFILE_TITLE' => $lang['profile_game_time'])
);
if ( ($board_config['ina_char_show_viewprofile']) && ($profiledata['ina_char_name']) && ($profile_data['user_id'] != ANONYMOUS) )
{
include_once($phpbb_root_path .'includes/bbcode.'. $phpEx);
$template->assign_block_vars('profile_char', array(
'CHAR_PROFILE' => AMP_Profile_Char($profiledata['user_id'], ''))
);
}
$poster_rank .= Amod_Trophy_King_Image($profiledata['user_id']);
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/includes/constants.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
define('PAGE_GROUPCP', -11);
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
# Increment this if you already have these numbers
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
define('PAGE_ACTIVITY', -12);
define('PAGE_PLAYING_GAMES', -13);
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
?>
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
define('iNA', $table_prefix.'ina_data');
define('iNA_GAMES', $table_prefix.'ina_games');
define('iNA_SCORES', $table_prefix.'ina_scores');
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/includes/page_header.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
if ( $row['user_allow_viewonline'] )
{
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
if ($row['user_session_page'] == PAGE_ACTIVITY || $row['user_session_page'] == PAGE_PLAYING_GAMES)
{
$row['username'] = '<b>'. $row['username'] .'</b>';
$style_color = 'style="color:#'. str_replace('#', '', $board_config['ina_online_list_color']) .'"';
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
'L_WHOSONLINE_GAMES' => '<a href="'. append_sid('activity.'. $phpEx) .'"><font color="#'. str_replace('#', '', $board_config['ina_online_list_color']) .'">'. $board_config['ina_online_list_text'] .'</font></a>',
'U_ACTIVITY' => append_sid('activity.'.$phpEx),
'L_ACTIVITY' => $lang['Activity'],
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/admin/index.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
case PAGE_ACTIVITY:
$location = $lang['Activity'];
$location_url = "activity.$phpEx";
break;
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/language/lang_english/lang_main.php
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
//
// That's all, Folks!
// -------------------------------------------------
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
#======================================================================= |
#==== Start: == Activity Mod Plus ====================================== |
#==== v1.1.0 =========================================================== |
#====
$lang['Activity'] = 'Games';
$lang['Trohpy'] = 'Game Trophies';
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |
#==== End: ==== Activity Mod Plus ====================================== |
#======================================================================= |
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/templates/subSilver/index_body.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
[ {L_WHOSONLINE_MOD} ]
-----------------------------------
----[ AFTER, ADD ]----------------
-----------------------------------
[ {L_WHOSONLINE_GAMES} ]
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/templates/subSilver/overall_header.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
</head>
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Trophy_Popup(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
-----------------------------------
----[ FIND (SIMILAR) ]-------------
-----------------------------------
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
-----------------------------------
----[ AFTER, ADD ]-----------------
-----------------------------------
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="{U_ACTIVITY}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_activity.gif" width="12" height="13" border="0" alt="{L_ACTIVITY}" hspace="3" />{L_ACTIVITY}</a> </span>
</td>
</tr>
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/templates/*/viewtopic_body.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
{postrow.POSTER_POSTS}
OR IF YOU USE PcP
{postrow.AUTHOR_PANEL}
-----------------------------------
----[ ADD, AFTER ]-----------------
-----------------------------------
{postrow.POSTER_TROPHY}
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/templates/*/profile_view_body.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
<td>{INTERESTS}</td>
</tr>
-----------------------------------
----[ ADD, AFTER ]-----------------
-----------------------------------
<!-- BEGIN trophy -->
<tr>
<td align="right" nowrap="nowrap" class="explaintitle"><span class="gen">{trophy.TROPHY_TITLE}:</span></td>
<td><span class="gen">{trophy.PROFILE_TROPHY}</span></td>
</tr>
<!-- END trophy -->
<tr>
<td align="right" nowrap="nowrap" class="explaintitle"><span class="gen">{PROFILE_TITLE}</span></td>
<td><span class="gen">{PROFILE_TIME}</span></td>
</tr>
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right"><span class="nav"><br />{JUMPBOX}</span></td>
</tr>
</table>
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
<!-- Start Activity Mod Plus -->
<!-- BEGIN profile_char -->
{profile_char.CHAR_PROFILE}
<!-- END profile_char -->
<!-- End Activity Mod Plus -->
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------
Root/templates/*/simple_header.tpl
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
</head>
-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Trophy_Popup(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
deze heb ik toegeovegd
* functions.php (volledig
* overall_header.tpl (een gedeelte)
-----------------------------------
----[ FIND ]-----------------------
-----------------------------------
</head>
-----------------------------------
----[ BEFORE, ADD ]----------------
-----------------------------------
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
var win = null;
function Trophy_Popup(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
win = window.open(mypage,myname,settings);
}
</SCRIPT>