- Timestamp:
- May 27, 2008, 10:14:21 AM (16 years ago)
- Location:
- www
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
www/global.php
r69 r77 1 1 <?php 2 3 // SQL injection hack protection 4 foreach($_POST as $Index => $Item) $_POST[$Index] = addslashes($Item); 5 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($Item); 2 6 3 7 session_start(); … … 8 12 $Database->Prefix = $Config['Database']['Prefix']; 9 13 $Database->charset($Config['Database']['Charset']); 14 include('module.php'); 15 include('user.php'); 16 $User = new User($Database); 17 $User->Check(); 10 18 11 // SQL injection hack protection 12 foreach($_POST as $Index => $Item) $_POST[$Index] = addslashes($Item); 13 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($Item); 14 15 $MonthNames = array('','Leden','Únor','Březen','Duben','Květen','Červen','Červenec','Srpen','Září','Říjen','Listopad','Prosinec'); 19 $MonthNames = array('', 'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'); 16 20 17 21 $MaxSubnet = 7; -
www/index.php
r65 r77 3 3 include_once('global.php'); 4 4 include_once('style.php'); 5 ShowHeader(' Vítejte na <strong>Centrále!</strong> - serveru komunitní počítačové sítě <strong>ZdechovNET</strong>','Rozcestník');5 ShowHeader('<strong>ZděchovNET</strong> - komunitní počítačová síť', 'Rozcestník'); 6 6 7 7 $Database->select_db('share'); … … 45 45 ?> 46 46 47 <script type="text/javascript">48 <!--49 function openClient(client_type)50 {51 if(client_type=="java")clientWindow = window.open("http://go.icq.com/icq2go/web.html","ICQ2Go","left=20,top=20,width=156,height=446,toolbar=0,resizable=0");52 else clientWindow = window.open("http://go.icq.com/icq2go/flicq.html","ICQ2Go","left=20,top=20,width=176,height=441,toolbar=0,resizable=0");53 }54 55 var predchozi = 'first';56 57 function zobraz(idecko)58 {59 skryj(predchozi);60 el=document.getElementById(idecko).style;61 el.display='block';62 predchozi = idecko;63 }64 65 function skryj(idecko)66 {67 if(idecko != 'first')68 {69 el=document.getElementById(idecko).style;70 el.display='none';71 }72 }73 //-->74 </script>75 76 47 <table width="100%"><tr><td valign="top"> 77 48 <?php … … 80 51 81 52 <table width="100%"> 82 <tr><td width="20%"valign="top">83 <strong>Důležité odkazy:</strong><br >84 <img alt="" src="images/favicons/money.gif" width="16" height="16" > <a href="finance/">Finance</a><br>85 <img alt="" src="images/favicons/chart.gif" width="16" height="16" > <a href="statistic/trafficview2.php">Statistika</a><br>86 <img alt="" src="images/favicons/prohledavac_sdileni.gif" width="15" height="15" > <a href="share">Prohledat sdílení</a><br>87 <img alt="" src="images/favicons/comp.gif" width="16" height="16" > <a href="userlist.php">Seznam uživatelů</a><br>88 <img alt="" src="images/favicons/comp.gif" width="16" height="16" > <a href="hostlist.php">Seznam počítačů</a><br>89 <img alt="" src="images/favicons/sunrisechat.gif" width="16" height="16" > <a href="sunrisechat/history.php">Historie SunriseChatu</a><br>90 <img alt="" src="images/favicons/sunrisechat.gif" width="16" height="16" > <a href="sunrisechat/webchat.php">Webový SunriseChatu</a><br>91 <img alt="" src="images/favicons/discus.gif" width="16" height="16" > <a href="forum">Diskusní fórum</a><br>92 <img alt="" src="images/favicons/openwebmail.gif" width="16" height="16" > <a href="https://centrala.zdechov.net/cgi-bin/openwebmail/openwebmail.pl">WebMail</a><br>93 <img alt="" src="images/favicons/apple.gif" width="16" height="16" > <a href="jidelna">Jídelníček</a><br>94 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="http://tv.zdechov.net/">Televize</a><br>95 <img alt="" src="images/favicons/cube.gif" width="16" height="16" > <a href="http://game.zdechov.net/">Herní server</a><br>96 <img alt="" src="images/favicons/cfix.gif" width="16" height="16" > <a href="farnost">Rozpis mší</a><br>97 <img alt="" src="images/favicons/tel.gif" width="16" height="16" > <a href="telseznam.php">Telefonní seznam</a><br>98 <img alt="" src="images/favicons/pripoj.gif" width="16" height="16" > <a href="nabidky_pripojeni.php">Nabídky připojení</a><br>99 <img alt="" src="images/favicons/zapisy.gif" width="16" height="16" > <a href="docs/zapisy/zapisy.php">Zápisy ze schůzí</a><br>100 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="mapy/mapa.php">Mapa Zděchova</a><br>101 <img alt="" src="images/favicons/otv_doby.gif" width="16" height="16" > <a href="otevreno.php">Otvírací doby</a><br>102 <img alt="" src="images/favicons/topologie.gif" width="16" height="16" > <a href="is/topologie.php">Topologie sítě</a><br>103 <img alt="" src="images/favicons/satellite.gif" width="16" height="16" > <a href="is/dostupnost.php">Dostupnost sítě</a><br>104 <img alt="" src="images/favicons/tech.gif" width="16" height="16" > <a href="network.php">Technické informace</a><br>105 <img alt="" src="images/favicons/socer.gif" width="16" height="16" > <a href="http://fotbal.zdechov.net/">Fotbal Sokol Zděchov</a><br>106 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="/webcam/">Web kamera</a><br>107 <br >108 <strong>Další odkazy:</strong><br >109 <img alt="" src="images/favicons/tv.gif" width="16" height="16" > <a href="tkr.php">Kanály kabelovky</a><br>110 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="mapy/mapa_nabidka.php">Nabídka mapy</a><br>111 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="history.php">Historie sítě</a><br>112 <img alt="" src="images/favicons/electric.gif" width="16" height="16" > <a href="merak.php">Měřič spotřeby</a><br>113 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="ukoly.php">Plány do budoucna</a><br>114 115 116 <?php 117 //<a href="/cgi-bin/openwebmail/openwebmail.pl">Poątovní schránka</a><br >118 //<a href="/download/addfile.php">Stahování souborů</a><br >119 ?> 120 <br >121 </td><td width="13%"valign="top">122 <strong>Vyhledávání:</strong><br >123 <img alt="" src="images/favicons/www_google_com.gif" width="16" height="16" > <a href="http://www.google.cz/">Google</a><br>124 <img alt="" src="images/favicons/morfeo.png" width="16" height="16" > <a href="http://morfeo.centrum.cz">Morfeo</a><br>125 <img alt="" src="images/favicons/www_centrum_cz.gif" width="16" height="16" > <a href="http://www.centrum.cz">Centrum</a><br>126 <img alt="" src="images/favicons/www_seznam_cz.gif" width="16" height="16" > <a href="http://www.seznam.cz">Seznam</a><br>127 <img alt="" src="images/favicons/www_atlas_cz.gif" width="16" height="16" > <a href="http://www.atlas.cz">Atlas</a><br>128 <img alt="" src="images/favicons/www_tiscali_cz.gif" width="16" height="16" > <a href="http://www.tiscali.cz">Tiscali</a><br>129 <br >130 <strong>Užitečné:</strong><br >131 <img alt="" src="images/favicons/clear.gif" width="16" height="16" > <a href="http://www.zdechov.net">Stránky naší sítě</a><br>132 <img alt="" src="images/favicons/www_tvinfo_cz.gif" width="16" height="16" > <a href="http://www.tvinfo.cz/live/televize/cz">Online TV</a><br>133 <img alt="" src="images/favicons/www_idos_cz.gif" width="16" height="16" > <a href="http://www.idos.cz/ConnForm.asp?tt=c">Jízdní řády</a><br>134 <img alt="" src="images/favicons/www_atlas_cz.gif" width="16" height="16" > <a href="http://tv.atlas.cz">TV programy</a><br>135 <img alt="" src="images/favicons/www_icq_com.gif" width="16" height="16" > Web ICQ <a href="javascript:openClient('flash')">Flash</a> <a href="javascript:openClient('java')">Java</a><br>136 <img alt="" src="images/favicons/www_centrum_cz.gif" width="16" height="16" > <a href="http://slovniky.centrum.cz">Slovníky</a><br>137 <img alt="" src="images/favicons/pocasi.gif" width="16" height="16" > <a href="http://www.meteopress.cz/">Počasí</a><br>138 <img alt="" src="images/favicons/www_tzones_cz.gif" width="16" height="16" > <a href="http://www.tzones.cz/">T-Mobile SMS</a><br>139 <img alt="" src="images/favicons/www_mvk_cz.png" width="16" height="16" > <a href="http://www.mvk.cz/">Knihovna Vsetín</a><br>140 <br >141 <strong>Prodej počítačů:</strong><br >142 <img alt="" src="images/favicons/www_computershop_cz.png" width="16" height="16" > <a href="http://www.softcom.cz/">SOFTCOM</a><br>143 <img alt="" src="images/favicons/www_alfacomp_cz.gif" width="16" height="16" > <a href="http://www.alfacomp.cz/php/zbozi.php?akc=2">Alfacomp</a><br>144 <img alt="" src="images/favicons/www_petracomp_cz.png" width="16" height="16" > <a href="http://www.petracomp.cz/">Petracomp</a><br>145 <img alt="" src="images/favicons/www_tsbohemia_cz.png" width="16" height="16" > <a href="http://interlink.tsbohemia.cz/">TS Bohemia</a><br>146 <br >53 <tr><td valign="top"> 54 <strong>Důležité odkazy:</strong><br /> 55 <img alt="" src="images/favicons/money.gif" width="16" height="16" /> <a href="finance/">Finance</a><br /> 56 <img alt="" src="images/favicons/chart.gif" width="16" height="16" /> <a href="statistic/trafficview2.php">Statistika</a><br /> 57 <img alt="" src="images/favicons/prohledavac_sdileni.gif" width="15" height="15" /> <a href="share">Prohledat sdílení</a><br /> 58 <img alt="" src="images/favicons/comp.gif" width="16" height="16" /> <a href="userlist.php">Seznam uživatelů</a><br /> 59 <img alt="" src="images/favicons/comp.gif" width="16" height="16" /> <a href="hostlist.php">Seznam počítačů</a><br /> 60 <img alt="" src="images/favicons/sunrisechat.gif" width="16" height="16" /> <a href="sunrisechat/history.php">Historie SunriseChatu</a><br /> 61 <img alt="" src="images/favicons/sunrisechat.gif" width="16" height="16" /> <a href="sunrisechat/webchat.php">Webový SunriseChatu</a><br /> 62 <img alt="" src="images/favicons/discus.gif" width="16" height="16" /> <a href="forum">Diskusní fórum</a><br /> 63 <img alt="" src="images/favicons/openwebmail.gif" width="16" height="16" /> <a href="https://centrala.zdechov.net/cgi-bin/openwebmail/openwebmail.pl">WebMail</a><br /> 64 <img alt="" src="images/favicons/apple.gif" width="16" height="16" /> <a href="jidelna">Jídelníček</a><br /> 65 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="http://tv.zdechov.net/">Televize</a><br /> 66 <img alt="" src="images/favicons/cube.gif" width="16" height="16" /> <a href="http://game.zdechov.net/">Herní server</a><br /> 67 <img alt="" src="images/favicons/cfix.gif" width="16" height="16" /> <a href="farnost">Rozpis mší</a><br /> 68 <img alt="" src="images/favicons/tel.gif" width="16" height="16" /> <a href="telseznam.php">Telefonní seznam</a><br /> 69 <img alt="" src="images/favicons/pripoj.gif" width="16" height="16" /> <a href="nabidky_pripojeni.php">Nabídky připojení</a><br /> 70 <img alt="" src="images/favicons/zapisy.gif" width="16" height="16" /> <a href="docs/zapisy/zapisy.php">Zápisy ze schůzí</a><br /> 71 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="mapy/mapa.php">Mapa Zděchova</a><br /> 72 <img alt="" src="images/favicons/otv_doby.gif" width="16" height="16" /> <a href="otevreno.php">Otvírací doby</a><br /> 73 <img alt="" src="images/favicons/topologie.gif" width="16" height="16" /> <a href="is/topologie.php">Topologie sítě</a><br /> 74 <img alt="" src="images/favicons/satellite.gif" width="16" height="16" /> <a href="is/dostupnost.php">Dostupnost sítě</a><br /> 75 <img alt="" src="images/favicons/tech.gif" width="16" height="16" /> <a href="network.php">Technické informace</a><br /> 76 <img alt="" src="images/favicons/socer.gif" width="16" height="16" /> <a href="http://fotbal.zdechov.net/">Fotbal Sokol Zděchov</a><br /> 77 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="/webcam/">Web kamera</a><br /> 78 <br /> 79 <strong>Další odkazy:</strong><br /> 80 <img alt="" src="images/favicons/tv.gif" width="16" height="16" /> <a href="tkr.php">Kanály kabelovky</a><br /> 81 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="mapy/mapa_nabidka.php">Nabídka mapy</a><br /> 82 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="history.php">Historie sítě</a><br /> 83 <img alt="" src="images/favicons/electric.gif" width="16" height="16" /> <a href="merak.php">Měřič spotřeby</a><br /> 84 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="ukoly.php">Plány do budoucna</a><br /> 85 86 87 <?php 88 //<a href="/cgi-bin/openwebmail/openwebmail.pl">Poątovní schránka</a><br /> 89 //<a href="/download/addfile.php">Stahování souborů</a><br /> 90 ?> 91 <br /> 92 </td><td valign="top"> 93 <strong>Vyhledávání:</strong><br /> 94 <img alt="" src="images/favicons/www_google_com.gif" width="16" height="16" /> <a href="http://www.google.cz/">Google</a><br /> 95 <img alt="" src="images/favicons/morfeo.png" width="16" height="16" /> <a href="http://morfeo.centrum.cz">Morfeo</a><br /> 96 <img alt="" src="images/favicons/www_centrum_cz.gif" width="16" height="16" /> <a href="http://www.centrum.cz">Centrum</a><br /> 97 <img alt="" src="images/favicons/www_seznam_cz.gif" width="16" height="16" /> <a href="http://www.seznam.cz">Seznam</a><br /> 98 <img alt="" src="images/favicons/www_atlas_cz.gif" width="16" height="16" /> <a href="http://www.atlas.cz">Atlas</a><br /> 99 <img alt="" src="images/favicons/www_tiscali_cz.gif" width="16" height="16" /> <a href="http://www.tiscali.cz">Tiscali</a><br /> 100 <br /> 101 <strong>Užitečné:</strong><br /> 102 <img alt="" src="images/favicons/clear.gif" width="16" height="16" /> <a href="http://www.zdechov.net">Stránky naší sítě</a><br /> 103 <img alt="" src="images/favicons/www_tvinfo_cz.gif" width="16" height="16" /> <a href="http://www.tvinfo.cz/live/televize/cz">Online TV</a><br /> 104 <img alt="" src="images/favicons/www_idos_cz.gif" width="16" height="16" /> <a href="http://www.idos.cz/ConnForm.asp?tt=c">Jízdní řády</a><br /> 105 <img alt="" src="images/favicons/www_atlas_cz.gif" width="16" height="16" /> <a href="http://tv.atlas.cz">TV programy</a><br /> 106 <img alt="" src="images/favicons/www_icq_com.gif" width="16" height="16" /> Web ICQ <a href="javascript:openClient('flash')">Flash</a> <a href="javascript:openClient('java')">Java</a><br /> 107 <img alt="" src="images/favicons/www_centrum_cz.gif" width="16" height="16" /> <a href="http://slovniky.centrum.cz">Slovníky</a><br /> 108 <img alt="" src="images/favicons/pocasi.gif" width="16" height="16" /> <a href="http://www.meteopress.cz/">Počasí</a><br /> 109 <img alt="" src="images/favicons/www_tzones_cz.gif" width="16" height="16" /> <a href="http://www.tzones.cz/">T-Mobile SMS</a><br /> 110 <img alt="" src="images/favicons/www_mvk_cz.png" width="16" height="16" /> <a href="http://www.mvk.cz/">Knihovna Vsetín</a><br /> 111 <br /> 112 <strong>Prodej počítačů:</strong><br /> 113 <img alt="" src="images/favicons/www_computershop_cz.png" width="16" height="16" /> <a href="http://www.softcom.cz/">SOFTCOM</a><br /> 114 <img alt="" src="images/favicons/www_alfacomp_cz.gif" width="16" height="16" /> <a href="http://www.alfacomp.cz/php/zbozi.php?akc=2">Alfacomp</a><br /> 115 <img alt="" src="images/favicons/www_petracomp_cz.png" width="16" height="16" /> <a href="http://www.petracomp.cz/">Petracomp</a><br /> 116 <img alt="" src="images/favicons/www_tsbohemia_cz.png" width="16" height="16" /> <a href="http://interlink.tsbohemia.cz/">TS Bohemia</a><br /> 117 <br /> 147 118 <?php 148 119 /* 149 <strong>Osobní stránky:</strong><br >150 <img alt="" src="images/favicons/bomi.gif" width="16" height="16"> <a href="~mirek/">Miroslav Hajda</a><br >151 <img alt="" src="images/favicons/clear.gif" width="16" height="16"> <a href="~george/">Jiří Hajda</a><br >120 <strong>Osobní stránky:</strong><br /> 121 <img alt="" src="images/favicons/bomi.gif" width="16" height="16"> <a href="~mirek/">Miroslav Hajda</a><br /> 122 <img alt="" src="images/favicons/clear.gif" width="16" height="16"> <a href="~george/">Jiří Hajda</a><br /> 152 123 */ 153 124 ?> 154 125 </td> 155 <td width="15%"valign="top">126 <td valign="top"> 156 127 <?php 157 128 // Zobrazení seznamu online počítačů 158 echo('<strong>Online počítače:</strong><br ><span style="font-size: smaller;">');129 echo('<strong>Online počítače:</strong><br /><span style="font-size: smaller;">'); 159 130 $DbResult = $Database->select('hosts', '*', 'online=1 AND show_online=1 ORDER BY name'); 160 131 while($Row = $DbResult->fetch_array()) 161 132 { 162 echo($Row['name'].'<br >');133 echo($Row['name'].'<br />'); 163 134 } 164 135 echo('</span>'); 165 136 166 echo('<br >');137 echo('<br />'); 167 138 168 139 // Zobrazení seznamu neplaticich uzivatelu 169 echo('<strong>Dlužníci:</strong><br ><span style="font-size: smaller;">');140 echo('<strong>Dlužníci:</strong><br /><span style="font-size: smaller;">'); 170 141 $DbResult = $Database->select('users', 'CONCAT(second_name, " ", first_name) as fullname', 'cash<0 AND role=2 ORDER BY cash'); 171 142 while($Row = $DbResult->fetch_array()) 172 143 { 173 echo($Row['fullname'].'<br >');144 echo($Row['fullname'].'<br />'); 174 145 } 175 146 echo('</span>'); … … 199 170 echo(GetServerUptime()); 200 171 201 echo('</td><td width="50%" valign="top" style="font-size: smaller;">');172 echo('</td><td id="NewsColumn" valign="top">'); 202 173 203 174 /* … … 269 240 $Row = $DbResult->fetch_array(); 270 241 echo('<table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: small; padding-bottom: 5px;"><tr>'); 271 echo('<td width="40%">'.$Row['caption'].'</td><td width="80%"align="right">');242 echo('<td>'.$Row['caption'].'</td><td align="right">'); 272 243 echo('<a href="aktuality/index.php?category='.$Category.'">Zobrazit všechny aktuality</a> '); 273 244 if($Row['permission'] == 1) echo('<a href="aktuality/index.php?action=add&category='.$Category.'">Přidat aktualitu</a> '); 274 245 echo('</td></tr><tr><td colspan="2">'); 275 echo('<table cellspacing="0" width="100%" style="padding: 2px 2px 2px 2px; font-size: small; border-style: solid; border-color: red; border-width: 1; background-color: #FFF0F0;">');276 246 $DbResult = $Database->query('SELECT * FROM `news` WHERE (`category`='.$Category.') AND (DATE_SUB(NOW(), INTERVAL '.$DaysAgo.' DAY) < `date`) ORDER BY `date` DESC LIMIT 0,'.$ItemCount); 277 //echo($Database->error.'<br >');278 //echo($Database->LastQuery.'<br >');247 //echo($Database->error.'<br />'); 248 //echo($Database->LastQuery.'<br />'); 279 249 //echo('<table cellpadding="0" cellspacing="0" width="100%"><tr><td>'); 280 250 $Index = 0; 281 251 $FontSize = 12; 282 252 if($DbResult->num_rows > 0) 253 { 254 echo('<table cellspacing="0" width="100%" class="NewsTable">'); 283 255 while($Row = $DbResult->fetch_array()) 284 256 { … … 286 258 <tr><td style="font-size: '.$FontSize.'pt"><strong>'.$Row['title'].'</strong></td> 287 259 <td align="right" style="font-size: '.$FontSize.'pt">'.$Row['author'].' ('.HumanDate($Row['date']).')</td></tr></table>'); 288 echo('<div id="new'.$Category.$Index.'" class=" skryty" style="display: none; border-width: 1; border-style: solid; border-color: blue; padding: 3px; font-size: 9pt;">'.$Row['content']);260 echo('<div id="new'.$Category.$Index.'" class="NewsTableItem">'.$Row['content']); 289 261 290 262 if($Row['enclosure'] != '') 291 263 { 292 echo('<br >Přílohy: ');264 echo('<br />Přílohy: '); 293 265 $Enclosures = explode(';', $Row['enclosure']); 294 266 foreach($Enclosures as $Enclosure) … … 302 274 $FontSize = $FontSize - 1; 303 275 } 304 echo('</table></td></tr></table>'."\n\n"); 276 echo('</table>'); 277 } 278 echo('</td></tr></table>'."\n\n"); 305 279 } 306 280 … … 308 282 if($SettingItem['Enabled'] == 1) ShowNews($SettingItem['CategoryId'], $SettingItem['ItemCount'], $SettingItem['DaysAgo']); 309 283 310 echo('<a href="aktuality/subscription.php"><img style="margin: 0px 0px 0px 0px;" border="0" src="images/rss20.png" alt="Aktuality přes RSS"></a> <a href="aktuality/subscription.php">Automatické sledování novinek</a>');284 echo('<a href="aktuality/subscription.php"><img class="RSSIcon" src="images/rss20.png" alt="Aktuality přes RSS" /></a> <a href="aktuality/subscription.php">Automatické sledování novinek</a>'); 311 285 312 286 //echo('</td></tr></table>' -
www/style.php
r67 r77 4 4 function ShowHeader($Title, $Path, $BodyParam = '') 5 5 { 6 global $Time_Start, $refresh, $Config ;6 global $Time_Start, $refresh, $Config, $User; 7 7 8 8 $Time_Start = GetMicrotime(); // Zjisti počáteční čas … … 77 77 'subscription.php' => 'RSS aktuality', 78 78 ), 79 'sluzby.php' => 'Služby <',79 'sluzby.php' => 'Služby', 80 80 'history.php' => 'Historie', 81 81 'sunrisechat' => array('', … … 121 121 $Navigation = substr($Navigation, 0, -6); 122 122 123 echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 124 <html><head> 125 <meta http-equiv="Content-Language" content="cs"> 126 <meta http-equiv="Content-Type" content="text/html; charset='.$Config['Web']['Charset'].'">'); 127 if (isset($refresh)) echo('<meta http-equiv="Refresh" content="'.$refresh."\">\n"); 128 // <link href="style.css" rel="stylesheet" type="text/css"> 129 echo("\n".' <title>Centrála - '.$Path.'</title> 123 $Output = '<?xml version="1.0" encoding="'.$Config['Web']['Charset'].'"?>'. 124 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'. 125 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'. 126 '<head><link rel="stylesheet" href="'.$Config['Web']['RootFolder'].'/style.css" type="text/css" media="all" />'. 127 '<script type="text/javascript" src="'.$Config['Web']['RootFolder'].'/global.js" />'. 128 '<title>'.$Config['Web']['Title'].' - '.$Path.'</title> 130 129 </head><body style="font-family: sans-serif;" '.$BodyParam.'> 131 <div style="padding: 3px; font-size: 20px; border-style: solid; border-color: blue; border-width: 1; background-color: #F0F0FF; margin-bottom: 4px;">'.$Title.'</div> 132 <div style="border-style: solid; border-bottom-color: gray; border-width: 0 0 1 0; margin-bottom: 3px; padding-bottom: 2px;"><strong>Navigace >></strong> '.$Navigation.'</div>'); 130 <div id="Title">'.$Title.'</div> 131 <form id="Navigation" action="?Action=Login" method="post"><div> 132 <span id="MenuItem"><strong>Navigace >></strong> '.$Navigation.'</span><div id="MenuItem2">Uživatel: '.$User->User['Name'].'</div></div></form>'; 133 echo(FormatOutput($Output)); 133 134 } 134 135 … … 136 137 { 137 138 global $Time_Start; 138 $Time = floor((GetMicrotime() - $Time_Start) *100)/100;139 echo('<div style="border-style: solid; border-top-color: gray; border-width: 1 0 0 0; margin-top: 7px; padding-top: 2px;" align="center">140 <i style="font-size: 10;">| Web mistr: Jiří Hajda | e-mail: robie@centrum.cz | ICQ: 277158770 | Vygenerováno za '.$Time.' s | Verze: 1.0 | Naposledy aktualizováno: '.date('j.n.Y',filemtime($_SERVER['SCRIPT_FILENAME'])).' |</i>139 $Time = floor((GetMicrotime() - $Time_Start) * 100) / 100; 140 echo('<div id="Footer"> 141 <i>| Web mistr: Jiří Hajda | e-mail: robie@centrum.cz | ICQ: 277158770 | Vygenerováno za '.$Time.' s | Verze: 1.1 | Úprava skriptu: '.date('j.n.Y',filemtime($_SERVER['SCRIPT_FILENAME'])).' |</i> 141 142 </div>'); 142 143 //ShowArray($GLOBALS);
Note:
See TracChangeset
for help on using the changeset viewer.