Menu

[r2]: / src / phpmake.cs  Maximize  Restore  History

Download this file

88 lines (77 with data), 2.8 kB

 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#do system_log 1 'Starting'
#database db=localhost user generator passwd maakh3tnu db generator
#record select DatabaseID, DatabaseName, ApplicationName, OutputLocation, UserTable, Rights from `database` where `select`='true'
#database data_connection=localhost user generator passwd maakh3tnu db ?DatabaseName?
#database inner_connection=localhost user generator passwd maakh3tnu db generator
#record select screen, name, title from screen where DatabaseID=?DatabaseID?
#set fd=open_out (OutputLocation ^ '/' ^ 'rights_' ^ name)
#if not is_error fd
#do output_html fd (rights_screen DatabaseID screen)
#do close_out fd
#end
#end
#record select screen, name, title from screen where DatabaseID=?DatabaseID?
#set fd=open_out (OutputLocation ^ '/' ^ name)
#if not is_error fd
#do output_html fd (generate_screen DatabaseID screen)
#do close_out fd
#end
#end
#record select TableID, TableName, Subject from `tables` where DatabaseID=?DatabaseID? and Subject<>''
#set fd=open_out (OutputLocation ^ '/add' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (add_php DatabaseID TableID)
#do close_out fd
#end
#set fd=open_out (OutputLocation ^ '/postadd' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (postadd_php DatabaseID TableID)
#do close_out fd
#end
#set fd=open_out (OutputLocation ^ '/edit' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (edit_php DatabaseID TableID)
#do close_out fd
#end
#set fd=open_out (OutputLocation ^ '/rightsedit' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (rights_edit_php DatabaseID TableID)
#do close_out fd
#end
#set fd=open_out (OutputLocation ^ '/postedit' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (postedit_php DatabaseID TableID)
#do close_out fd
#end
#set fd=open_out (OutputLocation ^ '/postdelete' ^ Subject ^ '.php')
#if not is_error fd
#do output_html fd (postdelete_php DatabaseID TableID)
#do close_out fd
#end
#end
#query select count(*) as nrofs from `sheet` where DatabaseID=?DatabaseID?
#if int_of_string nrofs>0
#set fd=open_out (OutputLocation ^ '/sheets.php')
#if not is_error fd
#do output_html fd (listsheets DatabaseID)
#do close_out fd
#end
#end
#record select SheetID, Name from `sheet` where DatabaseID=?DatabaseID?
#set fd=open_out (OutputLocation ^ '/sheet' ^ Name ^ '.php')
#if not is_error fd
#do output_html fd (showsheet DatabaseID SheetID)
#do close_out fd
#end
#end
#record select SheetID, Name from `sheet` where DatabaseID=?DatabaseID?
#set fd=open_out (OutputLocation ^ '/sheetexport' ^ Name ^ '.php')
#if not is_error fd
#do output_html fd (export DatabaseID SheetID)
#do close_out fd
#end
#end
#end
#end
#end
#end
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.