-
Notifications
You must be signed in to change notification settings - Fork 3
/
fin_type_edit.php
54 lines (47 loc) · 1.24 KB
/
fin_type_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
53
54
<?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 (!IsLoggedFinance())
{
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_FINANCE_TYPES." 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 typu oddílového příspěvku');
?>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR>
<TD width="2%"></TD>
<TD width="90%" ALIGN=left>
<CENTER>
<? require_once ('fin_type_edit.inc.php'); ?>
<BR><hr><BR>
<?
echo('<A HREF="index.php?id='._FINANCE_GROUP_ID_.'&subid=4">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();
?>