Compare commits

...

2 Commits

Author SHA1 Message Date
471a3e29fd Update testing.php 2022-03-28 10:55:47 +02:00
7d869ff5d7 Update index.php 2022-03-28 10:55:44 +02:00
2 changed files with 34 additions and 46 deletions

View File

@ -18,16 +18,13 @@
<!--My Custom Styleshit--> <!--My Custom Styleshit-->
<link rel="stylesheet" href="css/styles.css"> <link rel="stylesheet" href="css/styles.css">
<!--MATERIALIZE--> <!--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> </head>
<body> <body>
@ -36,38 +33,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"> <div class="card-content">
<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"> <li class="tab">
<a class="active" href="#'.$name.'h2p"> <a class="active" href="#'.$name.'h2p">How to play</a>
How to play </li>
</a> <li class="tab">
</li> <a href="#'.$name.'pbw">Plays best with</a>
<li class="tab"> </li>
<a href="#'.$name.'pbw">Plays best with</a> <li class="tab">
</li> <a href="#'.$name.'convars">Convars</a>
<li class="tab"> </li>
<a href="#'.$name.'convars">Convars</a> </ul>
</li> </div>
</ul> <div class="card-content '.$tcolor.'-text">
</div> <span class="card-title">'.$name.'</span>
<div class="card-content '.$tcolor.'-text"> <div id="'.$name.'h2p ">'.$howtoplay.'</div>
<span class="card-title">'.$name.'</span> <div id="'.$name.'pbw ">'.$playsbestwith.'</div>
<div id="'.$name.' h2p ">'.$howtoplay.'</div> <div id="'.$name.'convars">'.$convars.'</div>
<div id=" '.$name.'pbw ">'.$playsbestwith.'</div> </div>
<div id="'.$name.'convars">'.$convars.'</div> </div>
</div> </div>
</div>
</div>
'; ';
} }
?> ?>
</div>
</div>
<script> <script>

View File

@ -19,15 +19,6 @@
<link rel="stylesheet" href="css/styles.css"> --> <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> </head>
<body> <body>