Compare commits
2 Commits
c820732e9b
...
471a3e29fd
Author | SHA1 | Date | |
---|---|---|---|
471a3e29fd | |||
7d869ff5d7 |
71
index.php
71
index.php
@ -18,16 +18,13 @@
|
||||
<!--My Custom Styleshit-->
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
|
||||
|
||||
<!--MATERIALIZE-->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
<!-- Compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
|
||||
<!-- Compiled and minified JavaScript -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
|
||||
|
||||
<!--Import Google Icon Font-->
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<!--Import materialize.css-->
|
||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
||||
|
||||
<!--jQuery-->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -36,38 +33,38 @@
|
||||
foreach (glob("roles/*.php") as $filename) {
|
||||
include $filename;
|
||||
echo '
|
||||
<div class="col s12 m6">
|
||||
<div class="card '.$color.'">
|
||||
<div class="card-content">
|
||||
<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 '.$tcolor.'-text">
|
||||
<span class="card-title">'.$name.'</span>
|
||||
<div id="'.$name.' h2p ">'.$howtoplay.'</div>
|
||||
<div id=" '.$name.'pbw ">'.$playsbestwith.'</div>
|
||||
<div id="'.$name.'convars">'.$convars.'</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12 m6">
|
||||
<div class="card '.$color.'">
|
||||
<div class="card-content">
|
||||
<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 '.$tcolor.'-text">
|
||||
<span class="card-title">'.$name.'</span>
|
||||
<div id="'.$name.'h2p ">'.$howtoplay.'</div>
|
||||
<div id="'.$name.'pbw ">'.$playsbestwith.'</div>
|
||||
<div id="'.$name.'convars">'.$convars.'</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
@ -19,15 +19,6 @@
|
||||
<link rel="stylesheet" href="css/styles.css"> -->
|
||||
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
|
||||
<!-- Compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
|
||||
|
||||
<!-- Compiled and minified JavaScript -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user