"; } function getmicrotime() { list($usec, $sec) = explode(" ",microtime()); RETURN ((float)$usec + (float)$sec); } $time_start = getmicrotime(); /*====================================================================================*/ define('UTF8_TO_ISO88592', 1); define('ISO88592_TO_UTF8', 2); define('WIN1250_TO_UTF8', 3); define('UTF8_TO_WIN1250', 4); define('ISO88592_TO_WIN1250', 5); define('WIN1250_TO_ISO88592', 6); function plCharset($string, $type = WIN1250_TO_ISO88592) { $win2utf = array( "\xb9" => "\xc4\x85", "\xa5" => "\xc4\x84", "\xe6" => "\xc4\x87", "\xc6" => "\xc4\x86", "\xea" => "\xc4\x99", "\xca" => "\xc4\x98", "\xb3" => "\xc5\x82", "\xa3" => "\xc5\x81", "\xf3" => "\xc3\xb3", "\xd3" => "\xc3\x93", "\x9c" => "\xc5\x9b", "\x8c" => "\xc5\x9a", "\xbf" => "\xc5\xbc", "\x8f" => "\xc5\xbb", "\x9f" => "\xc5\xba", "\xaf" => "\xc5\xb9", "\xf1" => "\xc5\x84", "\xd1" => "\xc5\x83" ); $iso2utf = array( "\xb1" => "\xc4\x85", "\xa1" => "\xc4\x84", "\xe6" => "\xc4\x87", "\xc6" => "\xc4\x86", "\xea" => "\xc4\x99", "\xca" => "\xc4\x98", "\xb3" => "\xc5\x82", "\xa3" => "\xc5\x81", "\xf3" => "\xc3\xb3", "\xd3" => "\xc3\x93", "\xb6" => "\xc5\x9b", "\xa6" => "\xc5\x9a", "\xbc" => "\xc5\xba", "\xac" => "\xc5\xb9", "\xbf" => "\xc5\xbc", "\xaf" => "\xc5\xbb", "\xf1" => "\xc5\x84", "\xd1" => "\xc5\x83" ); if ($type == ISO88592_TO_UTF8) return strtr($string, $iso2utf); if ($type == UTF8_TO_ISO88592) return strtr($string, array_flip($iso2utf)); if ($type == WIN1250_TO_UTF8) return strtr($string, $win2utf); if ($type == UTF8_TO_WIN1250) return strtr($string, array_flip($win2utf)); if ($type == ISO88592_TO_WIN1250) return strtr($string, "\xa1\xa6\xac\xb1\xb6\xbc", "\xa5\x8c\x8f\xb9\x9c\x9f"); if ($type == WIN1250_TO_ISO88592) return strtr($string, "\xa5\x8c\x8f\xb9\x9c\x9f", "\xa1\xa6\xac\xb1\xb6\xbc"); } /*====================================================================================*/ $agent = $_SERVER['HTTP_USER_AGENT']; //echo $agent; if (strpos($agent,"MSIE") > 0) { $agentMSIE = 1; } else { $agentMSIE = 0; } ?> :: UWAGA !!! STRONA NIEAKTUALNA ::
".$_SESSION['logname'].""; include "menu_user.ph_"; } $koniec_menu = 0; $ileinfo = 30; $page=$zakres; $MainTableSqlN = "SELECT * FROM `menu` WHERE `stan` = 1 ORDER BY `lp`, `sort`"; $MainTableResN = mysql_query($MainTableSqlN, $conn) or die(mysql_error()); $MainTableCountN = mysql_num_rows($MainTableResN); //-------------------------- while($wiersz=mysql_fetch_array ($MainTableResN)) { if ($strona != $wiersz['strona']) { $styl_menu1 = "menu-pojedyncze"; $styl_menu2 = "menu-numeracja"; } else { $styl_menu1 = "menu-pojedyncze-bold"; $styl_menu2 = "menu-numeracja-bold"; } $MainTableCount1 = ""; if ($koniec_menu == 3) { if ($wiersz['pozycja'] == 1) {$tekst = "";}; if ($wiersz['pozycja'] == 2) {$tekst = "";}; $koniec_menu = 0; }; if ($wiersz['pozycja'] == 1) { if ($wiersz['url'] == '') { if ( $wiersz['wykonaj_licznik'] == 2 ) { $MainTableSql1 = $wiersz['kod_licznika']; $MainTableRes1 = @mysql_query($MainTableSql1, $conn) or die(mysql_error()); if (@mysql_num_rows($MainTableRes1) > 0 ) { $MainTableCount1 = "[".@mysql_num_rows($MainTableRes1)."]"; } } $tekst = $tekst.""; $koniec_menu = $wiersz['pozycja'];} else { if ( $wiersz['wykonaj_licznik'] == 2 ) { $MainTableSql1 = $wiersz['kod_licznika']; $MainTableRes1 = @mysql_query($MainTableSql1, $conn) or die(mysql_error()); if (@mysql_num_rows($MainTableRes1) > 0 ) { $MainTableCount1 = "[".@mysql_num_rows($MainTableRes1)."]"; } } $tekst = $tekst.""; $koniec_menu = $wiersz['pozycja'];} }; if ($wiersz['pozycja'] == 2) { //$zm_menu = "menu".$wiersz['lp']; //echo $zm_menu; if ($menu[$wiersz['lp']] == 1) {$rozwin = 0; $wyswietl = 0;} else {$rozwin = 1;$wyswietl = 1;} $tekst = $tekst.""; $koniec_menu = 0; }; ?> "; if ($_SESSION['upr1'] == 'Tak') { echo " "; } if (($_SESSION['upr2'] == 'Tak') Or ($_SESSION['upr3'] == 'Tak')) { echo " "; } if ($_SESSION['upr4'] == 'Tak') { echo " "; } if ($_SESSION['upr5'] == 'Tak') { echo " "; } echo "
Wyloguj się ...
Edytor aktualności
Edytor decyzji
Wylicz MD5
Edytor ofert
"; } //------------------------------------------------------------------------------ if (!isset($_SESSION['zalogowany']) || ($_SESSION['zalogowany'] == 0) ) { $_SESSION['zalogowany'] = 0; $_SESSION['logname'] = ""; $_SESSION['upr1'] = 'Nie'; $_SESSION['upr2'] = 'Nie'; $_SESSION['upr3'] = 'Nie'; $_SESSION['upr4'] = 'Nie'; $_SESSION['upr5'] = 'Nie'; echo" "; } ?>
"; //-------------------------- $page=$zakres; $_SESSION['wyszukiwanie'] = 0; if (empty($dane2)) { $dane2 = $strona; } if ($strona == 0) { include "strona_0.ph_"; } if ($strona > 0 && $strona < 50) { include "strona_1_49.ph_"; } if ($strona == 50) { include "strona_50.ph_"; } if ($strona == 51) { include "strona_51.ph_"; } if ($strona == 52) { include "strona_52.ph_"; } if ($strona == 53) { include "strona_53.ph_"; } if ($strona > 59 && $strona < 65) { include "strona_60_64.ph_"; } if ($strona > 64 && $strona < 70) { include "strona_65_69.ph_"; } if ($strona > 69 && $strona < 76) { include "strona_70_75.ph_"; } if ($strona == 501) { include "md5.ph_"; }; if ($strona == 551) { include "md5_uprawnienia.ph_"; }; if ($strona == 552) { include "ed_menu.inc"; }; if ($strona == 553) { include "ed_menu_user.inc"; }; if ($strona == 600) { include "ed_oferty.ph_"; }; if ($strona == 601) { include "ed_oferty.ph_"; }; if ($strona == 602) { include "ed_oferty.ph_"; }; if ($strona == 603) { include "ed_oferty.ph_"; }; if ($strona == 610) { include "fm_oferty.inc"; }; if ($strona == 611) { include "fm_oferty.inc"; }; if ($strona == 703) { include "fm_pracodawca.inc"; }; if ($strona == 704) { include "fm_cv.inc"; }; if ($strona == 751) { include "_cv_info.inc"; }; if ($strona == 755) { include "_cv_wykszt.inc"; }; if ($strona == 756) { include "_cv_dos_zaw.inc"; }; if ($strona == 757) { include "_cv_dodatkowe_kw.inc"; }; if ($strona == 758) { include "_cv_inne.inc"; }; if ($strona == 760) { include "_cv_view.inc"; }; if ($region > 0) { include "oferty_1_9.ph_"; } //-------------------------- echo "
"; ?> Wersja witryny: 1.10 z dnia 26.12.2006 Artur Wika    E-Mail : wika@pup.pila.pl