3
Copyright (C) Högskolan i Skövde <his.se> 2013.
4
Copyright (C) Oscar Jonsson <c11oscjo@student.his.se> 2013.
5
Copyright (C) Simon Bergöö <a11simbe@student.his.se> 2013.
6
This file is part of LenaSYS
8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU Lesser General Public License as published by
10
the Free Software Foundation, either version 3 of the License.
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU Lesser General Public License for more details.
17
You should have received a copy of the GNU Lesser General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
24
<div class="cmsContent">
28
echo "<div id=\"mostUsed\">";
30
for($i = 1; $i <= 16; $i++){ //Add more numbers in the forloop to add more boxes, add more images with equal names to add more boxes with pictures
31
echo "<a href=\"".base_url()."layout/test/".$i."\" class=\"box\" style=\"background-image:url('".
32
base_url()."img/template_layout_img/".$i.".png') \"></a>";
36
<div id=\"lessUsed\" hidden=\"hidden\">";
40
* This for-loop ads the last empty boxes to fill out the row (just for the look, according to the mockup)
44
for($m = 5 - $i % 5; $m >= 1; $m--){
45
echo "<div class=\"box2\" style=\"background-image:url('".
46
base_url()."img/template_layout_img/0.png' ) \"></div>";
52
<div id="buttonContainer">
53
<a href="#" id="showButton" class="showhide" onclick="show()">Show</a>
b'\\ No newline at end of file'