Rozdiely pre phpMyEdit/extensions/phpMyEdit-slide.class.php medzi verziami 1.11 a 1.12
| verzia 1.11, 2007/09/02 22:30:00 |
verzia 1.12, 2017/06/09 15:02:37 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.10 2006-01-22 21:44:24 nepto Exp $ */ |
/* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.11 2007-09-02 22:30: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 |
| Riadok 81 class phpMyEdit_slide extends phpMyEdit |
|
| Riadok 81 class phpMyEdit_slide extends phpMyEdit |
|
| // TODO: order by clausule according to default sort order options |
// TODO: order by clausule according to default sort order options |
| $res = $this->myquery($this->get_SQL_query($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 = $this->sql_fetch($res, FETCH_NUM)) !== false) { |
| $ids[] = $row[0]; |
$ids[] = $row[0]; |
| } |
} |
| @mysql_free_result($res); |
$this->sql_free_result($res); |
| if ($this->rec) { |
if ($this->rec) { |
| $idx = array_search($this->rec, $ids); |
$idx = array_search($this->rec, $ids); |
| $idx === false && $idx = 0; |
$idx === false && $idx = 0; |
Platon Group <platon@platon.sk> http://platon.sk/
|
|