mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-13 19:26:21 +00:00
first commit
This commit is contained in:
30
tpl/graphs_examples.php
Normal file
30
tpl/graphs_examples.php
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
<?php
|
||||
include ("cgi-bin/saveGraphHelpers.php");
|
||||
?>
|
||||
<h1><?= L('head_no_tags')?></h1>
|
||||
<p><?= L('text')?></p>
|
||||
<div>
|
||||
<?php for ($i = 0; $i < count($examples); $i++): ?>
|
||||
|
||||
<?php if ($i % 3 == 0): ?>
|
||||
<div class="row">
|
||||
<?php endif ?>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="thumbnail">
|
||||
<a href="./?graph=<?= $examples[$i]["id"] ?>">
|
||||
<img src="/<? echo (getImageFileName($examples[$i]["id"], true)); ?>" alt="<?= $examples[$i]["title_" . $g_lang["current_language"]] ?>" style="width:100%">
|
||||
<div class="caption">
|
||||
<p><?= $examples[$i]["title_" . $g_lang["current_language"]] ?></p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($i % 3 == 2): ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<?php endfor; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user