1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 23:21:47 +02:00

Fix syntax error typo and prettify

This commit is contained in:
Chaoyi Zha 2015-05-31 11:06:51 -04:00
parent 9f27b76428
commit d2b6497f7f

View File

@ -124,10 +124,12 @@ if (!is_array($auth->islogged())) {
</form>
</div>';
if ($isadmin == true) {
echo '<div class="tab-pane" id="adminpanel"><br />'
echo '<input type="text" id="linkAction" placeholder="baseval" style="width:30%;" class="form-control" /><a href="#" onclick="customDisableLink();" class="btn btn-sm btn-danger">Disable</a>';
echo '<a href="#" onclick="customEnableLink();" class="btn btn-sm btn-success">Enable</a><br />';
echo '<div class="tab-pane" id="adminpanel"><br />';
echo 'Polr Links - Limited @ 720:' . $linksadmin . '<br>Polr Users - Limited @ 360:' . $usersadmin. '<script src="../js/ucp.js"></script>';
echo 'Disable a Link<br />';
echo '<input type="text" id="linkAction" placeholder="Link ending" style="width:30%;" class="form-control" />';
echo '<div class="linkActionBtn"><a href="javascript:void()" onclick="customDisableLink();" class="btn btn-sm btn-danger">Disable</a>&nbsp;';
echo '<a href="javascript:void()" onclick="customEnableLink();" class="btn btn-sm btn-success">Enable</a></div>';
if ($debug == 1) {
'<br>Debug Variables: <br>Default IP Fetch: ' . $ip . '<br>X-Forwarded-For:' . @$headers['X-Forwarded-For'] . '<br>Forwarded-For' . @$headers['forwarded-for'];
}