Browse Source

Fix mobile view

master
OliverParoczai 4 years ago
parent
commit
4a0c016d50
  1. 2
      events.php
  2. 6
      header.php
  3. 2
      schools.php

2
events.php

@ -34,7 +34,7 @@
echo '<a class="listitem list-group-item waves-effect" href="'.$curdir.'event.php?id='.$json[$i]["eventid"].'">
<table>
<td><img class="smallimg listitemimg squircle" src="'.$url.'/API/request.php?type=image&subtype=eventcategory&category='.$json[$i]["category"].'"><td>
<td><b>'.$json[$i]["title"].'</b><br>'.$ownername.'<br>'.$json[$i]["description"].'</b><td>
<td style="white-space: pre-line;"><b>'.$json[$i]["title"].'</b><br>'.$ownername.'<br>'.$json[$i]["description"].'</b><td>
</table>
</a>';
}

6
header.php

@ -1,6 +1,6 @@
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
//session_cache_limiter('private');session_cache_expire(0);
session_start();
@ -513,7 +513,7 @@ if((!isset($liteload) && $loggedin == false && $isadmin && $type != 1 && $type !
<!-- User Info -->
<div class="user-info" style="background-color: #3949ab;"> <!-- indigo darken-1 -->
<div class="image">
<img src="<?php echo $curdir; ?>API/request.php?type=image&subtype=user&id=<?php echo $id; ?>" width="48" height="48" alt="User" />
<img src="<?php echo $curdir; ?>API/request.php?type=image&subtype=user&id=<?php if(isset($id)){ echo $id; } else { echo "0"; } ?>" width="48" height="48" alt="User" />
</div>
<div class="info-container">
<div class="name" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php if(isset($fullname) && $fullname != ""){ echo $fullname; }else {echo $username; } ?></div>

2
schools.php

@ -22,7 +22,7 @@
<a class="listitem list-group-item waves-effect" href="'.$curdir.'school.php?id='.$json[$i]["id"].'">
<table>
<td><img class="listitemimg squircle" src="'.$url.'/API/request.php?type=image&subtype=school&id='.$json[$i]["id"].'"></td>
<td><b>'.$json[$i]["name"].'</b><br>'.$json[$i]["location"].'<br>'.$fulltype.'</b></td>
<td style="white-space: pre-line;"><b>'.$json[$i]["name"].'</b><br>'.$json[$i]["location"].'<br>'.$fulltype.'</b></td>
</table>
</a>';
}

Loading…
Cancel
Save