Update 'index.php'
This commit is contained in:
parent
4d9ae154d5
commit
4bf9b4809f
50
index.php
50
index.php
@ -28,35 +28,33 @@
|
||||
foreach (glob("roles/*.php") as $filename) {
|
||||
include $filename;
|
||||
echo '
|
||||
<div class="col s12 m6">
|
||||
<div class="card '.$color.'">
|
||||
<div class="card-content '.$tcolor.'-text">
|
||||
<span class="card-title">'.$name.'</span>
|
||||
<p>'.$description.'</p>
|
||||
</div>
|
||||
<div class="card-tabs">
|
||||
<ul class="tabs tabs-fixed-width">
|
||||
<li class="tab"><a class="active" href="#'.$name.'h2p">How to play</a></li>
|
||||
<li class="tab"><a href="#'.$name.'pbw">Plays best with</a></li>
|
||||
<li class="tab"><a href="#'.$name.'convars">Convars</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-content grey lighten-4">
|
||||
<div id='.$name.'h2p">'.$howtoplay.'</div>
|
||||
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
|
||||
<div id='.$name.'convars">'.$convars.'</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="'.$steam.'">Steam Link</a>
|
||||
<a href="'.$source.'">Source</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12 m6">
|
||||
<div class="card '.$color.'">
|
||||
<div class="card-content '.$tcolor.'-text">
|
||||
<span class="card-title">'.$name.'</span>
|
||||
<p>'.$description.'</p>
|
||||
</div>
|
||||
<div class="card-tabs">
|
||||
<ul class="tabs tabs-fixed-width">
|
||||
<li class="tab"><a class="active" href="#'.$name.'h2p">How to play</a></li>
|
||||
<li class="tab"><a href="#'.$name.'pbw">Plays best with</a></li>
|
||||
<li class="tab"><a href="#'.$name.'convars">Convars</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-content grey lighten-4">
|
||||
<div id='.$name.' h2p ">'.$howtoplay.'</div>
|
||||
<div id=" '.$name.'pbw ">'.$playsbestwith.'</div>
|
||||
<div id='.$name.'convars">'.$convars.'</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a href="'.$steam.'">Steam Link</a>
|
||||
<a href="'.$source.'">Source</a>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user