optimized content, updated system reference, included htaccess

This commit is contained in:
Ulf Gebhardt 2017-03-30 21:50:38 +02:00
parent 4d6ff39654
commit 0825feb29c
39 changed files with 45 additions and 43 deletions

2
.htaccess Normal file
View File

@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule ^files/([^/]+)/([^/]+)$ api.php?call=files&cat=$1&id=$2

@ -1 +1 @@
Subproject commit b6e32ac9717eb23b4b7677f57d380374de82cc77
Subproject commit 749e079645be60dc0711817ca6d262a8a35f3ddf

View File

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -7,7 +7,7 @@
<b>Realm Server:&nbsp;&nbsp;</b>
</td>
<td style="text-align: right;">
${realm_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${realm_online}.png" width="18" height="18"/>
${realm_online}&nbsp;&nbsp;<img src="./files/content/${realm_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -15,7 +15,7 @@
<b>World Server: </b>
</td>
<td style="text-align: right;">
${world_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${world_online}.png" width="18" height="18"/>
${world_online}&nbsp;&nbsp;<img src="./files/content/${world_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -23,7 +23,7 @@
<b>Test Server: </b>
</td>
<td style="text-align: right;">
${test_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${test_online}.png" width="18" height="18"/>
${test_online}&nbsp;&nbsp;<img src="./files/content/${test_online}.png" width="18" height="18"/>
</td>
</tr>
</table>

View File

@ -1,5 +1,5 @@
<div class="row-fluid">
<div class="col-md-6">${name}</div>
<div class="col-md-3">${level}</div>
<div class="col-md-3" style="text-align: right;"><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></div>
<div class="col-md-3" style="text-align: right;"><img src="./files/content/${online}.png" width="18" height="18"/></div>
</div>

View File

@ -1,5 +1,5 @@
<tr>
<td><a href="#!account(tbc_account);account.${username}">${username}</a></td>
<td>${count}</td>
<td style="text-align: right;"><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td style="text-align: right;"><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>

View File

@ -3,7 +3,7 @@
<div class="panel-body">
<h4>Mojotrollz 2.4.3 TBC Progressive</h4>
<p>
<b>Realmlist: </b><a href="./api.php?call=files&cat=server&id=realmlist.wtf" target="blank">set realmlist mojotrollz.eu</a>
<b>Realmlist: </b><a href="./files/server/realmlist.wtf" target="blank">set realmlist mojotrollz.eu</a>
<br>
<b>Client: </b><a href="${link_wow_2_4_3}">${mojotrollz_wow_2_4_3}</a>
</p>
@ -18,7 +18,7 @@
<b>Realm Server:&nbsp;&nbsp;</b>
</td>
<td style="text-align: right;">
${realm_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${realm_online}.png" width="18" height="18"/>
${realm_online}&nbsp;&nbsp;<img src="./files/content/${realm_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -26,7 +26,7 @@
<b>World Server: </b>
</td>
<td style="text-align: right;">
${world_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${world_online}.png" width="18" height="18"/>
${world_online}&nbsp;&nbsp;<img src="./files/content/${world_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -34,7 +34,7 @@
<b>Test Server: </b>
</td>
<td style="text-align: right;">
${test_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${test_online}.png" width="18" height="18"/>
${test_online}&nbsp;&nbsp;<img src="./files/content/${test_online}.png" width="18" height="18"/>
</td>
</tr>
</table>

View File

@ -6,7 +6,7 @@
<button id="btn_beta" class="btn btn-success btn-lg" style="width: 95%;">Join the Mojotribe</button>-->
<h4>Mojotrollz 2.4.3 TBC Progressive</h4>
<p>
<b>Realmlist: </b><a href="./api.php?call=files&cat=server&id=realmlist.wtf" target="blank">set realmlist mojotrollz.eu</a>
<b>Realmlist: </b><a href="./files/server/realmlist.wtf" target="blank">set realmlist mojotrollz.eu</a>
<br>
<b>Client: </b><a href="${link_wow_2_4_3}">${mojotrollz_wow_2_4_3}</a>
</p>
@ -22,7 +22,7 @@
<b>Realm Server:&nbsp;&nbsp;</b>
</td>
<td style="text-align: right;">
${realm_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${realm_online}.png" width="18" height="18"/>
${realm_online}&nbsp;&nbsp;<img src="./files/content/${realm_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -30,7 +30,7 @@
<b>World Server: </b>
</td>
<td style="text-align: right;">
${world_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${world_online}.png" width="18" height="18"/>
${world_online}&nbsp;&nbsp;<img src="./files/content/${world_online}.png" width="18" height="18"/>
</td>
</tr>
<tr>
@ -38,7 +38,7 @@
<b>Test Server: </b>
</td>
<td style="text-align: right;">
${test_online}&nbsp;&nbsp;<img src="./api.php?call=files&cat=content&id=${test_online}.png" width="18" height="18"/>
${test_online}&nbsp;&nbsp;<img src="./files/content/${test_online}.png" width="18" height="18"/>
</td>
</tr>
</table>

View File

@ -4,7 +4,7 @@
</div>
<div class="col-md-3" style="padding-left: 40px; padding-top: 120px;">
<a href="bitcoin:1DZmhdbP4YQvwYBTNDNEBnDFn1gYrHb3uT&amount=0.025&message=Mojodonate">
<img src="./api.php?call=files&cat=content&id=bitcoin-donation-tab.png"/>
<img src="./files/content/bitcoin-donation-tab.png"/>
</a>
</div>
</div>

View File

@ -3,7 +3,7 @@ class default_page implements \SYSTEM\PAGE\DefaultPage {
public static function js(){
return \SYSTEM\HTML\html::script(\LIB\lib_jquery::js()->WEBPATH()).
\SYSTEM\HTML\html::script(\LIB\lib_bootstrap::js()->WEBPATH()).
\SYSTEM\HTML\html::script(\LIB\lib_jqbootstrapvalidation::js()->WEBPATH()).
\SYSTEM\HTML\html::script(\SYSTEM\CACHE\cache_js::url(array(\LIB\lib_jqbootstrapvalidation::js()))).
\SYSTEM\HTML\html::script(\LIB\lib_flexslider::js()->WEBPATH()).
\SYSTEM\HTML\html::script(\SYSTEM\CACHE\cache_js::url(
array( \LIB\lib_system::js(),

View File

@ -8,22 +8,22 @@
<meta name="keywords" content="${meta_start_keywords}">
<title>${title_start}</title>
<meta name="fragment" content="!">
<link rel="icon" href="./api.php?call=files&amp;cat=content&amp;id=favicon.ico" type="image/x-icon"/>
<link rel="icon" href="./files/content/favicon.ico" type="image/x-icon"/>
<style type="text/css">
@font-face {
font-family: TrojanPro;
src: url(./api.php?call=files&cat=content&id=TrajanPro-Regular.otf);
src: url(./files/content/TrajanPro-Regular.otf);
}
body{
background: url(./api.php?call=files&cat=content&id=bg_brown_sun.jpg)fixed no-repeat;
background: url(./files/content/bg_brown_sun.jpg)fixed no-repeat;
background-size: cover;
}
.mojotrollz_download_text{
background: url(./api.php?call=files&cat=content&id=download_client.png) no-repeat;
background: url(./files/content/download_client.png) no-repeat;
background-size: cover;
}
#tapete{
background: url(./api.php?call=files&cat=content&id=main_holder_middle.png) repeat-y;
background: url(./files/content/main_holder_middle.png) repeat-y;
background-size: contain;
margin-top: 45px;
padding-left: 15px;
@ -34,7 +34,7 @@
${js}
</head>
<body>
<h1 class="fadeInDown animated lead mojotrollz_heading"><img class="img-responsive" title="mojotrollz.eu logo" alt="${mojotrollz_heading}" src="./api.php?call=files&amp;cat=content&amp;id=mojotrollz_logo.png" width="100%"></h1>
<h1 class="fadeInDown animated lead mojotrollz_heading"><img class="img-responsive" title="mojotrollz.eu logo" alt="${mojotrollz_heading}" src="./files/content/mojotrollz_logo.png" width="100%"></h1>
<div class="container">
<div id="tapete" class="row">
<!-- Navbar -->
@ -69,10 +69,10 @@
<div class="col-md-12 mojotrollz_col">
<div class="flexslider mojotrollz_flexslider">
<ul class="slides">
<li><img alt="WoW Classic Vanilla Banner" src="./api.php?call=files&amp;cat=content&amp;id=banner_mojotrollz_1.gif" width="100%"></li>
<li style="display: none"><img alt="WoW The Burning Crusade Banner" src="./api.php?call=files&amp;cat=content&amp;id=banner_mojotrollz_2.gif" width="100%"></li>
<li style="display: none"><img alt="World of Warcraft Pandaria Banner" src="./api.php?call=files&amp;cat=content&amp;id=banner_mojotrollz_3.gif" width="100%"></li>
<li style="display: none"><img alt="The Struggle of our Community Banner" src="./api.php?call=files&amp;cat=content&amp;id=banner_mojotrollz_4.gif" width="100%"></li>
<li><img alt="WoW Classic Vanilla Banner" src="./files/content/banner_mojotrollz_1.png" width="100%"></li>
<li style="display: none"><img alt="WoW The Burning Crusade Banner" src="./files/content/banner_mojotrollz_2.png" width="100%"></li>
<li style="display: none"><img alt="World of Warcraft Pandaria Banner" src="./files/content/banner_mojotrollz_3.png" width="100%"></li>
<li style="display: none"><img alt="The Struggle of our Community Banner" src="./files/content/banner_mojotrollz_4.png" width="100%"></li>
</ul>
</div>
</div>

View File

@ -7,7 +7,7 @@
<td><a href="${url}" target="blank">${name}</a></td>
<td>
<a href="${link_wow_${version_url}}">
<img style="" data-pyroimage="true" src="./api.php?call=files&amp;cat=content&amp;id=wow_${version_url}.png" alt="WoW" height="24" width="24">
<img style="" data-pyroimage="true" src="./files/content/wow_${version_url}.png" alt="WoW" height="24" width="24">
&nbsp;&nbsp;${version}
</a>
</td>

View File

@ -5,7 +5,7 @@
<td>${chars}</td>
<td>${joindate}</td>
<td>${last_login}</td>
<td><img src="./api.php?call=files&cat=content&id=${system_account}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${bot}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td><img src="./files/content/${system_account}.png" width="18" height="18"/></td>
<td><img src="./files/content/${bot}.png" width="18" height="18"/></td>
<td><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>

View File

@ -2,6 +2,6 @@
<td>${guid}</td>
<td>${name}</td>
<td>${level}</td>
<td><img class="bot" guid="${guid}" status="${status}" account="${account}" server="${server}" src="./api.php?call=files&cat=content&id=${bot}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td><img class="bot" guid="${guid}" status="${status}" account="${account}" server="${server}" src="./files/content/${bot}.png" width="18" height="18"/></td>
<td><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>

View File

@ -2,6 +2,6 @@
<td>${guid}</td>
<td>${name}</td>
<td>${level}</td>
<td><img class="bot" guid="${guid}" status="${status}" account="${account}" server="${server}" src="./api.php?call=files&cat=content&id=${bot}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td><img class="bot" guid="${guid}" status="${status}" account="${account}" server="${server}" src="./files/content/${bot}.png" width="18" height="18"/></td>
<td><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>

View File

@ -4,7 +4,7 @@
<td>${username} (${email})</td>
<td>${level}</td>
<td>${totaltime}</td>
<td><img src="./api.php?call=files&cat=content&id=${system_account}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${bot}.png" width="18" height="18"/></td>
<td><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td><img src="./files/content/${system_account}.png" width="18" height="18"/></td>
<td><img src="./files/content/${bot}.png" width="18" height="18"/></td>
<td><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>

View File

@ -20,11 +20,11 @@
</tr>
<tr>
<th>Online</th>
<td><img src="./api.php?call=files&cat=content&id=${online}.png" width="18" height="18"/></td>
<td><img src="./files/content/${online}.png" width="18" height="18"/></td>
</tr>
<tr>
<th>Bot</th>
<td><img class="bot" guid="${guid}" status="${status}" account="${account_id}" server="${server}" src="./api.php?call=files&cat=content&id=${bot}.png" width="18" height="18"/></td>
<td><img class="bot" guid="${guid}" status="${status}" account="${account_id}" server="${server}" src="./files/content/${bot}.png" width="18" height="18"/></td>
</tr>
<tr>
<th></th>

View File

@ -1,4 +1,4 @@
INSERT INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (1, 'link_wow_1_12_1', './api.php?call=files&amp;cat=content&amp;id=wow_1_12_1.png', 'mojotrollz_wow_1_12_1', 'mojotrollz_download_qbittorrent');
INSERT INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (2, 'link_wow_2_4_3', './api.php?call=files&amp;cat=content&amp;id=wow_2_4_3.png', 'mojotrollz_wow_2_4_3', 'mojotrollz_download_qbittorrent');
INSERT INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (3, 'link_wow_3_3_5a', './api.php?call=files&amp;cat=content&amp;id=wow_3_3_5a.png', 'mojotrollz_wow_3_3_5a', 'mojotrollz_download_qbittorrent');
INSERT INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (4, 'link_ts3', './api.php?call=files&amp;cat=content&amp;id=ts.png', 'mojotrollz_teamspeak3', 'mojotrollz_connect_ts');
REPLACE INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (1, 'link_wow_1_12_1', './files/content/wow_1_12_1.png', 'mojotrollz_wow_1_12_1', 'mojotrollz_download_qbittorrent');
REPLACE INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (2, 'link_wow_2_4_3', './files/content/wow_2_4_3.png', 'mojotrollz_wow_2_4_3', 'mojotrollz_download_qbittorrent');
REPLACE INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (3, 'link_wow_3_3_5a', './files/content/wow_3_3_5a.png', 'mojotrollz_wow_3_3_5a', 'mojotrollz_download_qbittorrent');
REPLACE INTO `mojotrollz_downloads` (`id`, `link`, `img`, `text`, `subtext`) VALUES (4, 'link_ts3', './files/content/ts.png', 'mojotrollz_teamspeak3', 'mojotrollz_connect_ts');