Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" href="../styles/digi/theme/stylesheet.css" type="text/css" />
- <link rel="icon" type="image/png" href="/harmedore/pics/trahaearn.png" />
- <script>
- var sessionid = "1487530117";
- var name = "Template";
- var forumid = "49";
- var rank = "2";
- var color = "#D52000";
- var bgcolor = "#CEEE6S";
- </script>
- <link rel="stylesheet" href="HOcss3.css?version=53" type="text/css" />
- <link rel="stylesheet" href="generalobjects.css?version=53" type="text/css" />
- <script src="http://code.jquery.com/jquery-latest.min.js"></script>
- <script src = "js/colResizable.js"></script>
- <script src = "analyzecall.js?version=53"></script>
- <script src = "publicpagejs.js?version=53"></script>
- <script src = "mainpagejs.js?version=53"></script>
- <title>Harmed Ore</title>
- </head>
- <body>
- <div id = "menu">
- <button class = 'menubutton' onclick = "leaveChat('Logged out', 0)"><img src = 'pics/signout.png' height = '20' width = '20' title="Log out"/></button><br/>
- <button class = 'menubutton' onclick = "goToMeeting()"><img src = 'pics/meeting.png' height = '20' width = '20' title = "Last meeting notes"/></button><br/>
- <button class = 'menubutton' onclick = "goToForum()"><img src = 'pics/forum.png' height = '20' width = '20' title = "Harmed ore forum"/></button><br/>
- </div>
- <div id = "container">
- <div id="inhoud">
- <table style = "float:left" class = "oretable" style = "border: 1px solid teal;">
- <tr>
- <th colspan = "8">Select what columns to see</th>
- </tr>
- <tr>
- <td><b>All Relay:</b></td><td><input type = "checkbox" id = "relayCheck" onclick = "activateRelay();"></td>
- <td><b>Other:</b></td><td><input type = "checkbox" id = "randomCheck" onclick = "activateRandom();"></td>
- <td><b>All Scout:</b></td><td><input type = "checkbox" id = "scoutCheck" onclick = "activateScout();"></td>
- <td><b>Statistics:</b></td><td><input type = "checkbox" id = "statsCheck" onclick = "activateStats();"></td>
- </tr>
- <tr>
- <td>Rune:</td><td> <input type = "checkbox" id = "1Check" onclick = "columnClick(1);"></td>
- <td>Unh:</td><td> <input type = "checkbox" id = "5Check" onclick = "columnClick(5);"></td>
- <td>Worlds 1-32:</td><td> <input type = "checkbox" id = "8Check" onclick = "columnClick(8);"></td>
- <td></td><td></td>
- </tr>
- <tr>
- <td>Addy:</td><td> <input type = "checkbox" id = "2Check" onclick = "columnClick(2);"></td>
- <td>Mined:</td><td> <input type = "checkbox" id = "6Check" onclick = "columnClick(6);"></td>
- <td>Worlds 35-64:</td><td> <input type = "checkbox" id = "9Check" onclick = "columnClick(9);"></td>
- <td>Scouters:</td><td> <input type = "checkbox" id = "13Check" onclick = "columnClick(13);"></td>
- </tr>
- <tr>
- <td>Mith:</td><td> <input type = "checkbox" id = "3Check" onclick = "columnClick(3);"></td>
- <td>Uncalled:</td><td> <input type = "checkbox" id = "7Check" onclick = "columnClick(7);"></td>
- <td>Worlds 65-91:</td><td> <input type = "checkbox" id = "10Check" onclick = "columnClick(10);"></td>
- <td>Relayers:</td><td> <input type = "checkbox" id = "14Check" onclick = "columnClick(14);"></td>
- </tr>
- <tr>
- <td>Coal:</td><td> <input type = "checkbox" id = "4Check" onclick = "columnClick(4);"></td>
- <td>Harmed:</td><td><input type = "checkbox" id = "12Check" onclick = "columnClick(12)"></td>
- <td>Worlds 92-140:</td><td> <input type = "checkbox" id = "11Check" onclick = "columnClick(11);"></td>
- <td></td><td></td>
- </tr>
- </table>
- <table width = "450" style = "float:left">
- <tr>
- <td rowspan = "2" width = "85" height = "100">
- <div id = "firstvoice" align = "center">
- </div>
- </td>
- <td colspan = "2" width = "370">
- <div id = "headimg">
- <img src = "http://puu.sh/hOcao.png">
- </div>
- </td>
- <td rowspan = "2" width = "85" >
- <div id = "secondvoice" align = "center">
- </div>
- </td>
- </tr>
- <tr>
- <td align = "center">
- Last Trah Ended:
- <div id = "lasttrah">
- </div>
- </td>
- <td align = "center">
- Voices of next hour:
- <div id = "nextvoices">
- </div>
- </td>
- </tr>
- </table>
- <div class = "tabs" style = "clear:left">
- <div class = "tab-content">
- <div id = "relaytable" class = "tab active">
- <table border = "1" class = "oretable" id = "realoretable">
- <tr>
- </tr >
- <tr>
- </tr>
- </table>
- </div>
- <div id = "scouttable" class = "tab">
- </div>
- </div>
- </div>
- <table style="float:left;" border = "1" width = "600" class = "oretable">
- <tr>
- <td>
- <div id = "chatwindow">
- </div>
- </td>
- <td valign = "top" width = "150">
- <div id = "peepsinchat">
- </div>
- </td>
- </tr>
- <tr>
- <td colspan = "2">
- Template
- <input type = "text" id = "chat" size = "50" maxlength="100">
- <button onclick = "submit()">Submit</button>
- </td>
- </tr>
- <tr>
- <td colspan = "2">
- <div>
- <div id = 'errorlog'>
- </div>
- Current fc:
- <button class = "buttonup" id = "h0button" onclick = "setfc(this)">h0</button>
- <button class = "buttonup" id = "h1button" onclick = "setfc(this)">h1</button>
- <button class = "buttonup" id = "h2button" onclick = "setfc(this)">h2</button>
- <button class = "buttonup" id = "h3button" onclick = "setfc(this)">h3</button>
- <button class = "buttonup" id = "h4button" onclick = "setfc(this)">h4</button>
- <button class = "buttonup" id = "h5button" onclick = "setfc(this)">none</button><br/>
- Current activity:
- <button class = "buttonup" id = "h7button" onclick = "setaction(this)">relay</button>
- <button class = "buttonup" id = "h8button" onclick = "setaction(this)">scout</button>
- <button class = "buttonup" id = "h9button" onclick = "setaction(this)">both</button>
- <button class = "buttonup" id = "h10button" onclick = "setaction(this)">mining</button>
- <button class = "buttonup" id = "h11button" onclick = "setaction(this)">away</button>
- <button class = "buttonup" id = "h12button" onclick = "setaction(this)">nothing</button><br/>
- <table>
- <tr>
- <th colspan = "2">Give rank</th>
- <th colspan = "2">Give color</th>
- <th colspan = "2">Check prif access</th>
- </tr>
- <tr>
- <td>Name:</td>
- <td><input type = "text" id = "giverankname" maxlength = "12" size = "10"/></td>
- <td>Name:</td>
- <td><input type = "text" id = "colorname" maxlength = "12" size = "10"/></td>
- <td>Rs Name:</td>
- <td><input type = "text" id = "checkprifname" maxlength = "12" size = "10"/></td>
- </tr>
- <tr>
- <td>
- Rank:
- </td>
- <td>
- <select id = "chosenrank" name = "ranks" style = "width: 100;">
- <option value = "1">General (gold)</option>
- <option value = "2">Captain (silver)</option>
- <option value = "3">Lieutenant(bronze)</option>
- <option value = "4">Sergeant (3 stripes)</option>
- <option value = "5">Corporal (2 stripes)</option>
- <option value = "6">Recruit (1 stripe)</option>
- <option value = "7">Smiley</option>
- <option value = "8">Ban</option>
- </select>
- </td>
- <td>
- Color:
- </td>
- <td>
- <input type="color" id="colorpicker" name="color" value="#ff0000" /> <input id="hexcolor" maxlength = "7" size = "3"/></div>
- </td>
- <td colspan = "2">
- <button value = "Check Prif Access" onclick = "checkprifaccess()" style="display: block; width: 100%;">Check Prif Access</button>
- </td>
- </tr>
- <tr>
- <td colspan = "2">
- <button value = "Give rank" onclick = "giverank()" style="display: block; width: 100%;"/>Give rank</button>
- </td>
- <td colspan = "2">
- <button value = "Give color" onclick = "givecolor()" style="display: block; width: 100%;"/>Give color</button>
- </td>
- <td colspan = "2">
- <div id = "prifaccessresult" style = "
- width: 100%;
- height: 50px;
- overflow: auto;
- font-size: 12px"></div>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <table style = "display: inline-block;" class = "oretable" border = "1">
- <tr>
- <th colspan = "3">
- <b>Statistics of last/current Trah</b><br>
- </th>
- </tr>
- <tr>
- <td width = "33%" >
- <b>Worlds total</b>
- </td>
- <td>
- <b>Scouted</b>
- </td>
- <td>
- <b>Relayed</b>
- </td>
- </tr>
- <tr>
- <td width = "33%">
- <div id = "worldstotal"></div>
- </td>
- <td>
- <div id = "worldsscouted"></div>
- </td>
- <td>
- <div id = "worldsrelayed"></div>
- </td>
- </tr>
- <tr>
- <td>
- <b>#Harmed</b>
- </td>
- <td>
- <b>#Unharmed</b>
- </td>
- <td>
- <b>#Mined</b>
- </td>
- </tr>
- <tr>
- <td>
- <div id = "amountharmed"></div>
- </td>
- <td>
- <div id = "amountunh"></div>
- </td>
- <td>
- <div id = "amountmined"></div>
- </td>
- </tr>
- <tr>
- <td>
- <b>Total time</b>
- </td>
- <td>
- <b>Average</b>
- </td>
- <td>
- <b>Time without</b>
- </td>
- </tr>
- <tr>
- <td>
- <div id = "totallifetime"></div>
- </td>
- <td>
- <div id = "averagelifetime"></div>
- </td>
- <td>
- <div id = "totalwithout"></div>
- </td>
- </tr>
- </table>
- <br/>
- <div id = "options">
- <table width = "250" class = "ignoreClick">
- <form id = "settingsform">
- <tr>
- <th colspan = 2>Settings</th>
- </tr>
- <tr>
- <td>
- Name color:
- </td>
- <td>
- <select id = 'colorDropDown' name = 'color' onchange = 'setColor()'>
- <option value = '#D52000' style = 'color:#D52000;' selected><b>Current Color</b></option><option value = '#000000' style='color:#000000'><b>Black</b></option><option value = '#FF0000' style='color:#FF0000'><b>Red</b></option><option value = '#0B610B' style='color:#0B610B'><b>Green</b></option><option value = '#FF4000' style='color:#FF4000'><b>Orange</b></option><option value = '#6600CC' style='color:#6600CC'><b>Purple</b></option><option value = '#FF00FF' style='color:#FF00FF'><b>Pink</b></option><option value = '#0000FF' style='color:#0000FF'><b>Blue</b></option> </select>
- </td>
- </tr>
- <tr>
- <td>
- Enable notifications:
- </td>
- <td>
- <input type = "checkbox" id = "enableNotifications" name = "notifications" onclick = "settingsFormOnChange()">
- </input>
- </td>
- </tr>
- <tr>
- <td>
- Add world to chat box<br/> when you click it:
- </td>
- <td>
- <input type = "checkbox" id = "showworlds" name = "addworlds" onclick = "settingsFormOnChange()">
- </input>
- </td>
- </tr>
- <tr>
- <td>
- Enable Sounds:
- </td>
- <td>
- <input type = "checkbox" id = "enablesounds" name = "enable_sounds" onclick = "settingsFormOnChange()" >
- </input>
- </td>
- </tr>
- <tr>
- <td>
- Names where you get highlighted : <br/>
- Seperate by new lines.
- </td>
- <td>
- <div style = "padding: 7px;">
- <textarea name = "hlnames" form = "settingsform" class = "ignoreClick" id = "hlnamestextarea" rows = '5' style = "width:100%" onclick = "settingsFormOnChange()"s>Template Temp </textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- Filter calls <input type = "checkbox" id = "filtercalls" name = "filter_calls" onclick = "filterCalls()" ></input>
- </td>
- <td>
- Filter a/m/c <input type = "checkbox" id = "filteramc" name = "filter_amc" onclick = "filterAMC()" ></input>
- </td>
- <tr>
- <tr>
- <td>
- Filter regular messages <input type = "checkbox" id = "filterchat" name = "filter_chat" onclick = "filterChat()" ></input>
- </td>
- <td>
- Filter login messages <input type = "checkbox" id = "filterlogin" name = "filter_login" onclick = "filterLogin()" ></input>
- </td>
- <tr>
- <td colspan = "2">
- <center>
- <div id = "settingslog"></div>
- <input type = "submit" value = "Save"/></input>
- </center>
- </td>
- </tr>
- </table>
- <script>
- $(function() {
- $('#settingsform').submit(function(event){
- event.preventDefault();
- $.ajax({
- type: 'POST',
- url: 'submitsettings.php',
- data:$('#settingsform').serialize(),
- });
- document.getElementById('settingslog').innerHTML = "Settings saved";
- if(typeof updateHLNames == 'function') {
- updateHLNames();
- }
- });
- return false;
- });
- function settingsFormOnChange() {
- document.getElementById('settingslog').innerHTML = "Settings not saved";
- if(typeof updateHLNames == 'function') {
- updateHLNames();
- }
- }
- function filterAMC() {
- if(document.getElementById("filteramc").checked) {
- $(".amcchat").hide();
- } else {
- $(".amcchat").show();
- }
- settingsFormOnChange();
- if(typeof scrollDown == "function") {
- scrollDown();
- }
- }
- function filterCalls() {
- if(document.getElementById("filtercalls").checked) {
- $(".runechat").hide();
- $(".amcchat").hide();
- } else {
- $(".runechat").show();
- $(".amcchat").show();
- }
- settingsFormOnChange();
- if(typeof scrollDown == "function") {
- scrollDown();
- }
- }
- function filterChat() {
- if(document.getElementById("filterchat").checked) {
- $(".messagechat").hide();
- } else {
- $(".messagechat").show();
- }
- settingsFormOnChange();
- if(typeof scrollDown == "function") {
- scrollDown();
- }
- }
- function filterLogin() {
- if(document.getElementById("filterlogin").checked) {
- $(".loginchat").hide();
- } else {
- $(".loginchat").show();
- }
- settingsFormOnChange();
- if(typeof scrollDown == "function") {
- scrollDown();
- }
- }
- </script> </div>
- </div>
- </div>
- </div>
- <script type = 'text/javascript'>
- var colorPick = document.getElementById("colorpicker");
- var hexcolor = document.getElementById("hexcolor");
- hexcolor.value = colorPick.value;
- $('#colorpicker').on('change', function() {
- hexcolor.value = this.value;
- });
- $('#hexcolor').on('change', function() {
- var val = '#'.concat(this.value.replace("#",""));
- colorPick.value = this.value;
- });
- function checkprifaccess() {
- var name = document.getElementById('checkprifname').value;
- var rnd = new Date().getTime();
- document.getElementById('prifaccessresult').innerHTML = "Checking " + name;
- $.post('checkprifaccess.php?rnd='+rnd,{rsname: name}, function (data) {
- document.getElementById('prifaccessresult').innerHTML = data;
- });
- document.getElementById('checkprifname').value = "";
- }
- function giverank() {
- var chat = document.getElementById('chat');
- var temp = chat.value;
- var rankname = document.getElementById('giverankname').value.replace(" ", "_");
- var newrank = document.getElementById('chosenrank').value;
- chat.value = "/rank " + rankname + " " + newrank;
- submit();
- chat.value = temp;
- }
- function givecolor() {
- var chat = document.getElementById('chat');
- var temp = chat.value;
- var colorname = document.getElementById('colorname').value.replace(" ", "_");
- var newcolor = document.getElementById('hexcolor').value;
- chat.value = "/color " + colorname + " " + newcolor;
- submit();
- chat.value = temp;
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement