|
@@ 210-220 (lines=11) @@
|
| 207 |
|
* @param $id_type |
| 208 |
|
* @param $nom_type |
| 209 |
|
*/ |
| 210 |
|
function listingModTypeS($id_type, $nom_type) |
| 211 |
|
{ |
| 212 |
|
global $xoopsDB, $xoopsConfig, $myts, $moduleDirName, $admin_lang; |
| 213 |
|
|
| 214 |
|
$id_type = (int)$id_type; |
| 215 |
|
$nom_type = $myts->htmlSpecialChars($nom_type); |
| 216 |
|
|
| 217 |
|
$xoopsDB->query('UPDATE ' . $xoopsDB->prefix('adslight_type') . " SET nom_type='$nom_type' WHERE id_type='$id_type'"); |
| 218 |
|
|
| 219 |
|
redirect_header('options.php', 1, _AM_ADSLIGHT_TYPEMOD); |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
# function listingDelType |
| 223 |
|
##################################################### |
|
@@ 321-329 (lines=9) @@
|
| 318 |
|
* @param $id_price |
| 319 |
|
* @param $nom_price |
| 320 |
|
*/ |
| 321 |
|
function listingModPriceS($id_price, $nom_price) |
| 322 |
|
{ |
| 323 |
|
global $xoopsDB, $xoopsConfig, $myts, $moduleDirName, $admin_lang; |
| 324 |
|
|
| 325 |
|
$id_price = (int)$id_price; |
| 326 |
|
$nom_price = $myts->htmlSpecialChars($nom_price); |
| 327 |
|
$xoopsDB->query('UPDATE ' . $xoopsDB->prefix('adslight_price') . " SET nom_price='{$nom_price}' WHERE id_price='{$id_price}'"); |
| 328 |
|
redirect_header('options.php', 1, _AM_ADSLIGHT_PRICEMOD); |
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
# function listingDelPrice |
| 332 |
|
##################################################### |
|
@@ 425-434 (lines=10) @@
|
| 422 |
|
* @param $id_usure |
| 423 |
|
* @param $nom_usure |
| 424 |
|
*/ |
| 425 |
|
function listingModUsureS($id_usure, $nom_usure) |
| 426 |
|
{ |
| 427 |
|
global $xoopsDB, $xoopsConfig, $myts, $moduleDirName, $admin_lang; |
| 428 |
|
|
| 429 |
|
$nom_usure = $myts->htmlSpecialChars($nom_usure); |
| 430 |
|
|
| 431 |
|
$xoopsDB->query('UPDATE ' . $xoopsDB->prefix('adslight_usure') . " SET nom_usure='$nom_usure' WHERE id_usure='$id_usure'"); |
| 432 |
|
|
| 433 |
|
redirect_header('options.php', 1, _AM_ADSLIGHT_USUREMOD); |
| 434 |
|
} |
| 435 |
|
|
| 436 |
|
# function listingDelUsure |
| 437 |
|
##################################################### |