Itutorial
Legendary OT User
- Joined
- Dec 23, 2014
- Messages
- 2,339
- Solutions
- 68
- Reaction score
- 1,024
Not sure if this topic is even allowed here but I am working on a new otservlist website. Essentially I want to make it so people can create there own page for the server on the website.
You can check it out here: otservers.ddns.net
Its not close to ready but I wanted to see opinions.
Server statistics will be real with no loop holes. Online player information for instance will be required to only show 1 player per IP, account, ect.
The main thing is people will be able to submit their own custom made pages on the site to be shown.
If you click on the server name it will direct you to their own server page. This is the example page.
You can check it out here: otservers.ddns.net
Its not close to ready but I wanted to see opinions.
Server statistics will be real with no loop holes. Online player information for instance will be required to only show 1 player per IP, account, ect.
The main thing is people will be able to submit their own custom made pages on the site to be shown.
If you click on the server name it will direct you to their own server page. This is the example page.
PHP:
<html>
<head>
<link rel="stylesheet" href="layout/style.css">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Server Info</title>
</head>
<body>
<a href="home.php"><button>Home</button></a>
<div style="margin:auto;text-align:center;width:900px;height:900px;background-color:#303030;">
<h1 style="border:3px solid red;color:red"> <?php echo $serverName; ?> </h1>
<p>
<textarea id="serverInfoTA" rows="1" cols="50" maxlength="500" readonly="true"> <?php echo $serverArray[3]; ?> </textarea>
</p>
<div style="float:left;">
<p style="border:2px solid red;width:100px;float:left;margin-left:120px;">Server Info</p>
<p style="border:2px solid red;width:100px;float:left;margin-left:350px">Features</p>
<table style="border:none;clear:both;" id="ServerTableName">
<tr id="columTR">
<th style="border:1px solid black;">Name</th>
<th style="border:1px solid black;">Ip</th>
<th style="border:1px solid black;">Protocol</th>
<th style="border:1px solid black;">Port</th>
<th style="border:1px solid black;">Players</th>
<th style="border:1px solid black;">ExpRate</th>
<th style="border:1px solid black;">Website</th>
</tr>
<tr>
<td> <?php echo $serverArray[1]; ?> </td>
<td> <?php echo $serverArray[2]; ?> </td>
<td> <?php echo $serverArray[4]; ?> </td>
<td> <?php echo $serverArray[5]; ?> </td>
<td> <?php echo $serverArray[6]; ?> </td>
<td> <?php echo $serverArray[7]; ?> </td>
<td> <?php echo $serverArray[8]; ?> </td>
</tr>
</table>
<div style="height:200px;width:524px;float:right;border:1px solid red;">
<p> More info </p>
</div>
</div>
<div style="height:461px;width:100%;clear:both;border:1px solid red;">
<p> bottom </p>
</div>
</div>
</body>
</html>