## Adrian Dixon www.adies.net unrealtournament@adies.net
########################################################
## MOD Forums: Player Merging Query
##             http://www.unrealadmin.org/forums/showthread.php?t=18840
##
##             Recalculate Flags After New iptocountry Import?
##             http://www.unrealadmin.org/forums/showthread.php?t=18840
##
## MOD Description: For UTStats Beta 4.2
##                  Player Merging Query and Recalculate Flags where created by Azazel
##                  Killereye is working on an more advanced Player Merging Query
##                  I have just edited the files to securely integrate them with the
##                  UTSTATS ADMIN pages and make them MySQL5 compatible.
##
## MOD Date: 28-MAY-2007
##
## Files To Edit: 1
##	\utstats\pages\admin\main.php
##
## Included Files: 2
##	\utstats mod\pages\admin\flags.php
##      \utstats mod\pages\admin\pip.php
##
################################################################# 

# 
#-----[ COPY ]------------------------------------------ 
#
\utstats mod\pages\admin\flags.php
\utstats mod\pages\admin\pip.php

#
#-----[ OPEN ]------------------------------------------
#
\utstats\pages\admin\main.php

#
#-----[ FIND ]------------------------------------------
#
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=mservers">Merge Servers</a></li>';

#
#-----[ AFTER, ADD ]------------------------------------------
#
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=flags">Recalculate Flag images</a></li>';

#
#-----[ FIND ]------------------------------------------
#
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=ipsearch">Search IP</a></li>';

#
#-----[ AFTER, ADD ]------------------------------------------
#
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=pip">IPs with more than 1 Player</a></li>';

#
#-----[ FIND 5 INSTANCES ]------------------------------------------
#
echo '<br />';

#
#-----[ REPLACE ALL WITH ]------------------------------------------
#
echo '<br /><br />';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM





