Update 'index.php'

This commit is contained in:
Jesse James Isler 2022-03-28 06:09:43 +00:00
parent 4bf9b4809f
commit 7643323692

View File

@ -28,30 +28,38 @@
foreach (glob("roles/*.php") as $filename) { foreach (glob("roles/*.php") as $filename) {
include $filename; include $filename;
echo ' echo '
<div class="col s12 m6"> <div class="col s12 m6">
<div class="card '.$color.'"> <div class="card '.$color.'">
<div class="card-content '.$tcolor.'-text"> <div class="card-content '.$tcolor.'-text">
<span class="card-title">'.$name.'</span> <span class="card-title">'.$name.'</span>
<p>'.$description.'</p> <p>'.$description.'</p>
</div> </div>
<div class="card-tabs"> <div class="card-tabs">
<ul class="tabs tabs-fixed-width"> <ul class="tabs tabs-fixed-width">
<li class="tab"><a class="active" href="#'.$name.'h2p">How to play</a></li> <li class="tab">
<li class="tab"><a href="#'.$name.'pbw">Plays best with</a></li> <a class="active" href="#'.$name.'h2p">
<li class="tab"><a href="#'.$name.'convars">Convars</a></li> How to play
</ul> </a>
</div> </li>
<div class="card-content grey lighten-4"> <li class="tab">
<div id='.$name.' h2p ">'.$howtoplay.'</div> <a href="#'.$name.'pbw">Plays best with</a>
<div id=" '.$name.'pbw ">'.$playsbestwith.'</div> </li>
<div id='.$name.'convars">'.$convars.'</div> <li class="tab">
</div> <a href="#'.$name.'convars">Convars</a>
</div> </li>
<div class="card-action"> </ul>
<a href="'.$steam.'">Steam Link</a> </div>
<a href="'.$source.'">Source</a> <div class="card-content grey lighten-4">
</div> <div id='.$name.' h2p ">'.$howtoplay.'</div>
</div> <div id=" '.$name.'pbw ">'.$playsbestwith.'</div>
<div id='.$name.'convars">'.$convars.'</div>
</div>
<div class="card-action">
<a href="'.$steam.'">Steam Link</a>
<a href="'.$source.'">Source</a>
</div>
</div>
</div>
'; ';
} }
?> ?>