if ($row_edit['user_types'] == $key) { echo " selected"; } echo ">{$type}</option>\n"; } echo " </select></td>\n"; echo " </tr>\n"; } echo " <tr>\n"; echo " <td align='right'><b>Sort No.:</b></td>\n"; echo " <td><input type='text' size='5' name='sort_num' value='" . $row_edit['sort_num'] . "' /></td>\n"; echo " </tr>\n"; if (logo_exists($logo_fullpath, $row_edit['brand'])) { echo " <tr>\n"; echo " <td align='right'>Brand Logo: </td>\n"; echo " <td><a class='preview_link' href=\"javascript:ImgWindow('../" . $logo_path . logo_exists($logo_fullpath, $row_edit['brand']) . "','Image','400','300','20','front');\">" . logo_exists($logo_fullpath, $row_edit['brand']) . "</a>\n"; echo " </td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align='right'>Replace Brand Logo: </td><td><input type='file' size='20' name='imgfile-logo' />"; } else { echo " <tr>\n"; echo " <td align='right'>Brand Logo: </td><td><input type='file' size='20' name='imgfile-logo' />"; echo "<br /><span class='instructions'>Please use .gif .jpg or .png images only.</span>"; } echo " </td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align='right'><input type='submit' name='submit' value='Update' /></td>\n"; echo " <td><input type='reset' name='reset' value='Reset' /></td>\n"; echo " </tr>\n";
} } } // Display the specific guild page ?> <div id="guildTitleDiv"> <?php echo isset($_GET['error']) ? "<font size='5' color='red'>" . sanitize($_GET['error']) . "</font><br><br>" : ""; ?> <?php if ($config['use_guild_logos']) { ?> <div id="guildImageDiv" style="float: left; margin-right: 10px;"> <img style="max-width: 100px; max-height: 100px;" src="<?php logo_exists(sanitize($_GET['name'])); ?> "></img> </div> <?php } ?> <div id="guildDescription"> <h1>Guild: <?php echo sanitize($_GET['name']); ?> </h1> <p><?php echo $guild['motd']; ?> </p>