1 |
<? |
2 |
$phormationdir = "../phormation"; |
3 |
$DB = "pgsql"; |
4 |
|
5 |
$dir="/home/dpavlin/private/corp/public_html/comm"; |
6 |
|
7 |
$fields[] = "title"; $names[] = "Title"; |
8 |
$types[]="type=text&width=50&length=200&required=1"; |
9 |
|
10 |
$fields[] = "date"; $names[] = "Town, Date"; |
11 |
$types[]="type=text&width=20&length=100&required=1"; |
12 |
|
13 |
$fields[] = "body"; $names[] = "Short text"; |
14 |
$types[]="type=text&height=10&width=50&length=5000&required=1"; |
15 |
|
16 |
$fields[] = "pic,origpic"; |
17 |
$names[] = "Picture"; |
18 |
$types[]="type=file&process_hook=default_image_process_hook&processparm=community_picseq&targetdir=$dir&showfilename=1&imagemode=1&serverdir=pics"; |
19 |
|
20 |
?> |