session_save_path("tmp/");
session_start();
include( "settings/svce_settings.php" );
include( "settings/svce_functions.php" );
include( "settings/svce_dbopen.php" );
ChangeLang ();
if (file_exists("lang_".$_SESSION['lang'].".php")) {
include("lang_".$_SESSION['lang'].".php");
} else {
include("lang_pl.php");
}
?>
include "include_headdata.php";
?>
|
|
|
|
 |
echo _printTodaysDate (); ?>
|
|
|
|
|
// budowanie menu po lewej stronie
_systemLeftSide ('moduleMenuLeft2');
_systemGellerySide('moduleMenuLeft2');
?>
//include "modules/onlineservice/module_onlineservice.php"; ?>
include "modules/callnow/module_callnow.php"; ?>
$service_unit_category_id = 1;
include "modules/poll/module_poll.php"
?>
|
|
|
if (file_exists($_GET["menupage"].".php")) {
include ($_GET["menupage"].".php");
} else {
include ("p_index.php");
}
?>
|
|
|
|
|
|
#####
##--- tool for editing language files ---###
#####
##(if edit == 1) thet editing tool is enabled
$edit = 0;
$file_text = "lang_no_copy.php";
if ($_POST['action'] == 'lang_file_save') {
$fp = fopen($file_text, 'w');
fwrite($fp, stripslashes($_POST['language_text']));
fclose($fp);
}
$lnnumb = 0;
$lines_ = '';
$text_new = '';
if ( file_exists( $file_text ))
{
$cnt = fopen( $file_text, "r" ) or die(" BŁĄD otwarcia zbioru " . $NazwaPliku);;
while (!feof( $cnt ))
{
$lines_ = fgets( $cnt, 4096 );
$text_new = $text_new.$lines_;
}
fclose ($cnt);
}
if ($edit == 1) {
?>
|
} ?>