| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:30:10 2008 ] | [ Photo Organizer 2.30 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 3 // Copyright (C) 2002, 2003, 2004, 2005, 2006 Balint Kis (balint@k-i-s.net) 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 St, Fifth Floor, Boston, MA 02110-1301 USA 18 19 include_once "include/vars.php"; 20 include_once "include/config.php"; 21 include_once "$theme/theme.php"; 22 23 $session_id = $_COOKIE[$po_cookie]; 24 if ($session_id == "") { 25 header("location: login.php"); 26 exit(); 27 } 28 29 include_once "include/common.php"; 30 include_once "include/site.php"; 31 include_once "include/database.php"; 32 33 $database = po_dbconnect(); 34 35 $submission_id = $_REQUEST['submission']; 36 $photo_id = $_REQUEST['photo']; 37 $submission_status = $_REQUEST['submission_status']; 38 $remark = $_REQUEST['remark']; 39 $client = $_REQUEST['client']; 40 41 $submission_date = check_date_validity($_REQUEST['submission_timestamp']); 42 43 pg_query($database, "update submission set users=$client, status='$submission_status', date_of_creation=$submission_date, remark='$remark' where identifier=$submission_id"); 44 45 pg_close($database); 46 header("location: photo.php?photo=$photo_id&detail_info=4"); 47 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |