<div id="container"> <div class="row border-bottom"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <h1><?php echo $conf->meta->site_name . " - Edit PlayerId: " . $setId; ?> </h1> </div> </div> <div class="row"> <?php echo "<form action=\"edit.php\" method=\"POST\" name=\"edituser_{$setId}\">\n"; ?> <div class="col-md-4"> <?php if (!$Database->Run($sql)) { die($Database->Error()); } else { $response = $Database->Run($sql); while ($row = mysqli_fetch_array($response)) { $avatar = json_encode(json_decode($row["Avatar"]), JSON_PRETTY_PRINT); echo "<h3>Avatar</h3>\n\t\t\t\t\t\t<textarea id=\"avatar\" name=\"avatar\" class=\"fullwidth\">" . $avatar . "</textarea>"; ?> </div> <div class="col-md-4"> <?php echo "<h3>Meta</h3>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tLast Update Time: " . $row["LastUpdateTime"] . "<br /><br />Account Privilege Level<br />\n\t\t\t\t\t\t\t<input type=\"text\" name=\"AccountPrivileges\" value=\"" . $row["AccountPrivileges"] . "\">\n\t\t\t\t\t\t</p>\n"; ?> </div> <div class="col-md-4"> <?php
</head> <body> <div id="container"> <div class="row"> <div class="col-xs-8 col-sm-6 col-md-10 col-lg-10"> <h1><?php echo $conf->meta->site_name . " - " . $serverStatus; ?> </h1> </div> </div> <?php $response = $Database->Run($sql); if (!$response) { die($Database->Error()); } ?> <table class="table table-striped table-bordered"> <thead> <tr> <th><h3>Player ID <a href="?sortBy=id_asc" title="ID ascending">▲</a><a href="?sortBy=id_desc" title="ID descending">▼</a> <form action="index.php" method="GET"><input type="hidden" value="search" name="sortBy" /><input type="text" name="search" placeholder="Search PlayerID" /><button>Go</button></form></h3></th> <th><h3>Privilege Level <a href="?sortBy=pl_asc" title="Privilege Level ascending">▲</a><a href="?sortBy=pl_desc" title="Privilege Level descending">▼</a></h3></th> <th><h3>Last Update Time <a href="?sortBy=ut_asc" title="LUT ascending">▲</a><a href="?sortBy=ut_desc" title="LUT descending">▼</a></h3></th> <th><h3>Edit User</h3></th> </tr> </thead>