~dani.behzi/pfcm/pfcm

« back to all changes in this revision

Viewing changes to index.php

  • Committer: Danial Behzadi
  • Date: 2011-09-14 12:40:21 UTC
  • Revision ID: dani.behzi@gmail.com-20110914124021-a7txxvsw6u81jt6p
created base files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
        
 
3
        Copyright 2011 Danial Behzadi <danialbehzadi@danial-HP>
 
4
        
 
5
        This program is free software; you can redistribute it and/or modify
 
6
        it under the terms of the GNU General Public License as published by
 
7
        the Free Software Foundation; either version 2 of the License, or
 
8
        (at your option) any later version.
 
9
        
 
10
        This program is distributed in the hope that it will be useful,
 
11
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
        GNU General Public License for more details.
 
14
        
 
15
        You should have received a copy of the GNU General Public License
 
16
        along with this program; if not, write to the Free Software
 
17
        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
18
        MA 02110-1301, USA.
 
19
        
 
20
        
 
21
-->
 
22
 
 
23
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
24
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
25
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
26
 
 
27
<head>
 
28
        <title>FSUG Movie Manager</title>
 
29
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
 
30
        <meta name="creator" content="Danial Behzadi" />
 
31
        <link rel="stylesheet" type="text/css" href="css.css" />
 
32
</head>
 
33
 
 
34
<body>
 
35
        <h1>Search</h1>
 
36
        <form action="search.php" method="get">
 
37
                <table>
 
38
                        <tr>
 
39
                                <td>
 
40
                                        By
 
41
                                        <select Name="query">
 
42
                                                <option value="Name">Name</option>
 
43
                                                <option value="Year">Year</option>
 
44
                                                <option value="Director">Director</option>
 
45
                                                <option value="Genre">Genre</option>
 
46
                                                <option value="Tags">Tags</option>
 
47
                                        </select>
 
48
                                        <input type="search" name="phrase" />
 
49
                                </td>
 
50
                        </tr>
 
51
                        <tr>
 
52
                                <td>
 
53
                                        <p align="right">
 
54
                                                <input type="submit" value="search" />
 
55
                                        </p>
 
56
                                </td>
 
57
                        </tr>
 
58
                </table>
 
59
        </form>
 
60
        <a href="search.php?query=ID">See All…</a>
 
61
        <h1>Insert</h1>
 
62
        <form action="insert.php" method="post">
 
63
                <table>
 
64
                        <tr>
 
65
                                <td>Name </td>
 
66
                                <td> <input type="text" name="name" /></td>
 
67
                        </tr>
 
68
                        <tr>
 
69
                                <td>Year </td>
 
70
                                <td> <input type="number" name="year" /> </td>
 
71
                        </tr>
 
72
                        <tr>
 
73
                                <td>Director </td>
 
74
                                <td> <input type="text" name="director" /> </td>
 
75
                        </tr>
 
76
                        <tr>
 
77
                                <td>Genre </td>
 
78
                                <td> <input type="text" name="genre" /> </td>
 
79
                        </tr>
 
80
                        <tr>
 
81
                                <td>Tags </td>
 
82
                                <td> <input type="text" name="tags" /> </td>
 
83
                        </tr>
 
84
                        <tr>
 
85
                                <td colspan="2">
 
86
                                        <p align="center">
 
87
                                                <input type="submit" value="Add to FSUG Movies" />
 
88
                                        </p>
 
89
                                </td>
 
90
                        </tr>
 
91
                </table>
 
92
</form>
 
93
<p style="text-align:right;">Copyleft By Danial Behzadi
 
94
        <br />All Wrongs reserved :D</p>
 
95
</body>
 
96
 
 
97
</html>