51ff3226 |
1 | <html> |
2 | <head> |
3 | <title>What is the matrix ?</title> |
4 | <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> |
5 | <script> |
6 | var invisible = new Array(); |
7 | function setBackground(url,nc) {ldelim} |
8 | document.body.style.backgroundImage = 'url('+url+')'; |
9 | document.body.style.backgroundRepeat = 'repeat'; |
10 | document.Title=nc; |
11 | |
12 | for (var i = 0;i<invisible.length;i++) |
13 | {ldelim} |
14 | lmnt=document.getElementById('d'+invisible[i]); |
15 | lmnt.innerHTML = "<img src='"+url+"'>"; |
16 | {rdelim} |
17 | |
18 | {rdelim} |
19 | //--> |
20 | </script> |
21 | <style type="text/css"> |
22 | body {ldelim} background-repeat: repeat; {rdelim} |
23 | img {ldelim} width: 60px; height: 60px;{rdelim} |
24 | </style> |
25 | <link rel='stylesheet' title="kyberia" type='text/css' href='/data/css/kyberia.css'> |
26 | </head> |
27 | <body> |
28 | <br/> |
29 | {if $user_id eq true} |
30 | <div style='position: absolute; left:55px; right: 55px;'> |
31 | <h1>LOGOUT TO SEE IT PROPERLY |
32 | && CLICK ON DA IMAGEZ<br/> </h1> |
33 | {include file="1549925.tpl"} |
34 | </div> |
35 | {/if} |
36 | {get_matrix_from_tree dimensions=2 d1=node_name d2=node_name} |
37 | <table align='center' valign='center' style='margin: 0px auto;'> |
38 | {foreach from=$get_matrix_from_tree item=rowset} |
39 | <tr> |
40 | {foreach from=$rowset item=item} |
41 | {if $item.node_name neq $item.node_content} |
42 | <td><img onMouseOver="status='{$item.node_content}';return true;" onClick='setBackground("http://kyberia.sk{get_image_link id=$item.node_id}","{$item.node_content}");' src='{get_image_link id=$item.node_id}' alt='{$item.node_content}' title='{$item.node_content}'></td> |
43 | {else} |
44 | <td align='center'> |
45 | <script>invisible.push({$item.node_id});</script> |
46 | <div id='d{$item.node_id}'><div style='border: 1px dashed; margin: 6;'>U'R FREE<br/>TO DO<br/>WHATEVER<br/>YOU WANT<br/>TO DO</br></div></div></td> |
47 | {/if} |
48 | {/foreach} |
49 | </tr> |
50 | {/foreach} |
51 | </body> |
52 | </html> |