Changeset 21161 for extensions/meta


Ignore:
Timestamp:
03/03/13 22:17:08 (7 years ago)
Author:
ddtddt
Message:

[extensions] - meta - change to 2.5

Location:
extensions/meta
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/meta/admin/admin.php

    r9406 r21161  
    4242$result = pwg_query($query); 
    4343 
    44 while ($row = mysql_fetch_array($result)) 
     44while ($row = pwg_db_fetch_assoc($result)) 
    4545        { 
    4646  $groups[$row['id']] = $row['metaname']; 
     
    7575$result = pwg_query($query); 
    7676 
    77 $row = mysql_fetch_array($result); 
     77$row = pwg_db_fetch_assoc($result); 
    7878$chname=$row['metaname']; 
    7979$chval=$row['metaval']; 
  • extensions/meta/initadmin.php

    r14976 r21161  
    6262  ;'; 
    6363$result = pwg_query($query); 
    64 $row = mysql_fetch_array($result); 
     64$row = pwg_db_fetch_assoc($result); 
    6565$chvalimg=$row['metaKeyimg']; 
    6666$chvalimgdes=$row['metadesimg']; 
     
    143143  ;'; 
    144144$result = pwg_query($query); 
    145 $row = mysql_fetch_array($result); 
     145$row = pwg_db_fetch_assoc($result); 
    146146$chvalcat=$row['metaKeycat']; 
    147147$chvalcatdes=$row['metadescat']; 
  • extensions/meta/main.inc.php

    r9406 r21161  
    6969        $result = pwg_query($query); 
    7070        $meta = array(); 
    71                 while ($row = mysql_fetch_assoc($result)) 
     71                while ($row = pwg_db_fetch_assoc($result)) 
    7272                        { 
    7373                        $meta[$row['metaname']] = $row['metaval']; 
     
    125125      ;'; 
    126126    $result = pwg_query($query); 
    127     $row = mysql_fetch_array($result); 
     127    $row = pwg_db_fetch_assoc($result); 
    128128        $albumKeyED=trigger_event('AP_render_content', $row['metaKeycat']); 
    129129    if (!empty($row['metaKeycat'])) 
     
    138138      ;'; 
    139139    $result = pwg_query($query); 
    140     $row = mysql_fetch_array($result); 
     140    $row = pwg_db_fetch_assoc($result); 
    141141        $albumDesED=trigger_event('AP_render_content', $row['metadescat']); 
    142142    if (!empty($row['metadescat'])) 
     
    160160      ;'; 
    161161    $result = pwg_query($query); 
    162     $row = mysql_fetch_array($result); 
     162    $row = pwg_db_fetch_assoc($result); 
    163163        $photoKeyED=trigger_event('AP_render_content', $row['metaKeyimg']); 
    164164    if (!empty($row['metaKeyimg'])) 
     
    173173      ;'; 
    174174    $result = pwg_query($query); 
    175     $row = mysql_fetch_array($result); 
     175    $row = pwg_db_fetch_assoc($result); 
    176176        $photoDesED=trigger_event('AP_render_content', $row['metadesimg']); 
    177177    if (!empty($row['metadesimg'])) 
  • extensions/meta/maintain.inc.php

    r7539 r21161  
    2121$result = pwg_query($query); 
    2222 
    23 $row = mysql_fetch_array($result); 
     23$row = pwg_db_fetch_assoc($result); 
    2424$majparam2=$row['param']; 
    2525$majvalue2=$row['value']; 
     
    3737$result = pwg_query($query); 
    3838 
    39 $row = mysql_fetch_array($result); 
     39$row = pwg_db_fetch_assoc($result); 
    4040$majparam1=$row['param']; 
    4141$majvalue1=$row['value']; 
     
    6262  ORDER BY id DESC;'; 
    6363$result = pwg_query($query); 
    64 $row = mysql_fetch_array($result); 
     64$row = pwg_db_fetch_assoc($result); 
    6565 
    6666$comp=$row['id']+1;      
     
    7474  WHERE id = \''.$i.'\''; 
    7575$result = pwg_query($query); 
    76 $row = mysql_fetch_array($result); 
     76$row = pwg_db_fetch_assoc($result); 
    7777 
    7878                if(!$row['id']==0 and !$row['metaKeywords']==0) 
Note: See TracChangeset for help on using the changeset viewer.