1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php require_once($LIBPATH . "libutil.php"); assert_rights("C"); require_once ($LIBPATH . "form.php"); $stiriDetailsFrm_feeder = array("STIRIDETAILS_FEEDER", "DbFeeder", array("TBL_STIRI", null, array("ID"), array("GET/ID"), "AND", true, true)); $stiriDetailsFrm = array("Editare stire", "mod_:stiri", "act_stiriDetailsFrm", "TBL_STIRI", 650, 'stBoxThin', 'stSortableHeader', 'center', 25, "", array( new Field("ID", "HIDDEN", "ID", 'stFormCellText', 'stCtrlText', 30, array($_GET['ID'])), new Field("hdImage", "HIDDEN", "hdImage", 'stFormCellText', 'stCtrlText', 30, array("stiriDetailsFrm_feeder/Imagine")), new Field("Titlu:", "TEXT", "Titlu", 'stFormCellText', 'stCtrlText', 30), new Field("Schimb Imaginea:", "UPLOAD", "Imagine", 'stFormCellText', 'stCtrlText', 30), new Field("Data:", "DATE", "Datas", 'stFormCellText', 'stCtrlText', 30, array(1, "checked")), new Field("Page Content:", "SPAW", "Continut_", 'stFormCellText', 'stCtrlText', 30, array(array("Continut"), array("Continut"))), new Field("Activ:", "CHECKBOX", "Activs", 'stFormCellText', 'stCtrlText', 30, array(1, "checked")), new Field("Sticky:", "CHECKBOX", "Stickys", 'stFormCellText', 'stCtrlText', 30, array(1, "checked")) )); $content = form("stiriDetailsFrm"); ?>
|