/[pliva-si]/back/menu/detail.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /back/menu/detail.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon Jul 2 12:42:23 2001 UTC (22 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
all-in-one

1 dpavlin 1.1 <?
2 dpavlin 1.2
3     include_once( "global.inc" );
4    
5     $params["editlink"] = "detail.php";
6     $params["newlink"] = "detail.php";
7     $params["addmultiplelink"] = "multi.php";
8    
9     $what=str_replace(".php","",basename($PHP_SELF));
10    
11     $url["home"] = "index.php";
12 dpavlin 1.1
13     function html_before_form()
14     {
15     ?>
16     <HTML>
17     <HEAD>
18     <link rel="stylesheet" type="text/css" href="styles.css">
19     </HEAD>
20     <BODY bgcolor="#FFFFFF">
21     <?
22     }
23     function html_after_form()
24     {
25     ?>
26     </BODY>
27     </HTML>
28     <?
29     }
30    
31 dpavlin 1.2 if ($what=="detail") {
32    
33     include_once( "$phormationdir/form.php" );
34     include_once( "$phormationdir/file_upload.php" );
35    
36 dpavlin 1.1 $opts = array();
37     $url = array();
38    
39     form_main( "menu", "num", $fields, $names, $types, $record_id, $url, $opts );
40 dpavlin 1.2
41     } elseif ($what=="multi") {
42    
43     include_once( "$phormationdir/form.php" );
44     include_once( "$phormationdir/multiform.php" );
45     include_once( "$phormationdir/file_upload.php" );
46    
47     if( empty( $numforms ) ) {
48     $numforms = 2;
49     }
50    
51     $opts = array();
52     $url = array();
53     $opts["maxforms"] = 10;
54     $opts["numforms_prompt"] = "Select the number of records to create:";
55     $opts["item_heading"] = "Multiple edit";
56    
57     multiform_main( "$table", $params["key"], $fields, $names, $types, $record_id, $url, $opts, $numforms );
58    
59     } else {
60     include_once( "$phormationdir/displaytable.php" );
61     table_index( $fields, $names, $params );
62     }
63    
64 dpavlin 1.1 ?>

  ViewVC Help
Powered by ViewVC 1.1.26