jablonka.czprosek.czf

is

Subversion Repositories:
[/] [trunk/] [html/] [dum.php] - Blame information for rev 7

 

Line No. Rev Author Line
12simandl<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
5<style type="text/css">
6 @import "style.css" screen;
7 @import "print.css" print;
8</style>
9<title>db.jablonka.cz - Dům </title>
10</head>
11<body>
12<?
13include ("header.htm");
14require('grab_globals.lib.php');
15include ("fce.php");
16$spojeni = MySQL_Connect($db_host, $db_user, $db_pass);
17MySQL_Select_DB($db_name);
18 
19 
20if(!@$show) $show="all";
21if(!@$order) $order="ulice,cp,byt";
22if(!@$ulice) $ulice="vsechno";
23if(!@$cp) $cp="vsechno";
24 
25#vybrani default trideni
26if($ulice=="vsechno") {
27 $condition = "";
28} else {
29 $condition = "AND ulice IN (\"$ulice\")";
30}
31 
32switch ($cp) {
33 case "vsechno":
34 break;
35 case "jablonecka":
36 $condition = "AND cp IN (\"420/66\",\"419/64\",\"418/62\",\"417/60\",\"416/58\",\"415/56\",\"414/54\",\"413/52\",\"412/50\",\"411/48\",\"410/46\",\"409/44\",\"713/42\",\"714/40\")";
37 break;
38 case "sluknovska":
39 $condition = "AND cp IN (\"321/2\",\"320/4\",\"319/6\",\"318/8\",\"317/10\",\"316/12\",\"315/14\",\"314/16\",\"313/18\",\"312/20\",\"311/22\")";
40 break;
41 case "mimonska622":
42 $condition = "AND cp IN (\"622/1\",\"623/3\",\"624/5\",\"625/7\",\"626/9\",\"627/11\",\"628/13\",\"629/15\",\"630/17\",\"631/19\",\"632/21\")";
43 break;
44 case "mimonska633":
45 $condition = "AND cp IN (\"633/24\",\"634/22\",\"635/20\",\"636/18\",\"637/16\",\"638/14\",\"639/12\",\"640/10\",\"641/8\",\"642/6\",\"643/4\")";
46 break;
47 case "mimonska644":
48 $condition = "AND cp = \"644/2\"";
49 break;
50 case "martinicka":
51 $condition = "AND cp IN (\"988/5A\",\"990/9\",\"988/5\",\"987/3\",\"989/7\",\"986/1\",\"990/9\")";
52 break;
53 default:
54 $condition = "AND cp IN (\"$cp\")";
55}
56 
57if(!@$show) $show="all";
58if(!@$order) $order="prijmeni";
59switch ($show) {
60case "active":
61 $where="WHERE active IN (1) $condition";
62 echo '<b>Seznam aktivních uživatelů:</b> <a href="dum.php?show=inactive&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit pouze neaktivní</a> <a href="dum.php?show=all&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit vše</a>';
63 break;
64case "inactive":
65 $where="WHERE active IN (0) $condition";
66 echo '<b>Seznam neaktivních uživatelů:</b> <a href="dum.php?show=active&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit pouze aktivní</a> <a href="dum.php?show=all&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit vše</a>';
67 break;
68default:
69 $where="WHERE active IN (0,1) $condition";
70 echo '<b>Seznam všech uživatelů:</b> <a href="dum.php?show=active&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit pouze aktivní</a> <a href="dum.php?show=inactive&amp;order='.$order.'&amp;ulice='.$ulice.'&amp;cp='.$cp.'" class="odkaz">zobrazit pouze neaktivní</a>';
71}
72 
73echo "\n<br><div id=\"ulice\">\n";
74#tisk ulic
75echo "Ulice : ";
76$dotaz=MySQL_Query("SELECT DISTINCT ulice from adresy ORDER BY ulice,cp,byt");
77$count=MySQL_Num_Rows($dotaz);
78$count++;
79for ($i=1;$i<$count;$i++)
80{
81 $radek=MySQL_Fetch_Array($dotaz);
82 echo "<a href=\"dum.php?show=$show&amp;ulice=".$radek["ulice"]."&amp;order=$order\">".$radek["ulice"].'</a> * ';
83 echo '
84 ';
85}
86#dotisk posledni volby pro vsechny ulice
87 echo "<a href=\"dum.php?show=$show&amp;ulice=vsechno&amp;order=$order\">všechno</a>";
88 echo '
89 ';
90 
91echo "<br>";
92#tisk cisel popisnych
93echo "č.p. : ";
94if($ulice=="vsechno") {
95$wherecp = "";
96} else {
97$wherecp="WHERE ulice = \"$ulice\"";
98}
99$dotaz=MySQL_Query("SELECT DISTINCT cp from adresy $wherecp ORDER BY cp");
100$count=MySQL_Num_Rows($dotaz);
101$count++;
102for ($i=1;$i<$count;$i++)
103{
104 $radek=MySQL_Fetch_Array($dotaz);
105 echo "<a href=\"dum.php?show=$show&amp;cp=".$radek["cp"]."&amp;order=$order&amp;ulice=$ulice\">".$radek["cp"].'</a> * ';
106 echo '
107 ';
108}
109#dotisk posledni volby pro vsechna cp
110 echo "<a href=\"dum.php?show=$show&amp;cp=vsechno&amp;order=$order&amp;ulice=$ulice\">všechno</a>";
111 echo '
112 ';
113 
114echo "<br>";
115echo "Domy : ";
116echo "<a href=\"dum.php?show=$show&amp;cp=jablonecka&amp;order=$order&amp;ulice=Jablonecká\">Jablonecká</a> * ";
117echo "<a href=\"dum.php?show=$show&amp;cp=sluknovska&amp;order=$order&amp;ulice=Šluknovská\">Šluknovská</a> * ";
118echo "<a href=\"dum.php?show=$show&amp;cp=mimonska622&amp;order=$order&amp;ulice=Mimoňská\">Mimoňská 622</a> * ";
119echo "<a href=\"dum.php?show=$show&amp;cp=mimonska633&amp;order=$order&amp;ulice=Mimoňská\">Mimoňská 633</a> * ";
120echo "<a href=\"dum.php?show=$show&amp;cp=mimonska644&amp;order=$order&amp;ulice=Mimoňská\">Mimoňská 644</a> * ";
121echo "<a href=\"dum.php?show=$show&amp;cp=martinicka&amp;order=$order&amp;ulice=Martinická\">Martinická</a> * ";
122 
123 
124#finalni dotaz do databaze pred vypisem zvolene sestavy
125$adresy=MySQL_Query("SELECT c.id as cid, c.komentar as ckomentar, c.*, a.id as aid, a.*, i.id as iid, i.*
126 FROM (adresy a LEFT JOIN cleni c ON a.clen = c.id)
127 LEFT JOIN ipecka i ON a.id = i.adresa AND c.id = a.clen
128 $where AND a.clen > 0 GROUP BY a.id
129 ORDER BY $order");
130 
131echo"</div><br>Ulice <b>$ulice</b>";
132 
133#tohle zapne vykresleni panelaku pro cp z panelaku
134if (($ulice="Jabloneck%E1") && (1)) {
135 switch ($cp) {
136 case "420/66" : $cp=jablonecka; break;
137 case "419/64" : $cp=jablonecka; break;
138 case "418/62" : $cp=jablonecka; break;
139 case "417/60" : $cp=jablonecka; break;
140 case "416/58" : $cp=jablonecka; break;
141 case "415/56" : $cp=jablonecka; break;
142 case "414/54" : $cp=jablonecka; break;
143 case "413/52" : $cp=jablonecka; break;
144 case "412/50" : $cp=jablonecka; break;
145 case "411/48" : $cp=jablonecka; break;
146 case "410/46" : $cp=jablonecka; break;
147 case "409/44" : $cp=jablonecka; break;
148 case "713/42" : $cp=jablonecka; break;
149 case "714/40" : $cp=jablonecka; break;
150 default:
151 }
152}
153 
154#nastaveni parametru baraku
155switch ($cp) {
156 case "jablonecka":
157 $bytu=3;
158 $pater=10;
159 $bytuvprizemi=2;
160 $vchody = array(14,"420/66","419/64","418/62","417/60","416/58","415/56","414/54","413/52","412/50","411/48","410/46","409/44","713/42","714/40");
161 $sizex=19;
162 $sizey=10;
163 $flip=false;
164 break;
165 case "sluknovska":
166 $bytu=3;
167 $pater=7;
168 $bytuvprizemi=2;
169 $vchody = array(11,"311/22","312/20","313/18","314/16","315/14","316/12","317/10","318/8","319/6","320/4","321/2");
170 $sizex=19;
171 $sizey=10;
172 $flip=true;
173 break;
174 case "mimonska622":
175 $bytu=2;
176 $pater=7;
177 $bytuvprizemi=2;
178 $vchody = array(11,"622/1","623/3","624/5","625/7","626/9","627/11","628/13","629/15","630/17","631/19","632/21");
179 $sizex=28;
180 $sizey=10;
181 $flip=false;
182 break;
183 case "mimonska633":
184 $bytu=2;
185 $pater=7;
186 $bytuvprizemi=2;
187 $vchody = array(11,"633/24","634/22","635/20","636/18","637/16","638/14","639/12","640/10","641/8","642/6","643/4");
188 $sizex=28;
189 $sizey=10;
190 $flip=true;
191 break;
192 case "mimonska644":
193 $bytu=7;
194 $pater=3;
195 $bytuvprizemi=0;
196 $vchody = array(1,"644/2");
197 $sizex=28;
198 $sizey=10;
199 $flip=false;
200 break;
201 case "martinicka":
202 $bytu=8;
203 $pater=4;
204 $bytuvprizemi=8;
205 $vchody = array(5,"988/5","987/3","989/7","986/1","990/9");
206 $sizex=18;
207 $sizey=10;
208 $flip=false;
209 break;
210 default:
211 $bytu=0;
212 $pater=0;
213 $bytuvprizemi=0;
214 $vchody = array(0);
215 $sizex=1;
216 $sizey=1;
217 $flip=false;
218}
219$bytucelkem=$bytu*($pater+1)*$vchody[0];
220$bytunapatro=$bytu*$vchody[0];
221 
222#vytvoreni mapy domu z databaze
223$mapa_bytu = array();
224for($grid=1; $grid<=$bytucelkem; $grid++) $mapa_bytu[$grid]=false;
225 
226echo "<br>";
227 
228$pocet_vsech=0;
229$pocet_pripojenych=0;
230#projit vsechny nalezene adresy a predpripravit pole mapa_bytu pro snadne sekvencni vykresleni domu
231if($bytucelkem) {
232 while($adresa=MySQL_Fetch_Array($adresy)) {
233 #zjistit jestli mame spravny cp a byt
234 $cspp=$adresa["cp"];
235 $byt=$adresa["byt"];
236 #toto v pripade martinicke vynuti zvlastni zachazeni i pro jednotlive vchody
237 if($ulice=="Martinická") {
238 $cp="martinicka";
239 }
240 
241 switch ($cp) {
242 case "martinicka":
243 $bloky = " ABCDE";
244 $blok = $bloky{(round($byt/100))};
245# $cspp=$cspp.$blok;
246 $vchod = cp_to_vchod($vchody,$cspp);
247 $patro = round(($byt - 100*$vchod - 4.9)/10);
248 $pozice = ($byt - 100*$vchod - 10*$patro);
249 $grid = ($pater-$patro)*$bytunapatro+($vchod-1)*$bytu+$pozice;
250 #ulozit tuto adresu s $i do pole
251 $mapa_bytu[$grid]=$adresa;
252 $pocet_vsech++;
253 break;
254 case "mimonska644":
255 $patro = substr($byt,1,1);
256 $tmp = strtr($byt,"ABCD","0123");
257 $a = (int)substr($tmp,0,1)*3;
258 $b = (int)substr($tmp,2,1);
259 $grid = ($pater-$patro)*$bytunapatro+$a+$b+1;
260 #ulozit tuto adresu s $i do pole
261 $mapa_bytu[$grid]=$adresa;
262 $pocet_vsech++;
263 break;
264 default:
265 $vchod=cp_to_vchod($vchody,$cspp);
266 if( ($vchod>0) && ($byt>0) && ($byt<=($bytuvprizemi+$pater*$bytu))) {
267 $patro = round(($byt+$bytu-$bytuvprizemi)/$bytu-0.51);
268 if($byt<=$bytuvprizemi) {
269 $pozice=$byt-1;
270 if(($bytu==3) && ($byt==2)) $pozice=2;
271 if(($bytu==3) && ($byt==0)) $pozice=1;
272 } else {
273 $pozice = (($byt-$bytuvprizemi-1)%$bytu);
274 }
275 if ($flip) $pozice = ($bytu-1) - $pozice;
276 #vypocitat pro tuto adresu $i neboli grid
277 $grid = ($pater-$patro)*$bytunapatro+($vchod-1)*$bytu+$pozice+1;
278 #echo "$cp byt $byt tam je v $vchod. vchode v $patro.patre na $pozice. pozici na gridu $grid<br>";
279 #ulozit tuto adresu s $i do pole
280 $mapa_bytu[$grid]=$adresa;
281 $pocet_vsech++;
282 } else {
283 if($byt == "obchod") {
284 $byt = 0;
285 $patro = round(($byt+$bytu-$bytuvprizemi)/$bytu-0.51);
286 $pozice = 1;
287 #vypocitat pro tuto adresu $i neboli grid
288 $grid = ($pater-$patro)*$bytunapatro+($vchod-1)*$bytu+$pozice+1;
289 #echo "$cp byt $byt tam je v $vchod. vchode v $patro.patre na $pozice. pozici na gridu $grid<br>";
290 #ulozit tuto adresu s $i do pole
291 $mapa_bytu[$grid]=$adresa;
292 #echo "byt $byt na $cspp tam je na $grid <br>";
293 } else {
294 echo $adresa["jmeno"]." ".$adresa["prijmeni"]." byt $byt na $cspp má adresu mimo tento dům nebo neúplnou<br>";
295 }
296 }
297 }
298 
299}
300}
301 
302#projde vchody a zkontroluje jestli dane cp je v dome a vrati poradi vchodu
303#pokud nenajde vrati nulu
304function cp_to_vchod($vchody,$cp) {
305for($i=1; $i<=$vchody[0]; $i++):
306 $cisla = explode("/",$vchody[$i]);
307 if(("$cisla[0]/$cisla[1]" == $cp) || ("$cisla[1]/$cisla[0]" == $cp) || ($cisla[0] == $cp) || ($cisla[1] == $cp)) {
308 return $i;
309 }
310endfor;
311return 0;
312}
313 
314if($pocet_vsech>0) mysql_data_seek($adresy,0);
315 
316#tisk domu
317echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
318#tisk popisnych cisel
319echo "<tr>";
320for($i=1; $i<=$vchody[0]; $i++):
321 echo "<td class=\"text\" colspan=$bytu align=\"center\"><a href=\"dum.php?show=$show&amp;cp=".$vchody["$i"]."&amp;order=$order&amp;ulice=$ulice\">$vchody[$i]</a></td>";
322endfor;
323echo "</tr>";
324 
325 
326$j=0;
327for($i=1; $i<=$bytucelkem; $i++) {
328 $vchod=round(0.51+(($i-1)%$bytunapatro)/$bytu);
329 $patro=$pater-round(($i/$bytunapatro)-0.51);
330 $pozice=($i-1)%$bytu;
331 if ($flip) $pozice = ($bytu-1) - $pozice;
332 if($patro==0) {
333 $byt=1+$pozice;
334 if($bytu==3) {
335 if($pozice==1) $byt=0;
336 if($pozice==2) $byt=2;
337 }
338 } else {
339 $byt=$bytuvprizemi+($patro-1)*$bytu+$pozice+1;
340 }
341 
342 #nove patro
343 if ((($i-1)/$bytunapatro)*$bytunapatro == ((($i-1)/$bytunapatro)-(($i-1)%$bytunapatro))*$bytunapatro) {
344 echo "<tr>\n";
345 };//if
346 
347 if ($mapa_bytu[$i]) {
348 $jmeno=$mapa_bytu[$i]["prijmeni"];
349 $title= $mapa_bytu[$i]["prijmeni"]." ".$mapa_bytu[$i]["jmeno"]." byt ".$mapa_bytu[$i]["byt"]." IP ".$mapa_bytu[$i]["ip"];
350 $active_position= 0;
351 $mygrid= 11;
352 if ($mapa_bytu[$i]["ip"]) {
353 echo "<td><a class=\"odkaz\" target=\"_self\" href=\"clen.php?clen=".$mapa_bytu[$i]["cid"]."\">";
354 echo "<img src=\"./images/green.jpg\" alt=\" $title \" title=\" $title \" border=\"0\" width=\"$sizex\" height=\"$sizey\">"; //set green cell
355 echo "</a></td>";
356 $pocet_pripojenych++;
357 } else {
358 echo "<td><a class=\"odkaz\" target=\"_self\" href=\"clen.php?clen=".$mapa_bytu[$i]["cid"]."\">";
359 echo "<img src=\"./images/blue.jpg\" alt=\" $title \" title=\" $title \" border=\"0\" width=\"$sizex\" height=\"$sizey\">"; //set blue cell
360 echo "</a></td>";
361 };
362 $j++;
363 
364 } else { //not a registered cell
365 if ($vchod%2 == 0) { //alternate grey color per 3 columns
366 echo "<td> <img src=\"./images/blank_light.jpg\" alt=\"nepřipojeno\" title=\"$patro.patro byt $byt\" border=\"0\" width=\"$sizex\" height=\"$sizey\"></td>";
367 } else {
368 echo "<td> <img src=\"./images/blank_dark.jpg\" alt=\"nepřipojeno\" title=\"$patro.patro byt $byt\" border=\"0\" width=\"$sizex\" height=\"$sizey\"></td>";
369 };//if
370 };//if - else
371 
372 if (($i/$bytunapatro)*$bytunapatro == (($i/$bytunapatro)-($i%$bytunapatro))*$bytunapatro) { //end of line each 42 cells
373 echo "</tr>\n";
374 };//if
375}
376 
377echo "</table>";
378 
379if($pocet_vsech>0) {
380 $celkembytu = (($bytu*$pater)+$bytuvprizemi)*$vchody[0];
381 $procent_vsech=round(100*$pocet_vsech/$celkembytu,2);
382 $procent_pripojenych=round(100*$pocet_pripojenych/$pocet_vsech,2);
383 echo "<br>Počet všech je $pocet_vsech z $celkembytu ($procent_vsech%)<br>";
384 echo "Počet připojených je $pocet_pripojenych ($procent_pripojenych%)<br>";
385}
386 
387echo '
388 
389<table width="100%" class="list">
390<tr bgcolor="#FFFFFF">
391 <td class="text">
392 <a title="seřadit podle ulice" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=ulice,cp,byt">Ulice</a>
393 </td>
394 <td class="text">
395 <a title="seřadit podle č.p." class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=cp">č.p.</a>
396 </td>
397 <td class="text">
398 <a title="seřadit podle bytů" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=byt">Byt</a>
399 </td>
400 <td >&nbsp;</td>
401 <td class="text">
402 <a title="seřadit podle ID" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=cid">ID</a>&nbsp;
403 </td>
404 <td bgcolor=#FFFFFF class=text width=80>
405 <a title="se.adit podle aktivity" class=odkaz href="seznam.php?show='.$show.'&order=active">A</a>
406 <a title="se.adit podle financ." class=odkaz href="seznam.php?show='.$show.'&order=finance">F</a>
407 <a title="se.adit podle internetu" class=odkaz href="seznam.php?show='.$show.'&order=internet">I</a>
408 <a title="se.adit podle elekt.iny" class=odkaz href="seznam.php?show='.$show.'&order=energy">E</a>
409 </td>
410 <td class="text">
411 <a title="seřadit podle jména" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=jmeno">Jméno</a>&nbsp;
412 </td>
413 <td class="text">
414 <a title="seřadit podle příjmení" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=prijmeni">Příjmení:</a>
415 </td>
416 <td class="text">
417 <a title="seřadit podle mailu" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=email">email:</a>
418 </td>
419 <td class="text">
420 <a title="seřadit podle telefonu" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=domu">Domů:</a>
421 </td>
422 <td class="text">
423 <a title="seřadit podle mobilu" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=mobil">Mobil:</a>
424 </td>
425 <td class="text">
426 <a title="seřadit podle pokladny" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=ip">IP</a>
427 </td>
428 <td class="text">
429 <a title="seřadit podle komentářů" class=odkaz href="dum.php?cp='.$cp.'&amp;show='.$show.'&amp;ulice='.$ulice.'&amp;order=c.komentar">komentář</a>
430 </td>
431</tr>
432';
433 
434#######################################################################################
435#######################################################################################
436 
437$row=1;
438$celkem=0;
439$castkacelkem=0;
440$prijmy=0;
441$vydaje=0;
442 
443while($vysledek=MySQL_Fetch_Array($adresy))
444{
445$celkem++;
446 
447if($vysledek["id"]<1000)
448{
449$dot="lan.bmp";
450$alt="LAN Jablonka";
451}
452else
453{
454if($vysledek["id"]==1000)
455{
456$dot="apy.bmp";
457$alt="AP Yenik";
458}
459if($vysledek["id"]==1001)
460{
461$dot="apj.bmp";
462$alt="AP Jablonecká";
463}
464}
465 
466$icons="";
467if($show=="all" && $vysledek["active"]==2) $icons=$icons.'<img title="Čekatel" src="images/actv.gif">&nbsp;';
468if($show=="all" && $vysledek["active"]==1) $icons=$icons.'<img title="Člen" src="images/actv.gif">&nbsp;';
469if($show=="all" && $vysledek["active"]==0) $icons=$icons.'<img title="Pasivní" src="images/passv.gif">&nbsp;';
470if($vysledek["finance"]==1) $icons=$icons.'<img title="Finance" src="images/dolar.gif">&nbsp;';
471if($vysledek["internet"]==1) $icons=$icons.'<img title="Internet" src="images/net.gif">&nbsp;';
472if($vysledek["energy"]==1) $icons=$icons.'<img title="Elektřina sleva" src="images/energysleva.gif">&nbsp;';
473if($vysledek["energy"]==2) $icons=$icons.'<img title="Elektřina" src="images/energy.gif">&nbsp;';
474echo '
475<tr class="row'.$row.'">
476 <td class="text">
477 <a class="odkaz" target="_self" href="edit_adres.php?id='.$vysledek["aid"].'">'.$vysledek["ulice"].'</a>
478 </td>
479 <td class="text">'.$vysledek["cp"].'</td>
480 <td class="text">'.$vysledek["byt"].'</td>
481 <td class="text">&nbsp;<a class="odkaz"
482 target="_self" href="clen.php?clen='.$vysledek["cid"].'"><img src="images/'.$dot.'" title="'.$alt.'" alt="'.$alt.'" border="0"></a>
483 </td>
484 <td class="text"><a class="odkaz" target="_self" href="edit_user.php?id='.$vysledek["cid"].'">'.$vysledek["cid"].'</a></td>
485 <td class="text">'.$icons.'</td>
486 <td class="text">'.$vysledek["jmeno"].'</td>
487 <td class="text">'.$vysledek["prijmeni"].'</td>
488 <td class="text">'.$vysledek["email"].'</td>
489 <td class="text">'.$vysledek["domu"].'</td>
490 <td class="text">'.$vysledek["mobil"].'</td>
491 
492 <td class="text">'.$vysledek["ip"].'</td>
493 <td class="text">'.$vysledek["ckomentar"].'</td>
494</tr>
495';
496 
497Next($vysledek);
498$row = 3-$row;
499}
500 
501echo '
502</table>
503<br>
504Celkem zobrazeno '.$celkem.' záznamů.<br>
505</center>
506';
507?>
508</body>
509</html>

Powered by WebSVN 2.2.1