-
Notifications
You must be signed in to change notification settings - Fork 3
/
categ_predef_edit.php
52 lines (45 loc) · 1.21 KB
/
categ_predef_edit.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
define("__HIDE_TEST__", "_KeAr_PHP_WEB_");
@extract($_REQUEST);
require_once ("connect.inc.php");
require_once ("sess.inc.php");
require_once ("ctable.inc.php");
if (!IsLoggedRegistrator())
{
header("location: ".$g_baseadr."error.php?code=21");
exit;
}
require_once("cfg/_globals.php");
db_Connect();
$id = (isset($id) && is_numeric($id)) ? (int)$id : 0;
// id je z tabulky "finance types"
$sql_query = 'SELECT * FROM '.TBL_CATEGORIES_PREDEF." WHERE id = '$id' LIMIT 1";
@$vysledek=query_db($sql_query);
@$zaznam=mysqli_fetch_array($vysledek);
$update=$id;
require_once ("./header.inc.php"); // header obsahuje uvod html a konci <BODY>
require_once ("./common.inc.php");
DrawPageTitle('Editace seznamu předdefinovaných kategorií');
?>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR>
<TD width="2%"></TD>
<TD width="90%" ALIGN=left>
<CENTER>
<? require_once ('categ_predef_edit.inc.php'); ?>
<BR><hr><BR>
<A HREF="categ_predef.php">Zpět</A><BR>
<BR><hr><BR>
</CENTER>
</TD>
<TD width="2%"></TD>
</TR>
<TR><TD COLSPAN=4 ALIGN=CENTER>
<!-- Footer Begin -->
<?require_once ("footer.inc.php");?>
<!-- Footer End -->
</TD></TR>
</TABLE>
<?
HTML_Footer();
?>