<br>
<?php 
builddiv_start(0, $lang['account']);
?>
<table width = "550" align='center'>
	<tr>
		<td>
			<?php 
write_subheader($lang['account_info']);
?>
			<table width = "550" style = "border-width: 1px; border-style: dotted; border-color: #928058;">
				<tr>
					<td>
						<table width='545' style="border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php 
echo $Template['path'];
?>
/images/light3.jpg');">
						<tr>
							<td>
								<table border='0' cellspacing='0' cellpadding='4' width='540'>
								<tr>
									<td align='right' valign = "top" width='25%'><b>Account Status:</b></td>
									<td align='left' valign = "top" width='25%'><font color='green'><b>Active</b></font></td>
									<td align='right' valign = "top" width='25%'><b>Vote Count:<b></td>
									<td align='left' valign = "top" width='25%'><?php 
echo $user['total_votes'];
?>
</td>
								</tr>
								<tr>
									<td align='right' valign = "top" width='25%'><b>Registration Date:</b></td>
<Br />
<?php builddiv_start(1, "Character Tools") ?>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<style type="text/css">
  a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
  td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<!-- Character Tools Description -->
<table width = "510" cellspacing = "0" cellpadding = "0" border = "0">
<tr>

        <td>
        <span>
   <?php echo add_pictureletter("Here is where you are able to edit your characters"); ?>
        </span>
        </td>

</tr>
<tr>
	<td><center>You have <font color=blue><u><?php echo $your_points; ?></u></font> <?php echo $lang['vote_points']; ?>
</table>
<br />

<!-- Character Unstuck Tool -->
<?php write_subheader("Character Un-Stuck Tool"); ?>
<center>
<table width = "580" style = "border-width: 1px; border-style: dotted; border-color: #928058;"><tr><td><table style = "border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php echo $currtmp; ?>/images/light3.jpg');"><tr><td>
<br>
<?php 
builddiv_start(1, $lang['vote_system']);
// Initiate refresh, 20 seconds default
echo '<meta http-equiv=refresh content="20;url=?p=vote">';
if (isset($_POST["site"])) {
    vote($_POST["site"]);
}
echo $PAGE_DESC;
?>

<div class="contentdiv">
<style type="text/css">
  div.noErrorMsg { width: 80%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #00ff24; background: #afffa9;}
  div.errorMsg { width: 80%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
  td.serverStatus1 { font-weight: bold; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus2 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus3 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>

<?php 
write_metalborder_header();
?>
    <table width="100%" cellpadding="3" cellspacing="0">
    <tbody>
        <tr>
            <td class="rankingHeader" colspan="3" align="center" nowrap="nowrap"><?php 
echo $lang['vote_acct_details'];
?>
</td>
<br>
<?php builddiv_start(1, $lang['UWallp']) ?>
<?php if($user['id']<=0){ ?>
<center><div style="background-color:#FF0033;border:groove 4px;margin:4px;padding:6px 9px 6px 9px;"><strong>
 <?php echo $lang['access_denied'];
}else{ ?>
<?php
if (isset($user['character_name'])) { ?>
<html>
<body>	
<center><font color="red"><b><?php echo $lang['Filesizew'];?></b></font></center><br/>
<form method="post" action="index.php?n=media&sub=wallp" enctype="multipart/form-data">
	<?php echo  $lang['author'];?>: <b><?php echo $user['character_name']; ?></b><br/>
        <?php echo  $lang['file'];?>:<br/>
       <input type="hidden" name="postnewfile" value="POST">
       <input type="file" name="filename"><br/> 
       <center><input type="submit" value="<?php echo $lang['UWallp']; ?>" name="doadd"><br/></center>
<form>

</body>
</html>
<?php } else {echo '<br><br><p align="center" style="color:red; font-size: 15px; font-weight:bold; ">'.$lang['no_char_gal'].'</p><br><br>';} ?>
<?php } ?>
<?php builddiv_end() ?>
Example #5
0
<br>
<?php builddiv_start(0, "GM Logs") ?>

<div>
    In this section you can check a gms or a earlyer gms logs of what that GM does.
</div>
<div>
    Search for username:
    <form action="index.php" method="GET">
        <input type="hidden" name="n" value="admin">
        <input type="hidden" name="sub" value="viewlogs">
        <input type="text" name="accountid"><input type="submit" value="Search">
    </form>
</div>
<?php
if ($showform == true){
?>
<div>
<h2>Logged GM events:</h2><br />
<?php echo $mangos_core_logs->parse_gmlog(); ?>
</div>

<?php
}else{
?>
Please enter a username to view the GM log for the specific account.
<?php
}
?>
<?php builddiv_end() ?>
Example #6
0
<br>
<?php builddiv_start(0, $lang['gm_online']) ?>
<?php $MANG = new Mangos; ?>

<style type="text/css">
    a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
    td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
    td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
    td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>

<?php write_metalborder_header(); ?>
    <table cellpadding="3" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td class="rankingHeader" align="center" colspan="6" nowrap="nowrap"><?php echo $realm_info['name']; ?></td>
        </tr>
        <tr>
            <td class="rankingHeader" align="center" nowrap="nowrap">#</td>
            <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['name'];?>&nbsp;</td> 
            <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['race'];?>&nbsp;</td>
            <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['class'];?>&nbsp;</td>
            <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['level_short'];?>&nbsp;</td>
            <td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['location'];?>&nbsp;</td>
        </tr>
<?php foreach($res_info as $res): ?>
        <tr>
            <td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><b style="color: rgb(102, 13, 2);"><?php echo $res['number']; ?></b></td>
            <td class="serverStatus<?php echo $res['res_color'] ?>"><b class="smallBold" style="color: rgb(35, 67, 3);"><?php echo $res['name']; ?></b></td>
            <td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><small style="color: rgb(102, 13, 2);"><img onmouseover="ddrivetip('<?php echo $MANG->characterInfoByID['character_race'][$res['race']]; ?>','#ffffff')" onmouseout="hideddrivetip()" src="<?php echo $offtmp; ?>/images/icons/race/<?php echo $res['race'];?>-<?php echo $res['gender'];?>.gif" height="18" width="18"></small></td>
            <td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><small style="color: (35, 67, 3);"><img onmouseover="ddrivetip('<?php echo $MANG->characterInfoByID['character_class'][$res['class']]; ?>','#ffffff')" onmouseout="hideddrivetip()" src="<?php echo $offtmp; ?>/images/icons/class/<?php echo $res['class'];?>.gif" height="18" width="18"></small></td>
<br />
<?php 
builddiv_start(0, $lang['char_rename']);
// First check to see if the admin has the module enabled.
if ($Config->get('module_charrename') == 1) {
    ?>
<table width = "550" align='center'>
	<tr>
		<td>
			<?php 
    write_subheader($lang['char_rename']);
    ?>
			<table width = "550" style = "border-width: 1px; border-style: dotted; border-color: #928058;">
				<tr>
					<td>
						<table width='545' style="border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php 
    echo $Template['path'];
    ?>
/images/light3.jpg');">
						<tr>
							<td>
								<form method='POST' action='<?php 
    echo mw_url('account', 'rename');
    ?>
'>
								<table border='0' cellspacing='0' cellpadding='4' width='540'>
								<?php 
    if (isset($_POST['newname'])) {
        if ($_POST['id'] != 0) {
            changeName();
        } else {
<br>
<?php 
builddiv_start(1, "FAQ");
?>
<style media="screen" title="currentStyle" type="text/css">
    .postContainerPlain {
        font-family:arial,palatino, georgia, verdana, arial, sans-serif;
        color:#000000;
        padding:5px;
        margin-bottom: 4px;
        font-size: x-small;
        font-weight: normal;
        background-color: #E7CFA3;
        background-image: url('<?php 
echo $Template['path'];
?>
/images/light.jpg');
        border-style: solid; border-color: #000000; border-width: 0px; border-bottom-width:1px; border-top-width:0px;
        line-height:140%;
  }
    .postBody {
        padding:10px;
        line-height:140%;
        font-size: small;
  }
    .title {
        font-family: palatino, georgia, times new roman, serif;
        font-size: 14pt;
        color: #640909;
    }
</style>
<br>
<?php builddiv_start(1, "Teamspeak") ?>
<style type="text/css">
#teamspeakdisplay  img {
    border: 0px;
}
#teamspeakdisplay span {
    font: 9pt arial, verdana,helvetica;
    padding: 0px;
    white-space: nowrap;
    vertical-align: top;
}
#teamspeakdisplay span.teamspeakserver {
    padding-left: 3px;
    font-weight: bold;
}
#teamspeakdisplay span.teamspeakchannel {
    padding-left: 3px;
}
#teamspeakdisplay span.teamspeaksubchannel {
    padding-left: 3px;
}
#teamspeakdisplay span.teamspeakplayer {
    padding-left: 3px;
}
#teamspeakdisplay a.teamspeakserver {
    font: 9pt arial, verdana,helvetica;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}
Example #10
0
<br>
<?php builddiv_start(1, $lang['vote']) ?>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<?php
if ($showvote == false){
?>
<center>
<div class="errorMsg"><b><?php echo $lang['chat_disable'] ?></b></div>
</center>
<?php
}else{
?>
<?php
initialize_user();
if($max_acc_points_per_day < 0)
	$max_acc_points_per_day = count($tab_sites);

if(isset($_POST["site"]))
	vote((int) $_POST["site"]);

if(isset($_POST["reward"]))
	$reward_message = chose_reward((int) $_POST["reward"]);
else if(isset($_POST["character"]))
	add_char_to_session((int) $_POST["character"]);

?>
<?php echo $lang['vote_desc1']; ?>
<div class="contentdiv">
<style type="text/css">
Example #11
0
<br>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<?php builddiv_start(0, "News");
// If action is adding a new News topic
if($_GET['action'] == 'add'){
 ?>
<hr class="hidden" />
<div id="write_form" class="subsections">
<form method="post" action="index.php?n=admin&sub=news&action=add" name="mutliact" class="clearfix" OnSubmit="if(!this.owner.value || !this.title.value)return false;">
        <div id="ulist_cont"></div>
        <label for="title"><?php echo $lang['post_subj'];?> (max 80):</label><br/>
        <input type="text" name="title" id="title"" size="50" maxlength="80" class="input_text input_large" /><br /><br />
        </p>
    <?php write_form_tool(); ?>
        <div id="input_block">
            <textarea id="input_comment" name="message"></textarea><br/>
            <!-- <input value="<?php echo $lang['editor_preview'];?>" type="button" id="preview_do">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			-->
            <input type="reset" value="<?php echo $lang['editor_clear'];?>">
        </div>
        <div id="preview_block" style="display: none;background:none;">
            <div class="editor" id="input_preview"></div>
            <input class="button" id="preview_back" value="<?php echo $lang['editor_backtoedit']?>" type="button">
        </div>
        <input type="submit" value="<?php echo $lang['editor_send'];?>" class="input_btn_big" />
</form>
</div>
<?php 
<img src="templates/wotlk/images/header-charcopy.jpg" width="660" height="121" /><br />
<img src="templates/wotlk/images/banner-bottom2.jpg" width="660" height="18" /><br /><br />
<div id = "wrapper"><div id = "heads"><img src = "templates/wotlk/images/header-charcopy-top.gif" width="642" /></div></div>
<?php builddiv_start(0, $lang['charcreate']) ?>
<?php if($user['id'] > 0){ ?>
<?php
    // We do only want to show this if user is on the right realm connection.
    foreach($MW->getConfig->character_copy_config->work_on_realms->realm as $check){
        $i = 0;
        if ($user['cur_selected_realmd'] != $check){
            $exit = TRUE;
            $usable_realm[$i] = $check;
            $i++;
        }
    }
    if ($exit == TRUE){
       echo "<p><b>".$lang['not_copy_realm_choose_other']."</b><ul>";
       foreach($usable_realm as $rm){
           $realmname = $DB->selectCell("SELECT name FROM `realmlist` WHERE id='".$rm."'");
           echo "<li><a href='index.php?n=account&sub=charcreate&changerealm_to=".$rm."'>".$realmname."</a></li>";
       }
       echo "</ul></p>";
       die;
    }
?>
<style type = "text/css">
  tr.serverStatus1 { border-style: solid; border-width: 1px 0px 0px 1px; border-color: #D8BF95; }
  tr.serverStatus2 { border-style: solid; border-width: 1px 0px 0px 1px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
	input.name_input{ background-color: black; color:white;};
Example #13
0
<br/>
<?php builddiv_start(1, "Config") ?>
Below are the settings from the MangosWeb configuration file. If you want to change
these, you need to edit the <?php echo $configfilepath; ?> file manually.<br/>


<div style="border: 2px dotted #1E4378; margin: 8px 2px; padding:6px 9px;">
<table>
<?php foreach($config as $key=>$value): ?>
    <tr>
        <td style="font-size: 80%"><?php echo $key; ?> =</td>
        <td style="font-size: 80%"><?php echo $value; ?></td>
    </tr>
<?php endforeach; ?>
</table>
</div>
<?php builddiv_end() ?>
Example #14
0
<img src="<?php echo $currtmp; ?>/images/armorsets.jpg" />
<br />
<?php builddiv_start(1, $lang['armorsets2']) ?>
<style type="text/css">
    #cnt { width: 850px; height: auto; margin-left: 0px;}
</style>
<?php echo $lang['armorsets_desc'] ?>
<br /><br />
<center>
  <iframe src="http://www.worldofwarcraft.com/info/items/armorsets/"; height="880" width="745" frameborder="0" scrolling="no"> </iframe>
</center>
<br />
<h2>Dungeon Set 1 (8 pieces)</h2><br />
The items that form these sets may be found in the lvl 58-60 instances (Stratholme, Scholomance, Upper, and Lower Blackrock Spire), set pieces 
have level requirements of 52-58. The pieces occupy the chest, feet, hands, head, legs, shoulders, waist, and wrist slots.
<br /><br />
<h2>Dungeon Set 2 (8 pieces)</h2><br />
Since Patch 1.10, the items from dungeon set 1 can be upgraded by a quest chain, to form the dungeon set 2. Dungeon Set 2 pieces have no level 
requirements, however the quest chain needed to obtain them requires level 58. The pieces occupy the chest, feet, hands, head, legs, shoulders, 
waist, and wrist slots.
<br /><br />
<h2>Tier 1 (8 pieces) </h2><br />
The first epic sets, and the easiest to obtain. Six of each class's eight Tier 1 items for each class drop from respective bosses in Molten Core. 
The other two pieces (belt and bracers) drop from random trash mobs in the same instance. The pieces occupy the chest, feet, hands, head, legs, 
shoulder, waist, and wrist slots.
<br /><br />
<h2>Tier 2 (8 pieces)</h2><br />
These items can be found on Ragnaros in Molten Core, Onyxia in Onyxia's Lair, and the Blackwing Lair bosses. The pieces occupy the chest, feet, 
hands, head, legs, shoulder, waist, and wrist slots.
<br /><br />
<h2>Tier 3 (9 pieces)</h2><br />
<br>
<?php 
builddiv_start(1, $lang['who_is_online']);
// Check to see the admin has the online list enabled.
if ($Config->get('module_onlinelist') == 1) {
    ?>
	<table border="0" width="100%">
	<tr>
		<td width="20%" style="border-bottom:1px solid #cccccc;"><?php 
    echo $lang['who'];
    ?>
</td>
		<td style="border-bottom:1px solid #cccccc;"><?php 
    echo $lang['where'];
    ?>
</td>
		<td style="border-bottom:1px solid #cccccc;"><?php 
    echo $lang['when'];
    ?>
</td>
	  <?php 
    // If the users is an admin, show the IP address, else dont
    if ($user['account_level'] == 3 || $user['account_level'] == 4) {
        ?>
			<td style="border-bottom:1px solid #cccccc;">Ip</td>
	  <?php 
    }
    ?>
	</tr>
	<?php 
    foreach ($People as $item) {
Example #16
0
<br>
<?php builddiv_start(0, $lang['retrieve_pass']) ?>
<?php if($user['id'] < 1){ ?>
<style type="text/css">
    .attribute { font-family: "Arial", "Helvetica", "Sans-Serif"; color: #000000; font-weight: bold; font-size: 12;}
    #icon { position: absolute;	top: -145px; left: 47px; z-index: 99; _top: -145px}
    #text { position: relative;	top: 52px;	left: 10px;	z-index: 99; }
    #wrapper { position: relative; z-index: 99; }
	  #wrapper99 { position: relative; z-index: 98; }
		.title	{
			font-family: palatino, georgia, times new roman, serif;
			font-size: 13pt;
			color: #640909;
		}
</style>
<br />
<center>
<!--Shadow Top-->
<table cellspacing = "0" cellpadding = "0" border = "0" ><tr><td>
<img src = "<?php echo $currtmp; ?>/images/shadow-top-left.gif" width = "5" height = "4"></td><td background = "<?php echo $currtmp; ?>/images/shadow-top.gif">
<img src = "<?php echo $currtmp; ?>/images/shadow-top-left-left.gif" width = "12" height = "4"></td><td align = "right" background = "<?php echo $currtmp; ?>/images/shadow-top.gif">
<img src = "<?php echo $currtmp; ?>/images/shadow-top-right-right.gif" width = "12" height = "4"></td><td><img src = "<?php echo $currtmp; ?>/images/shadow-top-right.gif" width = "9" height = "4"></td></tr><tr>
<td valign = "top" background = "<?php echo $currtmp; ?>/images/shadow-left.gif"><img src = "<?php echo $currtmp; ?>/images/shadow-left-top.gif" width = "5" height = "12"></td>
<td colspan = "2" rowspan = "2" style="background-image:url('<?php echo $currtmp; ?>/images/header-left2.jpg'); background-repeat: no-repeat;">
<!--Shadow Top-->
  <table cellspacing = "0" cellpadding = "4" border = "0">
  <tr>
	 <td>
    <h3 class="title"><font color="white"><?php echo $lang['have_you_forgot_pass'];?></font></h3>
    <p>
      <table width = "510" cellspacing = "0" cellpadding = "0" border = "0">
Example #17
0
<br>
<?php builddiv_start(0, $lang['commands']) ?>
<?php if($maxpages > 1) { ?>
<div align="right" class="news-listing">
<b><?php echo $lang['page'];?> :&nbsp;<?php for ($CurrPage = 1; $CurrPage <= $maxpages; $CurrPage++) { ?>
 <a href="index.php?n=server&sub=commands&sp=<?php echo $CurrPage; ?>"><?php echo $CurrPage; ?></a>&nbsp;
<?php }?>
</b><br/>
</div>
<br/><?php
}?>
<center><?php if($maxpages > 1) {?>
<h5><?php echo $lang['page'].": ".htmlentities((isset($_GET['sp']) ? $_GET['sp'] : ''));?></h5><?php
}?>
<div class="module-container">
<?php
$postnum = 0;

foreach($alltopics as $postanum => $topic){
    $postnum++;
    if($hl=='alt')$hl='';else $hl='alt';
?>
    <script type="text/javascript">
        var postId<?php echo$postnum;?>="<?php echo $postnum;?>";
    </script>
    <div class="news-expand" id="news<?php echo $postnum;?>">
      <div class="news-border-left"></div>
      <div class="news-border-right"></div>
      <div class="news-listing">
        <div onclick="javascript:toggleEntry('<?php echo $postnum;?>','<?php echo$hl;?>')" onmouseout="javascript:this.style.background='none'" onmouseover="javascript:this.style.background='#EEDB99'" class="hoverContainer">
          <div>
Example #18
0
<br />
<?php builddiv_start(1, "Admin Character Rename System") ?>
Here you can change character names on your server. Please take note that members can change there characters name as well through there account managment!<br /><br />
<center>
<?php write_subheader("Character Re-name"); ?>
<table width = "580" style = "border-width: 1px; border-style: dotted; border-color: #928058;"><tr><td><table style = "border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php echo $currtmp; ?>/images/light3.jpg');"><tr><td>

<table border=0 cellspacing=0 cellpadding=4 width="580px">
<tr>
<td>
<form action="index.php?n=admin&sub=chartools" method="post">
<center>
<br />
<table width="300" border="0" cellpadding="2px">
  <tr>
  <td><?php echo $lang['charname']; ?></td>
  <td><input type='text' name='name' maxlength='20' size='20'/>
  </td>
  </tr>
  <tr>
    <td><?php echo $lang['desired_name']; ?></td>
    <td><input type='text' name='newname' maxlength='20' size='20'/></td>
  </tr>  
</table>
<input type='submit' name='rename' value='Rename'  />
</center>
</form>
<?php
if (isset($_POST['rename'])) {
    if (($_POST['name']) == '' or ($_POST['newname']) == '') {
        echo "<p align='center'><font color='red'>Please enter a New Name</font></p>";
Example #19
0
<br>
<?php builddiv_start(1, $lang['regkeys_manage']) ?>
<p>
<a href="index.php?n=admin&sub=keys&action=deleteall" onclick="return confirm('Are you sure?');"><b>[ <font color="red">Delete all keys</font> ]</b></a><br/>
<form method="post" action="index.php?n=admin&sub=keys&action=create">
    <?php echo $lang['l_newkeys'];?>:<input type="text" name="num" size="4"> 
    <input type="submit" value="<?php echo $lang['docreate'];?>"> 
</form>
<!--
<form method="post" action="index.php?n=admin&sub=keys&action=delete">
    <?php echo $lang['l_delkey'];?>: <?php echo $lang['l_delkey_id'];?>:<input type="text" name="keyid" size="4"> 
    <?php echo $lang['l_delkey_name'];?>:<input type="text" name="keyname" size="38"> 
    <input type="submit" value="<?php echo $lang['dodelete'];?>"> 
</form>
-->
</p>
<ul style="font-weight:bold;list-style:none;">
    <?php foreach($allkeys as $key){
        if($key['used']==0)echo'<li><a href="index.php?n=admin&sub=keys&action=delete&keyid='.$key['id'].'" title="Delete"><img src="'.$currtmp.'/images/icons2/delete.png" alt="[delete]" align="absmiddle"></a>&nbsp; <a href="index.php?n=admin&sub=keys&action=setused&keyid='.$key['id'].'" title="Mark as used">'.$key['id'].') '.$key['key'].'</a></li>'."\n";
        else echo'<li><a href="index.php?n=admin&sub=keys&action=delete&keyid='.$key['id'].'" title="Delete"><img src="'.$currtmp.'/images/icons2/delete.png" alt="[delete]" align="absmiddle"></a>&nbsp; <s>'.$key['id'].') '.$key['key'].'</s></li>'."\n";
    } ?>
</ul>
<?php builddiv_end() ?>
Example #20
0
<br>
<?php builddiv_start(0, $lang['module_ah']) ?>
<style type = "text/css">

  a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
  td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>

<style media="screen" title="currentStyle" type="text/css">
/*item quality CSS */
a.iqual0:link, a.iqual0:visited { background-color: transparent; color: #9e9e9e; }
a.iqual1:link, a.iqual1:visited { background-color: transparent; color: #eee; }
a.iqual2:link, a.iqual2:visited { background-color: transparent; color: #00ff10; }
a.iqual3:link, a.iqual3:visited { background-color: transparent; color: #0010ff; }
a.iqual4:link, a.iqual4:visited { background-color: transparent; color: #cc00dd; }
a.iqual5:link, a.iqual5:visited { background-color: transparent; color: #ff8810; }
a.iqual6:link, a.iqual6:visited { background-color: transparent; color: #e60000; }

a.iqual0:hover { color: #fff; }
a.iqual1:hover { color: #ff0000; }
a.iqual2:hover { color: #f00; }
a.iqual3:hover { color: #fff; }
a.iqual4:hover { color: #fff; }
a.iqual5:hover { color: #fff; }
a.iqual6:hover { color: #fff; }
/*End item qual CSS*/

/*Fixes/Defns for various table parts*/
td.rankingHeader {background-color: #0e0e0e;}
<br>
<?php 
builddiv_start(0, $lang['online_players']);
?>

<style type = "text/css">
  a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
  td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<?php 
if ($Online_Check == FALSE) {
    echo '<div class="error">Realm <b>' . $realm_info['name'] . '</b> is offline 
			<img src="' . $Template['path'] . '/images/icons/downarrow2.gif" border="0" align="top"></div><br />';
}
write_metalborder_header();
?>
    <table cellpadding="3" cellspacing="0" width='100%'>
    <tbody>
        <tr>
            <td class="rankingHeader" align="center" colspan="6" nowrap="nowrap"><?php 
echo $realm_info['name'];
?>
</td>
        </tr>
		<?php 
if ($numofpgs > 1) {
    ?>
 
			<tr> 
Example #22
0
<br>
<?php builddiv_start(1, $lang['si_acc']) ?>
<?php if($user['id']>0 && $profile){ ?>
<table align="center" width="100%" style="font-size:0.8em;"><tr><td align="center">
    <div style="border: 2px dotted #1E4378;background:none;margin:4px;padding:6px 9px 6px 9px;text-align:right;width:70%;">
        <center><font size="2"><b><?php echo $profile['username'];?></b>'s Profile</font></center>
		<?php if($profile['g_id'] > 4) {
		echo "<center><font color=\"red\" size=\"3\"> Banned </font></center>";
		}
		elseif($profile['g_id'] > 2){
		echo "<center><font color=\"darkred\">Administrator </font></center>";
		}
		if($profile['vip'] == 1 && $profile['donator'] == 1) {
		echo "<center><font color=\"blue\"> VIP </font>-<font color=\"purple\"> Donator </font></center>";
		}elseif($profile['vip'] == 1) {
		echo "<font color=\"blue\"><center> VIP </center></font>";
		}elseif($profile['donator'] == 1) {
		echo "<font color=\"purple\"><center> Donator </center></font>";
		} ?>
		<?php if($profile['avatar']) { ?>
        <b><center><br /><?php echo $lang['avatar'];?></b> &nbsp;<br/> <img src="images/avatars/<?php echo$profile['avatar'];?>" style="margin:1px;"></center>
        <?php } ?>
		<br /><br /><a href="index.php?n=account&sub=pms&action=add&to=<?php echo$profile['username'];?>"><?php echo $lang['personal_message'];?></a>
    </div>
	<div style="border: 2px dotted #1E4378;background:none;margin:4px;padding:6px 9px 6px 9px;text-align:left;width:70%;">
	<font size="2"><center><b>General Info</b></center></font><br />
	<b><?php echo $lang['gender'];?>: </b><?php if($profile['gender'] == 0) { echo "Male"; }else{ echo "Female"; } ?><br />
	<b>Forum Posts: </b><?php echo $profile['forum_posts'] ?><br /><br />
	<b>Join Date: </b><?php echo $joined ?><br />
	<b>Last Login (Game): </b><?php echo $lastlogggedin; ?><br />
	</div>
<img src='<?php 
echo $Template['path'];
?>
/images/banner-rc.jpg' border="0" width="659" />
<?php 
builddiv_start();
output_message('info', 'This page is under Construction!');
builddiv_end();
Example #24
0
<br>
<?php builddiv_start(1, $lang['screen']) ?>
<?php
    if (isset($_POST['doadd'])){
     $img=isset($_FILES["filename"]["name"]) ? $_FILES["filename"]["name"] : '';
     $comment=isset($_POST['message']) ? $_POST['message'] : '';
     $autor=$user['character_name'];
     $date=date("Y-m-d");
     if($_FILES["filename"]["size"] > (1024*$screensize*1024) ) {
     echo $lang['Filesizes'];
	 echo " ";
	 echo $screensize;
	 echo Mb;
     exit; }
     if(!in_array($_FILES["filename"]["type"], array("image/jpeg", "image/pjpeg", "image/jpg"))) {
     echo $lang['Filetype'];
     echo ("<br/>");
     exit;
     }
     if($DB->selectCell("SELECT count(*) FROM `gallery` WHERE img=? AND cat='screenshot'", $img)){
     echo $lang['ErrorFilename'];
     exit;
     }
     if(copy($_FILES["filename"]["tmp_name"],
     "./images/screenshots/".$_FILES["filename"]["name"])) {
     $DB->query("INSERT INTO gallery (img,comment,autor,date,cat) VALUES(?,?,'$autor','$date','screenshot')",$img,$comment);
     } else {
     echo $lang['Uploaderror']; }
    }
?>
<?php
<br>
<?php 
builddiv_start(0, $lang['Characters']);
?>

<style type="text/css">
  a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
  td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
  td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
  td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>

<?php 
write_metalborder_header();
?>
    <table cellpadding='3' cellspacing='0' width='100%'>
    <tbody>
		<tr> 
			<td class="rankingHeader" align='left' colspan='6'>Pages: <?php 
echo $pages_str;
?>
</td>
		</tr>
		<tr> 
			<td class="rankingHeader" align="center" colspan='6' nowrap="nowrap">Realm: <?php 
echo $realm_info_new['name'];
?>
</td>          
		</tr>
		<tr>
			<td class="rankingHeader" align="center" nowrap="nowrap">#</td>
Example #26
0
<br>
<?php builddiv_start(0, $lang['personal_messages']) ?>
<?php if($user['id']>0){ ?>
<div>
    <ul class="mybulleted_list">
        <li <?php if($_GET['action']=='add')echo'class="selected"';?>><a href="index.php?n=account&sub=pms&action=add"><?php echo $lang['write'];?></a></li>
        <li <?php if($_GET['action']=='view' && $_GET['dir']=='in')echo'class="selected"';?>><a href="index.php?n=account&sub=pms&action=view&dir=in"><?php echo $lang['inbox'] ?></a></li>
        <li <?php if($_GET['action']=='view' && $_GET['dir']=='out')echo'class="selected"';?>><a href="index.php?n=account&sub=pms&action=view&dir=out"><?php echo $lang['outbox']?></a></li>
    </ul>
<?php if($_GET['action']=='view'){ ?>
    <script type="text/javascript">
    function Check(type)
    {
        var fmobj = document.mutliact;
        for (var i=0;i<fmobj.elements.length;i++)
        {
            var e = fmobj.elements[i];
            if ((e.name != 'allbox') && (e.type=='checkbox') && (!e.disabled))
            {
                if(type=='all')e.checked = 'checked';
                if(type=='none')e.checked = '';
                if(type=='read')if(e.className=='read')e.checked = 'checked';
                if(type=='unread')if(e.className=='unread')e.checked = 'checked';
            }
        }
        return false;
    }
    </script>
    <form method="post" action="index.php?n=account&sub=pms&action=delete&dir=<?php echo $_GET['dir']; ?>" name="mutliact">
    <input type="hidden" name="deletem" value="deletem">
        <table id="notification_body" class="forum_category" width="100%">
Example #27
0
	</table>
	</td>
	<td width = "10%"></td>
</tr>
<tr>
	  <td colspan="3">
		  <table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
	  		<tr>
				  <td background = "images/bottom.gif" width = "100%" ><img src ="<?php echo $currtmp; ?>/images/pixel.gif" height = "18" width = "200"></td>
	  		</tr>
		  </table>
	  </td>
  </tr>
</table>

<?php builddiv_start() ?>
<center>
<!--Shadow Top-->
<table cellspacing = "0" cellpadding = "0" border = "0"><tr><td><img src = "<?php echo $currtmp; ?>/images/shadow-top-left.gif" width = "5" height = "4"></td><td background = "<?php echo $currtmp; ?>/images/shadow-top.gif">
<img src = "<?php echo $currtmp; ?>/images/shadow-top-left-left.gif" width = "12" height = "4"></td><td align = "right" background = "<?php echo $currtmp; ?>/images/shadow-top.gif">
<img src = "<?php echo $currtmp; ?>/images/shadow-top-right-right.gif" width = "12" height = "4"></td><td><img src = "<?php echo $currtmp; ?>/images/shadow-top-right.gif" width = "9" height = "4"></td></tr><tr>
<td valign = "top" background = "<?php echo $currtmp; ?>/images/shadow-left.gif"><img src = "<?php echo $currtmp; ?>/images/shadow-left-top.gif" width = "5" height = "12"></td>
<td colspan = "2" rowspan = "2" style="background-image:url('<?php echo $currtmp; ?>/images/header-left2.jpg'); background-repeat: no-repeat;">
<!--Shadow Top-->
<table cellspacing = "0" cellpadding = "4" border = "0">
<tr>
	<td>
<h3 class="title"><font color="white"><?php echo $lang['change_your_info'];?></font></h3>
<p>

<center>
<br>
<?php builddiv_start(0, "Update Server Data Fields") ?>
This tool allows you to Sync all the datafields stored in the website, With the current database. Doing this will fix issues caused by updates to 
the character database, that modify any and all data fields.
<br />
<br />
Make sure you replace the "./core/mangos_scripts/scripts/updatefields.h" with you servers new updafields.h "./your downloaded trinity-mangos server 
folder/src/game/updatefields.h" before using this tool.
<br />
<br />
<a href="<?php (string) $MW->getConfig->temp->base_href; ?>core/mangos_scripts/updatefields_parser.php">Click Here To UpdateFields</a>
<?php builddiv_end() ?>
<br>
<?php 
builddiv_start(0, "Server Info");
?>
<style type="text/css">
    table.serverstatus1 td, table.serverstatus1 th{
        font-size: 0.8em;
        border-style: solid;
        border-width: 0px 2px 2px 1px;
        border-color: #010101;
    }
    table.serverstatus1 td.value {
        text-align: center;
    }
    table.serverstatus1 th {
        text-align:center;
        font-weight: bolder;
        color: #FFFFFF;
        background-color: #010101;
    }
</style>
<table class="serverstatus1" align="center" cellpadding="0">
    <tr><th colspan="2">Server Info</th></tr>
<?php 
foreach ($write_straight as $key => $value) {
    ?>
    <tr><td><?php 
    echo htmlspecialchars($value);
    ?>
</td><td class="value"><?php 
    echo isset($config_details[$key]) ? htmlspecialchars($config_details[$key]) : '';
Example #30
0
<style type="text/css">
	a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
    td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
    td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
    td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; 
	border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<br />
<?php 
builddiv_start(1, 'Shop');
echo $lang['shop_desc'] . "<br /><br />";
if ($shop_items != FALSE) {
    foreach ($shop_items as $package) {
        write_metalborder_header();
        echo "\r\n\t\t\t<form action='" . mw_url('shop', 'checkout') . "' method='POST'>\r\n\t\t\t<input type='hidden' name='action' value='step2'>\r\n\t\t\t<input type='hidden' name='id' value='" . $package['id'] . "'>\r\n\t\t\t<table cellpadding='3' cellspacing='0' width='100%'>\r\n\t\t\t\t<tbody>\r\n\t\t\t\t\t<tr> \r\n\t\t\t\t\t\t<td class='rankingHeader' align='center' colspan='3' nowrap='nowrap'>\r\n\t\t\t\t\t\t\tShop Package #" . $package['id'] . " :: <font color='green'>" . $package['desc'] . "</font>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td class='rankingHeader' align='center' nowrap='nowrap'>Rewards</td>\r\n\t\t\t\t\t\t<td class='rankingHeader' align='center' nowrap='nowrap'>Cost</td>\r\n\t\t\t\t\t\t<td class='rankingHeader' align='center' nowrap='nowrap'>Action&nbsp;</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td width='60%' class='serverStatus1' style='text-align: center;'><font size='-1'>";
        if ($package['item_number'] != 0) {
            $items = explode(',', $package['item_number']);
            foreach ($items as $pack) {
                $item_name = $WDB->selectCell("SELECT `name` FROM `item_template` WHERE entry='" . $pack . "'");
                echo "<a href='http://www.wowhead.com/?item=" . $pack . "' target='_blank'>" . $item_name . "</a><br />";
            }
        }
        if ($package['itemset'] != 0) {
            echo "<a href='http://www.wowhead.com/?itemset=" . $package['itemset'] . "' target='_blank'>ItemSet # " . $package['itemset'] . "</a><br />";
        }
        if ($package['gold'] != 0) {
            echo "<font color='darkgreen'><b>Gold</b>: </font>";
            print_gold($package['gold']);
        }
        echo "\t\t</font>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td class='serverStatus1' style='text-align: center; font-size: 12px;'>\r\n\t\t\t\t\t\t\t<font color='darkred'><u>" . $package['wp_cost'] . "</u></font> Web Points<br />\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t<td class='serverStatus1' style='text-align: center;'><font size='-1'>\r\n\t\t\t\t\t\t\t<input type='submit' value='Select'>\r\n\t\t\t\t\t\t</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</tbody>\r\n\t\t\t</table>\r\n\t\t\t</form>";
        write_metalborder_footer();