Login   Register  
PHP Classes
elePHPant
Icontem

File: pages/p_search.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Javier AP  >  Pergamus Publication Manager  >  pages/p_search.php  >  Download  
File: pages/p_search.php
Role: Auxiliary script
Content type: text/plain
Description: Search page
Class: Pergamus Publication Manager
Web based manager for scientific publications
Author: By
Last change:
Date: 9 years ago
Size: 1,584 bytes
 

Contents

Class file image Download
<?php
include '../class/class_collection.php';
include 
'../class/class_publication.php';
include 
'../class/autentification.php';
$bib =& new Collection('publications');
if(
$action == 'remove') {
 
$bib->remove_by_attr('title',urldecode($title));
 
$bib =& new Collection('publications');
 if(
$file != ''unlink('../pubs/'.$file);
} else if (
$accion == 'modify') {
}
?>
<html>
<head>
<title>Pergamus Publication Manager</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"">
</head>
<body>
 <div class="main">
  <h1>Publication list</h1>  
  <h2>Advanced search</h2>  
  <?php include 'p_session_bar.php'?>
  <table border="0" width="70%">
  <form name="search" action="p_publications.php"
method="get">
  <tr><td><b>Title:</b></td>
  <td><input type="text" name="f_title"></td></tr>
  <tr><td><b>Author:</b></td>
  <td><input type="text" name="f_author"></td></tr>
  <tr><td><b>Year:</b></td>
  <td><input type="text" name="f_year"></td></tr>
  <tr><td><b>Type:</b></td>
  <td>
  <select name="f_type">
        <option value="" selected>any pub. type
    <option value="Article">Article
    <option value="InProceedings">InProceedings
    <option value="TechReport">TechReport
    <option value="PhDThesis">PhDThesis
    <option value="Book">Book
    <option value="InBook">InBook
  </select>
  </td></tr>
  <tr><td></td><td><input type="submit" value="Submit"></td></tr>
  </form>
  </table>
  <?php include 'p_banner.php'?>
  <p>&nbsp;</p>  
</div>    
</body>
</html>