| version 1.1, 2005/06/05 12:14:59 |
version 1.2, 2006/03/29 09:25:01 |
|
|
| * extensions/phpMyEdit-slide.class.php - slide show extension for phpMyEdit |
* extensions/phpMyEdit-slide.class.php - slide show extension for phpMyEdit |
| * ____________________________________________________________ |
* ____________________________________________________________ |
| * |
* |
| * Developed by Ondrej Jombik <nepto@php.net> |
* Developed by Ondrej Jombik <nepto@platon.sk> |
| * Copyright (c) 2002-2004 Platon SDG, http://platon.sk/ |
* Copyright (c) 2002-2006 Platon Group, http://platon.sk/ |
| * All rights reserved. |
* All rights reserved. |
| * |
* |
| * See README file for more information about this software. |
* See README file for more information about this software. |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.8 2004/01/16 19:46:33 nepto Exp $ */ |
/* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.9 2004/12/30 19:59:00 nepto Exp $ */ |
| |
|
| /* |
/* |
| * Coding elapsed time: from 8:30 to 10:30 at 30th October 2002 |
* Coding elapsed time: from 8:30 to 10:30 at 30th October 2002 |
| Line 108 class phpMyEdit_slide extends phpMyEdit |
|
| Line 108 class phpMyEdit_slide extends phpMyEdit |
|
| 'type' => 'select', |
'type' => 'select', |
| // XXX FIXME - simplify query |
// XXX FIXME - simplify query |
| 'select' => 'PMEtable0.'.$this->key, |
'select' => 'PMEtable0.'.$this->key, |
| 'from' => $this->create_join_clause(), |
'from' => $this->get_SQL_join_clause(), |
| 'where' => $this->make_where_from_query_opts()); |
'where' => $this->get_SQL_where_from_query_opts()); |
| // TODO: order by clausule according to default sort order options |
// TODO: order by clausule according to default sort order options |
| $res = $this->myquery($this->query_make($query_parts), __LINE__); |
$res = $this->myquery($this->get_SQL_query($query_parts), __LINE__); |
| $ids = array(); |
$ids = array(); |
| while (($row = @mysql_fetch_array($res, MYSQL_NUM)) !== false) { |
while (($row = @mysql_fetch_array($res, MYSQL_NUM)) !== false) { |
| $ids[] = $row[0]; |
$ids[] = $row[0]; |