芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/components.tar
com_gmajax/gmajax.php 0000666 00000003112 15017207125 0010632 0 ustar 00 0) { if ($axo) { $row =& JTable::getInstance('content'); // load the row from the db table $row->load( $axo ); $query = "SELECT section FROM #__categories" . "\n WHERE id = $cat" ; $db->setQuery( $query ); $section = $db->loadResult(); $db->setQuery ("Update #__content set catid=$cat where id=$axo"); $db->query(); $db->setQuery ("Update #__content set sectionid=$section where id=$axo"); $db->query(); $row =& JTable::getInstance('content'); // load the row from the db table $row->load( $axo ); $yes = fonctionGmaccess::TabGmaccess( $row, 'item', 1, 0, 0, 1, 0, 1, 0, 1, 1 ); }else{ $row =& JTable::getInstance('category'); // load the row from the db table $row->load( $cat ); $yes = fonctionGmaccess::TabGmaccess( $row, 'category', 1, 0, 0, 1, 0, 1, 0, 1, 1, 99999, 1 ); } }else{ if ( $cat == -1 ) { $yes = "Veuillez choisir une catégorie"; } else { $row =& JTable::getInstance('category'); // load the row from the db table $row->load( $cat ); $yes = fonctionGmaccess::TabGmaccess( $row, 'category', 1, 0, 0, 1, 0, 1, 0, 1, 1, 99999, 1 ); } } //$yes = myaccess(62); echo $yes; ?>